body{
    color:#666;
    font-family:"Open Sans", sans-serif;    
    font-weight:400;
}

h1{
    font-size:30px;
}

h2{
    font-size:26px;
}

h3{
    font-size:22px;
}

h4, .links h2{
    font-size:20px;
}

h5{
    font-size:16px;
    font-weight:600;
}

a .fa{
    text-decoration:none;
}

figure{
    background-color:#e7e7e7;
    overflow:hidden;
    position:relative;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
}

.currency_converter{
    font-weight:200;
}

.grid-item-content {
    padding-bottom: 15px;
    padding-top: 15px;
}


.embed-responsive {
    width:100%;
    height:300px;
    -webkit-overflow-scrolling:touch;
    overflow-y:scroll;
} /* change the width + height */

.embed-responsive iframe {
    width:100%;
    height:100%;
}

h4, h5, h6, p, ul{
    line-height:1.8;
}

section{
    padding-bottom:20px;
}

.search_by_referance, .disclaimer, .links, .static-page{
    min-height:40vh;
}

header .admin{
    background-color:#eee;
    border-bottom:1px solid #ddd;
    padding-top:5px;
}

header .prop-alerts{
    padding-bottom: 20px;
    padding-top: 20px;
}

header .right-utilities{
    padding-top: 30px;
}

header form .fa{
    line-height:1.42;
}

header .navbar-brand {
    float: none;
    height: auto;
    padding: 0;
    font-size: inherit;
    line-height:1;
}

header .navbar {
    margin-bottom: 0;
}

header .dropdown-menu > li > a {
    padding-bottom: 10px;
    padding-top: 10px;
/*    border-bottom: 1px solid transparent;*/
    border-bottom: 0px solid transparent;
}

header .dropdown-menu > li:not(:last-child) > a {
    border-color:#eee;
}

header .navbar-inverse .dropdown-menu > li> a {
    color: #fff;
}

header .navbar-inverse .dropdown-menu > li> a:hover, header .navbar-inverse .dropdown-menu > li> a:focus {    
    background-color:#333;
}

header .navbar-inverse .dropdown-menu > li:not(:last-child) > a {
    border-color:#333;
}

header .navbar-inverse .dropdown-menu {
    background-color:#000;
}

header .well {
    display:inline-block;
}

header .navbar-btn{
    margin-left:15px;
    padding: 9px 10px;
}

.navbar-inverse .navbar-form .form-control{
    background-color:transparent;
    border-color:#666;
}

header .navbar-brand img{
    max-height:120px;
}

.light, .light .menu, .light .navbar-default{
    background-color:#f8f8f8;
    border:0;
    border-radius:0;
}

.light .menu{
    border-bottom:1px solid #ddd;
    border-top:1px solid #ddd;
}

.dark, .dark .menu, .dark .navbar-inverse{
    background-color:#000;
    border-color:transparent;
    border-radius:0;
}

.dark .menu{
    border-top:1px solid #333;
}

.grecaptcha-badge { visibility: hidden; }

.header2 .prop-alerts-btn{
    padding: 15px;
    border-color:#9a1720;
}

.header2 .navbar-right .navbar-btn{
    padding: 14px 25px;
    margin:auto;
    border-radius:0;
}

.header2 .navbar-right .dropdown-menu{
    left: -100px;
    border-radius:0;
    padding: 14px;
}

.page-heading.dark, .page-heading.light{
    background-color:#f8f8f8;
    border-bottom:1px solid #eee;
    margin-bottom:20px;
}

.page-heading.dark h1, .page-heading.light h1{
    padding-bottom:0;
}

/*front page*/
.front-page{
    padding-bottom:0;
}

.static-background-image{
    background: url("../images/static-image.html") no-repeat center;
    background-size: cover;
}

.static-background-image .jumbotron{
    background-color:rgba(0,0,0,0.8);
    color:white;
    margin-top:40%;        
}

.front-page-search{
    padding-top:30px;
    padding-bottom: 30px;
}

.front-page-search .property-search-box {
    margin-bottom: 0;
}

.front-page-search .form-horizontal{
    margin-top:15px;
}

.front-page-search .form-horizontal .form-group{
    margin-left:0;
    margin-right:0;
}

.featured-properties .carousel-control.right, .featured-properties .carousel-control.left{
    background-image:none;
}

.jumbotron h1{
    font-size:30px;
}

.jumbotron p{
    font-size:16px;
    font-weight:400;
    line-height:1.6;
}

.static-front-image .jumbotron{
    background-color:rgba(255,255,255,1);
    margin-bottom:0;        
}

.quick-search{
    padding-bottom: 30px;
}

/*end of front page*/

/*featured properties*/
.sign_banner_image{
    position: absolute;
    z-index: 9;
}

.featured-properties{
    background-color:#eee;
}

.featured-properties h2{
    margin-bottom:0;
    margin-top:30px;
    font-size:30px;
}

.featured-properties .sign_banner_image{
    left:0;
    top: 0;
}

.featured .sign_banner_image{
    left:15px;
}

.property .panel-default,
section.single-property .gallery{
    overflow:hidden;
    position: relative;
}

.property .panel-default .sign_banner_text{
    top: 10px;
    left: -55px;
}

.sign_banner_text{
    background-color:#f60;
    position: absolute;
    z-index:1;
    top: 17px;
    left: -65px;
    width: 200px;
    text-align:center;
    padding:10px 0;
    line-height:1;
    color:white;
    text-transform:uppercase;
    font-weight:600;
    font-size:14px;
    transform:rotate(-45deg);
}

.sign_banner_text.sold,
.sign_banner_text.let,
.sign_banner_text.rented-out,
.sign_banner_text.sold-by-us{
    background-color:#f00;
}

.featured-properties h3{
    font-size:20px;
    font-weight:600;
    margin-top:0;
}

.feat-prop{
    margin:30px 0;
}

.feat-prop .panel, .feat-prop .panel-footer{
    background-color:white;
}

.feat-prop .panel{
    border:0;
}

.feat-prop .panel-footer{
    border-width:3px;
    border-color:#eee;
}

.panel{
    margin-bottom:0;
}

.feat-prop{
    border:0;
}

.featured-properties figure{
    max-height:200px;
}

.featured-properties .price{
    background-color:rgba(51,51,51,51.8);
    color:#fff;
    opacity: 0.9;
    padding:10px 20px;
    position: absolute;
    bottom:0;
    right:0;
    font-size:2.5rem;
    z-index:1;
}


.featured-heading{
    background-color: #fff !important;
    border:0;
}

.featured-heading h2{
    padding:5px 0;
    margin:0;
}

figure.featured{
    background-color: #fff;
    border:0;
    padding:0;
    margin:0 15px;
}

.featured-heading h2, .featured-price{
    font-size:24px;
    font-weight:600;
    margin:0;
}

.featured-price{ 
line-height:1.2;
}
 
.featured-tag{
    background-color:#555;
    color:white;
    padding:0 7px;
    font-size:12px;
}

.featured-slider .carousel-control{
    color:inherit;
}


.front-partner-images{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-bottom:60px;
    padding-top:50px;
}

.front-partner-images img{
    max-height:70px;
    max-width:150px;
    margin:0 10px;
}

/* front page end*/

/* properties*/
.property-search-box .panel-default,
.property .panel-default,
.single-property .panel-default{
    background-color: #f8f8f8;
    border:1px solid #e7e7e7;
    margin-bottom:20px;
}

.property-search-box{
  margin-bottom:20px;
}

.property-search-box .form-group{
    margin-left:0;
    margin-right:0;
}

.property-search-box select[multiple]{
    padding-bottom:13.5px;
    padding-top:13.5px;
}

.property-search-box .site-location-search-heading button[name="Search"]{
    margin-top:auto;
    margin-left:15px;
}

.property-search-box .pagination-link a:hover{
    text-decoration:none;
}

.site-location-search-heading .btn-info:active{
    background-color:transparent;
    border-color:initial;
}

.selectize-input input{
    background-color:inherit;
    color:inherit;
}

.property .property-image figure{
    height:220px;
    overflow:hidden;
}

.articles figure{
    max-height:250px;
}

.site-location-search-body.panel-body{
    padding-top:0;
    border-top:0 !important;
}

.property .panel-body, .property .panel-footer{
    border-radius:0;
}

.property .panel-footer{
    padding-top:0;
    padding-bottom:0;
}

.property .panel-footer ul{
    padding:0;
    margin:0;
}

.property .panel-footer ul li{
    list-style-type:none;
    padding:10px 20px;
    border-right:1px solid #ddd;
    margin:0;
    line-height:1;
}

.property .panel-footer ul li:first-child{
    padding-left:0;
}

.property .panel-footer ul li:last-child{
    padding-right:0;
    border:0;
}

.property .panel-footer ul li label{
    font-weight:400;
    margin-bottom:0;
}


.property .price{
    color:#333;
    font-size:24px;
    font-weight:200;
}

.property .price .currency_converter{
    color:#666;
}

.property h2{
    font-size:20px;
    font-weight:400;
    margin-top:0;
}

.property h2{
    font-size:20px;
    font-weight:400;
    margin-top:0;
}

/*end: properties*/


/*start: single property*/

section.single-property{
    padding-bottom:30px;
}

section.single-property .reference{
    padding-left:30px;
}

section.single-property .agent .panel-body{
    padding:0;
}

section.single-property .agent-image{
    margin-right:-15px;
}

section.single-property .agent-image figure{
    height:130px;
}

section.single-property .agent-image figure img{
    max-height:100%;
}

section.single-property .agent-details{
    padding:10px 15px;
    overflow:hidden;
}

section.single-property .agent-details p  a[href^="mailto"]{
    white-space: nowrap;
    overflow-y: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
    display: inline-block;
    vertical-align: middle;
}
 
section.single-property .agent-details p{
    line-height:1.5;
    margin-bottom:0;
    font-size:13.5px;
}

section.single-property .Privyseal-image{
    width:100% !important;
    height:auto !important;
}

section.single-property .message-agent h2{
    font-size:22px;
    margin-top:0;
    margin-bottom:20px;
}

section.single-property .message-agent form, section.single-property .list-group{
    margin-bottom:0;
}

section.single-property .vids_docs .btn{
    margin-top:15px;
    margin-right:15px;
}

section.single-property #map_canvas, .google_map{
    height:300px;
    width:100%;
    margin:20px 0;
}

section.single-property .gallery{
    background-color:#eee;
}

.morgage-calc{
    text-align:right;
    margin-top:17px;
}
/*end: property*/

/*start: sub pages*/

.page-header{
    border:0;
    margin: 20px 0;
    padding:0;
}

.page-header h1{
    margin:0;
}

.page-header .breadcrumb {
    padding:8px 0;
    margin-bottom:0;
    background-color:transparent;
    border-radius: 0;
}
/*end: sub pages*/

/*start team page*/
section.team .panel{
    margin-bottom:25px;
}

section.team .panel-body{
    padding:0;
}

section.team .panel-body h2, section.team .panel-body h4{
    font-size:18px;
    line-height:1.4;
}

section.team .panel-body h4 small{
    font-size:14px;
    line-height:1;
}

section.team .panel-body p{
    line-height:1.2;
    margin-bottom:8px;
}

section.team .panel-footer .Privyseal-image{
    width:100%;
    height:auto;
}

section.team .modal-body p.agent-contacts{
    line-height:1.4;
}

section.team .modal-body p.agent-contacts label{
    display:inline-block;
    width:12%;
}

section.team.team-full .grid-item-content figure {
    max-width: initial;
    background-color:transparent;
    justify-content: flex-start;
}

section.team.team-full .grid-item-content h2{
    margin-top:0;
}

section.team.team-full .grid-item-content .Privyseal-image{
    max-width:75%;
    margin-bottom:20px;
    margin-top:10px;
}

section.team.team-full .well-team{
    background-color: #f8f8f8;
    border: 1px solid #eee;
    box-shadow:none;
}

section.team.team-full .well-team .agent-contacts{
    line-height:1.5;
}

section.team.team-full .well-team h2{
    font-size: 20px;
    line-height:1.5;
}
section.team.team-full .well-team h2 small{
    font-size: 80%;
}
/*end team page*/

/*start: calculator*/

section.calculator .tab-content{
    padding-top:20px;
}

/*end: calculator*/

/*start: articles*/
.articles figure{
    background-color:#eee;
    max-height:250px;
}

.articles h2{
    margin-top:0;
    line-height:1.2;
    font-size:24px;
}
/*end: articles*/

/*start: downloads  page*/

.downloads .caption {
    padding-bottom:0;
}

.downloads .caption p {
    margin:0;
    overflow-wrap: break-word;
}

.downloads .caption p a{
    font-weight:600;
}

/*end: downloads*/

/*start: contacts page*/

.contacts address span{   
    display: inline-block;
    width:95%;
    padding-left:5%;
    vertical-align: text-top;
}

.contacts abbr[data-original-title], abbr[title] {
    border-bottom:0;
    display: inline-block;
}

#map_canvas {
    height:400px;
    width:100%;
}

/*end: contact*/

/*start: footer*/
#top-link-block.affix {
    position: fixed;
    bottom: 18px;
    right: 10px;
    z-index: 999;
}

#top-link-block {
    opacity: .9;
}

.morecontent span  {
    display: none;
}

.morelink {
    display: block;
}

.footer-bottom, #receive_property_alerts_box{
    padding-top:15px;
    padding-bottom:15px;
}

footer, .footer-bottom{
    background-color:#f8f8f8;
    border-top:1px solid #e7e7e7;    
    color:#888;
}

.footer-inverse{
    background-color: #222;
    border-color: #080808;
}

.footer-inverse .form-control, .footer-inverse .footer-bottom{
    background-color: transparent;
    border-color: #555;
}

footer figure{
    background-color:transparent;
    margin:20px 0;
}

footer h3{
    font-weight:600;
    color:#666;
}

footer .list-inline {
    margin-bottom:0;
}

footer .list-inline > li {
    padding-right: 0;
    padding-left: o;
}

footer .list-group{
    padding-top:1px;
}

footer .list-group-item{
    padding:0;
    border-radius:0 !important;
    border:0;
    background-color:rgba(255,255,255, 0.1);
    margin-bottom:0;
    margin-top:10px;
}

footer .list-group-item img{
    margin-right:-15px;
}

footer .list-group-item p{
    margin-left:-15px;
    line-height:1.7;
    padding-top:5px;
}
    

footer address{
    line-height:1.9;
    margin-bottom: 10px;
}
/*end: footer*/


@media (max-width: 1366px){  
    .featured-slider .carousel-control{
        width:4%;
    }
}

@media (min-width: 992px){
    
    .property .panel-body, .property .panel-footer {
        padding-left: 30px;
        border-radius: 0;
    }
    
    .property .property-details{
        margin-left:-15px;
        margin-right:-15px;
    }
    
    .property .property-image{
        margin-right:-15px;
    }
}

@media (max-width: 992px){
    
    h1{
        font-size:24px;
        padding-bottom:10px;
    }

    h2, h4.price{
        font-size:20px;
    }

    h3{
        font-size:18px;
    }

    h4{
        font-size:16px;
    }

    h5{
        font-size:14px;
        font-weight:600;
    }

    .navbar-header.navbar-flexbox-mobile {
        display: flex;       
        align-items: center;
        justify-content: space-between;
        width:100%;
    }

    .navbar-header.navbar-flexbox-mobile .navbar-toggle{
        margin-left: auto;
    }
    
    .navbar-header.navbar-flexbox-mobile .navbar-btn{
        margin-right: auto;
    }

    .navbar-header.navbar-flexbox-mobile .navbar-brand img{
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-header {
        float: none;
    }

    .navbar-left,.navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }

    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }

    .navbar-nav>li {
        float: none;
    }

    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .collapse.in{
        display:block !important;
    }

    #feature3{
        display:none;
    }
        
    .property .ref{
        position: absolute;
        top: -235px;
        float: none;
        right: 0;
        background: rgba(51,51,51,0.9);
        color: white;
        padding: 10px 20px 5px;
    }

    .property .price {
        color: white;
        font-size: 18px;
        font-weight: 400;
        position: absolute;
        top: -68px;
        padding: 10px 15px;
        background: rgba(51,51,51,0.9);
        left: 0;
    }

    .property .price .currency_converter,
    .property .price .currency_converter a{
        color:white;
    }

    .property .property-image figure {
        background-color:black;
    }

    #map_canvas, .google_map{
        height:200px;
    }
}

@media (min-width: 768px) and (max-width: 991px){
    section.single-property .panel-default {
        margin-bottom: 30px;
    }
}

@media screen and (min-width: 615px) and (max-width: 767px){
    .narrow-width{
        max-width:60%;
    }
}

@media (min-width: 768px){
    
    .static-header{
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: 20;
    }
    
    .property-alerts .modal-header h3, .property-alerts .modal-body p{
        padding-left:15px;
        padding-right:15px;
    }

    section.team figure{
        height:140px;
        max-width:140px;
    }

    section.team .modal-body figure{
        height:160px;
        width:160px;
        margin-bottom:10px;
    }

    section.team figure img{
        max-height:100%;
    }

    header .navbar-collapse {
        padding:0;
    }
        
    .property .price label{
        display:none;
    }

    .contacts{
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .contacts address {
        min-height:65px;
        margin-bottom: 10px;
        margin-top: 10px;
    }

}

@media (max-width: 767px){
    
   .jumbotron{
        background-color:rgba(0,0,0,0.8);
        margin-top:10%;
        padding-top:1px;
        padding-bottom:1px;
        margin-bottom:0;
    }

   .jumbotron h1, .jumbotron p {
       color:inherit;
    }
    
    .jumbotron h1 {
        font-size: 24px;
        padding-bottom:0;
    }
    
    header .navbar {
        margin-left: -15px;
        margin-right: -15px;
    }

    #map_canvas, .google_map{
        height:200px !important;
    }

    .property .panel-footer ul li {
        padding: 10px 15px;
        line-height:1.6;
    }

    #search-box-more{
        margin-left:15px !important;
    }   

    .morgage-calc{
        text-align:left;
        margin-top:0;
    }

    .single-property h4.price{
        margin-bottom:0;
    }
}

@media screen and (min-width: 520px) and (max-width: 767px){
    
    .feat-prop{
        width:50%;
        float:left;
    }
}

@media screen and (min-width: 455px) and (max-width: 614px){
    .narrow-width{
        max-width:80%;
    }
}

@media screen and (min-width: 320px) and (max-width: 767px){
    header .prop-alerts {
        padding-bottom: 5px;
        padding-top: 5px;
    }    

    header .navbar-brand img{
        max-height:90px !important;
    }

    .footer-bottom p{
        margin: 0;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: inherit;
    }
    .navbar-inverse .navbar-nav > li.selected > a, .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a:hover {

        background-color:transparent;
        color: inherit;

    }
 
}

@media print{
    .single-property h1{
        font-size:36px;
    }

    .single-property h5{
        font-size:24px;
    }

    .single-property .panel-default {
        border: 0;
    }
}

.form-control-feedback {
    position: relative;
    top: -40px;
    bottom: 0;
    margin: 0;
    left: 94%;
    z-index: 2;
    height: 0;
    line-height: 35px;
    text-align: center;
}

.disable_search{
    pointer-events: none;
}

.selectize-input > div.item {
    background: #F8F8F8;
    color: #000;
}

.seoDebugMode{
    font-family:OpenSans, Verdana, san-serif;
    font-size:14px;
    color:#656565;
    position:fixed;
    bottom:0;
    line-height:1.6;
    background-color:white;
    border:3px solid grey;
    padding:2em;
    z-index:999;
}

.showrooms-page-description {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
