/*

Theme Name: SG-Realty
Theme URI: http://www.haas-designs.com
Description: This is a clean and simple theme for SG-Realty.
Version: 1.4
Author: Kyle Haas
Author URI: http://www.haas-designs.com
Tags: blue, grey, custom, fixed width, two columns, real estate

	This theme was originally designed and built by Chris Robinson,
	whose ThemeForest profile you will find at http://themeforest.net/user/contempoinc

        It was redesigned and purpose built by Haas Designs.


*/

/** CSS - Real Estate Theme
==============================================================================*/

* { /* removes defaults from all elements */
margin: 0;
padding: 0;
list-style-type: none;
}

/** Body
==============================================================================*/

body {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
line-height: 24px;
color: #333333;
background-color: #ffffff;
margin: 0 auto;
}

/** Misc
==============================================================================*/

.clear {
clear: both;
}

a img {
border: none;
}

p {
margin: 0 0 20px 0;
}

.left {
float: left;
}

.right {
float: right;
}

/** Headings
==============================================================================*/

h1 {
font-size: 28px;
line-height: 30px;
color: #ffffff;
margin: 0 0 30px 0;
}

#homewelcome h1 {
color: #597401;
}

h2 {
font-size: 18px;
line-height: 14px;
margin-bottom: 8px;
color: #ab9165;
text-transform: uppercase;
border-bottom: 1px solid #ab9165;
}

h3 {
font-size: 16px;
line-height: 20px 0 0 0;
color: #ab9165;
text-transform: capitalize;
}

h4 {
font-size: 16px;
margin: 20px 0 0 0;
color: #696969;
text-transform: capitalize;
}

h4#comments, #respond h4 {
margin-bottom: 20px;
border-bottom: 1px solid #eeeeee;
}

h5 {
font-size: 14px;
padding: 0 0 3px 0;
margin: 20px 0 0 0;
color: #999999;
text-transform: capitalize;
border-bottom: 1px solid #efefef;
}

/** Links
==============================================================================*/

a:link {
color: #3148f5;
text-decoration: underline;
}

a:visited {
color: #4f4840;
text-decoration: underline;
}

a:hover {
color: #7f7467;
text-decoration: none;
}

a:active {
color: #4f4840;
text-decoration: none;
}

/** Main Container
==============================================================================*/

#container {
width: 965px;
margin: 0 auto;
}

/** Logo
==============================================================================*/

#logo {
float: left;
margin: 3px 0 0 0;
}

/** Navigation
==============================================================================*/

ul#nav {
float: right;
margin: 40px 0 0 0;
}

ul#nav li {
float: left;
margin: 0 10px 0 0;
}

ul#nav li a {
color: #597401;
display: block;
}

ul#nav li a:hover {
color: #fff;
}

ul#nav li.current_page_item a, ul#nav li.current-cat a {
color: #ffffff;
padding: 0 8px 0 8px;
background-color: #597401;
}

ul#nav ul.children {
display: none;
}

/** Search
==============================================================================*/

#search {
float: left;
width: 310px;
margin: 20px 0 1px 0;
padding: 10px 20px 10px 630px;
background: url(images/search_bg.jpg) repeat-x #fff0e0 bottom;
font-size: 12px;
color: #597401;
border-top: 1px solid #fef6ee;
border-bottom: 1px solid #ebd0b4;
}

#search p {
margin: 0;
}

#searchfield input {
width: 200px;
height: 18px;
padding: 2px 0 0 15px;
margin: 2px 0 0 0;
border: 1px solid #ebd0b4;
background: url(images/search_icon.jpg) no-repeat #ffffff 3px 3px;
}

/** Home Header
==============================================================================*/

#homeheader {
float: left;
width: 960px;
color: #999999;
margin: 0 0 20px 0;
}

#homeheader img {
float: left;
}

#homeintro {
float: right;
width: 290px;
height: 202px;
padding: 19px;
border-right: 1px solid #3c69ac;
border-left: 1px solid #4e79bb;
background: url(images/header_intro_bg.jpg) repeat-x #3c69ac bottom;
}

#homeintro a {
color: #AB9165;
}

#homeintro h1 {
margin: 0px 0 10px 0;
}

#homeintro a#btnleft, #homeintro a#btnright {
float: left;
display: block;
width: 145px;
height: 27px;
text-align: center;
padding: 3px 0 0 0;
margin: 5px 0 0 0;
}

#homeintro a#btnleft {
background: url(images/btn_left_bg.jpg) no-repeat;
}

#homeintro a#btnright {
background: url(images/btn_right_bg.jpg) no-repeat;
}

/** Home Welcome, New Listings, Featured Listing
==============================================================================*/

#homewelcome, #newlistings {
float: left;
display: inline; /*ie6 double margin bug fix*/
width: 295px;
margin: 0 20px 0 0;
}

#homewelcome h1 {
margin: 0 0 10px 0;
}

.listing {
float: left;
width: 295px;
margin: 0 0 10px 0;
}

.listing img {
float: left;
padding: 2px;
margin: 0 10px 0 0;
border: 1px solid #d8d6d4;
}

.listing h3 {
float: right;
width: 165px;
font-size: 14px;
margin-bottom: -8px;
}

.location, .propertytype {
font-size: 10px;
margin: 0;
color: #aaaaaa;
}

.price, .bedbathsqft {
font-size: 12px;
margin: 0;
color: #777777;
}

.price {
font-weight: bold;
margin-bottom: -5px;
}

.price span {
font-weight: normal;
font-size: 12px;
}

#featuredlisting {
float: left;
width: 330px;
}

#featuredwrap {
float: left;
width: 328px;
border: 1px solid #cccccc;
}

#featuredlisting img {
float: left;
}

#featuredlisting h3 {
margin: 0 0 -8px 0;
}

.address {
padding: 10px 20px 8px 20px;
background-color: #f7e0c8;
border-bottom: 1px solid #ebd0b4;
margin: 0 0 10px 0;
}

#featuredlisting .address {
width: 288px;
}

#featuredlisting .price, #featuredlisting .bedbathsqft, #featuredlisting .propertytype,
.listinginfo .price, .listinginfo .bedbathsqft, .listinginfo .propertytype, .listinginfo .mls {
margin: 0 0 0 20px;
}

#featuredlisting .propertytype {
margin-bottom: 10px;
}

/** Listing Wrapper
==============================================================================*/

#listingwrap {
float: left;
width: 963px;
background: url(images/listing_bg.jpg) repeat-y;
}

/** Sidebar
==============================================================================*/

#sidebar {
font-family: "Palatino Linotype";
float: left;
width: 309px;
padding: 19px 0 19px 19px;
border-left: 1px solid #3c69ac;
border-right: 1px solid #4e79bb;
background: url(images/header_intro_bg.jpg) repeat-x;
}

#sidebar ul {
list-style-type: none;
}

#sidebar ul li {
text-align: left;
}

#sidebar ul li a {
display: block;
padding: 5px 0 5px 0;
width: 309px;
color: #ab9165;
background: url(images/subnav_item_bg.jpg) no-repeat bottom;
}

#sidebar a {
color:#ab9165;
text-decoration:none;
}

#sidebar ul li a:hover {
color: #cccccc;
}

#sidebar ul li.current-cat a {
color: #ffffff;
background: url(images/subnav_current_bg.jpg) repeat-y;
}

#sidebar h2 {
color:#ab9165;
}

#sidebar {
color:#fff;
}

/** Search Result
==============================================================================*/

.searchresult {
float: right;
margin: 20px 0 0 0;
width: 610px;
background: url(images/search_result_description_bg.jpg) repeat-x bottom #efefef;
}

.searchresult img {
float: left;
}

.listinginfo {
float: left;
}

.excerpt {
width: 268px;
font-size: 11px;
line-height: 15px;
margin: 0 0 0 20px;
}

.listinginfo .address {
width: 288px;
}

.listinginfo .price {
font-size: 18px;
}

.mls {
color: #999999;
}

#searchnav {
float: right;
width: 610px;
margin: 20px 0 0 0;
}

#searchnav a#btnleft, #searchnav a#btnright {
display: block;
width: 145px;
height: 27px;
text-align: center;
padding: 3px 0 0 0;
}

#searchnav a#btnleft {
float: left;
background: url(images/searchnav_btnleft.jpg) no-repeat;
}

#searchnav a#btnright {
float: right;
background: url(images/searchnav_btnright.jpg) no-repeat;
}

.noresults {
float: left;
margin: 20px 0 0 20px;
}

/** Listing Detail
==============================================================================*/

#listingdetail {
float: right;
width: 615px;
margin-top:2px;
}

#listingdetail .location {
float: left;
width: 400px;
margin-left: 20px;
}

#listingdetail h3 {
float: left;
width: 635px;
margin-left: 20px;
font-size:22px;
}

#listingdetail img {
margin: 0 0 20px 20px;
border: 1px solid #999999;
padding: 2px;
}

#imagesnav ul {
display: none;
}

#imagesnav {
float: right;
width: 590px;
margin: 0 3px 0 0;
padding: 4px 20px 4px 20px;
background: url(images/gallery_nav_bg.jpg) repeat-x;
}

#imageslides {
float: left;
width: 630px;
height: 438px;
}

#imagesnav span.jFlowControl, .jFlowNext, .jFlowPrev {
cursor: pointer;
}

.jFlowPrev {
padding: 0 0 0 30px;
background: url(images/gallery_left_btn.jpg) no-repeat left;
}

.jFlowNext {
padding: 0 30px 0 0;
background: url(images/gallery_right_btn.jpg) no-repeat right;
}

#listingdetail .address {
float: right;
width: 590px;
margin: 0 3px 20px 0;
}

#listingdetail .price {
font-size: 26px;
}

#listingdetail p, #listingdetail h4, #listingdetail h5, #listingdetail ul {
margin-left: 20px;
}

#listingdetail ul {
font-size: 12px;
margin-top: 20px;
}

#listingdetail ul li {
color: #333333;
line-height: 18px;
margin: 0 0 18px 0;
}

#listingdetail p {
color: #333333;
font-size: 12px;
}

#location {
float: left;
overflow: auto;
margin: 0 0 0 20px;
}

#location .gsmsc-mapDiv {
height: 350px;
}

#location .gsmsc-idleMapDiv {
height: 350px;
overflow: hidden!important;
}

#location #mapsearch * {
margin: 0px!important;
padding: 0px!important;
font-size: 12px;
}

#location #mapsearch {
width: 620px;
}

#location .gsmsc-controls, #location div.gs-directions-to-from {
display: none;
}

.imgwrap {
position: relative;
float: left;
}

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

#status, #status-sm, #status-md {
position: absolute;
top: 0px;
left: 0px;
border: none;
}

#status {
top: 138px;
left: 538px;
}

/** Comments
==============================================================================*/

#commentform {
margin: 0 20px 32px 0;
padding: 16px 0 0 0;
}

#respond form {
float: right;
margin: 0 0 0 20px;
}

input {
display: block;
float: left;
margin: 5px 5px 1px 0;
}

fieldset {
border: none;
}

input, textarea {
padding: 2px;
width: 450px;
border: 1px solid #aaa;
}

textarea {
margin: 5px 5px 1px 0;
overflow: hidden;
}

#submit {
float: right;
width: 128px;
height: 24px;
border: none;
display: inline;
margin: 10px 152px 0 0;
background-color: #aaa;
text-transform: uppercase;
font-size: 11px;
}

.avatarwrap { 
float: left;
width: 167px;
margin: 0 0 24px 0;
background: url(images/comments_tail.jpg) no-repeat right 12px;
}

.name, .date {
font-size: 10px;
padding: 0;
margin: 0;
line-height: 16px;
}

.avatar {
margin: 0;
padding: 0;
}

.avatarwrap p {
margin: 0;
padding: 0;
font-size: 10px;
}

.avatarwrap .date {
color: #808072;
}

.comment {
float: right;
width: 436px;
padding: 16px;
margin: 0 0 24px 0;
background-color: #eeeeee;
}

#comment_post_ID, #comment_parent, #_wp_unfiltered_html_comment {
display: none;
}


/** Footer
==============================================================================*/

#footer {
float: left;
width: 960px;
margin: 30px 0 0 0;
border-top: 1px solid #cfcfcf;
background: url(images/footer_bg.jpg) repeat-x top;
}

#footer p {
margin: 10px 20px 20px 10px;
color: #aaaaaa;
font-size: 11px;
}

#navi{height:29px;background:transparent;display:block;padding:0;font:normal 18px Arial,sans-serif;text-transform:uppercase;}
#menu ,#menu ul {margin: 0;padding: 0;list-style: none;height:29px;text-decoration:none;}
#menu a {color: #666;text-decoration:none;}
#menu a:hover {color: #ccc;display:block;text-decoration: none;background:#597401;} 

/* Design for links when the mouse is over them */
#menu li {float: left;margin: 0;padding: 0;}
#menu li li {float: left;margin: 0 0 0 5px;padding: 0;width: 130px;}
#menu li li a, #menu li li a:link, #menu li li a:visited {background:#fff;width: 220px;float: none;margin: 0;padding: 4px 10px 5px 10px;color:#333;}
#menu li li a:hover, #menu li li a:active {background:#3C69AC;width: 220px;float: none;margin: 0;padding: 4px 10px 5px 10px;color:#fff;}
#menu li ul {position: absolute;width: 10em;left: -999em;z-index:1;}
#menu li:hover ul {left: auto;display: block;}
#menu li:hover ul, #menu li.sfhover ul {left: auto;}
#menu li.current_page_item a{background:#0066cc;color:#fff;} 

/* Design for the link to whatever page the user is currently on (if applicable) */
#menu li.current_page_item a:hover{color:#000;text-decoration:none;}
 
/* Dropdown Category Navigation */
.sf-menu, .sf-menu * {margin:0;padding:0;list-style:none;font:normal 12px Arial,sans-serif;text-transform:uppercase;}
.sf-menu {line-height:1.0;height:31px;background:transparent;}
.sf-menu ul {position:absolute;top:-999em;width:10em; /* left offset of submenus need to match (see below) */}
.sf-menu ul li {width:100%;}
.sf-menu li:hover {visibility:inherit; /* fixes IE7 'sticky bug' */}
.sf-menu li {float:left;position:relative;}
.sf-menu a {display:block;position:relative;color:#666;}
.sf-menu li:hover ul,.sf-menu li.sfHover ul {left:0;top:30px; /* match top ul list item height */z-index:150;}
ul.sf-menu li:hover li ul,ul.sf-menu li.sfHover li ul {top:-999em;}
ul.sf-menu li li:hover ul,ul.sf-menu li li.sfHover ul {left:10em; /* match ul width */top:0;}
ul.sf-menu li li:hover li ul,ul.sf-menu li li.sfHover li ul {top:-999em;}
ul.sf-menu li li li:hover ul,ul.sf-menu li li li.sfHover ul {left:10em; /* match ul width */top:0;}
.sf-menu {float:left;margin:0;width:100%;}
.sf-menu a {border-right:1px dotted #d7d7d7;padding: 8px&#160; 10px;text-decoration:none;color:#666;} 
/* Design for the dropdown links */
.sf-menu a, .sf-menu a:visited&#160; { /* visited pseudo selector so IE6 applies text colour*/color:#0066cc;}
.sf-menu li {background:transparent;color:#666;}
.sf-menu li li {background:#fff;}
.sf-menu li li li {background:#fff;}
.sf-menu li:hover, .sf-menu li.sfHover, .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {background:#d7d7d7;outline:0;color:#0066cc;} /* Background = Link background colors when the mouse is over them */
.sf-menu li.current-cat a{background:#070707;color:#0066cc;}
.sf-menu li.current-cat a:hover{background:#666;color:#ccc;}
