/* Positioning */

#header { width: 100%; overflow: hidden; }
#header .shadow, #footer .shadow { position: relative; margin-bottom: -5px; height: 5px; overflow: hidden; }
#header .scheme { height: 7px; margin-bottom: 0;}

#header .heading { padding-bottom: 3px; }
.IE #header .heading { zoom: 1; }
.IE7 #header .heading { overflow: hidden; }
.W3C #header .heading { display: table; width: 100%; }
#header .heading #logo img { float: right; display: inline; margin: 3px 0 0 8px;}
#header .heading2 { float: left; padding: 1.6em 0 1.2em 8px; }
#header .heading h1 { margin: 0; font-size: 1.6em; }
#header .heading h2 { margin: 0.25em 0 0; font-size: 1.2em; }

#header .decor, #header .decor1 { float:left; width: 100%; background-position: 0 0; }
#header .decor { margin-top: -7px; background-repeat: repeat-x;  }
#header .decor1 { background-repeat: no-repeat; }

#header .overlay-2 { position: relative; height: 180px; z-index: 2; }
#header .overlay-1 { position: absolute; right: 0; bottom: -150px; z-index: 1; text-align: right; }
#header .overlay { background: url('decor_info_overlay.png') no-repeat 0 0; padding-top: 4px; }
.IE #header .overlay { float: right; background: none;  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
            src='decor_info_overlay.png', sizingMethod='crop'); }
			
#header .contact { position: relative; z-index: 3; font-size: 1.2em; 
	padding: 10px 0 160px 0;  margin-left: -0.5em;  }

#header .contact ul.menu li { display: inline; font-weight: bold; }
#header .contact ul.menu li * { margin-left: 2em; }
#header .contact ul.menu li * * { margin-left: 0; }

#header .contact h2, #header .contact h3 { display: block; margin: 0; font-size: 1.166em; }
#header .contact ul.menu li a { display: block; }

#header #agentPhoto { float: right; height: 180px; position: relative; z-index: 6; }
#header #agentPhoto img { position: absolute; bottom: 0; right: 0; }

#main { float: left; width: 100%; padding-bottom: 5px; position: relative; z-index: 4; 
	background-position: 100% 100%; background-repeat: no-repeat; margin-top: 0px; }
#main #sidebar { float: left; display: inline; width: 200px; margin: 16px 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; background-repeat: repeat; background-position: 0 0; 
	border-bottom-style: solid; border-bottom-width: 1px; 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 a:hover, #mainNav ul.menu li.this a { background-position: 0 0; }
#mainNav ul.menu a:hover span, #mainNav ul.menu li.this a span { background-position: 100% 100%; }

#mainNav ul.menu span { float: left; line-height: 32px; }
x:-moz-any-link, .W3C #mainNav ul.menu span { display: table-cell; vertical-align: middle; height: 32px; float: none; line-height: 1; }

#subNav ul.menu a, #subNav ul.menu a span, 
#subNav ul.menu a:hover, #subNav ul.menu a:hover span, 
#subNav ul.menu li.this a, #subNav ul.menu li.this a span { background-repeat: no-repeat; }

#subNav { font-size: 1.2em; }
#subNav ul.menu a { display: block;  text-decoration: none; background-position: -400px 0; }
#subNav ul.menu a span { display: block; background-position: -600px 100%; padding: 3px 12px 8px 12px; line-height: 1.5; }
.IE #subNav ul.menu a, .IE #subNav ul.menu a span { zoom: 1; }
#subNav ul.menu a:hover, #subNav ul.menu li.this a { background-position: 0 0; }
#subNav ul.menu a:hover span, #subNav ul.menu li.this a span { background-position: -200px 100%; }

.IE #subNav ul.menu a { zoom: 1; }

.webbox { margin-top: 10px; background: repeat-y; }
.webbox .heading { background: no-repeat 0 0; }
.webbox .heading h3 { margin: 0; padding: 7px 10px; font-size: 1.2em;
	background: no-repeat -200px 100%; }
.IE .webbox .heading h3 { zoom: 1; }
.webbox .heading h3 a { text-decoration: none; }

.webbox .content { padding: 6px 12px; background: no-repeat -200px 100%; }
.IE .webbox .content { zoom: 1; }

.webboxListings .ListingPhotoWrap { position: relative; margin: 0 -4px 0 -7px; }

.webboxLinks p { padding-left: 15px; margin: 0.5em 0; }

#footer { position: relative; z-index: 15; clear: both; text-align: center; }
.IE #footer { zoom: 1; }
#footerNav { padding: 0.2em 0 0.5em; background-repeat: repeat-x; background-position: 0 50%; 
	border-top-style: solid; border-bottom-style: solid; border-top-width: 1px; border-bottom-width: 1px;}
.IE #footerNav { zoom: 1; }
#footerNav ul.menu a { text-decoration: underline; }
#footerNav ul.menu li.this a { font-weight: bold; text-decoration: none; }

.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; white-space: nowrap; }
.W3C #footer ul.menu li.first, .IE #footer ul.menu li.first * { border-left: none; }

.IE #footer ul.menu li, .IE #footer ul.menu li * * { display: inline; margin: 0; border: none; padding: 0; }
.IE #footer .contact ul.menu li h2, .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 .content1 { background-position: 0 50%; background-repeat: repeat-x; 
	border-bottom-style: solid; border-bottom-width: 1px; }
#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, #footer .shadow { background: url("shadow.png"); }
.IE56 #header .shadow, .IE56 #footer .shadow { background: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
            src='shadow.png', sizingMethod='scale'); }

#header .heading { background: repeat-x 0 100%; }

#subNav { background-color: #f0f0f0; }
#subNav ul.menu a { color: black; font-weight: bold;}
#subNav ul.menu li.this a, #subNav ul.menu a:hover { color: white; }

.webbox { color: #333; }

.webboxListings .error { color: #FF0000; }
.webboxListings .highlight { color: #0033CC; }
.webboxListings .price { color: #CC0000; }

.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%; }
