/* Positioning */

#header { position: relative; border-bottom: 1px solid white; }
.IE #header { zoom: 1; }
.IE #header1 { zoom: 1; }
.IE7 #header1 { overflow: hidden; }
.W3C #header1 { display: table; width: 100%; }

#header #agentPhoto img { position: relative; z-index: 8; }
.IE #header #agentPhoto, .IE #header .content { float: left; overflow: hidden; }
.W3C #header #agentPhoto, .W3C #header .content { display: table-cell; vertical-align: top; }
.W3C #header #agentPhoto { width: 1px; }

#header .heading { position: relative; z-index: 8; float: left; width: 100%; }

#header .heading #logo { float: right; display: inline; padding: 1px 1px 1px 10px;}
#header .heading #logo img { display: block; }
#header .heading1 { margin: 1em 0 1em 2em; }
#header .heading h1 { margin: 0; font-size: 2.4em; font-weight: bold; font-family: "Trebuchet MS", sans-serif; }
#header .heading h2 { margin: 0; font-size: 1.4em; font-weight: bold; }

#header .contact { float: left; overflow-x: hidden; position: relative; z-index: 9;
	min-height: 50px; padding: 15px 0 ; font-size: 1.2em; }
.IE6 #header .contact { height: 50px; }
.IE5 #header .contact { height: 53px; }

#header .contact .menu { margin-left: -1px; }
.IE #header .contact ul.menu li h2, 
.IE #header .contact ul.menu li h3,
.IE #header .contact ul.menu li a { display: block; }
body .W3C #header .contact ul.menu li.first,
body .W3C #header .contact ul.menu li.office,
body .W3C #header .contact ul.menu li.email  { display: block; }


#header .contact h2, #header #header1 .contact h3 { margin: 0; font-size: 1.166em; }

#header #agentPhoto img { vertical-align: top; }

#main { clear: both; float: left; width: 100%; padding-bottom: 5px; }
#main #sidebar { float: left; display: inline; width: 200px; margin: 7px 0 0 0; }
#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; clear: both; overflow: hidden;}
.IE #mainNav { zoom: 1; }
x:-moz-any-link, .W3C #mainNav { display: table; width: 100%; overflow: visible;}
html:first-child > body .W3C #mainNav { display: block; overflow: hidden; }
#mainNav ul.menu { float: left; display: inline; padding-left: 40px; }
#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; }
.W3C #subNav ul.menu li { display: table; width: 100%; }
#subNav ul.menu a { display: block; padding: 0 12px; text-decoration: none; }
.IE #subNav ul.menu a { zoom: 1; line-height: 28px; }
.W3C #subNav ul.menu a { display: table-cell; vertical-align: middle; height: 28px; }
#subNav ul.menu a { font-weight: bold; }


.webbox .heading h3 { margin: 0; padding: 6px 10px; font-size: 1.2em; }
.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; }
.IE #footerNav { zoom:1; }
.W3C #footer #footerNav ul.menu a, .IE #footer #footerNav ul.menu li a span { text-decoration: underline; display: -moz-inline-box; display: inline-block; padding: 0.5em 2em; }
.W3C #footer #footerNav ul.menu li a span { text-decoration: underline; }

.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; padding: 0 1em; border-left: 1px solid; }
.W3C #footer ul.menu li.first, .IE #footer ul.menu li.first * { border-left: none; }
.W3C #footer #footerNav ul.menu li, .IE #footer #footerNav ul.menu li a {  border-left-width: 0; }

.W3C #footer #footerNav ul.menu li, .IE #footer #footerNav ul.menu li *, W3C #footer #footerNav ul.menu li, .IE #footer #footerNav ul.menu li *  { margin: 0; padding: 0; }


.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 #footer .contact ul.menu li h3 { display: inline; }

.IE #footer .content2 ul.menu li * {  margin: 0.5em 0 0.5em; }

.IE #footer, .IE #footer .content, .IE #footer .content1, .IE #footer .content2 { zoom: 1; }
#footer .content2 { padding: 1.5em 1em 10px; position: relative; }
#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 {  margin: 0; padding-bottom: 1em; }


/* Look */
#header .heading h1, #header .heading h2 { color: #FFFFFF; }
#header .contact h2, #header .contact h3 { color: #23211d; }
#header .contact span { color: black; }
#header .contact ul.menu li, .IE #header .contact * { border-left-color: #333; }
#header #agentPhoto { background: no-repeat 0 0; }

#mainNav ul.menu a { color: white; }

#subNav { background: #ecebe2; }
#subNav ul.menu a { color: #959393; }
#subNav ul.menu li.this a, #subNav ul.menu a:hover { color: white; }

.webbox { color: #666;  }
.webbox .heading h3, .webbox .heading h3 a { color: #464646;  }
.webbox .content {  background: #ecebe2; }
.webboxListings .error {color: #FF0000;}
.webboxListings .highlight {color: #0033CC;}
.webboxListings .price {color: #CC0000;}
.webboxListings .bg1 {}
.webboxListings .bg2 {}

.webbox p a { color: #666; font-weight: normal; font-size: small;  }
.webboxLinks p a { display: block; padding-left : 10px; margin-left: -10px;}
.webboxLinks p a:hover  { background: url(webboxLinkBullet.gif) no-repeat 0 5px;  }
.webboxLinks p { background: url("webboxLinks_li.png") no-repeat 4px 0.45em; }

.W3C #footerNav ul.menu li, .IE #footerNav ul.menu li a { border-left-color: #777; }
#footerNav ul.menu a, #footerNav ul.menu li.this a { color: white; }

#footer { background-color: #ccc; background-position: 100% 100%; background-repeat: no-repeat;  }
#footer .content2 { color: black; }
#footer .content2 a { color: black; }
.W3C #footer .content2 ul.menu li, .IE #footer .content2 ul.menu li * { border-left-color: #000; }
#footer .content2 h3 { font-weight: bold; }
#footer .content2 .office h3 { font-weight: normal; }

#footer .copyright { color: black; }
#footer .copyright a { color: black; }


