﻿
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 16px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Posición relativa para el slider */
}

.swiper-slideCL {
    text-align: center;
    font-size: 16px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Posición relativa para el slider */
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Estilos para el buscador */
.search_over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* Asegura que el buscador esté sobre el slider */
}

.search-form {
    display: flex;
    align-items: center;
}

/* Estilos para la descripción */
.swiper-slide .description, .contenedor-box {
    position: absolute;
    bottom: 7%;
    left: 10px;
    padding: 5px 10px;
}

.image-container {
    position: relative;
    width: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Color del sombreado */
}

@media screen and (min-width: 320px) and (max-width: 759px) {
    .contenedor-box {
        bottom: 0.5% !important;
        left: 0px !important;
        padding: 0px 0px !important;
        padding-bottom: 0px !important;
        width: 100% !important;
    }

        .contenedor-box .container {
            padding-right: 0px !important;
            padding-left: 0px !important;
            margin-right: 0px !important;
            margin-left: 0px !important;
        }

    .mySwiper .figcaption {
        padding-bottom: 36px !important;
    }
}

@media (max-width: 992px) {
    #HeroSearch {
        padding: 0rem !important;
    }
}

@media screen and (min-width: 928px) and (max-width: 1140px) {
    .swiper-wrapper {
        height: 640px !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 928px) {
    .swiper-wrapper {
        height: 560px !important;
    }
}

@media screen and (min-width: 580px) and (max-width: 768px) {
    .swiper-wrapper {
        height: 377.6px !important;
    }
}

@media screen and (min-width: 560px) and (max-width: 580px) {
    .swiper-wrapper {
        height: 400.6px !important;
    }
}

@media screen and (min-width: 540px) and (max-width: 560px) {
    .swiper-wrapper {
        height: 398.6px !important;
    }
}

@media screen and (min-width: 520px) and (max-width: 540px) {
    .swiper-wrapper {
        height: 383.6px !important;
    }
}

@media screen and (min-width: 500px) and (max-width: 520px) {
    .swiper-wrapper {
        height: 376.6px !important;
    }
}

@media screen and (min-width: 480px) and (max-width: 500px) {
    .swiper-wrapper {
        height: 376.6px !important;
    }
}

@media screen and (min-width: 460px) and (max-width: 480px) {
    .swiper-wrapper {
        height: 390.6px !important;
    }
}

@media screen and (min-width: 440px) and (max-width: 460px) {
    .swiper-wrapper {
        height: 388.6px !important;
    }
}

@media screen and (min-width: 420px) and (max-width: 440px) {
    .swiper-wrapper {
        height: 449.6px !important;
    }

    .image-container {
        height: 449.6px !important;
    }

        .image-container img {
            height: 449.6px !important;
        }
}

@media screen and (min-width: 320px) and (max-width: 377px) {

    .swiper-wrapper {
        height: 265.6px !important;
    }

    .image-container {
        height: 265.6px !important;
    }

        .image-container img {
            height: 265.6px !important;
        }

    .search_form {
        margin-bottom: 4rem !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 2560px) {
    .swiper-pagination {
        margin-bottom: 15px;
    }
}

@media screen and (min-width: 360px) and (max-width: 768px) {
    .swiper-pagination {
        margin-bottom: 10px;
    }
}


/* Estilo de los bullets de la paginación */
.swiper-pagination-bullet {
    background-color: #717171 !important;
    width: 10px;
    height: 10px;
    font-size: 12px;
    opacity: 0.9; /* Aumenta la visibilidad inicial */
}

.swiper-pagination-bullet-active {
    background: rgb(225, 225, 225) !important;
    opacity: 1; /* Mayor opacidad para el bullet activo */
}
