/************************************************/
/*************** TABLA SAI ***********************/
/************************************************/

#stick_mod {
    width: 100%;
    margin-top: 15px;
    overflow: auto;

    border: 1px solid #133b67;
    border-radius: 5px;

    background: #061528;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .03),
        0 8px 25px rgba(0, 0, 0, .35);

    max-height: calc(100vh - 280px);

}


/*************** TABLA **************************/

table.normal {


    width: 100%;
    border-collapse: collapse;
    color: #EAF3FF;
    font-size: 12px;
    background: #07182E;
}

table.normal_dash {


    width: 100%;
    border-collapse: collapse;
    color: #EAF3FF;
    font-size: 12px;
    background: #07182E;
}

/**************************************************
/**************************************************
/**************************************************/
.table-container {
    max-height: 300px;
    /* O height: 200px; */
    overflow-y: auto;
    /* Habilita el scroll vertical */
}

/*table.normal_dash {
    width: 100%;
    border-collapse: collapse;
    color: #EAF3FF;
    font-size: 12px;
    background: #07182E;
}*/

.tabla_dashboard {
    width: 100%;
    border-collapse: collapse;
    color: #EAF3FF;
    font-size: 12px;
    background: #07182E;
}

table.normal_dash th {
    position: sticky;
    top: 0;
    background-color: #132742;
    height: 30px;
    /* OBLIGATORIO: Mismo color de fondo para que el contenido pase por detrás */
    z-index: 2;
    /* Asegura que la cabecera quede sobre las celdas del tbody */
}

.tabla_dashboard td {
    background: linear-gradient(180deg, #0A223E 0%, #07182E 100%);
    border: 1px solid #1B4F86;
    border-radius: 8px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .05),
        0 3px 10px rgba(0, 0, 0, .35);
    padding: 12px;
    color: #EAF3FF;
    vertical-align: top;
}

.tabla_dashboard td.vigente_td {
    text-align: center;

    background: transparent url("../img/vigente.png") center center / 27px 27px no-repeat;

    filter: drop-shadow(0 0 2px rgba(80, 255, 80, .5));
}

/**************************************************
/**************************************************
/**************************************************/

/*************** CABECERA ***********************/

table.normal {

    border-collapse: separate;
    border-spacing: 0;
}

table.normal thead th {

    position: sticky;
    top: 0;
    z-index: 100;

    background: linear-gradient(to bottom,
            #0A223E,
            #08182F);

    color: #F5F7FA;
    height: 42px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;

    border-right: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid #1F4D80;
}

table.normal thead th:last-child {

    border-right: none;
}


/*************** FILAS **************************/

table.normal tbody tr {

    transition: .20s;
}

table.normal tbody tr:nth-child(odd) {

    background: #0A1D36;
}

table.normal tbody tr:nth-child(even) {

    background: #0C223F;
}

table.normal tbody tr:hover {

    background: #14345F;
}


/*************** CELDAS *************************/

table.normal tbody td {


    padding: 11px 12px;

    border-right: 1px solid rgba(255, 255, 255, .05);

    border-bottom: 1px solid rgba(255, 255, 255, .05);

    color: #D7E5F5;

    font-size: 12px;
}

table.normal tbody td:last-child {

    border-right: none;
}

table.normal_dash tbody td {

    all: revert;
    padding: 11px 12px;

    border-right: 1px solid rgba(255, 255, 255, .05);

    border-bottom: 1px solid rgba(255, 255, 255, .05);

    color: #D7E5F5;

    font-size: 12px;
}


/*************** TOTAL **************************/

/*legend {

    color: #FFFFFF;

    font-size: 13px;

    font-weight: bold;

    margin-top: 10px;
    margin-bottom: 10px;
}

legend table {

    color: #FFFFFF;
}

legend th {

    color: #43A2FF;
}*/

legend {
    height: auto;
    padding-top: 2px;
    padding-bottom: 2px;
    text-align: center;
    vertical-align: middle;
    font-family: 'Verdana';
    color: #ffffff;
    font-size: 12px;

}

legend table td {
    border: 0px;
    padding-left: 10px;
    text-align: left;
    vertical-align: middle;
    font-family: 'Verdana';
    color: #ffffff;
    font-size: 11px;
}

legend table th {
    text-align: left;
    vertical-align: middle;
    font-family: 'Verdana';
    color: #ffffff;
    font-size: 11px;
}

.CajaSrvLargo {
    cursor: default;
    width: 64px;
    height: 110px;
    background-size: 50px 50px;
    background-position: top;
    background-repeat: no-repeat;
    font-size: 8px;
    box-shadow: 2px 2px 2px 2px #8587f7;
    float: left;
    margin: 0px 0px 5px 5px;
    padding-top: 10px;
    padding-left: 3px;
    text-align: left;
}

.chk_srv {
    transform: scale(0.8);
    width: 12px;
    height: 12px;
}

.srv_titulo {
    height: 20px;
    color: #000000;
    text-align: center;
    padding-top: 40px;
}

.opciones {
    width: 36px;
    height: 36px;
    cursor: pointer;
    background-size: 36px 36px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;

}

.opciones {
    width: 36px;
    height: 36px;
    cursor: pointer;
    background-size: 36px 36px;
    background-position: center;
    background-repeat: no-repeat;


}


/*************** SCROLL *************************/

#stick_mod::-webkit-scrollbar {

    width: 10px;
    height: 10px;
}

#stick_mod::-webkit-scrollbar-track {

    background: #08182D;
}

#stick_mod::-webkit-scrollbar-thumb {

    background: #2A5EA5;

    border-radius: 20px;
}


/*************** ESTADOS ************************/

/* Verde */

.estado_ok {

    color: #69D36E;

    font-weight: bold;
}

/* Amarillo */

.estado_warn {

    color: #FFC533;

    font-weight: bold;
}

/* Rojo */

.estado_error {

    color: #FF5757;

    font-weight: bold;
}

/************************************************/
/*DASHBOARD*/
/************************************************/

.tabla_dashboard {
    width: 100%;
    border-collapse: separate;
    border-spacing: 12px;
    table-layout: fixed;
}

.tabla_dashboard td {
    background: linear-gradient(180deg, #0A223E 0%, #07182E 100%);
    border: 1px solid #1B4F86;
    border-radius: 8px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .05),
        0 3px 10px rgba(0, 0, 0, .35);
    padding: 12px;
    color: #EAF3FF;
    vertical-align: top;
}

#div_mapa_calor {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
}

#div_mapa_calor>div {
    width: 100%;
    height: 100%;
}


/************************************************/
/*RESUMEN OPERATIVO*/
/************************************************/
.resumen_operativo {
    padding: 10px;
}

.contenedor_resumen {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contenedor_resumen img {
    width: 100PX;
    height: 100px;
    flex-shrink: 0;
}

.texto_resumen_operativo {
    border-collapse: collapse;
}

.texto_resumen_operativo td {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.texto_resumen_operativo .titulo {
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.texto_resumen_operativo .valor {
    color: #FFFFFF;
    font-size: 34px;
    /*font-weight: bold;*/
    line-height: 1.1;
}

.texto_resumen_operativo .periodo {
    color: #43A2FF;
    font-size: 14px;
}

/*****************************************************************
/******************** DIV SCROLL ******************************
/*****************************************************************/

.scroll {
    height: 95%;
    overflow-y: scroll;
}


/*****************************************************************
/******************** FORMULARIO ******************************
/*****************************************************************/

.formulario {
    width: 99.9%;
    height: auto;
    font-size: 10px;
    border: solid 1px #1B4F86;
    font-family: Verdana;
    color: #ffffff;
    overflow-y: scroll;
    border-radius: 2px;
}

.formulario th,
.formulario_bg th {
    text-align: left;
    height: 30px;
    padding-left: 5px;
    padding-top: 5px;
    color: #ffffff;
    font-weight: bold;
}

.formulario td,
.formulario_bg td {
    border: 0px;
    text-align: left;
    padding-left: 5px;
    padding-bottom: 5px;
    height: 20px;
    color: #ffffff;
}

.formulario td.top {
    vertical-align: top;
}

.formulario th.centro {
    text-align: center;
}

.formulario td.centro {
    text-align: center;
}

.formulario td.derecha {
    text-align: right;
}

.formulario td.invisible {
    text-align: left;
    height: 20px;
    color: #484848;
    border: 0px;
}


/*****************************************************************
/******************** SELECT ******************************
/*****************************************************************/

select {
    /*cursor: pointer;
    height: 30px;
    box-shadow: inset 0px 1px 1px white, 0px 1px 2px rgba(0, 0, 0, 0.5);
    background-image: -webkit-linear-gradient(#FFFFFF, #F4F4F4 45%, #F4F3F3);
    background-position: 97% center;
    background-repeat: no-repeat;
    outline-color: #84B9F0;
    border: 1px solid #1C4377;
    color: #555;
    font-size: 12px;
    overflow: hidden;
    padding: 3px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 2px;*/

    width: 220px;
    height: 34px;

    padding: 0 35px 0 12px;

    border: 1px solid #1C4377;
    border-radius: 6px;

    background: #071428;
    color: #FFFFFF;

    font-size: 12px;

    outline: none;

    transition: .25s;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image:
        url("../img/home/flecha_select.png");

    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}