
/******** LAYOUT ADMINSTRACION *********/
/*body {
    overflow-x: hidden;
}*/
/* Contenedor principal para Sidebar + Contenido */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}
/* Estilos del Menú Lateral */
#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    transition: all 0.3s;
}
/* Ajuste para que el contenido ocupe el resto del espacio y empuje el footer abajo */
#content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/******************************************************************************/

/* Ajusta el valor (70px o más) dependiendo de la altura real de tu navbar */
.container-principal {
    margin-top: 75px;
    padding-left: 15px;
    padding-right: 15px;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.hover-link:hover {
    color: #fff !important;
    transition: color 0.2s ease-in-out;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-bottom: 60px;
    overflow-x: hidden;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.imagen-index {
    max-width: 100%;
    height: auto;
}

.imagen-change {
    max-width: 50%;
    height: auto;
}

.imagen-iconos {
    width: 40px;
    height: 40px;
}

.imagen-carrucel {
    width: 800px;
    height: 500px;
    object-fit: cover;
}

.imagen-logos {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.imagen-eventos {
    width: 400px;
    height: 400px;
    object-fit: cover;
}

/* Ocultar el menú por defecto */
.dropdown-menu {
    display: none;
    position: absolute;
}

/* Mostrar el menú al pasar el ratón */
.dropdown:hover .dropdown-menu {
    display: block;
}

/*header de las tablas*/
.header-personalizado {
    background-color: lightgray;
    color: black;
    font-family: Arial, sans-serif;
}

.button-header {
    color: black;
    font-family: Arial, sans-serif;
}

.modalAlert-content {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%); /* Ajusta el centro real del elemento */

    width: 25%;
    height: 25%;
}

.oculto {
    display: none !important;
}

.texto-truncado {
    max-width: 400px; /* Ajusta el ancho máximo según tu diseño */
    white-space: nowrap; /* Evita que el texto salte de línea */
    overflow: hidden; /* Esconde el texto sobrante */
    text-overflow: ellipsis; /* Agrega los tres puntos (...) al final */
    cursor: pointer;
}

.texto-truncado-bio {
    max-width: 300px; /* Ajusta el ancho máximo según tu diseño */
    white-space: nowrap; /* Evita que el texto salte de línea */
    overflow: hidden; /* Esconde el texto sobrante */
    text-overflow: ellipsis; /* Agrega los tres puntos (...) al final */
    cursor: pointer;
}

/******************************/

/* Estilos para ola */
/* Estilos personalizados para ajustar la sección del Hero */
/*.hero-section {
    position: relative;*/
    /* Degradado usando los colores de la ola para una transición suave */
    /*background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}*/

/* Contenedor del SVG para pegarlo exactamente abajo */
/*.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .wave-container svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 30px;*/ /* Ajusta la altura de la ola aquí */
    /*}*/

/* Color de relleno de la ola (debe coincidir con el fondo de la siguiente sección) */
/*.wave-fill {
    fill: #cfe2ff;
}*/
/******************************/


/*Estilos para CArrucel*/
/* Define un alto fijo o máximo para el carrusel en pantallas grandes */
.carousel-item {
    height: 500px; /* Ajusta esta altura según tus necesidades */
    background-color: #cfe2ff; /* Fondo gris claro para rellenar los espacios vacíos */
}

    /* Fuerza a la imagen a mostrarse completa sin recortes */
    .carousel-item .img-completa {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Esto evita el recorte y mantiene la proporción */
    }

/* Ajuste opcional para pantallas móviles */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px; /* Altura más baja para celulares */
    }
}

/******************************/

/*Estilos para galeria*/
.gallery-card {
    transition: transform 0.2s ease-in-out;
}

    .gallery-card:hover {
        transform: translateY(-5px);
    }

.transition-transform {
    transition: transform 0.3s ease;
}

.transition-transform:hover {
    transform: scale(1.08);
}

/* Efecto de zoom suave al pasar el mouse por encima */
.gallery-img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
    filter: brightness(90%);
}

.transform-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .transform-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
    }

/******************************/

/* DEGRAGDADO */

/* Degradado moderno de azul a morado */
.fondo-degradado {
    background: linear-gradient(45deg, #cfe2ff 0%, #ffffff 100%) !important;
}

/* O un degradado de tres colores tipo pantalla de inicio moderna */
.fondo-futurista {
    background: linear-gradient(45deg, #cfe2ff 0%, #9ec5fe 99%, #ffffff 100%) !important;
}

/******************************/

/* Contenedor Principal */
.galeria-contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: sans-serif;
}

    .galeria-contenedor h1 {
        text-align: center;
        margin-bottom: 30px;
        color: #333;
    }

/* Grid Responsivo (Auto-fit) */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Elementos de la Galería */
.galeria-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background-color: #f9f9f9;
    aspect-ratio: 4 / 3;
}

    .galeria-item:hover {
        transform: translateY(-5px);
    }

    .galeria-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Estilos de Paginación */
.paginacion-contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.paginas-numeros {
    display: flex;
    gap: 5px;
}

.btn-paginacion {
    padding: 8px 16px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #007bff;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .btn-paginacion:hover:not(.disabled):not(.active) {
        background-color: #f1f1f1;
    }

    .btn-paginacion.active {
        background-color: #007bff;
        color: white;
        border-color: #007bff;
        cursor: default;
    }

    .btn-paginacion.disabled {
        color: #ccc;
        border-color: #eee;
        cursor: not-allowed;
    }

.modal-80 {
    max-width: 80% !important;
    width: 80% !important;
}

.w-70 {
    width: 70% !important;
}

/******************************************/

/**** BACKGROUND COLOR HAMBURGUESA PERSONALIZADO***/

.mi-boton-azul-oscuro {
    background-color: #0b2265; /* Código de color azul oscuro */
    border-color: #0b2265;
    color: #ffffff; /* Color del texto en blanco */
}

    .mi-boton-azul-oscuro:hover {
        background-color: #061543; /* Un tono más oscuro para cuando pasas el mouse */
        border-color: #061543;
    }

/******************************************/