.home_banner {
    background-image: url(../../../images/backgrounds/hero_1600x660_asteinvista.jpg);
}

.cta_banner {
    background-image: url(../../../images/backgrounds/le_nostre_aste_1600x703.png);
}

.cta_banner2 {
    background-image: url(../../../images/backgrounds/come_partecipare_1600x766.png);
}

.cta_banner3 {
    background-image: url(../../../images/backgrounds/banner_whatsapp/sfondo_palazzo_1600x371.png);
}

.cta-banner3:before{
    background-image: none;
}

.ad {
    max-width: none;
}

.li_scopri{
    width: 10px !important;
    height: 10px !important;
    font-size: 30px !important;
}


.ul_list_style{
    font-size: 0;
}

.about-box-1 .list-style1 li{
    font-size: 20px !important;
}

.btn-custom{
    background-color: #c51d3f;
    color: white;
}

/*.advance-search-tab .nav-link{
    margin-right: 0;
    padding-right: 65px;
    padding-left: 30px;
}

.nav-tabs .nav-link.active{
    background-color: #fff;
    border-bottom: 2px solid #797571
}*/

@media(max-width:480px){
    .advance-search-tab .nav-item:last-child{
        background-color: #d9dee0;
    }
    .advance-search-tab .nav-link{
        margin-right: 0;
        padding-right: 4px;
        padding-left: 30px;
    }
    .cont{
        padding: 1px;
    }

    .advance-content-style3.at-home5 .form-control{
        border: 1px solid #ddd;
        height: 49px;
    }

    .inner-banner-style4 .hero-title{
        padding: 23px;
        font-size: 42px;
    }

}

@media (max-width: 991px){

    .form_buttons{
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .form_buttons > div{
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .form_buttons button{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    .mappa_padding{
        padding: 0 !important;
    }
}



/*.nav-tabs .nav-link{
    background-color: #d9dee0;
}

.nav{
    flex-wrap: unset;
}*/

.advance-style4 .nav.nav-tabs {
    max-width: none;
    border-bottom: 1px solid #FEF4F3;
}

.nav-item{
    width: 50%;
}

.advance-style4 .nav-link{
    color: #b6b5b5;
}


.advance-style4 .nav-link.active{
    border-bottom: 3px solid #c51d3f;
}

body .irs--flat .irs-bar {
    background-color: #c51d3f !important;
}

.irs-from, .irs-to {
    background: #c51d3f !important;
}

.advance-style4 .tab-content{
    padding: 20px 20px 20px 20px;
}

.open-btn {
    height: 40px !important;
    padding: 0 24px !important;
    border-radius: 50px !important;
    border: 1px solid #ddd;
    background-color: #fff;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    box-shadow: none;
}

.open-map2{
    height: 800px;
    width: 100%;
    z-index: 1
}


.draw-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 10px 20px;
    border-radius: 8px;
}


.apartment-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 991.98px) {
    .apartment-img {
        height: 150px;
    }
}
.img-fluid-card {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.item {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.apartment-style1 {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

/*@media (max-width: 991.98px) {
    .search-box {
        width: 150%;
        border-radius: 12px;
        padding: 20px;
        background-color: white;
    }
}


@media (min-width: 992px) {
    .search-box {
        position: absolute;
        left: 50%;
        bottom: 47px;
        transform: translateX(-50%);
        max-width: 1100px;
        padding: 30px;
        z-index: 10;
    }
}*/

@media (max-width: 991.98px) {
    .home-banner-style4 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        height: auto !important;
        width: 100%;
    }

    .home_banner {
        height: auto !important;
        background-size: cover;
        background-position: center;
        padding: 20px 0 !important;
    }


    .advance-search-tab .tab-content {
        border-radius: 0 0 12px 12px;
    }

    .form-check-input {
        width: 2em;
        height: 2em;
    }

    .layout-3{
        padding-top: 0;
    }

}

@media(min-width: 400px){
    .advance-search-tab{
        max-width: 1175px;
    }
}

@media(min-width: 768px){
    .form_buttons{
        display: flex;
    }

    .form_buttons .mappa{
        padding: 8px 13px;
    }
    .form_buttons .effettua_ricerca{
        padding: 8px 13px;
    }
    .thumb-img{
        height: 300px;
    }

}
/*   .bdrr1 {
       border-right: none !important;
       border-bottom: 1px solid #eee;
       padding-bottom: 15px;
   }

   .border-end-sm {
       border-right: none !important;
   }
}*/

@media (max-width: 991.98px) {
    .about-box-1 .title {
        color: white;
    }

    .about-box-1 .text {
        color: white;
    }

    .about-box-1 .list-style1 ul li {
        color: white;

        i {
            background-color: white;
        }
    }




}



@media (min-width: 576px) {
    .border-end-sm {
        border-right: 1px solid #dee2e6 !important;
    }

    .layout-3{
        padding-top: 6.5rem;
    }
    .inner-banner-style4 .hero-title{
        font-size: 60px;
    }
}

.btn-mappa-hover:hover {
    color: #ffffff !important;
}

.btn-mappa-hover:hover i {
    color: #ffffff !important;
}

.apartment-style1 .apartment-content{
    padding: 10px;
}