
/* GENERAL */

html, body {
    height: 100%;
}

html {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

body {
    margin: 0;
    padding: 0;
    font-weight: 400;
    color: #444444;
    border: 0;
    font-size: 14px;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400; 
}

#section hr {
    margin-top: 20px;
    margin-bottom: 20px;
}

.vertical {
    height: 100%;
    border-right: 1px solid #dee2e6;
    margin-top: 20px;
    margin-bottom: 20px;
}


.thumbnail {
    position: relative;
    padding: 0px;
    margin-bottom: 20px;
}

.thumbnail img {
    width: 100%;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#map_search {
    height: 300px;
    display: block;
    max-width: 100%;
    margin-bottom: 20px;
    margin-top: 10px;
    clear: both;
}

.mgroup {
    padding: 5px 0;
}


/* HEADER */

#section {
    margin: 0;
    background: #ffffff;
 }


#section .top-block {
    background: #ffffff; 
    padding: 25px 0;
}

#section .top-align {
    display: flex;
    flex-direction: row;
}

#section .top-align > [class^="col-"], .top-align > [class*=" col-"] {
    display: flex;
    align-items: center;
}

#section .top-align .text-top-right {
    display: flex;
    justify-content: flex-end;
}

#section .flight {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #3a3b3b;
    font-weight: 400;
}

#section .fstrong {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #8e0303;
    text-transform: uppercase;
    font-weight: 800;
    text-align: right;
    letter-spacing: -1;
}

/* TOP NAVIGATION */

.navbar {
    padding-top: 4px;
    padding-bottom: 4px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.navbar-inverse {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.navbar-inverse .navbar-toggle {
    border: 0 none;
}

.navbar-inverse .navbar-toggle:hover, 
.navbar-inverse .navbar-toggle:focus {
    background-color: transparent;
    color: white;
}

.navbar {
    border-radius: 0;
}

.navbar-inverse .navbar-nav > .active > a, 
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover {
    color: #9d9d9d;
    background-color: transparent;
    text-decoration: none;
}

.navbar-inverse .navbar-nav > .active > a:hover {
    color: #fff;
    text-decoration: none;
    
}

.navbar-inverse .navbar-nav > li > a {
    color: #9d9d9d;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-menu > .active > a, 
.dropdown-menu > .active > a:focus, 
.dropdown-menu > .active > a:hover {
    color: #262626;
    background-color: transparent;
    text-decoration: none;
    outline: 0;
}

.dropdown-menu > .active > a:hover {
    background-color: #fff2e6;
    text-decoration: none;
}

.dropdown-menu > .active > a:link {
    text-decoration: none;
}

.dropdown-menu {
  padding: 12px 0;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  box-shadow: none;
}

.dropdown-menu > li > a {
    padding: 6px 20px;
    color: #333;
  
}

/* HERO-CAROUSEL */

.carousel .item {
    background-color: #777;
}
.carousel-inner img {
    width: 100%;
    max-height: 500px;
}

.carousel-control {
    text-shadow: none;
}

.carousel-control .glyphicon-chevron-right,
.carousel-control .glyphicon-chevron-left {
    font-size: 36px;
}

.carousel-indicators li {
    width: 13px;
    height: 13px;
    border: 1px solid #e8e8e8;
    -moz-box-shadow: 0px 1px 5px #888888;
    -webkit-box-shadow: 0px 1px 5px #888888;
    box-shadow: 0px 1px 5px #888888;


}

.carousel-indicators .active {
    width: 14px;
    height: 14px;
    background: #f5f5f5;
}


/* BREADCRUMB */

.top-status {
    background-color: #f6f5f5;
    border-bottom: 1px solid #edebeb;
}

.breadcrumb {
    padding: 2px 0;
    margin: 0;
    overflow: hidden;
    color: #333;
    font-size: 14px;
    border: 0 none;
    border-radius: 0;
    box-shadow: none;
}

.breadcrumb a {
    display: inline-block;
    font-size: 14px;
    color: #444;
    margin: 0;
    padding: 5px 5px 0 5px;
}


/* MIDDLE CONTENT */

.content {
    width: 100%;
    padding: 0;
    margin: 20px 0 0 0;
    background-color: white;
}

.content .parent {
    width: 100%;
    margin: 0;
    float: left;
}

.content .parent .middle {
    margin: 0 314px 0 0;
}

.content .sidebar {
    width: 314px;
    float: left;
    padding: 0;
    margin: 0 0 0 -314px;
}

/* SEARCH MIDDLE */

.form-control {
    border-radius: none;
}

.form-bg {
    background: #f6f5f5;
    border-bottom: 1px solid #e9e8e8;
    padding-top: 20px;
    padding-bottom: 10px;
}



#search_form_responsive_mod {
    padding: 0;
 }
    
#search_form_responsive_mod input[type='text'], 
#search_form_responsive_mod select {
    height: 50px;
    padding: 10px;
    margin: 5px 5px 0 0;
    border-color: #e8e8e8;
    border-radius: 0;
    box-shadow: none;
}

#search_form_responsive_mod .form-group .form-control {
    width: 100%;
    max-width: 100%;
}

#submit_search, #filter_search {
    height: 50px;
    margin: 5px 5px 0 0;
    padding-right: 4px;
    padding-left: 4px;
    width: 100%;
    color: white;
    background-color: #a21616;
    border-radius: 2px;
    border: 0 none;
}

.nopad {
    padding-right: 10px;
    padding-left: 10px;
}

#submit_search:hover, 
#submit_search:focus {
    background-color: #901414;
    
}

#filter_search {
    background-color: #222;
}

#filter_search:hover,
#filter_search:focus {
    background-color: #111;   
}

#search_form_responsive_mod_extra {
     margin: 25px 0 15px;
}

/* HEADER TEXT */

h1.page-header {
    border: 0 none;
    font-family: 'Yrsa', serif;
    color: #222;
    font-size: 34px;
    display: inline-block;
    padding-bottom: 5px;
    position: relative;  
    margin: 20px 0 10px;
}

h1.page-header::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    border-bottom: 3px solid #a21616;
}

p.text-header {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #272929;
    line-height: 24px;
    margin-top: 10px;
}

/* BOOTSTRAP ISSUE MARGIN HACK */

.row {
    margin-left: 0;
    margin-right: 0;
}

.container .row {
    margin-left: -15px;
    margin-right: -15px;
   
}


/* BOXS' LAYOUTS */

#box1 {
    padding-top: 8px;
}

.box-main2 {
    margin: 0;
    padding: 10px 0;
    background: white;
}

.box-main2 .media-body h4  a {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;   
    font-weight: 700;
    color: #222;
}

.box-main2 p small a {
    color: #333;
    font-size: 12px;
    font-weight: 700;
}

.box-main2 .box-header img {
    position: absolute;
    top: 12px;
    right: 6px;
    left: auto;
    border: 0;
}

.box-main2 .box-body .box-content {
    text-align: left;
}

.box-main2 .box-body .box-content #content {
    margin: 0;
    padding: 0;
}

.box-main2 .box-header h1 {
    text-align: left;
    margin: 20px 10px 10px;
    padding: 0 0 0 5px;   
}

.box-main2 p {
    margin: 15px 5px;
    padding: 0;
}

.box-main2 ul.box_list {
    width: 100%;
    margin: 0;
    padding: 0;
}

.box-main2 ul.box_list li.box_list {
    width: auto;
    font-size: 12px;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    background: transparent url(./images/arrow2.png) no-repeat scroll 0 2px;
    padding: 2px 0 0 20px;
    margin: 0;
}

.box-main2 ul.box_list ul.box_list {
    margin-top: 5px;
}

.box-main2 li.box_list li.box_list a {
    line-height: 1em;
    font-size: 0.9em;
    color: #7698C2;
}


.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: none;
}

.panel-body {
    padding: 15px;
}

.panel-heading {
    padding: 10px 15px;
    border: 0 none;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.panel-default-my {
    border: 1px solid #e9e8e8;
    background: #f8f7f7;
}
.panel-default-my > .panel-heading {
    background: #f8f7f7;
    border: 0 none;
}

.panel-default-my > .panel-heading  h3.panel-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;   
    font-weight: 700;
    color: #222;
    padding-top: 10px;
}

.panel-default-my > .panel-heading + .panel-collapse > .panel-body {
    border: 0 none;
}
.panel-default-my > .panel-heading .badge {
    color: #f5f5f5;
    background-color: #333;
}
.panel-default-my > .panel-footer + .panel-collapse > .panel-body {
    border: 0 none;
}

.panel-mlocations {
    border: 0 none;
    background: #fff;
    padding: 0;
}

.panel-mlocations h4  a {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;   
    font-weight: 700;
    color: #222;
    padding: 0;
}


.panel-mlocations img {
    width: 96%;
    margin: 0 auto;
}

.panel-mlocations .panel-body {
    border: 0 none;
    padding: 0 5px;
}

#main-tabs {
    padding: 0;
    margin: 20px 0 0 0;
    box-shadow: none;
    font-size: 14px;
    color: #222222;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
}

#main-tabs p.description {
    padding: 10px 0 20px;
}

#main-tabs .thumbnail {
    border: 1px solid #e9e8e8;
    background-color: #f9f8f8;
    padding: 8px;
}

#main-tabs .nav-tabs {
    border: 0 none;
    background: #222222;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    padding-bottom: 1px;
    color: #888;
}


#main-tabs .nav-tabs > li.active > a {
    background: #c52929;
    color: white;
}

#main-tabs .nav-tabs > li > a {
    color: #999;
}

#main-tabs .nav-tabs > li > a,
#main-tabs .nav-tabs > li.active > a,
#main-tabs .nav-tabs > li.active > a:hover,
#main-tabs .nav-tabs > li.active > a:focus,
#main-tabs .nav-tabs > li > a:hover,
#main-tabs .nav-tabs > li > a:focus {
    border: 0 none;
    border-radius: 0;
    font-size: 15px;
    margin-right: 0;
    padding: 18px 15px;
}

#main-tabs .nav-tabs li.active a.btn-primary-black {
    background: #c52929;
    color: white;
    box-shadow: none;
    font-size: 15px;
}

#main-tabs .nav-tabs li a.btn-primary-black {
    background: #222;
    color: #888;
    box-shadow: none;
    font-size: 15px;
}

#main-tabs .nav-tabs li.active a:hover {
    background: #b52323;
    color: white;
    box-shadow: none;
    font-size: 15px;
}

#main-tabs .nav-tabs li a:hover {
    background: #b52323;
    color: #ffffff;
    box-shadow: none;
    font-size: 15px;
}

#main-tabs ul.box_list li.box_list {
    margin-bottom: 20px;
}

/* LISTINGS INNER CONTENT */

#main-tabs h4 a {
    font-size: 16px;
    color: #222222;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    padding: 0 0 4px 0;
    margin-bottom: 10px;
}

.listing_hot {
    color: red;
    font-size: 9px;
}

.listing_updated {
    color: green;
    font-size: 9px;
}

.listing_new {
    color: #222;
    font-size: 9px;
}

.listing_sidebox_title {
    font-size: 16px;
    color: #222222;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    padding: 0 0 4px 0;
    margin-bottom: 10px;
 }

.listing_sidebox_title:hover {
    color: #a21616;
}

.listing_sidebox_description {
    font-size: 14px;
    color: #222222;
    font-weight: 400;
    padding: 5px 0;
    font-family: 'Open Sans', sans-serif;
}

.listing_sidebox_details {
    font-size: 10px;
    color: #222;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
}

/* BUTTONS */

.btn-my,
a.btn-my {
    background: #222;
    border: 0 none;
    box-shadow: none;
    color: #fff;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    padding: 8px 14px;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease-out 0s;
}

.btn-my:hover {
    background: #111;
    color: white;
}

.btn-top {
    display: none;
    cursor: pointer;
    overflow: hidden;
    position: fixed;
    right: 10px;
    bottom: 10px;
    text-align: center;
    border: none;
    opacity: 0.7;
    background: transparent;
}

.fa-bot {
    font-size: 40px !important;
    color: #222;
}


.btn-def-main {
    padding: 8px 10px;
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    border-radius: 2px;
}


.btn-main-dark {
    color: #fff;
    background-color: #222;
    border: 0 none;
}

.btn-main-dark:focus,
.btn-main-dark.focus {
    color: #fff;
    background-color: #111;
    border: 0 none;
}

.btn-main-dark:hover {
    color: #fff;
    background-color: #111;
    border: 0 none;
}

.btn-main-dark:active,
.btn-main-dark.active,
.open > .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #222;
    border: 0 none;
}


.btn-main-red {
    color: #fff;
    background-color: #a21616;
    border: 0 none;
}

.btn-main-red:focus,
.btn-main-red.focus {
    color: #fff;
    background-color: #921515;
    border: 0 none;
}

.btn-main-red:hover {
    color: #fff;
    background-color: #921515;
    border: 0 none;
}

.btn-main-dark:active,
.btn-main-dark.active,
.open > .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #a21616;
    border: 0 none;
}


.btn-primary {
    color: #fff;
    background-color: #a21616;
    border: 0 none;
}

.btn-primary:focus,
.btn-primary.focus {
    color: #fff;
    background-color: #921515;
    border: 0 none;
}

.btn-primary:hover {
    color: #fff;
    background-color: #921515;
    border: 0 none;
}


/* FEATURED LISTINGS SLIDER */

.flistings-bg {
    background: #f6f5f5;
    padding: 40px 0 80px;
    margin-top: 20px;
}

.fslider-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;   
    font-weight: 700;
    color: #222;
    border: 0 none;
}

.listing_results_slider_wrapper {
    padding: 0;
    margin: 0;
    width: 100%;
    background: transparent;
}

ul.listing_results_slider {
    margin: 0;
    padding: 0;
}

li.listing_results_slider {
    font-size: 14px;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    height: auto;
    padding: 0;
    margin: 0;
    background: white;
    border-radius: 4px;
    padding: 8px;
    border: 1px solid #e9e8e8;
}



.listing_results_slider .listing_title {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;   
    font-weight: 600;
    color: #222;
}

.featured_listings .bx-wrapper img {
     margin-bottom: 15px;
}


.listing_results_slider .title {
    padding-bottom: 10px;
    height: auto;
    min-height: 45px;
    overflow: hidden;
}

.listing_results_slider .address {
    padding-bottom: 5px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #666;
    font-size: 14px;
    height: auto;
    min-height: 90px;
}

.listing_results_slider .rating {
    padding-bottom: 5px;
}

.listing_results_slider .description {
    padding-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #222;
    font-size: 15px;
}

/* FOOTER */

.mfooter {
    background: #222222;
    padding-top: 35px;
    padding-bottom: 35px;
}

.mfooter h4 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 22px;
    margin-bottom: 30px;
}

.mfooter h5 a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #b01717;
    font-size: 18px;
}

.mfooter p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
}

.ftel {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    color: #fff;
    font-size: 18px;
    letter-spacing: 1px;
}

.mfooter p a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #fff;
    font-size: 16px;
}


.bfooter {
    background: #1b1a1a;
    padding-top: 15px;
    padding-bottom: 15px;
    color: white;
}

.bfooter  p {
    padding: 20px 0;
    font-size: 16px;
}


.featured_listings .bx-wrapper img {
        height: 200px;
        width: 100%;
        max-height: 200px;
}

/* SEARCH RESULTS PAGE */

.box-main2 p.srpad {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.listing_results_result {
    border: 1px solid #e9e8e8;
    background: #f9f8f8;
}

.listing_results_result:nth-child(even) {
    border: 1px solid #e9e8e8;
    background: #fff;
}

.listing_results_result .panel-body {
    padding: 8px;
}

.listing_results_result  h4 a {
    font-size: 16px;
    color: #222;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700; 
}

.listing_results_result .srthumb {
    position: relative;
}

.listing_results_result .label-my {
    position: absolute;
    top: 8px;
    left: 4px;
    color: white;
    background: #13305c;
    padding: 4px;
    font-size: 13px;
    opacity: 0.9;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    border-radius: 2px; 
}

.listing_results_result .l-my {
    background: #b12424;
    padding: 4px 2px; 
    opacity: 0.9;
    border-radius: 2px;
}

.listing_results_result .lbl-top-right {
    position: absolute;
    top: 8px;
    right: 4px;
}

.listing_results_result .lbl-bot-right {
    position: absolute;
    bottom: 8px;
    right: 4px;
}

.listing_results_result .l-my-i {
    padding: 4px 2px;
    opacity: 0.9;
    border-radius: 2px;
}

.listing_results_result .l-my-s {
    padding: 4px 2px;
    opacity: 0.9;
}

.listing_results_result .btn-mail-sm {
    background: #111;
    opacity: 0.8;
    padding: 1px 6px;
    color: white;
    border-radius: 2px;

}

.listing_results_result .btn-fav-sm {
    opacity: 0.8;
    background: #111;
    opacity: 0.8;
    padding: 1px 6px;
    color: white;
    border-radius: 2px;
}

.fa-star {
    color: #f7c300;
}

.fa-star-o {
    color: #f7c300;
}


.listing_results_result p.sr-address {
    color: #555;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    margin: 0 0 10px; 
}

.listing_results_result p.sr-items {
    color: #222;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    margin: 0 0 10px; 
}

.listing_results_result p.sr-descr {
    color: #222;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 13px;
    margin: 0; 
}

/* RESPONSIVE DEVICES */

@media screen and (max-width: 970px) {

    .vertical {
        border: 0 none;
    }

    #section .top-align {
        flex-direction: column;
    }

    #section .top-align  .text-top-left {
        display: flex;
        justify-content: center;
        padding: 5px 0 10px;

    }

    #section .top-align > .text-top-right {
        justify-content: center;
        padding: 0 0 5px;
    }

    #section .fstrong {
         text-align: center;
    }

    #section .top-align .text-top-left a img {
        width: 100%;
        height: auto;    
    }
}

@media screen and (max-width: 780px) {

    #section .top-align .text-top-right {
        display: flex;
        justify-content: center;
    }
    
}


@media screen and (min-width: 700px) {
    .featured_listings .bx-wrapper img {
        height: 200px;
        width: 100%;
        max-height: 200px;
    }

    ul.listing_results_slider {
        display: flex;
    }

    li.listing_results_slider {
        width: 100%;
    }
}
