/* Colores y temas */
:root {
    --primary-color: #007b8f;
    --secondary-color: #00a2c7;
    --background-color: #ffffff;
    --text-color: #ffffff;
    --hover-text-color: #007b8f;
}

/* Clase para tablas con barra de desplazamiento horizontal */
.table-scrollable {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.table thead th {
    position: sticky;
    top: 0;
    background-color: #fff; /* Color de fondo para los headers */
    z-index: 2; /* Asegura que los headers estén encima de otras filas */
}

    .table thead th::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #ddd; /* Color de la sombra */
    }

/* Clase para tablas que expanden las columnas */
.table-expand {
    display: block;
    width: 100%;
    overflow-x: auto;
    table-layout: fixed;
}

    .table-expand th, .table-expand td {
        width: auto;
        word-wrap: break-word;
    }

.table-responsive {
    /*overflow-x: auto;
    -webkit-overflow-scrolling: touch;*/
    overflow-x: auto; /* Permite el desplazamiento horizontal si es necesario */
    width: 100%;
    table-layout: fixed; /* Mantiene las columnas fijas si las celdas tienen mucho contenido */
}

.table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}
    /*Resaltar fila al pasar el mouse por arriba*/
    .table tbody tr:hover {
        background-color: #f5f5f5;
    }

.responsive-panel {
    margin: 0 auto;
}

.container {
    width: 90%;
}

.action-column, .actionStyleTable {
    max-width: 160px;
    white-space: normal;
    word-wrap: break-word;
}


.table > tbody > tr > td {
    vertical-align: middle;
}

.overFlowStyleTableId {
    min-width: 160px !important;
}

.overFlowStyleTableMax {
    max-width: 450px !important;
}

/* Ajusto la columna al minimo posible */
.overFlowStyleTableAUTO th,
.overFlowStyleTableAUTO td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 230px !important;
}

.nav-solicitud {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: stretch !important;
    gap: 1px;
}

    .nav-solicitud > li > a {
        position: relative !important;
        padding: 15px !important;
        height: 100% !important;
        text-align: center;
        vertical-align: auto;
        align-items: center;
        justify-content: center;
    }

.menuHorizontal {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    color: white;
}

.table tbody tr:hover {
    background-color: #f5f5f5;
}



@media (max-width: 600px) {
    .menuHorizontal {
        padding: 5px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .table th:nth-child(3), .table td:nth-child(3) {
        display: none;
    }
}

.colComentario {
    max-width: 250px !important;
}
