/* div#content from main.css interferes with the layout due to some attributes being inherited 
   Do not enclose these styles in a div#content! */
.toright {
	float:right!important;
}
.aright {
	text-align: right;
}
.watermark {
	color: #aaa;
}
body {
	width:670px;
	margin: auto;
}
div.photolist {
	width:670px;
	background: #fff;
	float: left;
}
div.photolistbox {
	width:670px;
	background: #e8e8e0;
	float: left;
	padding-bottom: 10px;
	margin-top: 10px;
	border-color: #d0d0d0;
	border-style: solid;
	border-width:1px;
	border-left: none;
	border-right: none;
}
.first {
	margin-top: 0px!important;  /* Suppress whitespace on first item */
}
div.photoinfo h2 {
	float: left;
	width: 175px;
	margin:0px 10px 5px 10px;
	padding: 5px;
	text-align: center;
	font-size: 12px!important;
	background: #d0d0d0;
}
div.row {
	margin:10px 0 0px 10px;
	text-align: left;
	float: left;
}
div.photo {
	width: 204px;
	height: auto;
	float: left;
/*	position: relative; */
}
.photolist, .photolistbox, .row,
div.photo .photo-inner {
	position:relative;
}
div.photo img.hold {
	position: absolute; 
	left: 3pt; 
	bottom: 4pt;
	height:40px;
	width:200px;opacity: 0.5; 
	filter: alpha(opacity = 50);
	z-index:99999;
}
#content div.photolistbox .photoaddress,div.photoinfo, div.photofeatures {
	float: left;
	margin-left:10px;
	width: 300px;
}
#content div.photolistbox .photoaddress {
	width:425px;
	font-size: 14px;
	font-weight: bold;
	padding: 0px 0 2px 0;
	margin-left:18px; margin-bottom: 3px; margin-top: 0;
	border-bottom: 1px solid #d0d0d0;
	letter-spacing: .08em;
}
div.photoinfo, div.photofeatures {
	width:210px;
}
div.photoinfo p, div.photoinfo label {
	margin:0; 
	padding:0;
}
div.photoinfo p {
	line-height: 20px;
	margin-top: 2px! important;
	float: left;
	font-weight: bold;
}
div.photoinfo label {
	float: left;
	display: block;
	width:130px;
	text-align: right;
}
div.photoinfo em {
	float:left;padding:0;margin:0;
	width: 65px;
	margin-left: 10px;
	font-style: normal
}
div.photofeatures {
	margin:0px;
	padding-left:0px;
	float: left;
}
div.photofeatures p {
	margin:0 0 4px 0;
	white-space:nowrap;
}
div.photofeatures p.li {
	background: url(/css/tick.gif) no-repeat !important;
	margin-left:0px;
	padding-left:24px;
	line-height: 18px;
	overflow: hidden;
	}
div.photolist img.house {
	border: 1px solid #999;
}
div.functions {
	float:left;
	padding: 2px 0 2px 5px;
	margin: 5px 0 0 8px;
	background: #FFFFFF url(metallic-bar.gif) repeat;
	width: 650px;height:32px;line-height:32px;
	overflow: hidden;
}
a.function{ /* Footer buttons */
	height:24px;
	padding-left: 24px;padding-right:3px;
	display: block;
	float: left; 
	background-repeat: no-repeat;
	background-position: 3px;
	text-decoration: none!important;
	border: 1px solid #777;
	color: #000!important;
	line-height: 26px;
	white-space: nowrap;
}
a.function:hover  {
	border: 1px solid #000!important;
	color: #000!important;
}
div.functions div{
	background: url(button-back.gif) repeat-x;
	float: left;
	margin-right: 6px;
}
div.functions a.print {
	background-image: url(/css/printer.gif);
}
div.functions a.detail {
	background-image: url(/css/layout_content.gif);
}
div.functions a.email {
	background-image: url(/css/email_go.gif);
}
div.functions a.map,
div.functions a.maplink {
	background-image: url(/css/map.gif);
}
.functions div.checkbox {
border:none;
float:left;height: 100%;
margin:0;
padding:0px;
background: #ffe;
}
input.checkall, input.checkbox {
	margin-left:5px;
	margin-right: 10px;
	margin-left:5px;
	margin-right: 10px;
	border: none!important;
}

div#searches {
float:left;
height:22px;
line-height:20px;
width:671px;
background: #FFFFFF url(metallic-bar.gif) repeat;
}

div#searches input, div#searches select, div#searches label {
	font-size: 10px;
	vertical-align:middle;
}
div#searches input, div#searches select {
	border: 1px solid #888;
}

div#searches label {
	font-weight: bold;
}
div#searches span {
	margin-right: 10px;
}
div#searches input#ad_num {
	width: 40px;
}
div#searches a.search {
	height: 17px;
	width: 17px;
	display: inline-block;
	background: url(zoom.gif) center;
	vertical-align:middle;
}
span label.selection-status {
	font-size:.7em;
	margin-left:10px;
}
span label.selection-status,
	a#unselectall, 
	a#showall {
		display:none;  /* Shown later after page is loaded */
}
a#unselectall {
	background: url(no-in-box.gif) no-repeat;
	padding: 0px 0 0 15px;
}
a#showall {
	background: url(check-in-box.gif) no-repeat;
	padding: 0px 0 0 15px;
}
a#showfav {
	background: url(heart12.gif) no-repeat;
	padding: 0px 0 0 15px;
}
span a.status {
	font-size:10px;
	margin-left: 4px;
 }
span a.status:hover {
	 color: #800!important;
	 text-decoration: underline!important;
 }
 p.tosee {
	 margin-bottom:10px!important;
 }
 .sold {
	 color: #000;
 }
 .nocheck {
	 background-image: none!important;
	 padding-left:0!important;
 }
 	.stamp {
	margin-top:10px;
}
	.stamp-print {
		position: absolute;
		top:0;
		left:0;
	}
	.stamp-print-container {
		position: relative;
	}
div.coupon {
	width: 670px; float: left; height: auto; position: relative;
	margin-top:10px;
}
div.coupon span#refnum {
	position: absolute; top: 263px; left: 147px;
}
div.coupon span#drivenum  {
	position: absolute; bottom: -12px; z-index: 99999; left: 0px;
}
.grade {
	display:block;
	float:left;
	height:26px;
	line-height:26px;
/*	margin-left:00px; */
	margin: 0 25px 0 70px;
	vertical-align:middle;
}
.unit_no {
	display:block;
	float:left;
	height:26px;
	line-height:26px;
	margin: 0 10px;
	vertical-align:middle;	
}
}
.top-menu a {
	display: block; /* make dropdown menu links full-width */
}