.hero{
    height: calc(100vh - 93px);
    background-size: cover;
    background-position: bottom center;
    min-height: 900px;
}

.custom-select {
position: relative;
width: 450px;
border-bottom: 2px solid #B20933;
border-radius: 5px;
}

.custom-select select {
display: none; /*hide original SELECT element:*/
}

.select-selected {
background-color: #FFFFFF;
border-radius: 5px;
}

/*style the arrow inside the select element:*/
.select-selected:before {
position: absolute;
content: "\f107";
top: 50%;
left: 20px;
transform: translateY(-50%);
-webkit-transform: translateY(-50%);
font-family: "Font Awesome 6 Pro";
font-weight: 300;
color: #999999;
transition: .3s;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:before {
transform: rotate(180deg) translateY(50%);
transition: .3s;
}
.select-selected.select-arrow-active:after {
    content: '';
    background-color: #999999;
    width: 90%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    height: 1px;
}
.select-items{
    padding-top: 10px;
}
.select-items div{
    position: relative;
}
.select-items div:before{
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #B00134;
    border-radius: 50%;
    position: absolute;
    left: 55px;
    top: 50%;
    transform: translateY(-50%);
    transition: .3s;
    background-color: transparent;
}
.select-items div:hover:before{
    background-color: #B00134;
    transition: .3s;
}

.col-lg-4.col-md-6.transition.element-item:after{
    content: '';
    background-color: #f3f3f3;
    width: calc(100% - (var(--bs-gutter-x) * 1));
    height: auto;
    display: block;
    border-radius: 5px;
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}
/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
color: #333333;
padding: 1rem 3.5rem;
cursor: pointer;
user-select: none;
text-align: left;
font-weight: 300;
font-size: 1.3rem;
}
.select-items div{
    padding: .5rem 3.5rem .5rem 5rem;
}
/*style items (options):*/
.select-items {
position: absolute;
background-color: #fff;
top: 100%;
left: 0;
right: 0;
z-index: 99;
height: 350px;
overflow-y: scroll;
}

/*hide the items when the select box is closed:*/
.select-hide {
display: none;
}

.select-selected.select-arrow-active{
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.select-selected.select-arrow-active + .select-items{
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom: 2px solid #B20933;
} 
.btn-custom-1, .btn-custom-1:hover{
    background-color: #B20933;
    color: white;
    padding: 1.2rem;
    position: relative;
}
.filtro_services{
    border:2px solid #B20933;
    border-radius: 5px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 3rem;
    color: #B20933;
    text-align: center;
    cursor: pointer;
}
.filtro_services.is-checked{
    background-color: #B20933;
    color: #fff;
}
.swiper-button-prev, .swiper-button-next{
    bottom:0;
    top: inherit;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border:1px solid #B20933;
}
.swiper-button-next{
    right: inherit;
    left: 80px;
}
.swiper-button-prev:after, .swiper-button-next:after{
    font-size: 1.6rem;
    color: #B20933;
}
.preloader{  width: 100%;
    height: 100vh;
    overflow-y: hidden;
    position: relative;
    background: #f5f5f5;
    z-index: 99999999999;
  }

@media (max-width: 1399px) {
    
}
@media (max-width: 1199px) {
    .filtro_services{
        padding:.5rem 1.5rem
    }
}
@media (max-width: 991px) {
    .select-items div, .select-selected{
        font-size: 1rem;
        padding:1.2rem 2.5rem
    }
    .select-items div{
        padding: .4rem 2.5rem .4rem 4.3rem;
    }
    .select-items div::before{
        left: 40px;
    }
    
}
@media (max-width: 767px) {
    .hero{
        background-size: contain;
        background-repeat: no-repeat;
        background-position: bottom center;
        background-color: #ebebeb;
        min-height: 870px;
        height: inherit;
    }
    .select-items{
        height: 280px;
    }
    .btn-custom-1, .btn-custom-1:hover{
        padding:.8rem;
    }
    .min-height-70px{
        min-height: 0;
    }
    
}
@media (max-width: 575px) {
    .select-items div::before{
        width: 12px;
        height: 12px;   
    }
    .select-items div {
        padding: .4rem 2.5rem .4rem 3.7rem;
      }
}