/* =========== Base Stylesheet =========== */
/* Contents: structure, page layouts, menu */
/* ======================================= */

/* whitespace reset */
* {margin:0;padding:0;}
/* override annoying things */
a:focus {outline: none;}
a img {border: none;}
#content ul, #content ol {list-style-position: inside; font-size:0.9em; }

/* Global structure
-------------------*/
body, html, #wrap {height: 100%;}
#wrap {width: 760px;margin: 0 auto; position:relative;}
#footer {position:relative; top:111px; padding: 10px 0 20px 0; margin-left:31px; margin-right:41px; z-index:1;}
#header {padding: 0 1px; position:relative; z-index:2;}
#main {position:relative; top:111px; z-index:1;}

/* Column layout
-----------------*/
/* two column, sidebar on the right */
#menu {width: 136px;float: right; right:14px; top:111px; position:absolute; z-index:3;}
#content {width: 530px; padding: 15px 10px; margin-left:46px;}
#sub-section {width: 150px; float: right; padding: 15px 10px;}

/* Remove columns for printing
------------------------------*/

@media print {
	body, html {
	background-image: none !important;
	background-color: #fff !important;
	}
	#wrap {
	width: auto !important;
	background-image: none !important;
	}
	#header img {
	top: 0 !important; 
	left: 0 !important;	
	}
	#menu {
	display: none !important;
	}
	#main {
	background-image: none !important;
	}
	#content {
	float: none !important;
	width: auto !important;
	}
	#footer {
	background-image: none !important;
	color: #000 !important;
	}
	#header img#hdrpic {
	display:none;
	}
}

/* Header
----------*/
#header img#logo {
position: absolute;
top: 26px;
left: 57px;
}

#header #headerimg {
display:block;
width:300px;
height:162px;
position:absolute;
right:22px;
z-index:2;
background-repeat:none;
}
#header #headerimg img {display:none;}

/* shows subnav based on page context */
body.buying #header #headerimg {background-image:url(/img/header_1.jpg);}
body.selling #header #headerimg {background-image:url(/img/header_2.jpg);}
body.renting #header #headerimg {background-image:url(/img/header_3.jpg);}
body.sold #header #headerimg {background-image:url(/img/header_4.jpg);}
body.finance #header #headerimg {background-image:url(/img/header_5.jpg);}
body.insurance #header #headerimg {background-image:url(/img/header_6.jpg);}
body.news #header #headerimg {background-image:url(/img/header_7.jpg);}
body.about #header #headerimg {background-image:url(/img/header_8.jpg);}
body.contact #header #headerimg {background-image:url(/img/header_9.jpg);}



/* Menu
--------*/

#menu {
padding: 0 0 0 1px;
}

#menu ul {
list-style-type: none;
}

#menu a {
display: block;
width: 110px;
padding: 5px 0 6px 26px;
}

#menu ul ul {
display: none;
padding: 10px 0 15px 0;
position:absolute;
top:240px;
}

/* shows subnav based on page context */
/*also need to set IE6 fix if you are adding more navigation items */
body.buying li#buyList ul,
body.selling li#sellList ul,
body.renting li#rentList ul,
body.about li#aboutList ul,
body.finance li#financeList ul {
display: block;
}

/* Sub-section
---------------*/
#sub-section dd,
#sub-section dt {
margin-bottom: 5px;
}

/* Standard forms
------------------*/

form fieldset {
margin-bottom: 15px;
padding: 10px;
}

form label {
display: block;
float: left;
width: 150px;
}

form input,
form textarea,
form select {
width: 250px;
}

form p {
clear: both;
}

form fieldset#submit {
border: none;
padding: 0;
text-align: right;
}

form fieldset#submit input,
.button {
width: auto;
padding: 0 10px;
cursor: pointer;
}

.button {
margin-left:5px;
}
/* Dynamic text
----------------*/

#content img#dyn-heading-img {
display: block;
margin-bottom: 15px;
}

#content img#dyn-img1 {
float: right;
margin: 0 0 10px 20px;
}

#sub-section img#dyn-img2 {
margin-bottom: 10px;
display: block;
}

/* Home 
---------*/

body#home #menu {
float: right; 
right:-4px; 
top:141px; 
position:absolute; 
z-index:3;
}

body#home #main {
width:717px;
height:368px;
background-image: url(/img/home_main_bg.gif);
margin:0px;
padding:0px;
top:120px;
}
body#home #content {
margin:0px;
padding:0px;
}
body#home #content img#dyn-img2 {
float: left;
margin: 0 15px 10px 0;
}

body#home #quick-search {
background-color: #ccc;
width: 136px;
float: right;
right:140px;
top:141px;
position:absolute;
z-index:3;
}

body#home #quick-search fieldset {
border: none;
padding: 0;
padding-left:10px;
}

body#home #quick-search legend {
background-image:url(/img/home_qs_bullet.gif);
color:#000;
border-bottom: 1px dashed #d8d8d8;
background-repeat:no-repeat;
font-weight: bold;
font-size: 1.1em;
margin-bottom: 10px;
padding-left: 16px;
padding-bottom:4px;
margin-top: 13px;

}

body#home #quick-search label {
font-size: 0.9em;
font-weight: bold;
float: none;
display: inline;
}

body#home #quick-search p {
xmargin-bottom: 5px;
color:#848484;
}

body#home #quick-search select {
width: 115px;
font-size: 0.9em;
}

body#home #quick-search #qs_price select,
body#home #quick-search #qs_rent_price select {
width: 56px;
}

body#home #quick-search form #qs_st label {
padding-right: 5px;
width: auto;
float: none;
display: inline;
}
body#home #quick-search form #qs_st {
margin-top:10px;
margin-bottom:2px;
}
body#home #quick-search form #qs_st input {
vertical-align: middle;
width: auto;
}

body#home #quick-search form #submit {
text-align: right;
padding: 0 8px 0 0;
}
body#home form fieldset#submit input, .button {
background-color: #ccc !important;
padding:0px !important;
}
body#home form fieldset {
margin-bottom:5px;
}

body#home #header #hdrpic {
display:none;
}
body#home #imageSlideshowHolder {
margin-left:36px;
}
body#home #hometext {
color:#fff;
width:600px;
position:absolute;
top:308px;
left:142px;
}
body#home #hometext p {
float:left;
margin-right:40px;
}
body#home #footer {
margin-left:107px;
margin-right:43px;
top:120px;
}
body#home #footer .publisher {margin-right:0px}

body#home .wishlist p {
}
body#home .wishlist a {
text-decoration:none;
background-color:#494949;
color:#fff;
display:block;
margin:10px;
padding:4px;

}

body#home .wishlist a:hover {
background-color:#d4d4d4;
color:#848484;
}
/* Listings
------------*/

body.listing .property {
padding: 10px 0;
clear: both;
overflow: hidden;
}

body.listing .property .image {
display: block;
float: left;
margin-right: 15px;
}

body.listing .property .details {
width: 330px;
float: left;
margin-right: 10px;
}

body.listing .property .features {
text-align:left;
}

body.listing .property .features img {
margin-right: 7px;
vertical-align: bottom;
}

body.listing .property .details h3 {
margin-bottom: 2px;
}

body.listing .property .details p {
margin-bottom: 0 !important;
}

body.listing .property .price {
text-align: right;
}

body.listing #filter {
height: 40px;
padding: 10px;
margin-bottom: 5px;
}

body.listing #filter label {
float: none;
display: block;
width: auto;
font-size: 0.9em;
font-weight: bold;
}

body.listing #filter select {
width: 85px;
display: block;
font-size: 0.9em;
}

body.listing #filter p {
clear: none;
float: left;
margin-right: 6px;
}

body.listing #filter input {
width: auto;
padding: 1px 5px;
margin-top: 13px;
cursor: pointer;
}

body.listing p.pagebar {
font-size: 0.9em;
padding-top: 10px;
text-align: right;
}

/* Property detail
-------------------*/

body.detail #content h2 {
padding: 3px 0;
margin-bottom: 5px;
}

body.detail #content ul {
margin-bottom: 15px;
list-style-type: none;
list-style-position: outside;
}

body.detail #content ul#outgoingslist,
body.detail #content ul#features {
list-style-position: inside;
}

body.detail #addressbar {
height: 25px;
margin-bottom: 5px;
}

body.detail #addressbar h1 {
float: left;
}

body.detail #addressbar p {
float:left;
}

body.detail #addressbar img {
vertical-align: middle;
margin: 0 2px 0 0px;
}
body.detail #addressbar span {padding:0 5px;}

body.detail #propertydetails {
width: 350px;
float: left;
margin-bottom: 20px;
}

body.detail #content #features {
list-style-position: outside !important;
}

body.detail #extradetails {
width: 150px;
float: right;
margin-bottom: 20px;
}

body.detail #extradetails .officedetails img {
width: 118px;
margin-right: 2px;
margin-bottom: 2px;
display: block;
float: left;
}

body.detail #extradetails img#mainimage {
width: auto;
display: block;
}

body.detail #extradetails .images p {
text-align: center;
clear: both;
}

body.detail #extradetails dl {
margin-bottom: 10px;
clear: both;
}

body.detail dl.agentdetails img {
width: auto !important;
margin-right: 10px !important;
}

/* Property detail printfriendly
---------------------------------*/

html.brochure,
body.brochure {
background-image: none;
background-color: #fff;
}
body.brochure #wrap {
width: 584px !important;
background-image: none;
background-color: #fff;
height: 100%;
}
body.brochure #main {
background-image: none !important;
top:0px;
}			
body.brochure #content {
background-image: none !important;
float: none !important;
margin-left:0px;
width:564px; !important;
}
body.brochure #content #addressbar p {
float:right;
}
body.brochure #content #addressbar h1 {
float:left;
}
body.brochure #header {
background-image: none;
}
body.brochure #propertydetails {
width: 280px;
}
body.brochure #extradetails img {
display: block;
float: left;
margin: 0 2px 2px 0;
}
body.brochure #extradetails {
width: 247px;
}

/* Staff 
---------*/

body#staff dl {
clear: both;
margin-bottom: 10px;
padding-bottom: 10px;
}

body#staff dl dt.photo {
float: left;
margin-right: 15px;
margin-bottom: 5px;
}

body#staff dl dd.position {
margin-bottom: 5px;
}

body#staff dl dd.contact {
margin-bottom: 5px;
}

/* Slideshow
-------------*/

body.slideshow {
text-align: center;
}

body.slideshow #header {
margin-bottom: 10px;
}

body.slideshow #header img {
float: none;
display: block;
width: auto;
margin: 0 auto;
}

body.slideshow table img {
display: block;
width: auto;
margin: 20px auto;
}

body.slideshow input {
width: auto;
}

body.slideshow table {
margin: 0 auto;
}

/* Email a friend
------------------*/

body.emailafriend #header img {
float: none;
}
/* News
--------*/

body.news #content.twocolumn #latestnews {
width: 300px;
float: left;
}

body.news #content #newsarchive {
margin-right:0px;
margin-top:0px;
width: 180px;
float: right;
border-left: 1px dashed #CCAFB4;
padding-left: 25px;
}
body.news #content #newsarchive h1 {
width:auto
}

/*contact
--------------- */
.contact div#feedback form {
float:none;
margin-right:0px;
}
.contact form {
float:left;
margin-right:20px;
}