.titulo-eventos {
    font-size: 32px;
    color: #0f4c75;
}

.titulo-card {
    font-size: 15px;
    color: #0f4c75;

    /* width: 204px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
}

.title-fecha{
    text-align: left;
    font-size: 15px;
    color: #e03e2d;
    font-weight: 600;
}


.prev-eventos {
    background-color: #0f4c75 !important;
}

.next-eventos {
    background-color: #0f4c75 !important;
}

.card-img {
    position: relative;
    font-family: 'Roboto Condensed Regular, Helvetica, Arial, sans-serif' !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border: none;
}

.imagenes {
    height: 250px;

    transition: all 0.3s ease;
    object-fit: contain;
    max-width: 100%;
    display: block;
}

.imagenes-index {
    height: 400px !important;
    object-fit: cover !important;
}



@media (min-width:768px) and (max-width: 992px) {
    .imagenes {
        height: 172px;
    }

    .titulo-card {
        font-size: 14px;
        width: 100%;
        text-align: center;

    }

    .title-fecha{
        text-align: left;
        font-size: 12px;
        color: #e03e2d;
        font-weight: 600;
    }
    
}


@media (max-width: 767px) {
    .imagenes {
        height: none;
    }
}

.btn-leer-mas {
    background-color: #0f4c75;
    border-color: #0f4c75 !important;
    border-radius: 0% !important;
    font-size: 14px;
    font-weight: 600;
}



/* HACER ZOOM */


.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 105%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-img:hover .image-overlay {
    opacity: 1;
    cursor: pointer;
}

.fa-magnifying-glass-plus {
    font-size: 30px;
    color: white;
    margin-bottom: 10px;
}

.zoom {
    font-size: 20px;
    color: white;
    margin-top: 0;
}




.modal-dialog {
    margin: auto; /* Centra el modal en la pantalla */
}

/* Centrar el contenido dentro del modal */
.modal-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* Elimina cualquier espacio adicional */
}

/* Estilo de la imagen para que ocupe todo el espacio disponible */
.img-modal {
    max-width: 100%; /* Ajusta la imagen al ancho del contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
    display: block; /* Elimina espacios adicionales alrededor de la imagen */
    margin: 0 auto; /* Centra la imagen */
}