header {
    background: #88b16e;
}

body {
    /*font-family: Arial, sans-serif;*/
    font-family: 'Shantell Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: url(https://onkelkrass.de/wp-content/uploads/2022/10/rev_home1_1.png);
    background-color: #88b16e;
    height: 100%;
    margin: 0;
}

html, body {
    height: 100%; /* Asegurar que html y body ocupen toda la ventana */
    margin: 0; /* Eliminar márgenes por defecto */
    display: flex; /* Usar flexbox */
    flex-direction: column; /* Colocar elementos en una columna */
}

nav{
    padding: 0% 10%;
}

.container{
    max-width: 80%;
    margin-top: 35px;
    flex:1;
}



/* SWITCH BUTTON ================================================================================================ */

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 25px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 21px;
    width: 21px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4CAF50;
}

input:checked + .slider:before {
    transform: translateX(25px);
}

/* HOME */

/* CAROUSEL */
.carousel-inner img {
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* Ajustar las imágenes al alto del carousel */
.carousel-item img {
    height: 100%; /* Ajusta al alto del contenedor */
    width: auto; /* Mantén el aspecto original */
    object-fit: cover; /* Ajusta la imagen dentro del espacio */
}

/* Estilo del nombre en el carousel */
.carousel-caption {
    color: white; /* Texto blanco */
    text-shadow: 1px 1px 2px black; /* Borde negro */
    padding: 10px;
    background: linear-gradient(to right, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
    border-radius: 5px;
}

/* Personalización adicional para texto */
.carousel-caption h5 {
    border: 2px solid black; /* Borde negro alrededor del texto */
    padding: 5px;
    display: inline-block;
}


/* CATEGORIAS FILTROS */
#filtroAccordion{
    margin-bottom: 30px;
}

.filtro{
    display: flex;
    flex-wrap: wrap;
}

/* FILTROS SELECCIONADOS */
#filtrosSeleccionados{
    margin-bottom: 24px;
    display:flex;
    flex-wrap: wrap;
    gap:5px;
}

/* RESULTADOS */
.card {
    height: 100%; /* Asegura que todas las tarjetas ocupen la misma altura */
    display: flex;
    flex-direction: column;
}
.card img{
    padding: 10px 0px;
}

.card-body {
    flex: 1; /* Rellena el espacio restante para uniformar la altura */
}
.card-body div{
    display: flex;
    justify-content: center;

}

.card-img-top {
    height: 200px; /* Ajusta la altura según el diseño que prefieras */
    width: 100%; /* Asegura que la imagen ocupe todo el ancho disponible */
    object-fit: contain; /* Asegura que toda la imagen sea visible */
    background-color: #f0f0f0; /* Añade un fondo para el área vacía, opcional */
}




/* PDP ================================================================================================= */

#mainImage{
    border: 5px solid #fff;
}

.img-thumbnail{
    max-width: 75px;
    cursor: pointer;
    margin: 5px;
}

#gallery{
    margin-top:16px;
    gap:5px;
}

#gallery img{
    margin-left:0px;
}

fieldset{
    border:1px;
    border-radius:5px;
}

#infoWrap{
    /*margin:40px;*/
    margin-top:32px;
}

.social-wrap{
    display:flex;
    flex-direction: row;
    gap:5px;
    margin-bottom: 16px;
}

.social-share{
    max-width: 40px;
}

.alert-position {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    width: auto;
}


#aviso_lost{
    background-color: #F5D23D;
    padding:15px;
    margin:40px 0px;
    border: 5px solid #fff;
    border-radius: 10px;
}

#map{
    border: 5px solid #fff;
    border-radius: 10px;

}


/* PROTECTORAS ============================================================================================ */

#firstRowDerecha{
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    margin-left: 15px;
    width:100%;
}

#firstRowDerecha .asoc_bloqu:last-child {
    margin-bottom: 0;
}

.asoc_bloqu{
    background-color: #FAFAFA;
    border-radius: 15px;
    padding: 16px;
    margin-bottom: 15px;

    border: 4px solid #EFBB35;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}




.position-relative h1{
    /*margin: 32px 0px;*/
    /*background: linear-gradient(-90deg, #ffffff, #ffffff00);*/
    background: white;
    color: #333333;
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    display: inline-block;
    width:100%;
}

.rrss_wrap{
    margin-top:16px;
    display:flex;
}

/* LOCATOR ================================================================================================ */
.filter-btn {
    margin: 5px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-btn.active {
    background-color: #007bff;
    color: #fff;
}



/* FOOTER ================================================================================================= */

footer {
    background: #333;
    color: #fff;
}

.logo-footer img{
    max-width: 150px;
}

footer {
    flex-shrink: 0; /* Prevenir que el footer se reduzca */
    /*text-align: center;  Centrar el contenido del footer */
    background-color: #343a40; /* Fondo oscuro */
    color: white;
    padding: 20px; /* Espaciado interno */
}

/* PARA EFECTOS RESPONSIVE ================================================================================================= */

/* Escritorio */
@media (min-width: 1200px) {
    body {
        font-size: 18px;
    }
}

/* Tablets */
@media (max-width: 1199px) and (min-width: 768px) {
    body {
        font-size: 16px;
    }
}

/* Móviles */
@media (max-width: 767px) {

    #firstRow{
        flex-direction: column;
        align-items: center;
    }

    #firstRow #izquierda{
        margin-bottom: 24px;
    }

    #infoWrap{
        margin-left:0px;
        margin-bottom:0px;
    }

    body {
        font-size: 14px;
    }
    .container{
        max-width: 95%;
    }


}

/* Móviles pequeños
@media (max-width: 480px) {
    body {
        font-size: 12px;
    }
}
*/