/* =========== 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;}

/* Global structure
-------------------*/
body, html {height: 100%;}
body { padding-top:10px;}
#wrap {width: 760px; margin: 0 auto;}
#footer {clear: both;padding: 10px 0 15px 0; text-align: center;}
#header {padding: 0 1px;}

/* Column layout
-----------------*/
/* two column, sidebar on the right */
#main {clear: both;}
#menu {width: 170px;float: left;}
#content {width: 397px; float: left; padding: 15px 10px;}
#sub-section {width: 150px; float: right; padding: 15px 10px;}
/* pages without columns */
body.listing #content,
body.detail #content,
body#staff #content,
body#appraisal #content,
body.alert #content {width: 565px;float: right;}

/* 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
----------*/

#header img {
display: block;
float: right;
}

/* Menu
--------*/

#menu {
padding: 0 0 0 1px;
}

#menu ul {
list-style-type: none;
}

#menu a {
display: block;
width: 149px;
padding: 7px 0 9px 20px;
}

#menu li li a {
border: none;
padding: 3px 0 3px 20px;
width: 149px;
}

#menu ul ul {
display: none;
padding: 10px 0 15px 0;
}

/* shows subnav based on page context */
body.buying ul#buyList,
body.selling ul#sellList,
body.renting ul#rentList,
body.about ul#aboutList {
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 {
width: auto;
padding: 0 10px;
cursor: pointer;
}

/* Dynamic text
----------------*/

#content img#dyn-heading-img {
display: block;
margin-bottom: 15px;
}

#content img#dyn-img1 {
float: right;
margin: 10px 10px 10px 0;
}

#sub-section img#dyn-img2 {
margin-bottom: 10px;
display: block;
}

/* Home 
---------*/

body#home #content img#dyn-img2 {
float: left;
margin: 0 15px 10px 0;
}

body#home #sub-section fieldset {
border: none;
padding: 0;
}

body#home #sub-section legend {
font-weight: bold;
font-size: 1.2em;
margin-bottom: 10px;
padding-left: 0;
margin-left: 0;
}

body#home #sub-section label {
font-size: 0.9em;
font-weight: bold;
float: none;
display: inline;
}

body#home #sub-section p {
margin-bottom: 5px;
}

body#home #sub-section select {
width: 140px;
font-size: 0.9em;
}

body#home #sub-section #qs_price select,
body#home #sub-section #qs_rent_price select {
width: 62px;
}

body#home #sub-section form #qs_st label {
padding-right: 5px;
width: auto;
float: none;
display: inline;
}

body#home #sub-section form #qs_st input {
vertical-align: middle;
width: auto;
}

body#home #sub-section form #submit {
text-align: right;
padding: 0 8px 0 0;
}
body#home input {
width:30px;
}

/* 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: 250px;
float: left;
margin-right: 10px;
}

body.listing .property .features {
float: 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: 140px;

}
body.listing #filter input.submit {
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: right;
}

body.detail #addressbar img {
vertical-align: middle;
margin: 0 2px 0 10px;
} 

body.detail #propertydetails {
width: 305px;
float: left;
margin-bottom: 20px;
}

body.detail #content #features {
list-style-position: outside !important;
}

body.detail #extradetails {
width: 244px;
float: right;
margin-bottom: 20px;
}

body.detail #extradetails 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;
}			
body.brochure #content {
background-image: none !important;
float: none !important;
}
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: 10px auto;
}

body.slideshow input {
width: auto;
}

body.slideshow table {
margin: 0 auto;
}

/* Email a friend
------------------*/

body.emailafriend #header img {
float: none;
}
