/* Add your own custom css to this file. You may wish to use css !important calls to override css from the template css files.
----------------------------------------------------------- */

#s5_menu_wrap.s5_wrap #s5_logo_wrap, #s5_menu_wrap.s5_wrap_fmfullwidth #s5_logo_wrap {
    margin-top: -5px;
}
.s5_no_custom_bg {
    padding-top: 60px;
}

.s5_redbox {
    padding: 8px;
    line-height: 2;
}

#s5_top_row1_wrap, #s5_top_row2_wrap, #s5_top_row3_wrap, #s5_middle_bottom_wrap, #s5_middle_top_wrap, #s5_bottom_row1_wrap, #s5_bottom_row2_wrap, #s5_bottom_row3_wrap, #s5_below_columns_wrap1, #s5_above_columns_wrap1 {
	    padding-bottom: 5px;
}
.large_split_title h3 {
    font-size: 2.5em;
}
.lb-outerContainer {
  width: 710px;
  height: 466px;
}

.glyphicon-star {
  font-size: 30px;
  color: #7DCC84;
}
	
.ztTestimonial p.content-testimonial {
  padding-bottom: 10px;
  font-size: 1.4em;
  line-height: 1.2em
}
.ztTestimonial .name, a {
  font-size: 1.25em;
}
#s5_center_area1 {
    padding-top: 30px !important;
}

.s5_yes_custom_bg, #s5_center_area1, .s5_no_custom_bg {
    padding-top: 15px !important;
}

body {
    line-height: 140%;
}
.ip-property-header-accent{
	font-size:24px !important;

}
a  {	text-decoration: none;cursor:pointer;font-size:1.2em;}
a:hover  { text-decoration:underline; }
a:active { outline: none;}
a:focus {-moz-outline-style: none;}	

h1, h2, h3, h4, h5 {line-height:130%;/* font-weight:400; */color: #3A3A3A;}

h1 {font-size:2em;margin-bottom:10px;}

h2 {	font-size:1.8em;margin-bottom:10px;}

#s5_component_wrap_inner h2, #s5_component_wrap_inner h1 {
font-size:2.3em;
font-weight:800;
margin-bottom:25px;
}

.ip-mod-subtitle {
	display:none; 
	
}

.nivo-caption {
    background: #467d83;
	
}

.ip-overview-catcontainer{
	padding:20px;

}

a.ip_subcatlink {
    color: #7DCC84;
    font-size: 1.2em;
}

.span12.ip-social {
    padding-left: 0;
    margin-left: 0;
}

.pagenav, .pagination {
    padding-top: 10px;
}





/** AGENTS PAGE **/

a.multi-line-text,.multi-line-text a {
    word-wrap: break-word;
}

h2.ip-agent-header {
    padding-left: 20px;
}

span.pull-right.small.ip-pagination-results {
    float: none;
    display: block;
    /* text-align: right; */
    padding-left: 20px;
}

.Agents-grid-item {
    width: 33.33%;
    float: left;
    height: auto;
}

.Agent-icons {
    width: 40px;
}

.Agents-grid-item-container {
    background: #eee;
    margin: 20px;
    height: 335px;
    padding: 20px;
}

.Agents-grid-item .nav-tabs {
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}


/** AGENT DETAILS **/

.ip-agentbio {
    width: 66.6%;
    float: right;
    margin-bottom: 50px;
}


.ip-overview-row {
    padding: 20px;
    margin-bottom: 20px;
    background: #eee;
    clear: both;
}

h2.ip-property-header {
    clear: both;
}

div#ip-map-canvas {
    margin-bottom: 50px;
}


/** SEARCH **/

div#s5_pos_mls_search {
    background: #ffffff;
    padding: 0px 0px;
}

.button-search {
    display: none;
}

.nav-search {
    background: #495154;
}

.nav-search form {
    max-width: 1266px;
    margin: 0 auto;
}

.nav-search .controls, .nav-search .ip-quicksearch-sortholder {
    display: inline-block;
    width: 14.23%;
    float: left;
}

.nav-search .control-group {
    display: inline;
}

.nav-search .input-medium {
    width: 90%;
    height: 45px;
    margin-top: 4px;
}

.nav-search button, .nav-search .btn-group {
    width: 100%;
}

input.input-medium.ip-qssearch {
    border-radius: 5px;
    background: white;
    color: black;
}

.nav-search .input-medium {
    width: 90%;
    height: 45px;
    margin-top: 4px;
    background: #644219;
    color: white;
	font-weight: 600;
}





/** LISTING LIST VIEW **/

.featured-property-grid-item {
    background: none repeat scroll 0 0 #FFFFFF;
    display: inline-block;
    overflow: hidden;
    margin: 12px 2.5% 40px 0;
    width: 31.66%;
    padding: 20px 0 0;
    float: left;
    position: relative;
    border-top: 1px solid #ddd;
    box-sizing: border-box;
}

/*.featured-property-grid:nth-child(3n+3) {
    clear: right;
}*/

.featured-property-grid-item:nth-child(3n) {margin-right: 0;}
.featured-property-grid-item:nth-child(3n+1) {clear: left;}
/*.featured-property-grid-item:nth-child(4n+1) {clear: left;}*/

/*.ip-proplist h2:nth-child(2) ~ .featured-property-grid:nth-child(3n+4){
    clear: left;
}*/

.featured-property-grid-item .pull-right.ip-overview-bannerright {
    background: #8FA491;
    right: 0px;
    position: absolute;
    padding: 0 15px;
    color: white;
    top: 241px;
}

.featured-property-grid-item img.img-polaroid.ip-overview-thumb {
    margin-bottom: 20px;
}

.featured-property-grid-item .ip-overview-catcontainer {
    padding: 0px;
}

.featured-property-grid-item .ip-bannerbotleft {
    display: none
}

img.img-polaroid.ip-overview-thumb {
    width: 100%;
    min-height: 250px;
    max-height: 250px;
    object-fit: cover;
}

.ip-bannertopright {
    position: absolute;
    right: 10px;
    top: 64px;
}

.ip-bannerbotleft {
    margin-top: -61px;
    position: absolute;
    right: 10px;
}
.ip-overview-row {
    padding: 20px;
    margin-bottom: 20px;
    background: #eee;
    width: 33.33%;
}

.span9.ip-overview-desc {
    margin-left: 0;
}

.pull-right.ip-overview-bannerright {
    background: #8FA491;
    right: 0px;
    position: absolute;
    padding: 0 15px;
    color: white;
}

h4.ip-overview-price {
    margin-bottom: 15px;
}

.ip-bannerbotleft {
    margin-top: -61px;
    position: absolute;
}

.ip-overview-grid {
    margin-bottom: 20px;
    position: relative;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.ip-overview-grid .img-polaroid {
    width: 100%;
    min-height: 250px;
    max-height: 250px;
    object-fit: cover;
}

.ip-overview-grid .pull-right.ip-overview-bannerright {
    top: 241px;
}

.ip-overview-grid .ip-overview-catcontainer {
    padding: 0;
}

.prop-grid-content {
    padding: 20px 0;
}

.well-small, .pagination {
clear:both;
}



@media only screen and (max-width : 992px) {
    .featured-property-grid-item:nth-child(1n){width: 48%; padding: 20px 0 0 0; margin: 12px 4% 40px 0; }
    .featured-property-grid-item:nth-child(2n){margin-right: 0; clear: none; }
    .featured-property-grid-item:nth-child(2n+1) {margin-right: 4%; clear:left}
}

@media only screen and (max-width : 599px) {

    .featured-property-grid-item:nth-child(1n){width: 100%; padding: 0; margin: 12px 0 40px 0; }
    .featured-property-grid-item:nth-child(1n) {margin-right: 0; clear: left;}

}


/** PROPERTY DETAILS **/

.nav-tabs-topbar, #ipMapTabs {
    background: #495154;
}

#ipMapTabs>.active>a, .nav-tabs>.active>a:hover {
    background: #495154;
    color: white;
    border-radius: 0;
    border: none;
    border-right: 1px solid white;
    border-left: 1px solid white;
}

#ipMapTabs a:hover {
    border: none;
    border-right: 1px solid white;
    border-left: 1px solid white;
    padding-bottom: 9px;
    border-radius: 0;
}

li.ip_checklist {
    background: #eee;
    padding: 10px 20px;
    border: 1px solid #ddd;
}

.ip-desc-wrapper>.row-fluid>.span12 {
    margin-left: 0;
}

.ip-toolbar-icons li {
    width: 100px;
    height: 100px;
    background: #eee;
    margin-left: 20px;
    text-align: center;
    line-height: 1.2em;
}

a.property-agents-photo {
    display: inline-block;
    float: left;
    margin-right: 10px;
}

a.property-agents-name {
    display: inline-block;
    color: #495154;
}

a.property-agents-company {

}

a.ip-agent-contact-btn,a.ip-agent-contact-btn:hover {
    background: #08c;
    display: block;
    text-align: center;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
}

.sidecol-email a {
    font-size: 12px;
}


.ip-slashprice {text-decoration: line-through;}



/** HIDDEN ITEMS **/

.Agents-grid-item .ip-fax, .Agents-grid-item .ip-facebook, .Agents-company, .Agents-grid-item .ip-fax, .ip-agentlist .ip-mainheader, div#ip-agentsearchfilter-wrapper, span.pull-right.small.ip-pagination-results, .Agents-grid-item .divider {
    display: none;
}




@media only screen and (max-width : 1098px) {
    .nav-search .controls {
        width: 13%;
    }

    .nav-search .ip-quicksearch-sortholder {
        width: 22%;
    }
}

@media only screen and (max-width : 992px) {
    .Agents-grid-item {
        width: 50%;
    }

    .ip-agentbio {
        width: 50%;
    }
    .ip-overview-grid .img-polaroid {
        width: 100%;
        min-height: 200px;
        max-height: 200px;
        object-fit: cover;
    }
}

@media (max-width:979px){
    img.img-polaroid.ip-overview-thumb {
        width: 100%;
        min-height: 200px;
        max-height: 200px;
        object-fit: cover;
    }

@media only screen and (max-width : 768px) {

    img.img-polaroid.ip-overview-thumb {
        width: 100%;
        min-height: 0;
        max-height: 600px;
    }


    .Agents-grid-item {
        width: 100%;
        background: #eee;
        margin-bottom: 20px;
    }

    .ip-agentbio {
        width: 100%;
    }

    .Agents-grid-item-container {
        background: none;
        margin: 0;
        height: auto;
        padding: 20px;
    }

    h2.ip-agent-header {
        padding-left: 0;
    }

    .pull-right.ip-overview-bannerright {
        right: 20px;
        position: relative;
        top: -50px;
    }

    .ip-overview-grid .img-polaroid {
        width: 100%;
        min-height: auto;
        max-height: auto;
        object-fit: none;
    }

    .button-search {
        display: block;
        width: 100%;
        text-align: center;
        border-radius: 0;
        padding: 15px 0;
    }

    .nav-search {
        display: none;
        float: left;
        padding: 10px;
    }

    .nav-search .controls {
        width: 50%;
        left: 4px;
        position: relative;
    }

    .nav-search .controls-search, .nav-search .controls-category  {
        width: 97.5%;
    }

    .nav-search .controls-search .input-medium, .nav-search .controls-category .input-medium  {
        width: 100%;
    }

    .nav-search .input-medium {
        width: 95%;
    }

    .nav-search .ip-quicksearch-sortholder {
        width: 100%;
    }

    .nav-search button, .nav-search .btn-group {
        width: 98.75%;
    }

    div#s5_pos_mls_search {
        padding: 0px;
    }

    .featured-property-grid-item {
        background: none repeat scroll 0 0 #FFFFFF;
        display: inline-block;
        overflow: hidden;
        margin: 12px 0 40px 0;
        width: 100%;
        padding: 20px 0 0;
        float: left;
        position: relative;
        border-top: 1px solid #ddd;
        box-sizing: border-box;
    }
}

}
