/* Positioning */

#header1 { position: relative; }
.IE #header1 { zoom: 1; overflow-x: hidden;}
#header .shadow { position: relative; z-index: 20; margin-bottom: -7px; height: 7px; font-size: 1px; }
#header .heading { padding-bottom: 3px; }
.IE #header .heading { zoom: 1; }
.IE7 #header .heading { overflow: hidden; }
.W3C #header .heading { display: table; width: 100%; }
.W3C #header .heading #logo { display: table-cell; vertical-align: top; width: 1px; }
#header .heading #logo img { float: left; display: inline; margin: 3px 0 0 8px;}
#header .heading2 { float: left; padding: 1.6em 0 1.2em 8px; }
.W3C #header .heading2 { display: table-cell; vertical-align: top;}
#header .heading h1 { margin: 0; font-size: 1.6em; }
#header .heading h2 { margin: 0.25em 0 0; font-size: 1.2em; }

#header .contact { margin-left: -1px; position: relative; font-size: 1.2em; padding-bottom: 0.25em; }
.IE #header .contact { zoom: 1; }
#header .contact h2 { margin: 0; font-size: 1.166em; }
#header .contact h3 { margin: 0; font-size: 1.166em; }

#header .decor { z-index: 30; }

#header #agentPhoto { height: 135px; }
#header #agentPhoto #decor { position: relative; height: 135px; margin-bottom: -135px; }
#header #agentPhoto #decor #upgradeflash h3 { padding-left: 300px; font-size: 0.85em; }
#header #agentPhoto img { vertical-align: top; position: relative; z-index: 10; }

#main { clear: both; float: left; width: 100%; padding-bottom: 5px; }
#main #sidebar { float: left; display: inline; width: 200px; margin: 7px 0 0 6px; }
#main #sidebar p { margin: 0.5em 0; }

#content-2 { margin-left: 206px; }
.W3C #content-1, .IE67 #content-1 { float: left; }
#content { padding: 20px; }

#mainNav { font-size: 1.2em; overflow: hidden;}
.IE #mainNav { zoom: 1; }
x:-moz-any-link, .W3C #mainNav { display: table; width: 100%; overflow: visible; }

#mainNav ul.menu { float: left; display: inline; }
#mainNav ul.menu li { float: left; display: inline; }
#mainNav ul.menu a { float: left; text-decoration: none; font-weight: bold;  }
#mainNav ul.menu span { padding: 0 20px;  }
#mainNav ul.menu span { float: left; line-height: 30px; }
x:-moz-any-link, .W3C #mainNav ul.menu span { display: table-cell; vertical-align: middle; height: 30px; float: none; line-height: 1;}

#subNav { margin-top: 10px; font-size: 1.2em; }
#subNav ul.menu a { display: block; padding: 3px 12px; line-height: 1.5; text-decoration: none; }
.IE #subNav ul.menu a { zoom: 1; }
#subNav ul.menu li.this a { font-weight: bold; }

.webbox { margin-top: 10px; }
.webbox .heading h3 { margin: 0; padding: 7px 10px; font-size: 1.2em; }
.IE .webbox .heading h3 { zoom: 1; }
.webbox .heading h3 a { text-decoration: none; }
.webbox .content { padding: 6px 12px; }
.IE .webbox .content { zoom: 1; }


.webboxListings .ListingPhotoWrap { position: relative; margin: 0 -5px; }

.webboxLinks p { padding-left: 15px; margin: 0.5em 0; }
 
#footer { clear: both; text-align: center; }
#footerNav { margin: 0.2em 0 0.5em; }
#footerNav ul.menu a { text-decoration: underline; }
#footerNav ul.menu li.this a { font-weight: bold; text-decoration: none; }
.W3C #header .contact ul.menu li, .IE #header .contact ul.menu li *, 
.W3C #footer ul.menu li, .IE #footer ul.menu li * { display: -moz-inline-box; display: inline-block;
	margin: 0.3em 0 0; padding: 0 1em; border-left: 1px solid; }
.W3C #footer ul.menu li.first, .IE #footer ul.menu li.first * { border-left: none; }

.IE #header .contact ul.menu li, .IE #header .contact ul.menu li * *,
.IE #footer ul.menu li, .IE #footer ul.menu li * * { display: inline; margin: 0; border: none; padding: 0; }
.IE #header .contact ul.menu li h2, .IE #footer .contact ul.menu li h2,
.IE #header .contact ul.menu li h3, .IE #footer .contact ul.menu li h3 { display: inline; }

.IE #footer .content2 ul.menu li * {  margin: 0.5em 0 0.5em; }

.IE #footer .content {  zoom: 1; }
#footer .content2 { padding: 15px 1em 10px; position: relative; }
.IE #footer .content2 { zoom: 1; }
#footer .content2 * {  position: relative; z-index: 3; }
#footer .content2 p { margin: 0 0 1em; }
#footer .content2 h2 { font-size: 1em; font-weight: normal; }
#footer .content2 h3 { font-size: 1em; margin: 0 0 0.5em; font-weight: normal; }
#footer .content2 li h3 { margin: 0; }
#footer .copyright {  padding: 0.5em 0; }
.IE #footer .copyright { zoom: 1; }


/* Look */
#header .shadow { background: url("shadow.png"); }
.IE6 #header .shadow { background: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
            src='shadow.png', sizingMethod='scale'); }

#header .heading { background: repeat-x 0 100%; }

#header #agentPhoto #decor { background: no-repeat 0 0; }

#subNav { background-color: #f0f0f0; }
#subNav ul.menu a { color: black; }
#subNav ul.menu li.this a, #subNav ul.menu a:hover { color: white; }

.webbox { color: #666;  }
.webbox .heading h3, .webbox .heading h3 a { color: white;  }

.webboxListings .error {color: #FF0000;}
.webboxListings .highlight {color: #0033CC;}
.webboxListings .price {color: #CC0000;}
.webboxListings .bg1 {}
.webboxListings .bg2 {}

.webboxLinks p { background: url("webboxLinks_li.png") no-repeat 4px 0.45em; }

#footerNav ul.menu li.this a { color: #333; }

#footer .content1 { background: url("footer_content1.gif") repeat-x 0 0; padding-top: 7px; }
#footer .content2 { background: repeat-x 0 100%; }

