/*===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 1px;}

body, html {
background-color: #BFBFBF;
}

#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 {width: 565px;float: right;}

/* Pages with only 2 columns
-----------------------------*/
html.nocol #main,
body#staff #main,
body.listing #main,
body.detail #main {
background-image: url(/img/basic/2column_menuright.gif);
background-repeat: repeat-y;
background-position: left top;
}

/* Header
----------*/

#header img {
display: block;
float: right;
}

#header img#logo {
float: left;
position: relative;
top: 40px;
left: 20px;
}

/* Menu
--------*/

#menu {
padding: 0 0 0 1px;
}

#menu ul {
list-style-type: none;
}

#menu a {
display: block;
width: 159px;
padding: 10px 0 10px 10px;
}

#menu li li a {
border: none;
padding: 3px 0 0 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;
}

/* Menu
--------*/

#menu li a {
color: #fff;
font-weight: bold;
border-bottom: 1px solid #FBD6AC;
}

#menu li a:link,
#menu li a:visited {
text-decoration: none;
}

#menu a:hover {
color: #22243D;
background-color: #FADBBC;
}

#menu ul ul {
border-bottom: 1px solid #FADBBC;
}

#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;
}