/*===BASIC TEMPLATE 3===
Fixed width, two/three columns
Vertical menu, context based sub-menu
=======================*/

/* Global structure
-------------------*/
body, html, #wrap {height: 100%;}
#wrap {width: 760px;margin: 0 auto;}
#footer {clear: both;padding: 10px 0 20px 0; text-align: center;}
#header {padding: 0;}

body, html {
background-color: #696868;
}

#wrap,
#footer {
background-image: url(/img/basic/wrap_bg.gif);
background-repeat: repeat-y;
background-position: left top;
}

#main {
background-image: url(/img/basic/3column_menuright.gif);
background-repeat: repeat-y;
background-position: left top;
}

/* Column layout
-----------------*/
/* two column, sidebar on the right */
#main {clear: both;}
#menu {width: 170px;float: right;}
#content {width: 397px; float: right; padding: 15px 10px;}
#sub-section {width: 150px; float: left; padding: 15px 10px;}
/* pages without columns */
body.listing #content,
body.detail #content,
body#staff #content,
body.calc #content,
body.about #content,
body.disclaimer #content {width: 565px;float: right;}
body.emailafriend #content {width: 95%;float: left;}
/* Pages with only 2 columns
-----------------------------*/
body#staff #main,
body.listing #main,
body.detail #main,
body.calc #main,
body.about #main,
body.disclaimer #main {
background-image: url(/img/basic/2column_menuright.gif);
background-repeat: repeat-y;
background-position: left top;
}

body#staff #main #sub-section,
body.listing #main #sub-section,
body.detail #main #sub-section,
body.calc #main #sub-section,
body.about #main #sub-section,
body.disclaimer #main #sub-section {
display:none;
}

/* Header
----------*/

#header img {
display: block;
float: right;
}

#header img#logo {
float: left;
}

/* Menu
--------*/

#menu {
padding: 0 0 0 1px;
}

#menu ul {
list-style-type: none;
list-style: none;
margin-left:0;
margin-right:0;
width: 159px;
}
#menu ul li {
width: 159px;
margin-left:0;
margin-right:0;
float: left;
}

#menu a {
display: block;
width: 159px;
padding: 10px 0 10px 10px;
}

#menu ul li li {
float: left;
}
#menu li li a {
border: none;
padding: 3px 0 0 15px;
width: 155px;
}
#menu li li a:hover {
color: #FAF6A8;
}
#menu ul ul {
display: none;
padding: 10px 0 15px 0;
float: left;
width: 169px;
}

/* shows subnav based on page context */
body#buying li#buyList ul,
body.calc li#calcList ul,
body#renting li#rentList ul,
body#land li#landList ul,
body.about li#aboutList ul {
display: block;
}

/* Menu
--------*/

#menu li a {
color: #fff;
font-weight: bold;
border-bottom: 1px solid #FAF6A8;
}

#menu li a:link,
#menu li a:visited {
text-decoration: none;
}

#menu a:hover {
background-color: #403E3E;
}

#menu ul ul {
border-bottom: 1px solid #FAF6A8;
}

#menu li li a:hover {
background-color: transparent;
}

/* 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;
}


/* Listings
------------*/
body.listing .property .details {
width: 250px !important;
margin-right: 10px !important;
}

body.listing #filter select {
width: 85px !important;
}

body.listing #filter input {
padding: 1px 5px !important;
}

body.listing #filter p {
margin-right: 6px !important;
}

/* Detail
------------*/
body.detail #propertydetails {
width: 305px !important;
}