/* General config */
body {
    margin: 0 !important;
    font-family: "Montserrat" !important;
}

/*.field_active{

}*/

.field_innactive{
    display: none !important;
}

.active_div{
    border-style: solid;
    border-width: 0px 0px 8px 0px;
    font-weight: 800;
    font-size: 1.3rem;
}

.innactive_div{
    border-style: solid;
    border-width: 0px 0px 2px 0px;
    font-weight: 500;
    font-size: 1.3rem;    
}

.innactive_div:hover{
    border-style: solid;
    background-color: #efefef;
    font-weight: 700;
    cursor: pointer;
}

/* MODALS */

.main_modal{
    width:1100px;    
}

.modal_title_span{
    font-weight: 900;
    font-size: 3.2rem;
}

.modal_subtitle_span{
    font-weight: 700;
    font-size: 2.4rem;    
}

.modal_subsubtitle_span{
    font-weight: 500;
    font-size: 1.5rem;    
}

.modal_header_bg{
    background-color: #a3917134 ;
}

.modal_update_date_sp{
    font-weight: 500;
    font-size: 1rem;
    color: #888888 ;

}

/* BG */
@media (width >= 1448px) {
    .img_bg_size{
        background-size:100vw;
    }
}
@media (width < 1448px) {
    .img_bg_size{
        background-size:auto;
    }
}

.container_bg_storage_div{
    background-image: url('/static/media/abasto/images/bg.png') !important;        
    background-repeat: no-repeat;
}

/* Divs */
.header_div{
    width: 80%;
    margin: auto !important;
    font-weight: 700 !important;
}

.main_frame_div{
    margin: auto;
    min-width: 300px !important;
}


.page_title_div{
    max-width: 1200px !important;
    margin: auto;
    text-align: left;    
    padding-top: clamp(0px, 5vw, 75px);  
    padding-bottom: clamp(0px, 3vw, 40px);  
}

.page_title_divider_div{
    padding: 3px 0;
    margin-top: clamp(0px, 2vw, 40px);
    margin-bottom: clamp(0px, 2vw, 40px);
}

/* DIVISORS DIV */

@media (width >= 768px) {
    .divisor_div{
        border-style: solid;
        border-width: 0px 3px;
        border-color: #A39171;
    }
    
}

@media (width < 768px) {
    .divisor_div{
        border-style: none;       
    }
    
}


/* SPANS */

.page_title_span{
    font-weight: 900;
    font-size: 3.2rem;
}

.page_subtitle_span{
    font-weight: 700;
    font-size: 2rem;    
}

.section_title_span{
    font-weight: 800;
    font-size: 4rem;    
}

.section_subtitle_span{
    font-weight: 600;
    font-size: 1.6rem;    
}

.general_label{    
    font-weight: 400;
    font-size: 1.2rem;
    
}

.graph_span{
    font-weight: 600;
    font-size: 1.2rem;
}

.bold{    
    font-weight: 700;
}

.sub_label{    
    font-weight: 400;
    font-size: 0.8rem;
}

.table_title{
    font-weight: 400;
    font-size: 1.9rem;
    padding-left: 30px;    
}

.dot{
    height: 25px;
    width: 25px;
    border-radius: 50%;
    display: inline-block;
}
.dot_entregadas{
    background-color: #858585;
}
.dot_solicitadas{
    background-color: #A39171;   
}


.graph_title_span{
    font-weight: 700;
    font-size: 2rem;
}
.sp_graph_title_gray{
    color: #9a9a9a;
}

.sp_graph_title_gold{
    color:#A39171    
}

.sp_graph_title_green{
    color: #1E5B4F;    
}

/* BUTTONS */

.buttons_width{
    width: 110px;
    margin-left:  5px !important;
    margin-right:  5px !important;

}

.download_button{
    margin-left:  15px !important;
    margin-right:  15px !important;
}

/* inputs */

.filter_inputs{    
    width: 100%;   
    height: 30px;
    font-size: 13px;
}

.filter_label{
    width: 90%;
    font-weight: 600;
    font-size: 1.2rem;
}


/* switch */

.switch_graph:checked{
    background-color: #1E5B4F!important;
    border-color: #1E5B4F!important;    
}

.switch_graph{
    background-color: #A39171!important;
    border-color: #A39171!important;
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")!important;
    margin-left: 0px !important;
    font-size: 1.4rem;
}



/*FORMATTERS*/

.div_table_formatter{    
    border-radius: 10px;
    border: none;
    padding: 0px 10px;    
}

.formatter_green{
    background-color: #D9EAD3;
    color: #1E5B4F;
}
.formatter_yellow{
    background-color: #F8EBC8;
    color: #C99D1A;
}
.formatter_orange{
    background-color: #F6C9B1;
    color: #E65F15;
}
.formatter_red{
    background-color: #E6C2C2;
    color: #B62828;
}
.formatter_cherry{
    background-color: #6E152E;
    color: #FFFFFF;
}
.formatter_orange{
    background-color: #f6c9b1;
    color: #C5642F;
}
.formatter_gray{
    background-color: #888888;
    color: white;
}

.clave_table_span{
    font-size: 0.9rem;
    display: block;
    border: 2px solid #a3966c;
    color: #a3966c;
    font-weight: 600;
    border-radius: 1rem;
    padding-left: 10px;
    padding-right: 10px;    
}
.clave_table_span:hover{
    cursor: help;
}

#selectable .ui-widget-content {
    border: none!important;
}
#selectable .ui-selecting { 
    background: #5D5D5D; 
}
#selectable .ui-selected { 
    background: #5D5D5D; 
    color: white; 
}

#selectable {
    list-style-type: none;
    margin: 0; 
    padding: 0;
}

#selectable li {
    margin:5px 0px; 
    padding: 0px 5px; 
    font-size: 13px !important;    
    font-weight: 400;
    padding-block-start: 0px;
    padding-block-end: 1px;
    min-block-size: 1.2em;
    padding-inline: 2px;
    white-space: nowrap;
}

#selectable li:hover {
    background-color:#0a58ca;
    color: white;
}

.dropdown-toggle::after {
    content: none!important;
}

.span_multiselect{
    background-color: #5D5D5D;
    color: white;
    font-size: 0.7rem!important;
    border-radius: 3px;
    padding: 0px 5px;
}

.div_multiselect{
    overflow: hidden;
}

/* INDICADORES */


.indicadores_div{
    width: 100%;
    min-width: 300px !important;    
    margin: 15px auto;
    padding: 0.2em 0.1em;
    margin: auto;
}

.indicadores_div_grid{
    display: grid !important;
    grid-template-columns: 1fr 1fr 2fr;
}

.bbox-container {
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;

    &:first-child {
        padding-left: 0;
        padding-right: 5px;
    }

    &:last-child {
        padding-right: 0;
        padding-left: 5px;
    }
}

.indicadores_div_col{
    /*max-width: 350px !important;*/
    height: 200px!important;
    text-align: center;
    border-radius: 15px;
    outline: none;
    padding: 4px 0px;
    height: 155px;
    box-shadow: 0px 4px 4px 0px #00000040;
    background-image: url('/static/media/abasto/images/stats_bg.png');
    background-size: 150% 350%;
}

.pd-0{
    padding: 0;
}

.vbox-abasto{
    display: grid !important;
    grid-template-columns: repeat(6, 1fr);
    height: 70%;
}

.vbox-abasto > div {
    position: relative;
}

.vbox-abasto > div:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 5%;
    height: 90%;
    width: 1px;
    background-color: #A3917180;
}

/*.vbox-abasto > div:last-child {
    .indicadores_number_sp{
        font-size: 3.5rem;
    }
    .indicadores_text_sp{
        font-size: 1.2rem;
    }
}*/

.row-20 {
    height: 27%;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.row-80 {
    height: 73%;
    margin-left: 0px !important;
    margin-right: 0px !important;

    .col:first-child {
        padding-left: 0;
        padding-right: 5px;
    }

    .col:last-child {
        padding-right: 0;
        padding-left: 5px;
    }
}

.display_col_flex {
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
}

.tooltip-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: none;
    background-color: #e6c9a8;
    color: #A39171;
    font-weight: bold;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.tooltip-btn:hover {
    background-color: #e0b98a;
}

.tooltip-btn.active {
    background-color: #e6c9a8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tooltip-txt {
    display: none;
    position: absolute;
    bottom: 100%;
    margin-bottom: 5px;
    left: 88%;
    transform: translateX(-50%);
    width: 140px; /* Menos ancho */
    padding: 6px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    font-size: 0.6rem;
    line-height: 1.4;
    text-align: center;
}

.tooltip-txt:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.tooltip-txt:before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 9px;
    border-style: solid;
    border-color: #ddd transparent transparent transparent;
}

.indicadores_modal_div_col{
    margin: 5px;
    max-width: 280px !important;
    height: 200px!important;
    text-align: center;
    border-radius: 15px;
    outline: none;
    padding: 4px 0px;
    height: 155px;
    box-shadow: 0px 4px 4px 0px #00000040;
    background-image: url('/static/media/abasto/images/stats_bg.png');
}

.indicadores_table_div{
    min-width: 300px !important;
    max-width: 90%;
    margin: 15px auto;
    padding: 0.2em 0.5em;
    margin: auto;

}
.indicadores_table_div_col{
    margin: 5px;
    max-width: 30% !important;
    text-align: center;
    border-radius: 15px;
    outline: none;
    /*box-shadow: 0px 4px 4px 0px #00000040;*/
}

.div_indicadores_title_sp{
    height: 30%; 
    display: flex; 
    justify-content: center;
}

.indicadores_title_sp{
    font-weight: 900;
    font-size: 1.1rem;
    color: #A39171;
    justify-content: center;
    align-items: center;
    display: flex;
}

.indicadores_number_sp{
    font-weight: 700;
    font-size: 2.5rem;
    color: #A39171;

    .sp_main_number {
        position: relative;
        margin: 5px 0;
    }
}

.indicadores_percentage_sp{
    font-weight: 500;
    font-size: 1.2rem;
    color: #A39171;
}

.indicadores_text_sp{
    font-weight: 700;
    font-size: 0.7rem;
    color: #A39171;
}

.indicadores_number_modal_sp{
    font-weight: 700;
    font-size: 3.3rem;
    color: #A39171;

}

.indicadores_number_modal_light_sp{
    font-weight: 500;
    font-size: 2rem;
    color: #A39171;

}

.indicadores_text_md_sp{
    font-weight: 500;
    font-size: 1.2rem;
    color: #888888;
}


/*
.test{
color:#5A0C21; 
    color:#8B1232; 
    color:#B51741;
    color:#826435;
    color:#948161; 
    color:#A39171; 
    color:#C4A26E; 
    color:#707070;  
    color:#858585;  
    color:#A3A3A3;  
    color:#450C23;  
    color:#611232;  
    color:#9B1C4F)  
}
*/

/* MAP */
path.leaflet-interactive:focus {
    outline: none;
}

.div_map { 
    background: white!important;   
    border-radius: 8px;
    border-color: #00000010;
    border-width: 2px;
    border-style: solid;
    z-index: 1;
    /*outline: 0!important;*/
}

.legend {
    padding: 6px 8px;
    width: 200px;
    background: white;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border-color: #00000010;
    border-width: 2px;
    border-style: solid;
    color: #555;
    
}

.legend_dvdr{
    border-top: 1px solid #777;
    margin: 5px 0;
    width: 73%;
}

.legend_div_title{
    text-align: center;
}


.legend_title {
    align-self: center;
    font-weight: bold;
    font-size: 0.9rem;
    font-weight: 600;  
}

.legend_span{
    font-size: 0.8rem;
    font-weight: 400; 
    
}

.legend_square{
    display: inline-block;
    width: 20px!important;
    height: 20px!important;
    vertical-align: middle;
    margin-bottom: 3px;
}

.legend-reset-btn-container {
    width: 100%;
    /*display: grid;*/
    margin-top: 0.5rem;
    label {
        text-align: center;    
        align-items: center;
        background: none;
        border: none;
        padding: 0;
        margin: 0;
        color: inherit;
        font: inherit;
        font-size: 0.9rem;
        cursor: pointer;
        font-weight: 600;
        padding-left: 5px;
    }
}

.square_abasto_completo{
    background-color: #006E2C;
    border: 1px solid black;
}
.square_abasto{
    background-color: #31A355;
    border: 1px solid black;
}
.square_abasto_parcial{
    background-color:  #99d8ab;
    border: 1px solid black;
}
.square_desabasto{
    background-color: #FFA7A1;
    border: 1px solid black;    
}
.square_no_requiere{
    background-color: #B7B6B6;
    border: 1px solid black;    
}

.filter_abasto_completo{
    background-color: #006E2C33;
}
.filter_abasto{
    background-color: #31A35533;
}
.filter_abasto_parcial{
    background-color:  #99d8ab33;
}
.filter_desabasto{
    background-color: #FFA7A133; 
}
.filter_no_requiere{
    background-color: #B7B6B633;
}
.filter_all{
    background-color: #e6dcde;
}

.custom-cursor{
    cursor: pointer;
}

.ui-autocomplete {
  position: absolute !important;
  z-index: 10000 !important;
  max-width: 300px;
  max-height: 700px;
  overflow-y: auto;
  overflow-x: hidden;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
}

/* Tablas detalle y um_modal*/
.arrow_exit_vs_cpm {
    font-weight: bold;
    text-shadow: 1px 0 0 currentColor;
}

.flecha_abajo {
    color: #dc3545;
}

.flecha_arriba {
    color: #28a745;
}

.flecha_igual {
    color: #6c757d;
}

.no_aplica {
    color: #475058;
}

.btwn_mrgn_bottom_20{
    margin-bottom: 20px;
}

table[data-detail-view="true"] th:first-child,
table[data-detail-view="true"] td:first-child {
    display: none;
} 

.show-row-info {
    display: table-cell !important;
}

.um-modal-body {
    max-width: 93%;
    margin-left: 3.5%;
    margin-right: 3.5%;
}

.m-0 {
    margin: 0
}

/* CHARTS */
.line_chart_div {
    width: 100%;
    height: 350px;
}

.stack_chart_div{
    width: 100%;
    height: 350px;
}

.pd-10-t-b{
    padding: 10px 0;
}