/* Mis CSS : Ceferino Avila */


/* Agregados: 2025-jul-23 */
/* Maneja los estilos de GALERIA y AVISOS */
.card-aviso {
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-aviso:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.aviso-img-container {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.aviso-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-content {
    padding: 10px;
}

.modal-img {
    max-height: 300px;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* Agregados: 2025-jul-23 */


/* Estilos para : home-view.php | Slider de 4 fotos
20210815 (va junto con slider.js)
Ojo que si son màs o menos fotos hay que modificar parametros : Inicio */
/* html, body{
    margin: 0;
    padding: 0;
} */

/* body{
    width: 100%;
    height: 100%;
    font-family: sans-serif;
    letter-spacing: 0.03em;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
} */

/* .title{
    text-align: center;
    font-size: 40px;
    color: #6a6a6a;
    margin-top: 100px;
    font-weight: 100;
    font-family: 'Roboto', sans-serif;
} */

.container-slider {
    width: 95%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 5px 5px 15px #888888;
    position: relative;
}

.slider {
    display: flex;
    width: 400%;
    /* height: 400px; */
    margin-left: -100%;
}

.slider__section {
    width: 100%;
}

.slider__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider__btn {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0);
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
    font-family: monospace;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}

/* .slider__btn:hover {
    background: red;
} */
.slider__btn--left {
    left: 10px;
}

.slider__btn--right {
    right: 10px;
}

@media (min-width: 868px) {
    .slider__btn {
        position: absolute;
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, 0.7);
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        font-weight: bold;
        font-family: monospace;
        text-align: center;
        border-radius: 50%;
        cursor: pointer;
    }

    .slider__btn:hover {
        background: #fff;
    }

    .slider__btn--left {
        left: 10px;
    }

    .slider__btn--right {
        right: 10px;
    }
}

/* home-view.php | Slider de 4 fotos : Fin */



/* Estilos para : home-view.php | Galerias - 2 Cards _ 20210815 : Inicio */
/* .mycontainer{
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
} */
/* .mycontainer .card{
    width: 330px;
    height: 430px;
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 20px;
    text-align: center;
    transition: all 0.25s;
} */
/* .mycontainer .card:hover{
    transform: translateY(-15px);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
} */
/* .mycontainer .card img{
    width: 330px;
    height: 220px;
} */
/* .mycontainer .card h4{
    font-weight: 600;
} */
/* .mycontainer .card p{
    padding: 0 1rem;
    font-size: 16px;
    font-weight: 300;
} */
/* .mycontainer .card a {
    font-weight: 500;
    text-decoration: none;
    color: #3498db;
} */
/* home-view.php | Galerias - 2 Cards : Fin */


/* Estilos para : home-view.php | Galerias - 4 Cards _ 20251015 : Inicio */
.mycontainer {
    width: 100%;
    max-width: 1200px;
    display: flex;
    /* Habilita el layout flexible */
    flex-wrap: wrap;
    /* Permite que los elementos pasen a la línea de abajo */
    justify-content: center;
    /* Centra las tarjetas */
    margin: auto;
    /* Espacio entre las tarjetas. Alternativa moderna a los grandes márgenes */
    gap: 15px;
}

/* Asegura que el enlace se comporte como un bloque para envolver la tarjeta correctamente */
.mycontainer a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.mycontainer .card {
    /* --- CAMBIOS CLAVE PARA TAMAÑO Y RESPONSIVIDAD --- */

    /* flex-grow: 1, flex-shrink: 1, flex-basis: 220px.
     * Esto hace que la tarjeta intente tener 220px de ancho ideal.
     * Crece (1) para ocupar el espacio en pantallas pequeñas (2 columnas).
     * Y se envuelve automáticamente.
     */
    flex: 1 1 220px;
    min-width: 180px;
    /* Ancho mínimo para que no se vea deforme en pantallas muy estrechas */

    /* Altura Reducida */
    height: 350px;
    /* Reducida de 430px a 350px */

    /* Estilos fijos */
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    /* Eliminamos el 'margin: 20px;' ya que usamos 'gap' en el contenedor */
    text-align: center;
    transition: all 0.25s;
    padding: 10px;
    /* Ajustamos el padding interior */
}

/* Efecto hover ajustado al nuevo tamaño */
.mycontainer .card:hover {
    transform: translateY(-10px);
    /* Menos movimiento */
    box-shadow: 0 10px 14px rgba(0, 0, 0, 0.2);
}

/* Ajuste del contenedor del ícono para el nuevo tamaño */
.mycontainer .card>div:first-child {
    height: 100px !important;
    /* Reducida de 150px a 100px */
    margin-bottom: 5px !important;
    /* Margen reducido */
}

/* Ajuste del tamaño del ícono */
.mycontainer .card i {
    font-size: 70px !important;
    /* Reducida de 100px a 70px */
}

/* Ajustes menores de tipografía */
.mycontainer .card h4 {
    font-weight: 600;
    margin-top: 5px;
}

.mycontainer .card p {
    padding: 0 0.5rem;
    font-size: 14px;
    /* Tamaño de fuente ligeramente menor */
    font-weight: 300;
}

.mycontainer .card span {
    display: block;
    margin-top: auto;
    /* Para empujar "Leer más" al fondo si el contenido es corto */
    font-weight: 500;
    color: #3498db;
}



/* Estilos para : home-view.php | Galerias - 4 Cards _ 20251015 : Inicio */




/* Boton de whatsapp : Inicio */
.float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.float:hover {
    text-decoration: none;
    color: #25d366;
    background-color: #fff;
}

.my-float {
    margin-top: 16px;
}

/* Boton de whatsapp : Fin */


/* Imagen difuminuada : inicio */
.bg-image2 {
    /* The image used */
    background-image: url('<?php echo SERVERURL; ?>vistas/assets/img/barrio/9.png');

    /* Add the blur effect */
    filter: blur(8px);
    -webkit-filter: blur(8px);

    /* Full height */
    height: 100%;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Position text in the middle of the page/image */
.bg-text2 {
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/opacity/see-through */
    color: white;
    font-weight: bold;
    border: 3px solid #f1f1f1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 80%;
    padding: 20px;
    text-align: center;
}

/* Imagen difuminuada : fin */


.bg-jumbotron {
    background-image: url('<?php echo SERVERURL; ?>vistas/assets/img/barrio/9.png');
    background-size: cover;
    background-position: 40%;
    height: 70vh;
}



/* comision-view.php */
#para1 {
    background-image: url(../assets/img/home/32.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.banner-img {
    /* background-image: url(../assets/img/home/32.jpg); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100vh;
    filter: blur(5px);
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 75%;
    padding: 40px 0;
    text-align: center;
    border-top-left-radius: 70px;
    border-bottom-right-radius: 70px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-weight: bold;
    border: 10px inset #fff;
}

.banner-text2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 100%;
    color: #000;
}

/* .banner-text p {
    padding: 0 8%;
    font-family: merienda;
} */
.banner-text a {
    display: inline-block;
    padding: 5px 30px;
    border: 1px solid #fff;
    /* border-radius: 5%; */
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    margin-top: 15px;
}

.banner-text a:hover {
    color: #000;
    background-color: aquamarine;
    opacity: 0.3;
}


/* Agregado para la barra fija : 2025-abr-13 */
#navbarSuperior {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    /* o el color de fondo que estés usando */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* sombra opcional */
}

.con-espacio {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .page-content {
        margin-top: 40px !important;
    }
}




/* 2025-11-21 */
#barraSuperior {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    height: 50px;
    padding: 0 !important;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 15px !important;
    text-transform: none !important;
}

body {
    padding-top: 60px;
}

.btn-redondeado {
    border-radius: 12px;
    border-color: #cccccc !important;
}

.btn-redondeado:hover {
    border-color: black !important;
}

.input-busqueda::placeholder {
    color: #999 !important;
    /* gris claro */
    opacity: 1;
}


/* Modal de la barra de navegacion */
@keyframes slideDown {
  from {
    transform: translateY(-25px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.margenSuperiorAlert {
    margin-top: 55px !important; /* 🔥 Cambia el valor que quieras */
}