/* eric may eventually set the templates generators to spit out lowercase classnames,
at which point these will need to be changed to match.  */

/* --------- */
/* list view */
/* --------- */
#list_view_wrapper .list_item {
	clear: both;
	margin-bottom: 1em;
	border-top: 1px solid #cce;
	padding: 1em 0;
}

.list_image {
	float: left;
	text-align: center;
}

.list_image a img {
	border: 1px solid #ddd;
}

/* attributes that display in the list view  */

.listviewattribute {
display: block;
padding-top: 4px;
padding-bottom: 4px;
clear: right;
}

.list_details {
	margin-left: 165px;
}

.list_details .Subdivision {
	font-weight: bold;
}

.list_details .Town {
	float: left;
	font-weight: bold;
	margin-right: .45em;
}

.list_details .State {
	float: left;
	font-weight: bold;
}

.list_details .town span.area {
	font-weight: normal;
}

.list_details .List_Price {
	float: right;
}

.list_details .List_Price span {
	font-weight: bold;
}

.list_details .list_remarks {
	clear: right;
	margin-bottom: 1em;
}

.brokerreciprocity { float: right; }

.list_details .view_listing,
.list_details .favoritelink {
	display: inline;
	margin-right: 1em;
}

/* Open House Badge */
.badge {
	display:block !important;
    z-index: 2;
    position: relative;
    border: none !important;
	text-indent:-999999px;
	display:none;
}
.badge.openhouse{
	height:90px;
	width:90px;
	margin-bottom:-90px;
    top: -4px;
	left: -4px;
	background:url("http://d.usmre.com/i/bomber/bdg-openhouse.png") no-repeat;
}

/* Highlight Pending listings differently than Active listings */
.statusK {
	background: #b9b9b9; padding: 5px;
	filter:alpha(opacity=50);
	-moz-opacity:.50;
	opacity:.50;
}

/* formats the pagination */
.ezclassesnavigator { margin-bottom: 10px; }

#eznavigatortpl { clear: left; }

/* broker reciprocity icon */
.brokerrec {
	vertical-align: middle;
	padding-left: 20px;
}

.error {
	margin: 10px 0;
	background: #f9eeea;
	border: 1px solid #a22;
	border-width: 1px 0;
	padding: 10px;
}

.savesearch .error {
	background-color: #d5ddef;
	border-color: #bbbfcb;
}

.error p {
	margin-bottom: 0;
}

#eznavigatortpl {
	margin: 10px 0;
}

/* re2 pss pages */
#list_view_wrapper .pssname {
	margin-top: 10px;
}

/* ----------- */
/* detail view */
/* ----------- */
/* most of this code is legacy from the old re system -sn */
/* horizontal heading */
.mlsnavbar {
	border: 1px solid #dfdddd;
	margin-bottom: 10px;
}

/* horizontal heading favorites area */
.mlsnavbarleft {
	float: left;
	width: auto;
}

.mlsnavbarleft ul {
	margin: 0;
	padding: 0;
}

.mlsnavbarleft li {
	float: left;
	list-style-type: none;
	margin: 0;
	padding: 0 6px;
}

/* horizontal heading pagination */
.mlsnavbarright {
	float: right;
	width: 30%;
}

.mlsnavbarright ul {
	margin: 0;
	padding: 0;
}

.mlsnavbarright li {
	float: right;
	list-style-type: none;
	margin: 0;
	padding: 0 6px;
}

/* alternate widths for agent page */
#agentview .mlsnavbarleft,
#agentview .mlsnavbarright {
	width: 50%
}

/* ----------------------- */
/* detail view left column */
/* ----------------------- */

.mlsleftcol {
	float: left;
	width: 297px;
	margin: 0;
	padding: 0;
	padding: 0 10px 0 0;
}

/* slide show main image */
.mlsleftcol #slideshow {
	text-align: center;
	width: 296px;
}

.mlsleftcol #slideshow img { padding: 4px; }

/* slide show thumbnails */
.mlsleftcol .slideshowthumbs { padding-top: 15px; }

.mlsleftcol .slideshowthumbs img {
	border: 1px solid #ccc;
	padding: 1px;
}

/* slide show navigator */
.mlsleftcol .slideshownav { padding: 5px 10px; }

.mlsleftcol .slideshownav a { text-decoration: none; }

.mlsleftcol .slideshownav img {
	padding: 0 5px;
	vertical-align: middle;
}

/* form ajax area */
.formarea {
	background: #fff;
	border-right: 1px solid #000;
	border-left: 1px solid #000;
	border-bottom: 1px solid #000;
	margin-top: 20px;
	margin-bottom: 20px;
	width: 296px;
	voice-family:"\"}\"";
	voice-family:inherit;
	width: 294px;
}

/* style the contact form area */
.formarea label {
	display: block;
	font-weight: bold;
	padding: 5px 0;
}

#contact-form-error-contact { color: #c00; font-weight: bold; }
#contact-form-error-sched { color: #c00; font-weight: bold; }
#contact-form-error-friend { color: #c00; font-weight: bold; }


.formarea form.contact {
	margin: 0;
	padding: 3px 10px;
	color: #000;
}

.formarea form.contact label { color: #000; }

/* set the non form elements to a color */
.formarea .layouttable,
.formarea .layouttable p { color: #000; }

/* clickable buttons */
.formarea ul.subNav {
	height: 22px;
	padding: 0;
	margin: 0;
	text-indent: -9999px;
}

.formarea ul.subNav li {
	display: block;
	float: left;
	list-style: none;
	height:0 !important;
	height /**/: 22px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	text-indent: -9999px;
}

.formarea ul.subNav li { padding: 0; padding-top: 0; }

/* commented backslash hack v2 \*/
.formarea ul.subNav li { padding: 0; padding-top: 22px; }
/* end hack */

/* contact us button */
.formarea ul.subNav li#contactlink {
	width: 69px;
	cursor: pointer;
}

.formarea ul.subNav li#contactlink {
	background: url("http://d.usmre.com/i/re-core/button_contact.gif") no-repeat;
}

.formarea ul.subNav li#contactlink.on {
	background: url("http://d.usmre.com/i/re-core/button_contact-on.gif") no-repeat;
	border: 0;
}

/* email to a friend */
.formarea ul.subNav li#emaillink {
	width: 69px;
	cursor: pointer;
}

.formarea ul.subNav li#emaillink {
	background: url("http://d.usmre.com/i/re-core/button_email.gif") no-repeat;
}

.formarea ul.subNav li#emaillink.on {
	background: url("http://d.usmre.com/i/re-core/button_email-on.gif") no-repeat;
	border: 0;
}

/* mortgage calculator */
.formarea ul.subNav li#mortgagelink {
	width: 87px;
	cursor: pointer;
}

.formarea ul.subNav li#mortgagelink {
	background: url("http://d.usmre.com/i/re-core/button_mortgage.gif") no-repeat;
}

.formarea ul.subNav li#mortgagelink.on {
	background: url("http://d.usmre.com/i/re-core/button_mortgage-on.gif") no-repeat;
	border: 0;
}

/* schedule a viewing button */
.formarea ul.subNav li#schedulelink {
	width: 69px;
	cursor: pointer;
}

.formarea ul.subNav li#schedulelink {
	background: url("http://d.usmre.com/i/re-core/button_schedule.gif") no-repeat;
}

.formarea ul.subNav li#schedulelink.on {
	background: url("http://d.usmre.com/i/re-core/button_schedule-on.gif") no-repeat;
	border: 0;
}

/* placeholder for mortgage calc on rentals */
.formarea ul.subNav li.rmifplaceholder {
	width: 87px;
	background: url("http://d.usmre.com/i/re-core/rmif_button_placeholder.gif") no-repeat;
}

/* submitted error response */
#sackdata p {
	color: #c00;
	font-weight: bold;
}

/* ------------------------ */
/* detail view right column */
/* ------------------------ */

.mlsrightcol {
	margin: 0 0 0 317px;
	padding: 0;
}

.mlsrightcol ul {
	margin-left: 0;
	padding: 0;
}

.mlsrightcol h3 { margin: 10px 0 0 0; }

.mlsrightcol li { list-style-type: none; }

.mlsrightcol li li {
	list-style-type: disc;
	margin-left: 20px;
}

/* heading information */
.mlstitleinfo {
	margin: 0;
	padding: 0 0 5px 0;
}

/* town info */
.mlstowntitle {
	font-size: 14px;
	font-weight: bold;
}

/* listing number info */
.mlslistid {
	font-style: italic;
	font-weight: bold;
}

/* offered at text info */
.mlsofferedat { text-transform: uppercase; }

/* listing price info */
.mlslistprice { font-weight: bold; }

/* terms text info */
.mlsterms { text-transform: uppercase; }

/* terms value info */
.mlstermofrental { font-weight: bold; }

/* full address info */
.mlsfulladdress { font-weight: bold; }

/* listing credit */
.listingcredit {
	margin-top: 1em;
	font-style: italic;
}

/* Open Houses */
.dv-oh-cal{ background:#fff;display:block;font-size:1.8em;text-align:center;width:2.5em;float:left;margin:.2em .5em .3em 0;border-style:none solid solid none;border-width:1px;-moz-border-radius:9px;-webkit-border-radius:9px;border-radius:9px; }
.msg .dv-oh-cal{color:#666;}
.dv-openhouse {  }
.dv-oh-cal span.month{ background:#ccc;display:block;font-size:.5em;text-transform:uppercase;color:#444;-webkit-border-radius:9px 9px 0 0;-moz-border-radius:9px 9px 0 0;border-radius:9px 9px 0 0;font-weight:700; }
.dv-oh-cal span.suffix{ position:relative;top:-.6em;font-size:.6em; }
.dv-oh-wrap { display:inline-block	zoom:1;
*display: inline;
_height: 30px;
}
.dv-oh-msg { margin:0 .3em 0 0;float:left;font-size:2.9em;line-height:.9em;text-align:center; }
.dv-oh-msg span{display:block;font-size:.7em}
.dv-oh-msg-detail {font-weight:700;float:left;margin:0;text-align:left;}

.listingagent{clear:both;}

/* --------------------- */
/* mls footer disclaimer */
/* --------------------- */

.mlsdisclaimer {
	margin-top: 20px;
}

.mlsdisclaimer img {
	float: left;
	width: 100px;
	background: #fff;
	padding: 4px;
	border: 1px solid #000;
	margin: 18px 0 0 15px;
}

.mlsdisclaimer p {
	font-size: 10px;
	line-height: normal;
	margin-top: 10px;
	margin-left: 140px;
}

#ccmlsdisclaimer {
	clear: both;
	padding-top: 2em;
}

#ccmlsdisclaimer p {
	font-size: 10px;
	line-height: normal;
	margin-top: 10px;
}

.clearboth { clear: both; }

/* --------------------- */
/*    quicksearch box    */
/* --------------------- */
form#quicksearch select,
form#quicksearch input,
form#quicksearch button {
	font: 10px verdana, sans-serif;
	margin-bottom: 4px;
}

form#quicksearch select {
	width: 140px;
}

form#quicksearch input#mlsno,
form#quicksearch input#keywords {
	width: 132px;
	padding-left: 4px
}

form#quicksearch #quicksearchsubmit {
	display: block;
}

button#quicksearchsubmit {
	border-width: 0;
	background: transparent url("http://d.usmre.com/i/button-set-1/search.gif") left top no-repeat;
	display: block;
	width: 47px;
	height: 17px;
	cursor: pointer;
	text-indent: -9999px;
	float: left;
}

a#quicksearchcustomlink {
	background: transparent url("http://d.usmre.com/i/button-set-1/custom-search.gif") left top no-repeat;
	display: block;
	width: 90px;
	height: 17px;
	text-indent: -9999px;
	margin-left: 50px;
}

form#quicksearch label.checkbox span {
	vertical-align: top;
}

/* --------------------- */
/*    advanced search    */
/* --------------------- */
#advancedsearch .searchlabel,
#advancedsearch .searchfield {
	padding-bottom: 10px;
}

#advancedsearch .searchlabel {
	vertical-align: top;
	padding-right: 15px;
}

#advancedsearch .proptype {
	float: left;
	width: 34%;
}

#advancedsearch .towntype {
	float: left;
	width: 30%;
	margin-right: 3%;
}

/* Generic Map Search */
.mapcontainer {
	position: relative;
}

.maplabel {
	position: absolute;
	left: 0;
	top: 0;
}

.maplabel span { display: block; }

.townlabel {
	font-weight: bold;
	font-size: 120%;
}

/* ------------------- */
/* re2 advanced search */
/* ------------------- */
.formadvsearch .searchdiv {
	clear: left;
}

.formadvsearch .searchdiv p {
	margin: 0;
	padding-top: 10px;
}

.formadvsearch #propertytype {
	width: 400px
}

.formadvsearch #propertytype div {
	float: left;
	width: 180px
}

.formadvsearch #serviceareatowns .Town div {
	float: left;
	width: 180px;
}

fieldset {
	border: 1px solid #666;
	padding: 10px;
}

/* Presaved Search List */
.psslist {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* presaved search page */
.psscontent {
	border-bottom: 1px solid #cce;
	margin-bottom: 1em;
}

/* basic auto-email overrides */
#emailcontent { width: 550px; background: #fff; }

#emailcontent td { font-size: 12px; }

/* Hide View My Listings link if agentcode = 0 */

p.agentcode0,
li.agentcode0 { display: none; }

/* re2 agent manager overrides */
.viewagent .mlsleftcol {
	width: 200px;
}

.viewagent .mlsrightcol {
	margin-left: 210px;
}

#list_view_wrapper .virtual_tour a,
#list_view_wrapper #eznavigatortpl a,
#list_view_wrapper #eznavigatortpl span.locked{background:transparent;}
.ezbreadcrumbs a{padding-left:10px;}
.ezbreadcrumbs{ margin-left:-10px; }
