/* Positioning */

#header { margin-bottom: 3px; padding-bottom: 7px; }
.IE #header { zoom: 1; }
#header #logo { position: absolute; top: 10px; right: 12px; z-index: 3; }

#header .heading { position: relative; z-index: 2;}
.IE #header .heading { zoom: 1; }
.IE7 #header .heading { overflow: hidden; }
.W3C #header .heading { display: table; width: 100%; }

#header .heading1 { float: left; display: inline; padding: 20px 275px 20px 23px; margin-right: 75px; }
.IE56 #header .heading1 { height: 0; }
#header .heading h1 { margin: 0; font-size: 1.6em; }
#header .heading h2 { margin: 0; font-size: 1.2em; }

#header #agent { margin: -40px 0 3px; position: relative; z-index: 1; }
.IE #header #agent { zoom: 1; }
.W3C #header #agent1 {display: table; width: 100%; }
html:first-child > body .W3C #header #agent1 { overflow: hidden; display: block; height: auto;}
.IE #header #agent1 { zoom: 1; }
.IE7 #header #agent1 { overflow: hidden; }
#header #agent #decor { float: right; position: relative;
	margin-left: -635px; width: 635px; height: 175px; }
#decor #upgradeflash h3 { font-size: 0.85em; padding-top: 50px; }

#header #agent #fade { width: 132px; height: 175px; position: absolute; top: 0; right: 504px; }

#header #agentPhoto img { position: relative; float: left; display: inline;
	margin:  40px 0 -3px 23px; border: solid; border-width: 0 3px 3px;}
#header #agent .contact { float: left; position: relative; z-index: 5; padding: 20px 0 0 23px;
	margin-top: 40px; font-weight: bold; font-size: 1.2em; }
#header #agent .contact h2, #header #agent .contact h3 { margin: 0; font-size: 1.166em; }

#main-1 { clear: both; float: left; width: 100%; }
#main { float: left; width: 100%; }
#main #sidebar { float: left; display: inline; width: 200px; margin-left: 25px; }
#main #sidebar p { margin: 0.5em 0; }

#content-2 { margin-left: 225px; }
.W3C #content-1, .IE67 #content-1 { float: left; }
#content { padding: 20px; }

#mainNav { border-top: 2px solid; padding-left: 25px; font-size: 1.2em; }
.IE #mainNav { zoom: 1; }
.IE #mainNav ul.menu { zoom: 1; }
.IE7 #mainNav ul.menu { overflow: hidden; }
.W3C #mainNav ul.menu { display: table; width: 100%; }
#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 15px;  }
#mainNav ul.menu span { float: left; line-height: 31px; }
x:-moz-any-link, .W3C #mainNav ul.menu li a span { display: table-cell; vertical-align: middle; height: 31px; line-height: 1; float: none; }

#subNav { font-size: 1.2em; }
#subNav ul.menu { padding-top: 20px; }
.IE #subNav ul.menu { zoom: 1; }
#subNav ul.menu a { display: block; text-decoration: none; }
.IE #subNav ul.menu a { zoom: 1; }
#subNav ul.menu a span { display: block; padding: 4px 30px 4px 18px; line-height: 1.5; }
.IE #subNav ul.menu a span{ zoom: 1; cursor: hand; }

#webboxes { padding-top: 20px; }
.IE #webboxes { zoom: 1; }
.webbox { margin-top: 2px; }
.IE .webbox { zoom: 1; }
.webbox .heading h3 { margin: 0; padding: 8px 10px 8px 14px; 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: -2px -5px 0; }

.webboxLinks p { padding-left: 15px; margin: 0.5em 0; }

#footer { clear: both; padding-top: 25px; text-align: center; }
.IE #footer { zoom: 1; }
#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 #footer ul.menu li, .IE #footer ul.menu li * { display: -moz-inline-box; display: inline-block; 
	margin: 0.2em 0 0; padding: 0 1em; border-left: 1px solid; }
.IE #footer div.address { margin-top: 0.2em; }
.IE #footer ul.menu li, .IE #footer ul.menu li * * { display: inline; margin: 0; border: none; padding: 0; }
.IE #footer .content ul.menu li h2, .IE #footer .content ul.menu li h3 { display: inline; }
.W3C #footer ul.menu li.first, .IE #footer ul.menu li.first * { border-left: none; }

#footer .content { padding: 1.5em 1em 1em; }
.IE #footer .content { zoom: 1; padding-bottom: 0.5em; }
#footer .content p { margin: 0 0 0.5em; }
#footer .content h2 { font-size: 1em; font-weight: normal; margin: 0;}
#footer .content h3 { font-size: 1em; margin: 0 0 0.5em; font-weight: normal; }

#footer .copyright {  margin-top: 1em; }

/* Look */
#header { background: url("header.gif") repeat-x 0 100%; }
#header .heading h1, #header .heading h2 { color: black; }
#header .heading1 { background: url("header_heading.png") no-repeat 100% 100%; }
#header #agent { background-position: 100% 1px; }
#header #agent1 #decor { background: no-repeat 100% 0; }
#header #agent .contact, #header #agent .contact a { color: white; }
#header #agentPhoto img { border-color: white; }

#mainNav { border-top-color: #797979; background: url("mainNav_ul.gif"); }

#mainNav ul.menu a, #mainNav ul.menu span { background: url("mainNav_a.png") no-repeat; }
#mainNav ul.menu a { color: #1c1d52; background-position: 0 -62px; }
#mainNav ul.menu span { background-position: 100% 0; }
#mainNav ul.menu li.this a , #mainNav ul.menu a:hover { background-position: 100% -31px; }
#mainNav ul.menu li.this span, #mainNav ul.menu a:hover span { background-position: 0 -93px; }

#subNav { background-color: #f0f0f0; }
#subNav ul.menu a { color: #666; background: url("subNav_li_a.png") 0 0 }
#subNav ul.menu a span { color: #666; background: url("subNav_li_a.png") 0 100% }
#subNav ul.menu li.this a, #subNav ul.menu a:hover { background-position: -200px 0; color: #6f0303; }
#subNav ul.menu li.this a span, #subNav ul.menu a:hover span { background-position: -200px 100%; color: #6f0303; }

#main-1 { background: url("main-1.png") no-repeat 0 0; }
#main { background: url("main.gif") repeat-y 0 0; }
body.no_sidebar #main { background: none; }

#webboxes { background-color: #f0f0f0; }
.webbox { background: repeat-y 0 0; }
.webbox .heading { background: no-repeat 0 0; }
.webbox .heading h3 { background: no-repeat 100% 100%; }
.webbox .heading h3, .webbox .heading h3 a { color: white;  }
.webbox .content { background: no-repeat 100% 100%; }

.webboxListings .desc, .webboxListings .details { border-top-color: #b3b3b3;  }
.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; }

#footer { background: url("footer.gif") repeat-x 0 0; }
.W3C #footerNav ul.menu li, .IE #footerNav ul.menu a { border-left-color: #333; }
#footerNav ul.menu a { color: #333; }
#footerNav ul.menu li.this a { color: black; }

#footer .content, #footer .content li.office h3 { color: #eee; }
#footer .content a { color: white; }
.W3C #footer .content ul.menu li, .IE #footer .content ul.menu li * { border-left-color: #bbb; }
#footer .content h3 { color: #ffffcc; }

.user a:link, .user a:visited, .user a:hover, .user a:active { color: #336; }
.webbox .content a:link, .webbox .content a:visited,
.webbox .content a:hover, .webbix .content { color: #336; }

