.banner_section .logoOnly img {
    max-width: 480px;
    display: none;
}
header nav.navbar.mainHeader{
    background: #fff !important;
}
.banner_section .banner_info .banner_subtitle {
    font-size: 60px !important;
}

.banner_section .searchBoxContainer {
    position: absolute;
    bottom: 285px;
}
.home_search_container .search_box .input-group{
    background: transparent;
}

/* Border only on input */
.home_search_container .search_box .form-control.addressSearchBox{
    border: 1px solid #dcdcdc !important;
    border-right: 0 !important;
    border-radius: 8px 0 0 8px !important;
    /* height: 56px !important; */
    height: 46px !important;
    padding: 0 20px !important;
    box-shadow: none !important;
}

/* Remove border from button wrapper */
.home_search_container .search_box .input-group-text{
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Search button */
.home_search_container .search_box .input-group-text button{
    width: 56px !important;
    /* height: 56px !important; */
    height: 46px !important;
    border: none !important;
    background: #ff5b14 !important;
    color: #fff !important;
    border-radius: 0 8px 8px 0 !important;
}

/* Remove Bootstrap input-group styling */
.home_search_container .search_box .input-group{
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    align-items: center;
}

/* Remove focus glow */
.home_search_container .search_box .form-control:focus{
    box-shadow: none !important;
    outline: none !important;
}

/* .banner_section .banner_info {
    padding-left: 40px;
} */

@media only screen and (min-width: 769px) {
    #page > header nav.navbar {
        top: -120px;
        animation: navDropIn 0.5s forwards;
    }
}

#page .banner_section .home_search_container {
    /*margin-left: -1000px;
            opacity: 0;*/
    transition: all 1s;
    /* z-index: 999; */
    z-index: 99;
    position: relative;
}

#page .banner_section .home_search_container .logoOnly img {
    transition: all 0.5s;
    margin-left: calc(50% - 150px);
    max-width: 300px;
    margin-top: -65%;
}

.banner_section .banner_info p {

    margin-top: 0px;
    margin-bottom: 15px;

}


#page .banner_section .home_search_container .searchBox {
    transition: all 0.8s;
    margin-top: 100px;
}

.banner_section {
    background: #002e59;
}

.searchBox .searchBoxRight {
    /*margin-top: -70px;*/
    margin-top: 5px;
    margin-left: 250px;
}

@media only screen and (max-width: 1440px) {
    .homeCustomSlider.end {
        transform: scale(1);
    }

    .banner_section {
        position: relative;
    }

    .banner_section .banner_info {
        /*margin-top: 300px;*/
    }

    .banner_section .banner_info {
        padding-left: 30px;
    }

    .banner_section .banner_info .banner_subtitle {
        font-size: 38px !important;
    }

    #page .banner_section .home_search_container .logoOnly img {
        margin-top: -65%;
    }

    .searchBox .searchBoxRight {
        /*margin-top: -55px;*/
        margin-top: 5px;
        margin-left: 100px;
    }

}

@media only screen and (max-width: 1380px) {
    .homeCustomSlider {
        margin-top: 0px;
        transform: scale(0.4);
    }

    .homeCustomSlider.end {
        transform: scale(1);
    }
}

@media only screen and (max-width: 1160px) {
    .banner_section .banner_info .banner_subtitle {
        font-size: 32px !important;
    }
}

@media only screen and (max-width: 1024px) {
    .homeCustomSlider {
        /*margin-top: 200px;*/
        transform: scale(0.3);
    }

    .homeCustomSlider.end {
        transform: scale(1);
    }

    .banner_section .banner_info {
        /*margin-top: 200px;*/
    }

    .banner_section {
        /* height: 720px; */
    }

    #page .banner_section .home_search_container .logoOnly img {
        margin-top: -70%;
    }

    .banner_section .banner_info {
        padding-left: 0px;
    }

    .searchBox .searchBoxRight {
        margin-left: 100px;
    }
}

@media only screen and (max-width: 991px) {
    .homeCustomSlider {
        margin-top: 100px;
        transform: scale(0.4);
    }

    .homeCustomSlider.end {
        transform: scale(1.2);
    }

    .banner_section .banner_info {
        margin-top: 150px;
    }

    .searchBox .searchBoxRight {
        margin-left: 0px;
    }
}

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

    .banner_section .banner_info .banner_subtitle {
        font-size: 30px !important;
    }

    .homeCustomSlider {
        margin-top: 0px;
        transform: scale(0.4);
    }

    .homeCustomSlider.end {
        transform: scale(1.4);
    }

    #page > header nav.navbar {
        z-index: 99;
    }

    .banner_section {
        height: 550px;
    }

    .banner_section .banner_info {
        margin-top: 75px;
    }

    #page .banner_section .home_search_container .logoOnly img {
        margin-top: -60%;
        margin-left: calc(50% - 70px);
        max-width: 140px;
    }

}

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

    #page .banner_section .home_search_container .logoOnly img {
        margin-top: -60%;
    }

    .homeCustomSlider {
        margin-top: 40px;
        transform: scale(0.4);
    }

    .homeCustomSlider.end {
        transform: scale(1.8);
    }
}

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

    #page .banner_section .home_search_container .logoOnly img {
        margin-top: -80%;
    }

    .homeCustomSlider {
        margin-top: 90px;
        transform: scale(0.4);
    }

    .homeCustomSlider.end {
        transform: scale(1.8);
    }
}

@media only screen and (max-width: 425px) {
    .homeCustomSlider {
        margin-top: 90px;
        transform: scale(0.4);
    }

    .homeCustomSlider.end {
        transform: scale(3.2);
    }

    #page .banner_section .home_search_container .logoOnly img {
        margin-top: -100%;
    }
}

@media only screen and (max-width: 320px) {
    .homeCustomSlider {
        margin-top: 90px;
        transform: scale(0.4);
    }

    .homeCustomSlider.end {
        transform: scale(4);
    }
}

section.banner_section {
    position: relative;
}

.homeCustomSlider.end {
    background: #000000;
}

.designed_by_top .text h2,
body.page-template-home h2 {
    font-size: 48px !important;
}

.home section.reviews .home-review-sestion1 h2 {
    font-size: 44px !important;
}

.home-our-key-section2 h2:not(.stroke) {
    font-size: 36px !important;
    margin-top: 15px;
}

.video_section .color-blue {
    color: #002e59;
}

body.page-template-home main ul.sell_ul li {
    margin-bottom: 24px !important;
}

[data-aos].aos-animate img {
    transition: all 0.5s;
}

.home-reader-comments-section1 .owl-nav::before,
.home-reader-comments-section1 .owl-nav::after {
    display: none;
}

/* body.home main#primary {
    margin-top: -136px;
} */


header .menu .accountButtons a#dropdownMenuLink{
    border: 1px solid #9c9d9e !important;
    padding: 10px;
}

body.home section.banner_section {
    margin-top: 62px;
    margin-bottom: 250px;
}

/* body.home section.what_is_cribbed {
    margin-bottom: 250px;
} */

body.home section.owner_listed_section.owner_listed_left {
    margin-bottom: 60px;
}

.home .owner_listed_section .black_btn_div-pretitle {
    font-weight: 600;
    font-size: 22px;
    line-height: 110%;
    color: #002E59;
    margin-bottom: 14px;
}

body.home .designed_by_top {
    /* margin-top: 180px !important;
    margin-bottom: 90px; */
}

body.home .home-our-key-section {
    /* margin-bottom: 30px !important; */
}

/*** NEW CODE ***/

body.home .logoContainer {
    height: 55px !important;
    margin-top: 6px;
}

body.home .mainHeader > .container-fluid {
    padding-left: 60px;
    padding-right: 60px;
}

body.home .mainHeader .navbar-nav {
    margin-left: 0;
}

header.not-loggedin #navbarSupportedContent .menu ul#primary-menu > li {
    margin-left: 0;
    /* margin-right: 28px; */
    margin-right: 18px;
}
header #navbarSupportedContent .menu ul#primary-menu > li {
    margin-left: 0;
    margin-right: 18px;
}
header #navbarSupportedContent .menu ul#primary-menu > li:nth-child(3) {
    margin-left: 0;
    margin-right: 8px;
}


@media only screen and (max-width: 1440px) {
    
    header #navbarSupportedContent .menu ul#primary-menu > li {
        margin-right: 16px;
    }

    header #navbarSupportedContent .menu ul#primary-menu > li:nth-child(3) {
        margin-right: 5px;
    }

    
    header #navbarSupportedContent{
        margin-right: 90px;
    }
    
}

@media only screen and (max-width: 991px) {
    
    header #navbarSupportedContent{
        margin-right: 0px;
    }
    body.home .mainHeader > .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
}

body.home .mainHeader a {
    font-size: 16px;
    font-weight: 600;
    /* text-transform: uppercase; */
}

body.home .mainHeader a.signInBtn i {
    font-size: 17px;
    padding-top: 4px;
    margin-right: 8px;
}

header #navbarSupportedContent .menu ul#primary-menu > li a {
    font-size: 18px;
}

.menu-main-container ul > li.dropdown::after {
    width: 6px;
    height: 6px;
    top: 15px;
}

.home_search .search_box .input-group {
    padding: 3px;
    border-radius: 5px;
}

.home_search .search_box span.input-group-text:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.home .what_is_cribbed .cribbed-text-left {
    font-weight: 400;
    font-size: 30px;
    line-height: 140%;
    color: #002E59;
}

.home .what_is_cribbed .cribbed-text-left {
    margin-top: 10px;
}

.home .what_is_cribbed .cribbed-text-right {
    font-weight: 400;
    font-size: 40px;
    line-height: 160%;
    letter-spacing: -0.03em;
    color: #002E59;
    padding-left: 0;
}
.home .what_is_cribbed .cribbed-text-right span {
    color: #F15D22;
}

.home .what_is_cribbed .cribbed-text-right p {
    line-height: 160% !important;
}

/* body.page-template-home h2 {
    margin-bottom: 29px;
    font-size: 60px !important;
} */

body.page-template-home h2 + nav {
    margin-top: 66px;
}

.home .owner_listed_section.owner_listed_left .text {
    padding-left: 179px;
}

.home .owner_listed_section.owner_listed_right .text {
    padding-right: 179px;
}

@media only screen and (max-width: 1600px) {
    .home .owner_listed_section.owner_listed_left .text {
        padding-left: 75px;
    }
    .home .owner_listed_section.owner_listed_right .text {
        padding-right: 75px;
    }
}

@media only screen and (max-width: 1200px) {
    .home .owner_listed_section.owner_listed_left .text {
        padding-left: 25px;
        padding-right: 25px;
    }
    .home .owner_listed_section.owner_listed_right .text {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media only screen and (max-width: 767px) {
    .home .owner_listed_section.owner_listed_left .text {
        padding-left: 0;
        padding-right: 0;
    }
    .home .owner_listed_section.owner_listed_right .text {
        padding-left: 0;
        padding-right: 0;
    }
}

.home .owner_listed_section .text ul.sell_ul {
    margin-bottom: 50px;
}

.home section.owner_listed_section.owner_listed_left .text p {
    font-size: 30px !important;
}

.home section.owner_listed_section.owner_listed_left .text li,
.home section.owner_listed_section.owner_listed_right .text li {
    font-size: 20px;
}

.owner_listed_section .text a {
    padding: 14px 25px;
}
.owner_listed_section .text a i {
    font-size: 28px;
    position: relative;
    top: 3px;
    margin-left: 10px;
}

p.crib_letter_space {
    font-size: 24px;
    line-height: 33px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #002E59;
    margin-bottom: 30px;
}

body.page-template-home main ul.sell_ul li {
    margin-bottom: 43px;
}

.owner_listed_section .text .nav-tabs {
    margin-bottom: 48px !important;
    border-bottom: 1px solid rgba(0, 46, 89, 0.2);
    padding-bottom: 2px;
}

.home .owner_listed_section ul li::before {
    margin-right: 15px;
}

.owner_listed_section .text nav #nav-tab button {
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    border-radius: 0;
}

body.home .designed_by_top {
    background-color: #17253e;
}

.calculation_details p.last-saves {
    font-size: 60px;
    line-height: 38px;
    color: #F15D22;
    text-align: center;
    margin-top: 15px;
}

.calculateWithoutCribbed .persent input.fee:focus {
    color: #fff;
}

.home-our-key-section .home-our-key-section2 .stroke {
    -webkit-text-fill-color: initial;
    -webkit-text-stroke-width: initial;
    -webkit-text-stroke-color: initial;
}

.home .home-our-key-section .home-our-key-section2 h2 span {
    color: #002E59;
    -webkit-text-fill-color: white;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #002E59;
}

.home .home-our-key-section {
    max-width: 100%;
}

.home-reader-comments-section1 {
    background-color: #ECF3FF;
}

.home-reader-comments-section1-style-1 {
    padding-top: 0;
}

@media (max-width: 992px) {
    .home-reader-comments-section1 > .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 992px) {
    .home-reader-comments-section1 > .container > .row > div {
        position: relative;
        /* padding-top: 160px;
        padding-bottom: 120px; */
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

@media (max-width: 992px) {
    .home-reader-comments-section {
        padding-top: 20px;
    }
    /* .home-reader-comments-section1 > .container > .row > .col-lg-5 {
        padding-bottom: 50px;
    }
    .home-reader-comments-section1 .home-reader-comments-section1-style-1 {
        padding-top: 70px;
    } */
}

.home-reader-comments-section1 .home-reader-comments-section1-style-1 h3 {
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #002E59;
    margin-bottom: 30px;
}

.home-reader-comments-section1 .home-reader-comments-section1-style-1 p {
    font-weight: 600;
    font-size: 20px;
    line-height: 27px;
    letter-spacing: 0.01em;
    margin-bottom: 0;
}


.home-reader-comments-section1 .home-reader-comments-section1-style-1 h2 {
    font-weight: 400;
    font-size: 60px !important;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #002E59;
    max-width: 100% !important;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .home .home-reader-comments-section1 .home-reader-comments-section1-style-2 .broker-img {
        max-width: 100% !important;
        position: static;
    }
}


@media (min-width: 992px) {
    .home .home-reader-comments-section1 .home-reader-comments-section1-style-2 .broker-img {
        /* right: calc((100vw - 960px) / 2 * -1 + 60px); */
        right: calc((100vw - 960px) / 2 * -1 + 8px);
    }
}

@media (min-width: 1200px) {
    .home .home-reader-comments-section1 .home-reader-comments-section1-style-2 .broker-img {
        right: calc((100vw - 1140px) / 2 * -1 + 8px);
    }
}

@media (min-width: 1400px) {
    .home .home-reader-comments-section1 .home-reader-comments-section1-style-2 .broker-img {
        right: calc((100vw - 1320px) / 2 * -1 + 8px);
    }
}

.home .home-reader-comments-section1 .home-reader-comments-section1-style-2 .broker-img {
    top: 0;
    height: 100%;
    max-width: 720px;
}

.home .home-reader-comments-section1 .home-reader-comments-section1-style-2 .broker-img img {
    display: block;
    height: 100%;
    object-fit: cover;
}

@media screen and (min-width: 768px) {
    .home .comments {
        margin-bottom: 100px;
    }
}

.home .commnents > .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

@media screen and (min-width: 992px) {
    .home .commnents > .container-fluid {
        padding-left: 60px;
        padding-right: 60px;
    }
}

.home-reader-comments-section1 .home-reader-comments-section2 {
    padding: 0 0 70px !important;
}

.home-reader-comments-section1 .home-reader-comments-section2 > .white {
    position: relative;
}
.home-reader-comments-section1 .home-reader-comments-section2 > .white:before {
    content: '';
    position: absolute;
    z-index: 1;
    top: auto;
    bottom: 9px;
    left: 0;
    width: 89%;
    height: 1px;
    background: #002E59;
    opacity: 0.2;
}

.home-reader-comments-section1 .home-reader-comments-section2 > .white:after {
    content: '';
    position: absolute;
    z-index: 1;
    top: auto;
    bottom: 9px;
    left: 0;
    width: 33%;
    height: 3px;
    background: #002E59;
}

@media (max-width: 1400px) {
    .home-reader-comments-section1 .home-reader-comments-section2 > .white:before {
        bottom: 0;
        width: 85%;
    }
    .home-reader-comments-section1 .home-reader-comments-section2 > .white:after {
        bottom: 0;
    }
}

@media (max-width: 1200px) {
    .home-reader-comments-section1 .home-reader-comments-section2 > .white:before,
    .home-reader-comments-section1 .home-reader-comments-section2 > .white:after {
        display: none;
    }
}

.home-reader-comments-section1 .home-reader-comments-section2 h2 {
    margin-bottom: 27px;
    font-weight: 400;
    font-size: 30px !important;
    line-height: 110%;
    color: #002E59;
    font-family: 'Open Sans', sans-serif !important;
}

.home-reader-comments-section1 .home-reader-comments-section2 .owl-stage-outer .owl-stage p {
    quotes: "â€œ" "â€";
}

.home-reader-comments-section1 .home-reader-comments-section2 .owl-stage-outer .owl-stage p:before {
    content: open-quote;
}

.home-reader-comments-section1 .home-reader-comments-section2 .owl-stage-outer .owl-stage p:after {
    content: close-quote;
}

.home .home-reader-comments-section1 .home-reader-comments-section2 .sa_owl_theme .owl-nav .owl-prev {
    right: 65px;
}

.home .home-reader-comments-section1 .home-reader-comments-section2 .sa_owl_theme .owl-nav .owl-prev:before,
.home .home-reader-comments-section1 .home-reader-comments-section2 .sa_owl_theme .owl-nav .owl-next:before {
    font-size: 22px;
}

.video_section .video_text a {
    padding: 16px 25px;
}

.video_section .video_text a i {
    font-size: 28px;
    position: relative;
    top: 3px;
    margin-left: 10px;
}

.white_btn,
.black_btn {
    transition: 0.3s;
}

.white_btn i,
.black_btn i {
    transition: 0.3s;
}

.white_btn:hover i {
    color: #fff !important;
}

.black_btn:hover i {
    color: #fff !important;
}

.home .black_btn:hover .fa-arrow-right-long {
    color: #fff !important;
}

.realestate_news .search_box input:valid + span.input-group-text:last-child button {
    opacity: 1;
}

.realestate_news .search_box span.input-group-text i {
    color: #002E59;
}
.realestate_news .search_box span.input-group-text:last-child button {
    color: #fff !important;
    font-size: 18px;
    background: none;
    padding: 10px 18px;
    border-radius: 4px;
    background: #17253E;
    opacity: 0.2;
}


.display-only-mobile{display: none !important;}
@media (max-width: 767px) {
    body.home section.banner_section {
        margin-bottom: 40px;
    }
    .home .owner_listed_section ul li {
        margin-left: 25px;
    }
    .home .owner_listed_section ul li::before {
        margin-left: -25px;
        margin-right: 10px;
    }
    .designed_by_top .text h2, body.page-template-home h2, .designed_by_top .calculate h3 {
        font-size: 36px !important;
    }
    .home-reader-comments-section1 .home-reader-comments-section1-style-1 h2{
        font-size: 36px !important;
        
    }
    .footer .menu-important-link-container ul li{
        padding: 0px;
    }
    .footer .menu-important-link-container ul li a{
        padding: 8px 6px !important;
    }
    .no-padding-m{ padding: 0px; margin: 0px;}
    .display-only-desktop{display: none !important;}
    .display-only-mobile{display: block !important;}
}

.banner_section {
    height: 100vh;
}

.banner_section__background {
    position: absolute;
    height: 100%;
    width: 100%;
}

.banner_section__background img {
    height: 100%;
    transform: scale(0.5);
    object-fit: cover;
    animation: bannerGrow 0.5s forwards;
}

.searchBoxContainer {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.searchBox .d-lg-flex {
    align-items: flex-end;
}

@media (max-width: 990px) {
    .banner_section {
        height: calc(100vh - 115px);
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .banner_section__background {
        background-color: black;
    }
    
    .banner_section__background img {
        opacity: 0.5;
    }  
}

@media (min-width: 1200px) and (max-width:1360px) {
    header #navbarSupportedContent .menu ul#primary-menu > li a{
        font-size: 14px;
    }
    body.home .mainHeader a{
        font-size: 13px;
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: .2rem;
        padding-left: 0.2rem;
    }
}

@media (min-width: 1361px) and (max-width:1440px) {
    header #navbarSupportedContent .menu ul#primary-menu > li a{
        font-size: 15px;
    }
    body.home .mainHeader a{
        font-size: 14px;
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: .4rem;
        padding-left: 0.4rem;
    }
}
@media (min-width: 1441px) and (max-width:1550px) {
    header #navbarSupportedContent .menu ul#primary-menu > li a{
        font-size: 15px;
    }
    body.home .mainHeader a{
        font-size: 15px;
    }
}

@keyframes bannerGrow {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from: {
        opacity: 0%;
    }
    to {
        opacity: 100%;
    }
}

@keyframes navDropIn {
    0% {
        top: -120px;
    }

    100% {
        top: 0px;
    }
}