/* Inicializar variables generales */
canvas{width: 100%;height: 100%;}
:root{
    --charts : #d8d8db;
    /* GRIS */
    --gris_p_1: #566573;
    --gris_p_2: #EAECEE;
    --gris_s_1: #EAECEE;
    --gris_s_2: #566573;
    /* AZUL */
    --azul_p_1: #32bedd;
    --azul_p_2: #e6f7fa;
    --azul_s_1: #e6f7fa;
    --azul_s_2: #32bedd;
    /* ROJO */
    --rojo_p_1: #e74c3c;
    --rojo_p_2: #FFE0DB;
    --rojo_s_1: #FFE0DB;
    --rojo_s_2: #e74c3c;
    /* ROSA */
    --rosa_p_1: #c80378;
    --rosa_p_2: #f7eaf5;
    --rosa_s_1: #f7eaf5;
    --rosa_s_2: #c80378;
    /* VERDE */
    --verde_p_1: #57bd20;
    --verde_p_2: #E8F9DF;
    --verde_s_1: #E8F9DF;
    --verde_s_2: #57bd20;
    /* MORADO */
    --morado_p_1: #696CFF;
    --morado_p_2: #E7E7FF;
    --morado_s_1: #E7E7FF;
    --morado_s_2: #696CFF;
    /* AMARILLO */
    --amarillo_p_1: #e29f1a;
    --amarillo_p_2: #FFF5E0;
    --amarillo_s_1: #FFF5E0;
    --amarillo_s_2: #e29f1a;
}
/* Coler */
.caja.azul .icon{background: var(--azul_p_1);color: white;}
.caja.rojo .icon{background: var(--rojo_p_1);color: white;}
.caja.rosa .icon{background: var(--rosa_p_1);color: white;}
.caja.verde .icon{background: var(--verde_p_1);color: white;}
.caja.morado .icon{background: var(--morado_p_1);color: white;}
.mini{width: calc(100% - 20px);height: 80px;float: left;margin: 10px 10px 0 10px;}
/* Datos */
.ctxs.x1{width: calc(100% - 20px);height: 200px;margin: 0 10px 10px 10px;}
.ctxs.x2{width: 200px;height: 200px;margin: 0 10px 10px 10px;}
.ctxs.x3{width: calc(100% - 20px);height: 250px;margin: 20px 10px 10px 10px;}
.ctxs.x4{width: 80px;height: 80px;margin: 0;}
.ctxs.x5{width: 140px;height: 140px;margin: 20px 10px;}
.ctxs.x6{width: 200px;height: 200px;margin: 0 10px;}
.ctxs.x6 canvas{margin: auto;position: relative;}
/* Labels */
.ctxs, .info, .cant, .titu, .text, .icon{float: left;position: relative;}
/* Informacion */
.info.x1{width: calc(100% - 90px);margin: 10px;}
.info.x2{width: calc(100% - 230px);}
.info.x3{width: 100%;height: 60px;margin-bottom: 10px;}
.info.x4{width: calc(100% - 90px);height: 80px;margin-left: 10px;display: flex;flex-direction: column;justify-content: center;}
.info.x5{width: 100%;height: 80px;display: flex;flex-direction: column;justify-content: center;}
.info.x6{width: calc(100% - 170px);}
.info.x7{width: calc(100% - 230px);}
/* Linea */
.line *{float: left;}
.line{width: 100%;height: 45px;float: left;margin-top: 10px;overflow: hidden;border-radius: 5px;border: 1px solid rgba(0,0,0,0.1);font-size: 12px;}
.line_text{width: 100%;height: 20px;line-height: 20px;text-align: center;font-weight: 500;background: rgba(0,0,0,0.2);}
.line_back{width: 100%;height: 25px;display: flex;}
.line_prog{height: 25px;position: relative;}
.line_prog span{position: absolute;margin: auto;background: var(--gris_p_1);color: white;font-size: 10px;top: -2px;left: 2px;right: 0;bottom: 0;display: table;z-index: 1;border-radius: 3px;padding: 0 3px;}
.line_back .line_prog:first-child{background: transparent;width: 0%;}
.line_back .line_prog:last-child{background: white;width: 100%;}
/* Selectores */
.sele{width: 100%;display: flex;gap: 10px;}
.sele_inpu{width: 100%;height: 25px;border: 1px solid rgba(0,0,0,0.15);border-radius: 5px;font-size: 10px;}
/* Cantidades */
.cant.x1{width: 100%;height: 40px;display: flex;align-items: center;font-size: 25px;font-weight: 600;}
/* Titulos */
.titu span{float: left;margin-right: 10px;}
.titu.x1{width: 100%;font-weight: 500;padding: 10px;}
.titu.x2{width: 100%;font-weight: 500;font-size: 14px;}
/* Textos */
.text.x1{width: 100%;height: 20px;display: flex;align-items: center;font-size: 14px;}
/* Iconos */
.icon.x1{width: 60px;height: 60px;line-height: 60px;margin: 10px 10px 10px 0;text-align: center;font-size: 25px;border-radius: 5px;}
/* Filtro */
.filtro, .filtro_texto, .filtro_input, .filtro_boxes{float: left;}
.filtro{float: right;}
.filtro_boxes{display: flex;margin-right: 10px;gap: 2px;align-items: center;justify-content: center;}
.filtro_texto{font-size: 12px;}
.filtro_input{border: 1px solid rgba(0,0,0,0.1);border-radius: 5px;width: 80px;height: 24px;padding: 0 5px;font-size: 10px;}
.porcentaje{width: 100%;height: 30px;line-height: 30px;position: absolute;text-align: center;font-size: 12px;font-weight: 600;top: 0;bottom: 0;margin: auto;}
.barras, .barra{float: left;position: relative;}
.barras{width: calc(100% - 20px);margin: 0 10px 5px 10px;overflow-x: scroll;height: 130px;}
.barra{
    width: 100%;
    gap: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    margin-bottom: 5px;
}
.barra div{width: 100%;}
.barra_nomb{
    width: 100px;
    max-width: 100px;
    min-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.barra_cant{
    width: 50px;
    max-width: 50px;
    min-width: 50px;
    text-align: center;
}
.barra_stat{
    display: flex;
    justify-content: center;
    align-items: center;
}
.barra_meta{
    width: 100%;
    height: 20px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    background: var(--blanco_2);
}
.barra_avan{
    height: 130px;
    position: absolute;
    top: 0;
    left: 0;
}
/* Clases generales */
.dataTables_wrapper{margin: 0 10px 10px 10px !important;width: calc(100% - 20px) !important;}
#avance_estatal_wrapper .dataTables_scrollBody{height: 260px;max-height: 260px;}
#estructura_integracion_wrapper .dataTables_scrollBody{height: 161px;max-height: 161px;}
.fa-square{margin-left: 5px;}
.bord_left{border-left: 1px solid rgba(0,0,0,0.1) !important;}
/* Responsive */
@media screen and (max-width: 1500px) {
    .sze1{width: 100%;}
    .sze2{width: calc((100% / 3) - ((20px * 4) / 3));margin-left: 20px;}
    .sze5{width: calc((100% / 3) - ((20px * 4) / 3));}
    #avance_estatal_wrapper .dataTables_scrollBody{height: 161px;max-height: 161px;}
}
@media screen and (max-width: 1350px) {
    .caja.tam3, .sze2, .sze3, .sze5{width: calc((100% / 2) - ((20px * 3) / 2));}
}
@media screen and (max-width: 1000px) {
    .caja.size{height: 460px !important;}
    .ctxs.x6{width: calc(100% - 20px);}
    .info.x7{width: calc(100% - 20px);margin: 0 10px 10px 10px;}
}
@media screen and (max-width: 800px) {
    .caja.size{height: 250px !important;}
    .ctxs.x6{width: 200px;}
    .info.x7{width: calc(100% - 230px);margin: 0;}
    .caja.tam3, .caja.tam2, .sze2, .sze3, .sze4, .sze5{width: calc(100% - 40px);}
}
@media screen and (max-width: 500px){
    .caja.size{height: auto !important;display: table;}
    .ctxs.x6{width: calc(100% - 20px);}
    .info.x7{width: calc(100% - 20px);margin: 0 10px 10px 10px;}
}
@media screen and (max-width: 400px){
    .text.x1{font-size: 12px;}
}