/* =========== 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%;}
#wrap {position: relative; min-height: 100%; width: 742px; margin: 0 auto;}
#footer {
position: relative; 
height: 20px; 
width: 742px; 
margin: -25px auto 0 auto;
padding: 5px 0px 0 0px;
clear:both;
}
#header {height: 72px;}

#content {
width: 526px;
float: right;
padding: 10px 16px 0 0;
}

#header img {
display: block;
}

/* Menu
--------*/

#menu {
border-top: 8px solid #fff;
width: 171px;
float: left;
padding: 0 0 0 12px;
}

#menu #menuList {
border-bottom: 5px solid #fff;
margin-bottom: 10px;
}

#menu ul {
list-style-type: none;
}

#menu a {
border-top: 2px solid #fff;
display: block;
background-color: #57575A;
padding: 4px 0 4px 7px;
font-size: 0.9em;
width: 164px;
}

#menu a:link,
#menu a:visited {
text-decoration: none;
color: #fff;
font-weight: bold;
}
#menu li.external a:link,
#menu li.external a:visited {
background-color: #eee;
color: #57575a;
}
#menu a:hover,
#menu li.external a:hover {
background-color: #FFAF17;
color: #000;
}

#menu ul ul {
background-image: url(/img/submenu_shadow.gif);
background-repeat: no-repeat;
background-position: 3px top;
padding-top: 3px;
padding-bottom: 5px;
padding-left: 8px;
display: none;
}

#menu ul ul a {
padding: 0;
background-color: transparent;
border: none;
font-size: 0.8em;
background-image: url(/img/submenu_bullet.gif);
background-repeat: no-repeat;
background-position: left 4px;
padding-left: 5px;
width: 150px;
}

#menu ul ul a:link,
#menu ul ul a:visited {
color: #57575a;
font-weight: normal;
}

#menu ul ul a:hover {
background-color: transparent;
text-decoration: underline;
}

/* Reveal nav areas
--------------------*/

body.buying #menu #buymenu,
body.selling #menu #sellmenu,
body.renting #menu #rentmenu,
body.commercial #menu #commercialmenu,
body.about #menu #aboutmenu,
body.contact #menu #contactmenu,
body.ofitop #menu #ofimenu {
display: block;
}

/* 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;
}

/* Home
---------*/

body#home #content h1 {
padding-top: 10px;
margin-bottom: 10px;
font-style: normal;
background-image: none;
padding-bottom: 0;
}

body#home #content img {
border: 1px solid #57575A;
}

body#home #content #flashholder img {
/*position: relative;
float: left;
width: 524px;
height: 261px;*/
border: 1px solid #57575A;
/*border-bottom: 1px solid #57575A;*/
}

body#home #menu form {
xborder: 1px solid red;
display: block;
width: 155px;
padding-left: 14px;
}

body#home #menu fieldset {
border: none;
padding: 0;
}

body#home #menu legend {
font-weight: bold;
font-size: 1.1em;
margin-bottom: 10px;
padding-left: 0;
margin-left: 0;
color: #000;
}

body#home #menu label {
font-size: 0.9em;
font-weight: bold;
float: none;
display: inline;
color: #000;
}

body#home #menu p {
margin-bottom: 6px;
}

body#home #menu select {
width: 140px;
font-size: 0.9em;
}

body#home #menu #qs_price select,
body#home #menu #qs_rent_price select {
width: 62px;
}

body#home #menu form #qs_st label {
padding-right: 5px;
width: auto;
float: none;
display: inline;
}

body#home #menu form #qs_st input {
vertical-align: middle;
width: auto;
}

body#home #menu form #submit {
text-align: right;
padding: 5px 13px 0 0;
}

body#home #menu form #submit input {
background-color: #57575A;
color: #fff;
border: 1px solid #fff;
padding: 0 4px;
}

body#home #emailalert {
clear: both;
}

body#home #emailalert img {
border: none;
float: left;
margin: 0 20px 0 0;
}

body#home #pow h2,
body#home #emailalert h2 {
background-color: #57575a;
color: #fff;
padding: 3px 0 3px 5px;
margin-bottom: 5px;
}

body#home #pow p {
margin-bottom: 0;
width: 250px;
float: left;
clear: left;
padding-left: 5px;
margin-bottom: 5px;
}

body#home #pow img {
float: right;
position: relative;
right: 5px;
top: -21px;
}
body#home #fastfind {
padding-top: 4px;
}

body#home #fastfind p {
font-size: 0.8em;
}

body#home #fastfind form {
display: inline;
}

body#home #fastfind span {
padding-right: 16px;
}

body#home #fastfind input {
width: auto;
display: inline;
vertical-align: middle;
}

body#home #fastfind .qsinputbox {
height: 15px;
width: 140px;
}

body#home #fastfind input.button {
width: auto;
font-size: 1em;
padding: 2px 2px;
border: none;
background-color: #57575A;
color: #fff;
}

/* Dynamic Text
---------------*/

body.dynamic #content #dyn-heading-img,
body.dynamic #content #dyn-img1,
body.dynamic #content #dyn-img2 {
bordeR: 1px solid #57575A;
}

body.dynamic #content #dyn-img1 {
float: right;
margin: 0 0 10px 20px;
}

body.dynamic #content #dyn-img2 {
float: left;
margin: 0 15px 10px 0;
}


/* Listings
------------*/

body.listing .property {
padding: 10px 0;
clear: both;
overflow: hidden;
}

body.listing .property .image {
display: block;
float: left;
}

body.listing .property .details {
width: 288px;
float: left;
margin-right: 18px;
}

body.listing .property .features {
float: left;
width: 47px;
margin-right: 15px;
}

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 #filter {
height: 40px;
margin-bottom: 0px;
padding-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 #qs_bedrooms {
width: 70px;
}

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 .bedbathcar {
font-weight: bold;
margin-left: -10px;
margin-bottom: 0;
}

body.detail .bedbathcar img {
vertical-align: middle;
margin: 0 2px 0 10px;
} 

body.detail #propertydetails {
width: 260px;
float: left;
margin-bottom: 20px;
}

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: 525px !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;
height: auto;
}
body.brochure #propertydetails {
width: 260px;
}
body.brochure #extradetails img {
display: block;
float: left;
margin: 0 2px 2px 0;
}
body.brochure #extradetails {
width: 247px;
}

/* Email a friend
------------------*/

body.emailafriend {
text-align: left;
}

body.emailafriend #header img {
float: none;
}


body.emailafriend #content {
float: none;
padding-left: 10px;
width: 720px;
}

/* 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;
}


/* Staff 
---------*/

body#staff dl {
margin-bottom: 10px;
padding-bottom: 10px;
overflow: hidden;
float: left;
width: 245px;
}

body#staff dl.clear {
clear: left;
margin-right: 25px;
}

body#staff dl dt.photo {
float: left;
margin-right: 10px;
margin-bottom: 5px;
}

body#staff dl dd.position {
margin-bottom: 5px;
}

body#staff dl dd.contact {
margin-bottom: 2px;
font-size: 0.9em;
}

body.profile #content img {
float: left;
border: 1px solid #57575A;
display: block;
padding: 0 !important;
margin: 0 15px 10px 0;
}

/* Useful links
----------------*/

body.links h2 {
background-color: #ddd;
padding: 2px 0 2px 5px;
margin-bottom: 10px;
}

body.links dl {
margin-bottom: 10px;
}

/* Contact us
--------------*/

body.contact dl {
float: left;
width: 172px;
margin-bottom: 25px;
}

body.contact dt {
font-weight: bold;
margin-bottom: 2px;
}

body.contact dd {
margin-bottom: 3px;
}

body.contact #feedback {
clear: both;
}

/* 
Auction list,
OFIs
----------------*/

body.auction #content h2,
body.ofi #content h2 {
background-color: #ddd;
padding: 2px 0 2px 5px;
margin-bottom: 5px;
}

body.auction #content dl,
body.ofi #content dl {
clear: both;
overflow: hidden;
padding: 3px 0;
margin-bottom: 5px;
padding-left: 5px;
}

body.auction #content dl.stripe,
body.ofi #content dl.stripe {
background-color: #eee;
}

body.auction #content dt,
body.ofi #content dt {
width: 200px;
display: block;
float: left;
}

body.auction #content dd.time,
body.ofi #content dd.time {
font-weight: bold;
float: left;
}

body.auction #content dd.link,
body.ofi #content dd.link {
float: right;
}

/* Testimonials
---------------*/

body.testimonial dl {
margin-bottom: 5px;
border-bottom: 1px solid #ddd;
padding-bottom: 5px;
}

body.testimonial dl dt {
font-weight: bold;
}

