html {
  font-size: 12px;
}

@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}


@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1550px !important;
    }
}
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1500px !important;
    }
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1800px !important;
    }
}
.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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    background-image: url(../images/fondoUCAV.PNG);
    background-size: cover;    
    color: #003f62;
    margin-bottom: 60px;
    padding-top: 50px;
}
.table {
    color: #003f62 !important;
}
.table td .form-check {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.table thead th,
.table tbody td {
    white-space: nowrap; /* Evita que el contenido se desborde */
}



/* Reducir padding y margen en las celdas */
#tablaOrdenable th,
#tablaOrdenable td {
    padding: 2px 4px !important; /* Reduce el padding */
    font-size: 12px !important; /* Ajusta el tamaño de fuente */
    line-height: 1 !important; /* Reduce la altura de línea */
    height: 24px !important; /* Establece una altura más pequeña */
    min-height: 24px !important;
}

/* Ajustar altura de las filas */
#tablaOrdenable tr {
    height: 24px !important;
    min-height: 24px !important;
}

/* Reducir altura de los selects y inputs */
#tablaOrdenable select,
#tablaOrdenable input {
    height: 20px !important; /* Reduce la altura */
    font-size: 11px !important;
    padding: 1px 3px !important;
}

/* Reducir tamaño de los botones */
#tablaOrdenable .btn {
    padding: 2px 6px !important;
    font-size: 10px !important;
}

/* Ajustar los checkboxes */
#tablaOrdenable .form-check-input {
    transform: scale(0.8); /* Reduce el tamaño de los checkboxes */
}

.fixed-table-container2 {
    max-height: 700px; /* Define la altura máxima del contenedor */
    overflow-y: auto; /* Activa el scroll vertical */
    border: 1px solid #ddd; /* Agrega un borde para separar la tabla */
}

.table-header-fixed2 {
    position: sticky;
    top: 0;
    background-color: white; /* Fondo para que no se superponga */
    z-index: 1000; /* Asegura que se quede encima */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Agrega un sombreado elegante */
}

.sticky-header {
    position: sticky;
    top: 0;
    background: white;    
    text-align: center;
}



.form-control {
    line-height: 1rem !important;
    padding: .30rem .75rem !important;
}
.form-select {
    line-height: 1.3rem !important;
    font-size: 0.9rem !important;
}
.form-switch .form-check-input {
    width: 3em !important;
}

.btn-warning {
    color: #fff;
    background-color: orange;
    border-color: #198754;
}
.btn-success {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}
.btnAzul {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    line-height: 1.3rem;
    border-radius: 4px;
    user-select: none;
    font-size: 1rem;
    font-weight: bold;
    background-color: #003f62;
    border-color: #003f62;
    color: white;
    cursor: pointer;
}

.btnLightBlue {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    line-height: 0.5rem;
    border-radius: 4px;
    user-select: none;
    font-size: 1rem;
    font-weight: bold;
    background-color: #4D7290;
    border-color: #003f62;
    color: white;
    cursor: pointer;
}
    .btnLightBlue:hover {
        background-color: #4D7290 !important;
        border-color: #003f62;
        color: white;
        cursor: pointer;
    }
.btnWarning {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    line-height: 1rem;
    border-radius: 4px;
    user-select: none;
    font-size: 1rem;
    font-weight: bold;
    background-color: #ffc107;
    border-color: #003f62;
    color: white;
    cursor: pointer;
}
.btnAzul:hover {
    color: white;
    background-color: #4D7290;
}
.login {
    border-color: #003f62;
    border: 1px solid;
    width: 20%;    
    margin: auto;   
    border-radius: 10px;
    padding-top: 25px;
    padding-bottom: 20px;
}
.imagenLogin { 
    text-align: center;
}
/* Estilo para la tabla */
table {
    background-color: white; /* Fondo blanco para la tabla */
    color: #003f62; /* Color del texto */
    border-collapse: collapse; /* Elimina espacios entre bordes */
    margin-bottom: 0 !important;
}

    /* Estilo para las celdas */
    table th, table td {
        padding: 10px; /* Espaciado interno de las celdas */
        text-align: left; /* Alineación del texto */
        border: 1px solid #ddd; /* Bordes sutiles entre celdas */
    }

    /* Estilo para los encabezados */
    table th {
        background-color: #f2f2f2; /* Fondo claro para los encabezados */
        font-weight: bold; /* Texto en negrita */
    }

    /* Estilo para filas alternas */
    /*table tr:nth-child(even) {
        background-color: red;*/ /* Fondo para filas pares */
    /*}*/

    /* Estilo para la fila cuando se pasa el ratón */
    /*table tr:hover {
        background-color: #f1f1f1;*/ /* Cambia el color de fondo al pasar el ratón */
    /*}*/

/* Estilo para resaltar el fondo del select cuando tiene un valor seleccionado */
.highlight-background {
    background-color: #f0f0f0; /* Color de fondo, puedes personalizarlo */
}
/* Esto asegura que las options no hereden el fondo del select */
.form-select option {
    background-color: white; /* Color de fondo de las opciones (opcional) */
}

.bg-red {
    background-color: #ff5757;
}

.bg-yellow {
    background-color: #fffdb2;
}

.bg-green {
    background-color: #beffb2;
}

.bg-red:hover {
    background-color: #cb4a4a;
}

.bg-yellow:hover {
    background-color: #d2df8c;
}

.bg-green:hover {
    background-color: #90df8c;
}

.pagination-link {
    cursor: pointer; /* Cambia el cursor a mano cuando se pasa el mouse sobre los enlaces */
}


.legend-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 14px;
}

.legend-item {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

.table > :not(caption) > * > * {
    padding: .3rem .3rem !important;
}
    /**************************************************/
    /***************ESTILOS GENÉRICOS******************/
    .navbar {
    color: #fff;
    background-color: #003f62 !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030; /* Asegura que esté sobre otros elementos */  
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para efecto visual */
}

.navbar-light .navbar-nav .nav-link, .navbar-light .navbar-nav .show > .nav-link {
    color: white !important;
}
.nav-link.active {
    color: white !important;
    font-weight:700;
}
.page-link {
    color: #003f62 !important;

}
.page-item.active .page-link {    
    color: white !important;
    background-color: #003f62 !important;
    border-color: #003f62 !important;
}
.text-dark {
    --bs-text-opacity: 1;
    color: white !important;
}
.dropdown-menu {
    background-color: #003f62 !important;
    
}
.fw-bold {
    font-weight: 700 !important;
}
.bBottom {
    border-bottom: 1px solid #003f62;
}

.bBottom2 {
    border-bottom: 2px solid #003f62;
}

.tAlignC {
    text-align: center;
}

.tAlignR {
    text-align: right;
}

.tAlignJ {
    text-align: justify;
}

.mw70 {
    max-width: 70%;
}

.mw90 {
    max-width: 90%;
}

.mw100 {
    max-width: 100%;
}

.fRight {
    float: right;
}

.fLeft {
    float: left;
}

.w100 {
    width: 100%;
}

.w90 {
    width: 90%;
}

.w80 {
    width: 80%;
}

.w70 {
    width: 70%;
}

.w60 {
    width: 60%;
}

.w50 {
    width: 50%;
}

.w40 {
    width: 40%;
}

.w30 {
    width: 30%;
}

.w20 {
    width: 20%;
}

.w15 {
    width: 15%;
}

.w10 {
    width: 10%;
}

.w5 {
    width: 5%;
}

.w3 {
    width: 3%;
}
.mt5 {
    margin-top: 5%;
}
.mt15 {
    margin-top: 15%;
}
.mt25 {
    margin-top: 25%;
}
/**********ESTILOS DE COMBOS********/
.custom-multiselect {
    position: relative;        
}

.select-box {
    border: 1px solid #ccc;
    padding: 4px;
    cursor: pointer;
    background-color: #fff;
    border-radius: 5px;
}

.select-box:hover {
    background-color: #f0f0f0;
}

.arrow-down {
    float: right;
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-top: 5px;
}

.checkbox-list {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    width: 100%;
    z-index: 1;
    max-height: 150px;
    overflow-y: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.checkbox-list label {
    display: block;
    padding: 5px 10px;
    cursor: pointer;
}

.checkbox-list label:hover {
    background-color: #e9e9e9;
}
.asignatura-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.copy-icon {
    margin-left: 5px;
    font-size: 1rem;
    color: #17a2b8; /* Azul Bootstrap */
    cursor: pointer;
}


/******************************COLORES CELDAS POR ASIGNATURAS****************************************/

/* Solo afecta la celda, no el tr */
.codigo-pad-cell {
    padding: 5px;
    text-align: center;
}

/* Colores específicos */
.codigo-pad-cell.bg-red {
    background-color: #dc3545 !important; /* Rojo */
    color: white !important;
}

.codigo-pad-cell.bg-green {
    background-color: #28a745 !important; /* Verde */
    color: white !important;
}

.codigo-pad-cell.bg-yellow {
    background-color: #ffc107 !important; /* Amarillo */
    color: black !important;
}
.hidden-row {
    display: none !important;
}
.bg-purple {
    background-color: #AA00FF !important; /* Color morado exacto */
    color: black !important; /* Texto en negro */
}

.bg-pink {
    background-color: #FF66B2 !important;
}

.bg-lightblue {
    background-color: #66CCFF !important;
}
.custom-link {
    text-decoration: underline; /* Mantiene el subrayado */
    color: inherit; /* Usa el color del texto del padre en vez del azul */
}

.custom-link:visited {
    color: inherit; /* Evita que el enlace cambie de color al ser visitado */
}

.custom-link:hover {
    color: inherit; /* Mantiene el color al pasar el ratón por encima */
}


/********************************GESTIÓN CALENDARIO******************/
.mes-calendario {
    flex: 1;
    min-width: 150px;
    min-height: 300px; /* Ajusta según el tamaño estándar cuando hay varios meses */
    display: flex;
    flex-direction: column;
    justify-content: center;
}


