/*
Theme Name: Rehabs.com
Theme URI: http://www.rehabs.com
Description:
Version: 1.4
Author:
Author URI:
Tags: blue, grey, custom, fixed width, two columns,
*/

/** CSS - Rehabs 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: #777777;
    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 0px 0;
}
h2 {
    font-size: 14px;
    line-height: 14px;
    margin-bottom: 8px;
    color: #4f4840;
    text-transform: uppercase;
    border-bottom: 1px solid #4f4840;
}
h3 {
    font-size: 18px;
    line-height: 20px;
    color: #852432;
}
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: #4f4840;
    text-decoration: none;
}
a:visited {
    color: #4f4840;
    text-decoration: none;
}
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: 10px 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: #852432;
    display: block;
}
ul#nav li a:hover {
    color: #7f7467;
    text-decoration: underline;
}
ul#nav li.current_page_item a, ul#nav li.current-cat a {
    color: #ffffff;
    padding: 0 8px 0 8px;
    background-color: #852432;
}
ul#nav ul.children {
    display: none;
}
/** Search
==============================================================================*/
#search {
    float: left;
    width: 922px;
    margin: 20px 0 1px 0;
    padding: 10px 20px 10px 20px;
    background: url(images/search_bg.jpg) repeat-x #fff0e0 bottom;
    font-size: 12px;
    color: #852432;
    border-top: 1px solid #fef6ee;
    border-bottom: 1px solid #ebd0b4;
}
#search p {
    margin: 0;
}
#searchfield input {
    width: 280px;
    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: 470px;
    height: 276px;
    padding: 19px;
    border-right: 1px solid #3c69ac;
    border-left: 1px solid #4e79bb;
    background: url(images/header_intro_bg.jpg) repeat-x #3c69ac bottom;
}
#homeintro h1 {
    margin: 1px 0 20px 0;
}
#homeintro a#btnleft, #homeintro a#btnright {
    float: left;
    display: block;
    width: 145px;
    height: 27px;
    text-align: center;
    padding: 3px 0 0 0;
    margin: 30px 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;
    color: #4f4840;
}
.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: 295px;
    font-size: 14px;
    margin-bottom: -8px;
}
.listing h3 a:hover {
    text-decoration: underline;
}
.location, .propertytype {
    font-size: 11px;
    font-weight: bold;
    margin: 0;
    color: #aaaaaa;
}
.price, .bedbathsqft {
    font-size: 14px;
    margin: 0;
    color: #777777;
}
.price {
    font-weight: bold;
    margin-bottom: -5px;
    width: 320px;
}
/**jj**/
.phone {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: -5px;
    margin: 0 0 0 20px;
}
.price span {
    font-weight: normal;
    font-size: 12px;
}
#featuredlisting {
    float: left;
    width: 330px;
}
/*jj*/
#featuredlisting p {
    padding-top: 5px;
    padding-right:10px;
}
#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;

}
/*jj*/
.address h3 a {
    color: #852432;
}
.address h3 a:hover {
    text-decoration: underline;
}
.address p {
    margin-top: 3px;
}
.articletitle {
    padding: 10px 20px 8px 20px;
    background-color: #f7e0c8;
    border-bottom: 1px solid #ebd0b4;
    margin: 0 0 10px 0;
}
.blogtitle {
    padding: 10px 20px 8px 20px;
    background-color: #f7e0c8;
    border-bottom: 1px solid #ebd0b4;
    margin: 0 0 10px 0;
    width: 569px;
}
.blogtitle h3 a {
    color: #852432;
}
.blogtitle h3 a:hover{
    text-decoration: underline;
}
.tagcloud{
    width:475px;
    margin-top:-17px;

}
.tagcloud a{
    color:#fff;
}
/**/
.blogexcerpt {
    width: 560px;
    font-size: 12px;
    line-height: 15px;
    margin: 0 0 0 20px;
}
.breadcrumb {
    width: 610px;
    margin-top: 10px;
}
/****/
#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 {
    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 #204782 bottom;
}
#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: #cccccc;
    background: url(images/subnav_item_bg.jpg) no-repeat bottom;
}
#sidebar ul li a:hover {
    color: #999999;
    text-decoration: underline;
}
#sidebar ul li.current-cat a {
    color: #ffffff;
    background: url(images/subnav_current_bg.jpg) repeat-y;
}
/*jj*/
.children {
    display:none;
}
/** 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;
}
.listinginfo .mls a:hover {
    text-decoration: underline;
}
.mls {
    color: #999999;
}
/*jj*/
.website {
    margin: 0 0 0 20px;
    color: #999999;
}
.website a {
    font-size: 16px;
    font-weight: bold;
}
.email {
    color: #999999;
}
.email a {
    font-size: 16px;
    font-weight: bold;
}
.tags {
    margin: 0 0 0 20px;
    color: #999999;
    width: 300px;
}
.catstag {
    font-weight: bold;
    float: left;
    width: 400px;
    margin-left: 0px;
}
/***/
#searchnav {
    float: right;
    width: 610px;
    margin: 20px 0 0 0;
}   #searchnav .btnleft, #searchnav .btnright {
    display: block;
    width: 145px;
    height: 27px;
    text-align: center;
    padding: 3px 0 0 0;
}
#searchnav .btnleft {
    float: left;
    background: url(images/searchnav_btnleft.jpg) no-repeat;
}
#searchnav .btnright {
    float: right;
    background: url(images/searchnav_btnright.jpg) no-repeat;
}
.noresults {
    float: right;
    margin: 20px 0 0 0;
    width: 610px;
}
/** Listing Detail
==============================================================================*/
#listingdetail {
    float: right;
    width: 635px;
}
/**jj**/
#articledetail {
    float: right;
    width: 615px;
}
#listingdetail .location {
    float: left;
    width: 400px;
    margin-left: 0px;
}
#listingdetail h3{
    float: left;
    width: 550px;
    margin-left: 0px;
}
#listingdetail img {
    margin: 0 0 20px 20px;
    border: 1px solid #999999;
    padding: 2px;
}
#listingdetail ul li{

}
#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: -7px 3px 20px 0;
    clear: both;
}
/**jj**/
#articledetail .articletitle {
    float: right;
    width: 570px;
    margin: 10px 3px 20px 0;
}
#listingdetail .price {
    font-size: 24px;
}
#listingdetail p, #listingdetail h4, #listingdetail h5, #listingdetail ul {
    margin-left: 20px;
}
#listingdetail ul {
    font-size: 12px;
}
#listingdetail ul li {
    color: #999999;
    line-height: 6px;
    margin: 0 0 18px 0;
}
#listingdetail p {
    color: #999999;
    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;
}
#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 {
    margin: 0 0 0 20px;
}
/* Really?
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;
}
.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;
}
/** Categories
==============================================================================*/
.categories-list {
    float: right;
    margin: 20px 0 0 0;
    width: 610px;
}
.categories-title {
    width:520px;
    float:left;
    margin:10px 0 10px 0;
}
.categories-title h2 {
    font-size:20px;
    margin:5px 0 5px 0;
    color:#000;
    font-weight:normal;
    letter-spacing: -.2px;
}
.categories-content {
    margin-left:20px;
}
.categories-list .item {
    border: solid 1px #ddd;
    width:250px;
    padding-left:30px;
    padding-top:3px;
    padding-bottom:3px;
    font-size:125%;
    margin:1px;
    float:left;
}
.categories-list li:hover {
    background-color:#eee;
}
.categories-list li a:hover {
}
.rss {
    vertical-align:middle;
}
.categories-list ul {
    float:left;
}
.categories-list li {
    font-family: Verdana, Geneva, sans-serif;
    border: solid 1px #ddd;
    width:250px;
    padding-left:30px;
    padding-top:3px;
    padding-bottom:3px;
    font-size:125%;
    margin:1px;
}
/** Page Navigation
==============================================================================*/
.wp-pagenavi {
    float:right;
    text-align:right;
    line-height:1.8em;
    padding:10px 15px 0 15px;
    clear: both;
}
.wp-pagenavi a, .wp-pagenavi a:link {
    padding: 2px 4px 2px 4px;
    margin: 2px;
    text-decoration: none;
    border: 1px solid #852432;
    color: #852432;
    background-color: #FFFFFF;
}
.wp-pagenavi a:visited {
    padding: 2px 4px 2px 4px;
    margin: 2px;
    text-decoration: none;
    border: 1px solid #ebd0b4;
    color: #852432;
    background-color: #FFFFFF;
}
.wp-pagenavi a:hover {
    border: 1px solid #852432;
    color: #000000;
    background-color: #FFFFFF;
}
.wp-pagenavi a:active {
    padding: 2px 4px 2px 4px;
    margin: 2px;
    text-decoration: none;
    border: 1px solid #852432;
    color: #852432;
    background-color: #FFFFFF;
}
.wp-pagenavi span.pages {
    padding: 2px 4px 2px 4px;
    margin: 2px 2px 2px 2px;
    color: #000000;
    border: 1px solid #000000;
    background-color: #FFFFFF;
}
.wp-pagenavi span.current {
    padding: 2px 4px 2px 4px;
    margin: 2px;
    font-weight: bold;
    border: 1px solid #852432;
    color: #000000;
    background-color: #FFFFFF;
}
.wp-pagenavi span.extend {
    padding: 2px 4px 2px 4px;
    margin: 2px;
    border: 1px solid #000000;
    color: #000000;
    background-color: #FFFFFF;
}
/** Contact Form
==============================================================================*/
#contact-area {
    width: 100%;
    margin-top: 5px;
}
#contact-area input, #contact-area textarea {
    padding: 5px;
    width: 471px;
    font-family: Helvetica, sans-serif;
    font-size: 1.4em;
    margin: 0px 0px 10px 0px;
    border: 2px solid #ccc;
}
#contact-area textarea {
    height: 90px;
}
#contact-area textarea:focus, #contact-area input:focus {
    border: 2px solid #900;
}
#contact-area input.submit-button {
    width: 100px;
    float: right;
}
#contact-area img {
    padding: 0px 0 5px 0;
}
form label {
    float: left;
    text-align: right;
    margin-right: 15px;
    width: 100px;
    padding-top: 5px;
    font-size: 1.2em;
}
label {
    float: left;
    text-align: right;
    margin-right: 15px;
}
/* Start of rational code */
#contact-form * {
    float:none;
    padding:3px;
    margin:3px;
}
#contact-form {
    clear:both;
    margin:5px;
    border:solid 1px #ccc;
    padding:5px;
    float:right;
}
#contact-form label, #contact-form input, #contact-form textarea {
    font-size:0.9em;
}
#contact-form label {
    width:200px;
    float:none;
}
#contact-form .input-text {
    width:200px;
}
#contact-form textarea {
    display:inline;
    width:auto;
    height:auto;
}
#contact-form .input-submit {
    width:auto;
}
#contact-form img {
    margin: 0px;
}
#contact-form .input-captcha {
    width:50px;
    vertical-align: top;
}
#contact-form h4 {
    width:200px;
}
#contact-form p {
    width:200px;
}
#contact-form .errorMsg {
    color: #f00;
}