.featured-properties-body .hero, .featured-properties-body .featured-properties, .featured-properties-body #header, .footer .lighter-bg {
    display: none;
}
a {
    transition: all 0.2s;
}

.home-tag-line {
    color: white !important;
}

#new_search {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.selectDiv {
    position: relative;
}

.selectDiv select:hover {
    cursor: pointer;
}

.selectDiv select {
    height: 4.2rem;
    color: black;
    font-size: 18px;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Add some styling */
    width: 100%;
    padding: 0px 24px;
    background-color: #ffffff;
    background-image: none;
    -ms-word-break: normal;
    word-break: normal;
}

.selectDiv select::-ms-expand {
    display: none;
}

.selectDiv:after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 18px;
    color: #E43122;
    right: 11px;
    top: 6px;
    height: 34px;
    padding: 19px 10px 0 8px;
    position: absolute;
    pointer-events: none;
}

.selectDiv select {
    height: 4.2rem;
    color: black;
    font-size: 18px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Add some styling */

    display: block;
    width: 100%;
    max-width: 320px;
    float: right;
    margin: 8px;
    padding: 0 40px 0 10px;
    line-height: 1.75;
    background-color: #ffffff;
    background-image: none;
    -ms-word-break: normal;
    word-break: normal;
}

.searchBtnDiv {
    margin: 8px;
}

.searchBtnDiv input, .searchBtnDiv  {
    height: 4.2rem;
}

.featured-properties-body .btn-block {
    color: white;
    cursor: pointer;
    border: 1px white solid;
    border-radius: 6px;
    max-width: 250px;
    height: 4.2rem;
    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
    bottom: 32%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;

}

.featured-properties-body .btn-block:hover {
    background-color: rgba(255,255,255,0.2);
}

.btn-block .fa-home {
    color: white;
    padding-right: 0.6rem;
}

.featured-properties-body .carousel {
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: var(--buttons-color);
    height: 550px;
}

.featured-properties-body .carousel .item img {
    opacity: .5;
    height: auto;
    width: auto;
    min-width: 100%;
}
#index .carousel, #index .carousel .item img {
    height: 85vh;
}

.featured-properties-body .home-hero {
    position: absolute;
    margin: 0 auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 10%;
    text-align: center;
}

.featured-properties-body .carousel-control {
    background: none;
}
.featured-properties-body .home-category-menu {
    margin-top: 60px;
}
.featured-properties-body .home-category-menu li {
    margin-bottom: 30px;
}

.featured-properties-body .home-category-menu .btn {
    text-decoration: none;
    background: #E43122 !important;
    border: 0;
    font-weight: 400;
    letter-spacing: .5px;
    padding: 1.2rem;
}

.featured-properties-body .home-category-menu .btn:hover {
    background: #9f2217 !important;
    border: 0 !important;
}

#body_footer a.btn-primary {
    background: #E43122 !important;
}

#body_footer a.btn-primary:hover {
    background: #9f2217 !important;
    border: 0 !important;
}

.featured-properties-body .home-category-menu .btn:hover, .home-category-menu .btn:focus, .home-category-menu .btn:active {
    background: rgba(144, 144, 144, 0.8);
    border: 1px solid rgba(0, 0, 0, 0);
    color: #000;
}
.featured-properties-body .carousel-control.right {
    right: 0;
}
.featured-properties-body .section-title {
    text-transform: uppercase;
    text-align: center;
    font-size: 22px;
    overflow: hidden;
    margin: 40px;
}
.featured-properties-body .section-title:before, .section-title:after {
    position: relative;
    display: inline-block;
    height: 1px;
    width: 50%;
    background-color: #000;
    content: "";
    vertical-align: middle;
}
.featured-properties-body .section-title:before {
    right: 24px;
    margin-left: -50%;
}
.featured-properties-body .section-title:after {
    left: 24px;
    margin-right: -50%;
}
.featured-properties-body .carousel-indicators {
    bottom: 20px;
}
.featured-properties-body .carousel-indicators li {
    border: 1px solid #fff!important;
}

#google_translate_element span {
    color: #000;
}


/* ---- Menu ---- */

.featured-properties-body #main_menu {
    background-color: black !important;
    background-image: none;
    box-shadow: none;
}

.featured-properties-body .navbar-collapse.collapse {
    display: flex !important;
}

#bs-example-navbar-collapse-1 .logo {
    display: none;
}

.featured-properties-body .navbar-collapse.collapse .logo {
    display: block !important;
    flex: 1;
    margin: 15px 15px 15px 48px;
    max-width: 400px;
}

.featured-properties-body .navbar-nav {
    margin-top: auto;
    flex: 1;
}

.featured-properties-body .navbar-nav li {
    margin-bottom: 15px;
    float: right;
}

.featured-properties-body .navbar-nav li a {
    font-size: 24px;
    font-weight: 400 !important;
    border-right: 0 !important;
}

.featured-properties-body .navbar-nav li a:hover {
    color: #999 !important;
}

.featured-properties-body #main_menu .container {
    width: 100%;
}

/* ---- grid ---- */

/* clearfix */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

/* ---- grid-item ---- */

.grid-sizer,
.grid-item {
    width: 25%;
}

.grid-item {
    float: left;
    border: 5px solid #fff;
}
.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -moz-transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    -ms-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}
.item-overlay:hover {
    background-color: rgba(0,0,0,.6);
}
.item-overlay h4 {
    position: absolute;
    bottom: 15px;
    left: 50%;
    font-size: 18px;
    color: #fff;
    text-shadow: 1px 1px 11px #000;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -moz-transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    -ms-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.grid-item img {
    display: block;
    max-width: 100%;
}
#int-category-menu {
    position: absolute;
    top: 160px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
ul.hoz-menu {
    margin-top: 100px;
    padding: 0;
    text-align: center;
}
ul.hoz-menu li {
    display: inline-block;
    margin-right: 15px;
    text-align: center;
}
ul.hoz-menu li a {
    border: 1px solid #fff;
    color: #fff;
    float: left;
    line-height: normal;
    text-transform: uppercase;
    min-width: 200px;
    padding: .75rem;
    font-size: 18px;
}
ul.hoz-menu li a:hover {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0);
    color: #000;
    text-decoration: none;
}
#body_footer > .container > .row .row:last-child {
    margin-top: -25px!important;
    position: absolute!important;
    width: 100%;
}
.social-container {
    margin-top: 40px;
}

/* Search page */

.search-results .filters-no-results {
    display: flex;
    flex-direction: column-reverse;
}

@media (max-width: 480px) {
    .home-tag-line {
        font-size: 25px;
    }
}

@media (width: 768px) {
    .featured-properties-body .navbar-toggle {
        padding: 9px 15px;
    }

    .featured-properties-body .navbar-header {
        width: 100%;
    }
    .featured-properties-body .navbar-brand {
        height: auto !important;
        padding: 10px 0 10px 15px !important;
        width: 100% !important;
    }
    .featured-properties-body .navbar-brand img {
        width: 75% !important;
        max-width: 50% !important;
        margin: auto;
        padding-left: 20px !important;
    }
    .featured-properties-body .home-hero {
        margin-top: 120px !important;
    }
}


@media (max-width: 768px) {
    .mobileLogoContainer {
        width: 300px;
    }

    .collapse.in {
        display: block !important;
    }

    .collapse {
        display: none !important;
    }

    #bs-example-navbar-collapse-1 {
        width: 100%;
        margin: 0;
    }

    #bs-example-navbar-collapse-1 .logo {
        display: none !important;
    }

    .featured-properties-body .nav.navbar-nav {
        margin: auto;
    }

    .featured-properties-body .navbar-nav {
        display: flex;
        flex-direction: column-reverse;
    }

    .featured-properties-body .navbar-brand.visible-xs {
        display: block !important;
    }

    .featured-properties-body .navbar-brand.visible-xs {
        padding: 10px 0;
        width: 75%;
    }

    .featured-properties-body .navbar-brand img {
        width: 75% !important;
        margin: auto;
    }

    #new_search {
        flex-direction: column;
    }

    .searchInputDiv,
    .searchInputDiv input,
    .selectDiv, 
    .selectDiv select, 
    .searchBtnDiv, 
    .searchBtnDiv input {
        width: 300px !important; 
        margin: 4px 0;
    }

    .selectDiv:after {
        padding: 15px 10px 0 8px;
    }

    .featured-properties-body .home-hero {
        padding-top: 5%;
    }

    .social-container {
        margin: 30px 0;
    }

    .featured-properties-body .btn-block {
        position: relative;
        max-width: 300px;
        margin: 1.2rem auto 0 auto;
    }

    .read-more.downArrow {
        display: none !important;
    }

    #body_footer > .container > .row .row:last-child {
        position: relative!important;
        margin-top: 30px!important;
    }
    #body_footer > .container > .row .text-right {
        text-align: center!important;
    }
    #body_footer a.btn-primary {
        font-size: 12px !important;
    }

    ul.hoz-menu {
        margin-top: 0px;
    }
    .featured-properties-body .home-hero {
        width: 90%;
        margin-top: 15%;
    }
    .featured-properties-body #main_menu {
        margin: 0;
    }
    .featured-properties-body .home-category-menu {
        margin-top: 20px;
    }
    .featured-properties-body .home-category-menu .btn {
        font-size: 18px;
        padding: 3px 10px;
    }
    .featured-properties-body .carousel {
        height: 100vh !important;
    }
    .featured-properties-body .carousel .item img {
        height: 100vh !important;
    }
    .featured-properties-body .home-category-menu li {
        margin-bottom: 10px;
    }
    .grid {
        height: auto;
    }
    .grid-item {
        width: 100%;
        position: relative!important;
        float: none;
        left: 0!important;
        top: 0!important;
    }


    /* Main Menu */

    .featured-properties-body #main_menu {
        background: black!important;
        background-color: black!important;
        position: absolute!important;
        box-shadow: none!important;
        width: 100%;
        margin: 0;
    }
    .featured-properties-body #main_menu .container {
        width: auto;
    }
    .featured-properties-body .navbar-toggle {
        display: block;
        border: 0;
        position: absolute;
    }
    .featured-properties-body .navbar-toggle:hover, .featured-properties-body .navbar-toggle:focus, .featured-properties-body .navbar-toggle:active {
        background: none;
    }
    .featured-properties-body .icon-bar {
        background: #fff;
        height: 3px;
        width: 22px;
    }
    .featured-properties-body .navbar-collapse {
        width: 350px;
    }
    .featured-properties-body .navbar-collapse.collapse {
        display: none!important;
    }
    .featured-properties-body .navbar-collapse.collapse.in {
        display: inline-block!important;
    }
    .featured-properties-body #main_menu .navbar-nav {
        background: #000;
        width: 100%;
    }
    .featured-properties-body #main_menu li {
        float: none;
    }
    #main_menu li a {
        border-right: 0;
        text-align: center;
    }
    .featured-properties-body #main_menu li a:hover {
        color: #999 !important;
    }
    .featured-properties-body #main_menu li:last-child a {
        border-bottom: 0!important;
    }

    .navbar-brand.visible-xs {
        padding: 10px 0;
        width: 75%;
    }

    .navbar-brand img {
        width: 75% !important;
        max-width: 100% !important;
        margin: auto;
    }

    .mobileLogoContainer {
        width: 100%;
        text-align: center;
    }

    .code-search-form.visible-xs {
        display: none !important;
    }

    /* footer */

    #body_footer .social-links {
        text-align: center;
    }
    #body_footer img {
        margin-bottom: 15px;
    }

    #int-category-menu {
        width: 100%;
    }
}


@media (min-width: 769px) and (max-width: 992px) {
    #new_search {
        flex-direction: column;
    }

    .selectDiv, .selectDiv select, .searchBtnDiv, .searchBtnDiv input {
        width: 300px !important;
        margin: 4px 0;
    }

    .navbar-nav  li {
        margin-bottom: 5px !important;
    }

    .featured-properties-body .navbar-nav  li a {
        font-size: 20px !important;
        padding-right: 10px !important;;
        padding-left: 10px !important;;
    }

    .navbar-collapse.collapse .logo {
        max-width: 240px !important;
        height: 50px;
        background-size: contain;
    }

    .featured-properties-body .btn-block {
        position: relative !important;
        max-width: 300px;
        margin: 1.2rem auto 0 auto;
    }

    #body_footer a.btn-primary {
        font-size: 15px !important;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .featured-properties-body .navbar-nav  li a {
        font-size: 22px !important;;
        padding-right: 13px !important;;
        padding-left: 13px !important;;
    }
}
