.cols:after,
.clearfix:after 
{
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.cols .col { float: left; }
.four_col .two_col .col,
.three_col .two_col .col,
.two_col .col { width: 50%; }
.three_col .col { width: 33%; }
.three_col .col2 { width: 34%; }
.four_col .col { width: 25%; }

.cornered { position: relative; z-index: 1; }
.tl, .tr, .bl, .br { overflow: hidden; position: absolute; z-index: 2; background-repeat: no-repeat; }
.tl { top: 0; left: 0; background-position: 0 0; }
.tr { top: 0; right: 0; background-position: -100% 0; }
.br { bottom: 0; right: 0; background-position: -200% 0; }
.bl { bottom: 0; left: 0; background-position: -300% 0; }

body { color: #666; }

h1 
{ 
  font-family: "myriad pro",arial,helvetica,sans-serif; 
  color: white; 
  font-weight: bold; 
  background-color: #77b509; 
  padding: 8px 0 3px; 
  font-size: 160%;
}
h1, h2, h3 { margin-top: 0; }

a { color: #2296dd; }
a:link, a:visited { text-decoration: none; }
a:hover, a:active { text-decoration: underline; }

.centered
{
  display: block;
  margin: 0 auto;
  width: 1000px;
}

#header { margin: 10px 0 5px;  }
#footer { clear: both; }

#service_links { font-size: 70%; color: #3fa9f5; float: right;}

/** 
 * NAVIGATION
 */
#navigation { float: left; margin: 0 0 0 75px; }
body.es #navigation { margin-left: 25px; }
#navigation a.navlink { text-decoration: none; color: #666666; }
#navigation li 
{ 
  display: block; 
  float: left; 
  position: relative; 
  padding: 5px 15px 0 15px; 
  height: 20px; 
}
#navigation .pulldown 
{ 
  position: absolute; 
  display: none; 
  top: 25px; 
  left: -200px; 
  width: 699px; 
  z-index: 50;
  background: transparent url(../img/shadow_bucket.png) no-repeat bottom left;
}
#navigation .pulldown_inner
{
  margin: 0 8px 10px 8px;
  padding: 20px;
  border-top: 5px solid #77b509;
  background-color: white;
}
#navigation table { width: 100%; margin: 0; }
#navigation table td { border: 0; padding: 1px; }
#navigation .hover
{
  background: #77b509 url(../img/selected_menu_bg.gif) repeat-x bottom left;
}
#navigation a.navlink { text-transform: uppercase; }
#navigation .hover a.navlink { color: white;  }
#navigation .hover .pulldown 
{ 
  display: block; 
  line-height: 1em;
}

#navroc .pulldown
{
  left: -425px;
}

body.search #navfindhome a.navlink,
body.front #navhome a.navlink,
body.neighborhood #navboros a.navlink,
body.news #navnews a.navlink,
body.about_us #navabout a.navlink,
body.about_roc #navroc a.navlink,
body.contact_us #navcontact a.navlink
{
  border-bottom: 3px solid #77b509;
}

#footer
{
  margin-top: 10px;
  background-color: black;
  padding: 10px 10px 20px;
  color: #606060;
}
#lang_loader { display: none; }

/**
 * SIDEBAR RULES
 */
#sidebar
{
  display: none;
  background-color: #e6e6e6;
}

.sidebar_image { text-align: center; }

body.with_sidebar #main
{
  float: left;
  width: 670px;
}

body.with_sidebar #sidebar
{
  display: block;
  float: left;
  width: 280px;
  margin-left: 15px;
}

#sidebar .content-inner
{
  padding: 10px;
}

#pc_box { float: right; }

/**
 * NODES AND LISTING DETAIL
 */

.listing_header .tl,
.listing_header .tr,
.listing_header .br,
.listing_header .bl,
#sidebar .tl,
#sidebar .tr,
#sidebar .br,
#sidebar .bl { 
  width: 6px;
  height: 6px;
  background-image: url(../img/sidebar_corner_sprite.gif);
}
.listing_header .tr,
#sidebar .tr { background-position: -6px 0; }
.listing_header .br,
#sidebar .br { background-position: -12px 0; }
.listing_header .bl,
#sidebar .bl { background-position: -18px 0; }

/**
 * FRONT PAGE
 */

body.front #main { background-color: transparent; }
body.front #main .content_inner { padding: 0; }

body.front #fp_flash_wrap { background: #fff url(../img/flashBackground.png) repeat-x 0px 0px; clear: both; }

body.front #content .content .tl,
body.front #content .content .tr,
body.front h1 { display: none; }

body.front #header { height: 5em; }
#fp_flash_piece 
{ 
  height: 334px; 
  color: #666;
}
#fp_flash_piece a { color: #666; text-decoration: underline; }

body.front #fp_flash_warning
{
  height: 100%;
  width: 100%;
  margin: 0; padding: 0; border: 0;
  background-color: #aaa;
}
body.front #fp_flash_warning td
{
  text-align: center;
  vertical-align: middle;
  border: 0;
}
html.js body.front #fp_flash_warning { display: none; }

body.front .three_col .col1 { width: 25%; }
body.front .three_col .col2 { width: 42%; }
body.front .three_col .col_inner { padding-right: 20px; }
body.front .three_col .col2 .col_inner { padding-right: 50px; }


.rs_search label
{
  display: block;
  font-weight: bold;
}

.rs_quick_search p { margin-bottom: 0.5em; }
.rs_quick_search .submit_line { padding-top: 0.5em; }

/***
 * PROPERTY SEARCH
 */

#gmaps_canvas 
{ 
  width: 100%; 
  height: 260px; 
  background-color: #ccc; 
  margin-bottom: 1.0em;
}

.property_result { 
  border: 2px solid #d0d0d0; 
  margin-bottom: 1em; 
}

.property_result .header
{
  position: relative;
  font-weight: bold;
  font-size: 120%;
  height: 1.8em;
  line-height: 1.8em;
  background: #ccc url(../img/ps_headbg.png) repeat-x 0 0;
}

.property_result .header a { color: #666; }

.property_result .header .price
{
  position: absolute;
  left: 15px;
}

.property_result .header .address
{
  position: absolute;
  left: 250px;
}

.property_result .content { padding: 13px; }
.property_result .thumb { float: left; margin-right: 50px; }
.property_result .thumb img { vertical-align: bottom; }

.property_result .tl, 
.property_result .tr, 
.property_result .bl, 
.property_result .br 
{ 
  background-image: url(../img/prop_list_corner_sprite.png);
  height: 5px;
  width: 5px;
}
.property_result .tl { top: -2px; left: -2px; }
.property_result .tr { top: -2px; right: -2px; background-position: -5px 0; }
.property_result .br { bottom: -2px; right: -2px; background-position: -10px 0; }
.property_result .bl { bottom: -2px; left: -2px; background-position: -15px 0; }

.property_result .info {
  float: left;
  margin-bottom: 25px; 
  position: relative;
  width: 440px;
}

.property_result .more_info 
{ 
  position: absolute;
  bottom: 10px;
  right: 13px;
}

body.property_search .pagination { float: right; }
body.property_search .pagination img { vertical-align: -25%; }
body.property_search .pagination .step-links strong { padding-right: 5px; }

/***
 * PROPERTY DETAIL
 */
 
.listing_header 
{ 
  background-color: #e6e6e6;
  padding: 10px;
  margin-bottom: 15px;
}

.big_thumb
{ 
  float: left; 
  margin-right: 10px;
}

.little_thumbs
{
  position: absolute;
  left: 345px;
  bottom: 10px;
  width: 315px;
}

.little_thumbs img { 
  vertical-align: bottom; 
  padding: 0 3px 3px 0;
}

.listing_header .property_description 
{
  float: left;
  width: 315px;
}

.thumbs_1_rows .property_description { margin-bottom: 37px; }
.thumbs_2_rows .property_description { margin-bottom: 74px; }
.thumbs_3_rows .property_description { margin-bottom: 111px; }

.property_detail .agent_info h3 { margin-bottom: 0; }
.property_detail .listing_meta { padding: 3px 10px; }
.property_detail .listing_meta .label { font-weight: bold; padding-right: 15px; }
.property_detail .even { background-color: #e6e6e6; }

.listing_toolbar { text-align: right; margin-bottom: 0.5em; }

/***
 * ADVANCED SEARCH FORM
 */
 
.fieldWrapper { margin-bottom: 0.5em; }
.rs_adv_search fieldset { margin: 0; }
.rs_adv_search fieldset label { font-weight: normal;  }
.rs_adv_search fieldset legend { color: #666; font-weight: bold; }
.rs_adv_search #id_neighborhood { height: 10em; }

.rs_adv_search .main_col1 { width: 40%; }
.rs_adv_search .main_col2 { width: 40%; }
.rs_adv_search .main_col3 { width: 20%; }

.rs_adv_search .main_col1 .sub_col1,
.rs_adv_search .main_col1 .sub_col2 { width: 40%; }