@media (max-width: 1000px) {
    .elementor-column{
        width: 100% !important;
    }
}


/* buscador */
#advanced_submit_2{
    background-color: #0a89cc !important;
    transition: color 0.2s ease;
}
#advanced_submit_2:hover{
    background-color: #095c88 !important;
}
#resultsyorden1{
    display: flex;
    justify-content: space-between;
    margin-bottom: -30px;

}
.resulcount{
    margin-bottom: 0px !important;
}
.adv1-holder {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}
.adv1-holder select{
    min-width: 200px;
}

/* Listado de inmuebles */
.contenedor-interno{
    margin-top: 40px;
    width: 100%;
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-between;
}
.contenedor-inmueble{
    display: flex;
    flex-direction: column !important;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
}
.portfolio-item{
    width: 32% !important;
    height: auto !important;
    overflow: hidden;
    margin-bottom: 30px;
    -webkit-box-shadow: 2px 2px 50px -30px rgba(128,128,128,1);
    -moz-box-shadow: 2px 2px 50px -30px rgba(128,128,128,1);
    box-shadow: 2px 2px 50px -30px rgba(128,128,128,1);
}

.datos_inmueble_listado{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.container_ref_precio_listado{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 15px;
}
.container_ref_listado{
    width: 50%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
}
.container_precio_listado{
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.titulo-inmueble span{
    font-size: 20px;
}
.direccion-inmueble{
    margin-bottom: 20px;
}
.custom-fields-item{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
}
.precio-inmueble{
    font-size: 20px;
    color: rgb(209, 6, 13);
    font-weight: 600;
}
.ref-inmueble{
    font-size: 15px;
    color: rgb(0, 0, 0);
    font-weight: 600;
}
.columna-operacion{
    position: absolute;
    margin-left: 30px;
    z-index: 10;
}
.contenedor-operacion{
    background-color: #0a89cc;
    padding: 5px 10px;
    margin-top: 10px;
}
.contenedor-operacion a{
    color: white;
}
.columna-foto{
    width: 100%;
}
.columna-datos{
    width: 100%;
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.foto-inmueble {
    width: 100%;
    height: 300px !important;
    object-fit: cover; /* Evita distorsión */
}

.contenedor-foto{
    overflow: hidden;
}
        
.caja-botones{
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 10px;
}

.caja-extra{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
    align-content: center;
    align-items: center;
}
.container_titulos{
    min-height: 120px;
}

.paginacion{
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
    margin-bottom: 40px;
}

@media (max-width: 769px) {
    .portfolio-item{
        width: 100% !important;
    }
    .adv1-holder {
        width: 100%;
        margin-top: 20px;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-content: space-around !important;
        align-items: center !important;
    }
    .adv1-holder .col-sm-6{
        width: 80%;
    }
    .form-control{
        width: 100%;
    }
    .caja-botones{
        align-items: center;
    }
    #ordenacion{
        width: 100%;
    }
    .grupbuttons{
        display: flex;
        justify-content: center;
    }
}



/* slider imagenes*/
.swiper-container {
    width: 100%;
    height: 300px; /* Ajusta según necesites */
    position: relative;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen sin deformarla */
}

.swiper-button-next, .swiper-button-prev {
    color: white;
    padding: 10px;
    border-radius: 50%;
}

.swiper-pagination {
    bottom: 10px;
    display: none;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 35px !important;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}




/* FICHA DE INMUEBLE */

.single_property_labels{
    display: none;
}
.entry-header{
    display: none;
}
.cabeceratitul{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #f2f2f2;
}
.entry-title{
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    color: black;
}
.price_area{
    width: 100%;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}
.property_categs{
    width: 100%;
    text-align: center;
}
.share_unit2{
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-left: 20px;
}
.prop_social{
    display: flex;
    height: 30px;
}
.first_overview svg{
    width: 30px;
    height: 30px;
}

/*carrusel*/
.carusel_div{
    margin-top: 20px;
}
.ficha-slider{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
    height: 600px; /* Ajusta según necesites */
    position: relative;
    overflow: hidden;
}
