.margin{ margin: 10px !important}
.margin-top{ margin-top: 10px !important}
.margin-left{ margin-left: 10px !important}
.margin-bottom{ margin-bottom: 10px !important}
.margin-right{ margin-right: 10px !important}

.float-left{ float: left;}
.float-right{ float: right;}

.minimal-indent {
  background-color: #f3f3f3;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f3f3f3), color-stop(50%, #dddddd), color-stop(50%, #d2d2d2), color-stop(100%, #dfdfdf));
  background-image: -webkit-linear-gradient(top, #f3f3f3 0%, #dddddd 50%, #d2d2d2 50%, #dfdfdf 100%);
  background-image: -moz-linear-gradient(top, #f3f3f3 0%, #dddddd 50%, #d2d2d2 50%, #dfdfdf 100%);
  background-image: -ms-linear-gradient(top, #f3f3f3 0%, #dddddd 50%, #d2d2d2 50%, #dfdfdf 100%);
  background-image: -o-linear-gradient(top, #f3f3f3 0%, #dddddd 50%, #d2d2d2 50%, #dfdfdf 100%);
  background-image: linear-gradient(top, #f3f3f3 0%, #dddddd 50%, #d2d2d2 50%, #dfdfdf 100%);
  border-right: 1px solid #dfdfdf;
  border-bottom: 1px solid #b4b4b4;
  border-right: 1px solid #dfdfdf;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  color: #444;
  font: bold 16px "helvetica neue", helvetica, arial, sans-serif;
  text-transform: uppercase;
  margin: 0;
  padding: 7px 0;
  text-shadow: 0 1px 1px #fff;
 }
.minimal-indent:hover {
   	padding: 8px 0 6px 0;
    background-color: #e5e5e5;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e5e5e5), color-stop(50%, #d1d1d1), color-stop(50%, #c4c4c4), color-stop(100%, #b8b8b8));
    background-image: -webkit-linear-gradient(top, #e5e5e5 0%, #d1d1d1 50%, #c4c4c4 50%, #b8b8b8 100%);
    background-image: -moz-linear-gradient(top, #e5e5e5 0%, #d1d1d1 50%, #c4c4c4 50%, #b8b8b8 100%);
    background-image: -ms-linear-gradient(top, #e5e5e5 0%, #d1d1d1 50%, #c4c4c4 50%, #b8b8b8 100%);
    background-image: -o-linear-gradient(top, #e5e5e5 0%, #d1d1d1 50%, #c4c4c4 50%, #b8b8b8 100%);
    background-image: linear-gradient(top, #e5e5e5 0%, #d1d1d1 50%, #c4c4c4 50%, #b8b8b8 100%);
    cursor: pointer;
   }
   
   .yellow{
   display: block;
   text-align: center;
	border: 1px solid #c99906;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #222;
	font: bold 16px "helvetica neue", helvetica, arial, sans-serif;
	text-transform: uppercase;
	margin: 0;
	padding: 7px 0px;
	text-shadow: 0 1px 1px #fff;
	background: url('/img/li-default.png') repeat-x;
   }
   .yellow:hover {
	color: #222;
   	padding: 8px 0 6px 0;
   	border: 1px solid #a87f00;
	cursor: pointer;
   }
        
	.yellow:focus {
	color: #222;
	}
body{
	font-family: Trebuchet MS, sans-serif;
	font-size: 13px;
	color: #000;
	background: url('/img/bg.png') repeat-x;
}

a{
	text-decoration: none;
}

#header{
	background: url('/img/header-bg.jpg') right top no-repeat;
	overflow: hidden;
	height: 101px;
	margin: 0;
}

#header a{
	margin: 26px 0 0 20px;	
	font-size: 1px;
	text-indent: -9999px;
	display: block;
	background: url('/img/logo.png') no-repeat;
	width: 373px;
	height: 56px;
}

#nav{
	background: url('/img/nav-bg.jpg') right top no-repeat;
	list-style: none;
	height: 37px;
	margin: 0;
	padding: 0;
}

#nav li{
	background: url('/img/li-default.png') repeat-x;
	float: left;
	font-weight: bold;
	font-size: 17px;
	text-transform: uppercase;
}

#nav li a{
	height: 37px;
	line-height: 37px;
	display: block;
	padding: 0 10px;
	
	color: #7d0d0e;
	text-decoration: none;
}

#nav li.active, #nav li:hover{
	background: url('/img/li-active.png') repeat-x;
}

#nav li.active a, #nav li:hover a{
	color: #fff;
}

#left-column .box{
	overflow: hidden;
	margin: 10px 0 0 0;
	padding: 0;
	background: #a41516;
}

#left-column .box, #left-column .box a{
	color: #fff;
}

#left-column .box h2{
	margin: 0px 0 10px 0;
	padding: 0 0 0 10px;
	background: url('/img/li-default.png') repeat-x;
	height: 37px;
	line-height: 37px;
	font-weight: bold;
	font-size: 17px;
	text-transform: uppercase;
}

#left-column .box ul{
	overflow:hidden;
	list-style: none;
	margin: 0 0 8px 0;
	padding: 0 10px;
}

#left-column .box ul li{
	margin: 2px 0;
	font-weight: bold;
	float: left;
	width: 50%;

}

#left-column .box ul li a{
	background: url('/img/li-bg.png') 0 5px no-repeat;
	padding: 0 0 0 15px;
}

#search div label{
	margin: 0 5px 0 0;
}
#search div select{
	border: 1px solid #fff;
	background: #fff url('/img/select-default.png') repeat-x;
}
#search #search_age_from, #search #search_age_to{
	width: 60px;
	padding-left: 0;
}
#search #search_seeking, #search #search_sex{
	width: 140px;
}

#search #search_seeking, #search #search_sex, #search #search_age_from, #search #search_age_to, #search #search_province{
	padding: 5px;
}

#search #search-province{
	width: 224px;
}

#right-column .box{
	overflow: hidden;
	margin: 10px 0 0 0;
	padding: 0;
	background: none;
}

#right-column .box .header{
	background: url('/img/box-red-bg.png') repeat-x;
	margin: 0px 0 10px 0;
	padding: 0;
	height: 37px;
	line-height: 37px;
}

#right-column .box .header a{
	margin: 0 10px;
	padding: 0 10px 0 0;
	background: url('/img/arrow.png') right 16px no-repeat;
	float: right;
	
	font-weight: bold;
	color: #fff;
}
	
#right-column .box .header h2{
	float: left;
	margin: 0 0 10px 10px;
	color: #fff;
	font-weight: bold;
	font-size: 17px;
	text-transform: uppercase;
        height: 37px;
        overflow:hidden;
}

#right-column .span-8 .header h2{
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 300px;
}

#right-column .box p{
	margin: 0;
}

ul.list{
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.list li{
	float: left;
	width: 150px;
	height: 215px;
	margin: 0 10px 10px 0;
}
ul.list li.last{
	margin: 0;
}

ul.list li span{
	text-align: center;
	display: block;	
	width: 150px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	height: 20px;
}
ul.list li a{
	color: #a41516;
}
ul.list li span.name{
	font-size: 15px;
	font-weight: bold;
}

ul.list li img{
	display: block;
	width: 150px;
	height: 150px;
}

#small-list img{
	display: block;
}

#small-list span{
	display: block;
	text-align: center;
}

#small-list span.name{
	font-weight: bold;
}

dl dt{
	float: left;
	margin-bottom: 8px;
}

dl dd{
	padding-left: 150px;
	margin-bottom: 8px;
}

#interests{
	list-style: none;
	padding: 0;
	margin: 0;
}

#interests li{
	background: url("/img/li-red-bg.png") no-repeat scroll 0 7px transparent;
    padding: 0 0 0 15px;
}

#interests li.empty{
	background: 0 none;
	padding: 0;
}

#signup label{
	float: left;
	width: 100%;
	padding-bottom: 7px;
	padding-top: 10px;
}
#signup input.field{
	margin: 0;
	padding: 5px;
	float: left;
	width: 300px
}
#signup select{
	margin: 0;
	padding: 4px;
	border: 1px solid #bbb;
}


.pagination{
	overflow: hidden;
	padding: 10px;
	background: #eee;
	font-weight: bold;	
	text-align: center;
}
.pagination div{
	margin: 3px 0 0 0;
}


.pagination a, .pagination span{

	text-decoration: none;
	font-size: 16px;
}

.pagination a{color: #d91111;}
.pagination span{color: #aaa;}

/* linkexchange */
.linkexchange{
	margin: 20px 0 0 0;
}
.linkexchange span{
	font-weight: bold;
	font-size: 18px;
}
.linkexchange ul{
	list-style: none;
	margin: 0 0 0;
	padding: 0;
	overflow: hidden;
}

.linkexchange ul li{
	float: left;
	width: 155px;
}

.linkexchange ul li a{
	color: #a10a0a;
	font-size: 12px;
	font-family: Arial,Tahoma,Verdana,"Helvetica Neue",Helvetica,sans-serif;
	text-decoration: none;
}

.footer{
	padding: 5px;
	background: #a10a0a;
	color: #fff;
	float:right;
	margin: 10px;
}
.footer a{
	color: #fff;
	text-decoration: underline;
}

.block{
    display: block;
}




.error ul, .alert ul, .notice ul, .success ul, .info ul{ list-style: none; margin: 0 5px; padding: 0;}
.error ul li, .alert ul li, .notice ul li, .success ul li, .info ul li{ line-height: 20px;}
.error .square, .alert .square, .notice .square, .success .square, .info .square { height:7px; width:7px; float:left; margin:6px 10px 0 0; }

.error .square, .alert .square{ background-color: #CC595D; }
.notice .square{ background-color: #CCA416; }
.success .square{ background-color: #98AD47; }
.info .square{ background-color: #488DAD; }
