:root {
    --azulnetcon: #4d6991; /* rgb(76, 108, 147) */
    --verde: #58a216;
    --azul: #5486ff; /* rgb(84, 134, 255) */
    --fazul: #cad9ff; /* rgb(202, 217, 255) */
    --gris: #f2f2f2; /* rgb(242, 242, 242) */
    --fgris: #e5edff; /* rgb(229, 237, 255); */
    --texto: #21293b; /* rgb(33, 41, 59) */
    --negro: #131314;
}


/** entorno **/
html {
    background-color: white;
    background-size: cover;
    height: 100%;
    min-height: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
body {
    font: normal 13px "Segoe UI", "Helvetica Neue", Helvetica, Tahoma,'Trabuchet MS', Arial, -apple-system, sans-serif;
    color: #333;
    line-height: 1.42857143;
    width: 100%;
    height: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
textarea {
    resize: none;
}
a:link, a:visited, a:active {
    text-decoration: none;
}
.marco {
    border: 1px solid #e7ebee;
}
.marcoredondo {
    border: 1px solid #e7ebee;
    border-radius: 10px;
}
.sombra {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.tsombra {
    box-shadow: rgba(50, -50, 93, 0.25) 0px -50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
.fondo {
    background-color: rgba(0,0,0,.01);
}
.soloLectura {
    pointer-events: none;
}
.conexion {
    font-size:9px;
    font-style: italic;
}
.seccion {
    font-family: Helvetica, Arial, 'DejaVu Sans', 'Liberation Sans', Freesans, sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 8px;
    width: 100%;
    color: #333;
    border-bottom: 1px solid #e5e8f0; /* #a4afcb; */
    white-space: nowrap;
}
.bloqueo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: 100;
}
.cimg {
    background-color: rgba(190, 190, 190, 0.2);
    border: 2px dashed #e5e8f0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
    .cimg img {
        max-width: 100%;
        max-height: 100%;
    }


/* panel de espera */
#wpanel {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background-color: rgba(242, 242, 242, 0.3);
}
#wpanel.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
.wvista {
    width: 230px;
    height: 70px;
    margin-top: 70px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 20px;
    border-radius: 8px;
    background-color: rgb(255,255,255);
    box-shadow: 0 8px 16px 0 rgba(61, 74, 108, 0.14);
    user-select: none;
}
.wprecarga {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}
    .wprecarga:before, .wprecarga::after {
        content: '';
        position: absolute;
        border-radius: inherit;
    }
    .wprecarga::before {
        width: 100%;
        height: 100%;
        background-image: linear-gradient(0deg, var(--azul) 0%, var(--fazul) 100%);
    }
    .wprecarga::after {
        width: 80%;
        height: 80%;
        background-color: white;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
.wsubmsj {
    font-style: italic;
    font-size: 10px;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* alturas comunes */
.h-100 { height: calc(100vh - 50px) !important; }
.h-100-1 { height: calc(100vh - 50px - 36px) !important; }
.h-100-2 { height: calc(100vh - 50px - 36px - 36px) !important; }
.h-100-3 { height: calc(100vh - 50px - 36px - 36px - 36px) !important; }
.h-100-4 { height: calc(100vh - 50px - 36px - 36px - 36px - 36px) !important; }
.h-100-5 { height: calc(100vh - 50px - 36px - 36px - 36px - 36px - 36px) !important; }

/* anchos comunes */
.w-30 { width: 30% !important; }
.w-40 { width: 40% !important; }
.w-60 { width: 60% !important; }
.w-70 { width: 70% !important; }


/** pagina principal **/
.fapp {
    /* background: url("../img/fondoidc.jpg") no-repeat center center fixed; */
}
.menuinf {
    height: 50px;
    background: white; /* rgba(242, 242, 242, 0.4); rgba(149, 157, 165, 0.1);*/
    box-shadow: 0px -2px 10px 0 rgba(0,0,0,0.1);
    border-top: none;
}
.app {
    font-size: 13px;
    color: #333;
}
.separador {
    height: 38px;
    margin: 0 8px;
    border-left: 1px solid #ddd;
}
a.btn {
    width: 38px;
    height: 38px;
    margin: 0 2px;
    font-size: 16px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}
    a.btn i {
        margin: auto;
        display: block;
    }
    a.btn:hover {
        box-shadow: 0 8px 20px rgb(0,0,0,0.2) !important;
    }
a.selbtn {
    border: 1px solid #5CA612;
    color: #5CA612 !important;
}
.mentorno {
    font-size: 10px;
    font-style: italic;
}


/* Barra de area de trabajo */
#TBarra {
    background: linear-gradient(to right, rgba(251,250,250), rgb(238, 236, 236));
}


/* menu drawer */
.menuizq { /* opciones de menu */
    background-color: #E7F2D5;
    width: 190px;
}
.menuder { /* opciones de menu */
    background-color: white;
    width: 190px;
    margin-left: 3px;
    box-shadow: -1px 0 3px rgba(61, 74, 108, .24);
}


/* ventana modal */
.wventana > .dx-overlay-content {
    height: calc(100vh - 50px - 36px) !important;
}
.wtitulo {
    background-color: whitesmoke !important;
}
.wtit {
    font-size: 14px !important;
    font-weight: bolder;
    margin-right: 10px;
}
.wventana .dx-popup-content {
    padding: 0 !important;
}


/* capturas */
.fmayus input, .fmayus textarea {
    text-transform: uppercase;
}
.tcapt {
    margin-top: 8px;
    margin-bottom: 3px;
    display: block;
}

.selArchivo {
    margin: 2px 4px;
    background-color: #fff;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    border-color: #e5e8f0 #e5e8f0 #a4afcb;
}
.numerico {
    text-align: right !important;
}


/* area trabajo */
.alto {
    height: calc(100vh - 50px) !important;
}

.titModulo {
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid #dee2e6;
    height: 30px;
}

/* menu drawer */
.menu {
    border-block: 2px solid rgba(253,250,250);
}
.foscuro {
    background: rgba(0, 0, 0, 0.1);
}
.fclaro {
    background: rgba(255, 255, 255, 0.5);
}
.fopciones { /* fondo de opciones de menu */
    background-color: #E7F2D5; /* #4D688C;*/
}
.fgris {
    background: rgb(228 228 231);
}




.altoLista {
    height: calc(100vh - 36px - 50px - 5px) !important; /*alto viewport - menu inferior - toolbar*/
}

/* area trabajo pesta�as (opcion con menu adicional de tabs */
.altoAreaTab {
    height: calc(100vh - 36px - 50px - 38px) !important; /* alto pantalla - toolbar sup - menu inferior */
}

.waltoAreaTab {
    height: calc(100vh - 36px - 50px ) !important;
}

.walto {
    height: calc(100vh - 36px) !important;
}

.waltoAreaGrid {
    height: calc(100vh - 36px - 50px - 38px) !important; /* alto pantalla - toolbar sup - menu inferior */
}
.waltoAreaGridCab {
    height: calc(100vh - 36px - 50px - 38px - 110px - 63px) !important;
}
.altoGridTab {
    height: calc(100vh - 16px) !important; /* alto pantalla - toolbar sup - menu inferior */
}
.wdatagrid {
    height: calc(100vh - 36px - 50px - 38px - 24px) !important;
}
.wdatagridP {
    height: calc(100vh - 36px - 50px - 38px - 125px) !important;
}
.wGraficas {
    height: calc(100vh - 16px - 50px - 35px) !important;
}
.ttit {
    font-size: 14px !important;
    font-weight: bolder;
    margin-right: 10px;
}
.tsep {
    height: 22px;
    margin: 0 10px;
    border-left: 1px solid #ddd;
}
.tmsep {
    height: 1px;
    border-bottom: 1px solid #ddd;
}
.tbventana {
    background-color: whitesmoke !important;
}
.tfiltro {
    height: 24px;
    align-content: center;
    padding: 0 4px;
}

.ttittotal {
    font-size: 16px;
    font-weight: 700;
    color: #5486ff;
}
.ttotal {
    font-size: 26px;
    color: #777;
}

/* reportes */
.rptFiltro {
    width: 310px;
    padding: 68px 10px 0px;
    background: linear-gradient(180deg, rgba(245,245,245,1) 0%, rgba(245,245,245,1) 68px, rgba(255,255,255,1) 68px);
    -webkit-box-shadow: -20px 0 20px -20px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: -20px 0 20px -20px rgba(0, 0, 0, 0.15);
    box-shadow: -20px 0 20px -20px rgba(0, 0, 0, 0.15);
}

    .rptFiltro .rptParams {
        height: calc(100vh - 50px - 36px - 68px - 36px) !important;
    }

    .rptFiltro .rptBtn {
        height: 36px;
        padding-top: 6px;
    }

.btnGenerarReporte {
    border-radius: 15px !important;
    border: 1px solid #5486ff !important;
}

.dxrd-preview .dxrd-right-panel-collapse,
.dxrd-preview .dxrd-right-panel,
.dxrd-preview .dxrd-right-tabs {
    display: none;
}

.dxrd-preview.dxrd-designer-wrapper .dxrd-tab-panel-wrapper {
    display: none;
}
/* opciones */
.minimenu {
    border-bottom: 1px solid #ddd;
}
    .minimenu a.btn {
        width: 36px;
        height: 36px;
        margin: 0 2px;
        font-size: 16px;
        border: 1px solid #999;
        display: flex;
        align-items: center;
        justify-content: center;
    }


/* visor xml */
pre {
    font-size: 13px;
    counter-reset: linenumber
}
pre > code:not(:only-child)::before {
    content: counter(linenumber, decimal-leading-zero) ". ";
    counter-increment: linenumber;
    margin-left:15px;
    margin-right:25px;
    border-right: 1px solid var(--fazul);
}
.xml-tag {
    color: rgb(136, 18, 128);
    font-weight: bold;
}
.xml-nombre {
    color: rgb(153, 69, 0);
}
.xml-valor {
    color: #004aeb;
}
.xml-texto {
    color: rgb(136, 18, 128); 
}



/*Graficas KPI*/
@media only screen and (max-width: 1240px) {
    .graphRow-1-10 {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 5px;
        width: 100%;
    }

}

/* Styles for screens wider than 1250px */
@media only screen and (min-width: 1250px) {
   
    .graphRow-1-10 {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: left;
        height: 4%;
        width: 100%;
    }

}


.tButtonDate {
    font-size: 13px;
    font-weight: bold;
    padding-right: 10px;
    padding-left: 60px;
    color: #333;
}

.tIndFiltro {
    font-family: sans-serif;
    font-size: medium;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    margin-right: 15px;
}

.label {
    flex: 2;
    text-align: left;
}

.number {
    flex: 1;
    text-align: right;
}

.percentage {
    flex: 1;
    text-align: right;
}

.date-row {
    display: flex;
    align-items: center;
}
.localizacion {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #0077b6 !important;
    font-size: 12px !important;
    font-weight: normal;
    padding: 3px 6px !important;
    text-align: center;
    white-space: nowrap;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7);
}

#btnVigente-CFacturas, #btnVencida-CFacturas {
    font-size: 14px;
    font-weight: bold;
    font-family: sans-serif;
}

#btnVigente-PagoProveedor, #btnVencida-PagoProveedor {
    font-size: 14px;
    font-weight: bold;
    font-family: sans-serif;
}

.stat-value {
    font-size: 15px;
    font-family: sans-serif;
}


/* CATALOGOS */
.btnCancelar, .btnAceptar {
    border-radius: 15px !important;
    background-color: rgb(238, 236, 236) !important;
    color: #7a6565 !important;
}
.btnCancelar:hover, .btnAceptar:hover { 
    background-color: #5486ff !important;
    color: white !important;
}

.btnguardar {
    border-radius: 15px !important;
    background-color: #5486ff !important;
    color: white !important;
}
.btnguardar:hover {
    background-color: rgb(238, 236, 236) !important;
    color: #7a6565!important;
}

.btnpequeño{
    align-items: end;
    background-color: white !important;
    color: #5486ff !important;
}

.btnpequeño:hover{
    background-color: rgba(190, 190, 190, 0.1) !important;
}
    .btnpequeño .dx-icon {
        background-color: rgba(190, 190, 190, 0.1) !important;
    }

    .btnpequeño:hover .dx-icon {
        color: #5486ff !important;
    }


.cimg {
    background-color: rgba(190, 190, 190, 0.1);
    border: 2px dashed #d3d3d3;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .cimg img {
        max-width: 100%;
        max-height: 100%;
    }


.Imayus .dx-texteditor-input {
    text-transform: capitalize !important;
}



/* DEVEXPRESS */
.dx-field {
    margin: 0 0 12px !important;
}

.dx-toolbar {
    padding-left: 10px !important;
    padding-right: 10px !important;
    background-color: rgb(251,250,250);
}

    .dx-toolbar .dx-toolbar-label {
        font-size: 13px !important;
    }

.dx-treelist .dx-row > td {
    padding: 6px 10px !important;
}

.dx-list-group:not(.dx-list-group-collapsed):not(:last-child) {
    padding-bottom: 8px;
    border-bottom: none;
}

.dx-list-group-header {
    padding: 6px 10px !important;
    font-weight: 500 !important;
}

    .dx-list-group-header i {
        margin-right: 5px !important;
    }

.dx-list-item-selected {
    font-weight: 600 !important;
}

.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-list-item-selected {
    background-color: #5486ff !important;
    color: white !important;
}

.drawer .dx-list-item-content {
    padding: 4px 8px 4px 28px !important;
}

.dx-datagrid-header-panel {
    padding: 0 0 !important;
}

.dx-datagrid-rowsview {
    border-bottom: 1px solid #e5e8f0 !important;
}

.dx-datagrid-search-panel {
    margin: 0 0 0 0px !important;
}

.dx-datagrid > .dx-datagrid-headers, .dx-datagrid > .dx-datagrid-total-footer {
    background-color: rgba(229, 232, 240, 0.5) !important;
    color: #333 !important;
}

.dx-datagrid-headers .dx-datagrid-table .dx-row > td:hover:not(.dx-command-select):not(.dx-command-expand):not(.dx-editor-cell):not(.dx-command-edit):not(.dx-datagrid-group-space),
.dx-col-fixed:not(.dx-header-row .dx-col-fixed) .dx-datagrid-table .dx-row > td:hover:not(.dx-command-select):not(.dx-command-expand):not(.dx-editor-cell):not(.dx-command-edit):not(.dx-datagrid-group-space) {
    background-color: #DBE6FF !important;
}

.dx-header-row .dx-col-fixed {
    background-color: rgba(229, 232, 240, 0.5) !important;
}
/*.dx-datagrid .dx-row > td {
    padding: 6px 10px !important;
    line-height: 12px !important;
}*/
.dx-pager {
    padding: 6px 10px !important;
}

.resaltarT:hover {
    color: red !important;
    border-radius: 8px;
}

.text-primary {
    color: lightskyblue !important;
    border-radius: 8px;
}

    .text-primary:hover {
        color: red !important;
        border-radius: 8px;
    }

.dx-progressbar-container {
    height: 3px !important;
}

.dx-progressbar-status {
    margin-top: 2px !important;
}

.dx-tab.dx-tab-selected {
    background-color: transparent !important;
    color: #333 !important;
    border-bottom: 1px solid #5486ff !important;
    border-radius: 0 !important;
}

.dx-overlay-content .dx-toolbar-center {
    float: right !important;
}

.dx-htmleditor-content img {
    vertical-align: middle;
    padding-right: 10px;
}

.btntoggle .dx-button-text {
    font-size: 15px !important;
}

.dx-row-focused .dx-col-fixed {
    background-color: #dbe6ff !important;
}

.dx-header-row .dx-col-fixed {
    background-color: #e5e8f0 !important;
}

.TabsGenerales .dx-tab {
    border-radius: 8px !important;
    color: #5486ff !important;
}

    .TabsGenerales .dx-tab.dx-tab-selected {
        background-color: white !important;
        color: #5486ff !important;
        border: 1px solid #5486ff !important;
    }



.TabGeneral .dx-tab.dx-tab-selected {
    background-color: transparent !important;
    color: #000 !important;
    border-bottom: 1px solid #5486ff !important;
    border-radius: 0 !important;
}


.dx-fileuploader-wrapper {
    padding: 0px 7px !important;
}

.wmax .dx-popup-content {
    padding: 0 !important;
}

#botonesClasificacion .dx-button-mode-contained,
#botonesClasificacion .dx-button-mode-outlined {
    background-color: #fff !important;
    color: #5486ff !important;
    border-color: #5486ff !important;
}

    #botonesClasificacion .dx-button-mode-outlined.dx-state-focused {
        background-color: #5486ff !important;
        color: #fff !important;
        border-color: #5486ff !important;
    }

#Moneda .dx-data-row.selected-click:nth-child(even) {
    background-color: #1976D2 !important;
    color: white !important;
    font-weight: bold;
}
#Moneda .dx-data-row.selected-click:nth-child(odd) {
    background-color: #4CAF50 !important;
    color: white !important;
    font-weight: bold;
}