﻿:root {
    --color-cabecera: #96be25;
    --color-contenido: aliceblue;
    --color-texto-perfil: #4ddaf5;
    --color-fondo-informacion: #1C5D6D;
    --color-texto-titulo: #ebdc7f;
    --color-texto-empresa: #c2cbfa;
    --color-dialog-button-focused: #fff7cc;
    --color-dialog-button-hover: gold;
    --color-texto-button: gold;
    --color-toolbar: aliceBlue;
    --popup-title-bg-color: aliceBlue;
    --popup-title-toolbar-bg-color: aliceBlue;
    --icon-color: grey;
}

.dx-toast-custom {
    background-color: #F05B41;
    color: white;
    border-radius: 5px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-style {
    margin-top: 1px;
    font-size: 20pt;
}

.container {
    max-width: 2000px !important;
}

.toolbar {
    /*margin: auto;
    padding: 2px!important;*/
    margin: 0 !important;
    padding: 0px !important;
    /*background-color: var(--popup-title-bg-color);*/
}


.menu {
    width: 100%;
    margin: auto;
}

@media screen and (max-width: 600px) {
    .data-grid {
        height: calc(100vh*0.75) !Important;
        min-height: 400px;
        /*max-width: 100%;*/ /* Evita que sobrepase el ancho del contenedor */
        overflow-x: auto;
        width: 100%;
    }

    .datagridlineas {
        margin: auto;
        /*padding: 5px 5px 5px 5px;*/
        max-height: calc(100vh*1.5) !Important;
        min-height: 300px;
    }

    .datagridlineassmall {
        margin: auto;
        padding: 5px 5px 5px 5px;
        max-height: calc(30vh) !Important;
        min-height: 300px;
    }

    #formGastos {
        display: none
    }

    .formdreta {
        /*display: none*/
    }

    .formwithinfo {
        max-width: 100% !Important;
    }


    .cabeceraclass {
        opacity: 1 !important
    }

    .contenido {
        margin-top: 0px !Important;
    }
}

@media screen and (min-width: 600px) {
    .data-grid {
        min-height: 400px;
        height: calc(100vh*0.82) !Important;
        padding: 5px;
        margin: auto;
        max-width: 100%; /* Evita que sobrepase el ancho del contenedor */
        overflow-x: auto;
        width: 100%;
    }

    .datagridlineas {
        margin: auto;
        /*padding: 5px 5px 5px 5px;*/
        max-height: 650px;
        min-height: 500px;
    }

    .datagridlineassmall {
        margin: auto;
        padding: 5px 5px 5px 5px;
        max-height: 350px !Important;
    }

    .formdreta {
       /*visibility: hidden;*/
    }

    .formwithinfo {
        max-width: 100% !Important;
    }
}

@media screen and (min-width: 1200px) {
    .formdreta {
        padding: 10px 10px 10px 10px;
        border-radius: 2px;
        border: solid 0.1em lightgrey;
        /*background-color: white;*/
        visibility: visible;
    }

    .formwithinfo {
        max-width: 85% !Important;
    }
}

@media screen and (min-width: 980px) {
    .row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.popup {
    height: auto;
    width: 300px;
}



.col {
    flex-basis: 100%;
}

@media screen and (min-width: 980px) {
    .col {
        flex: 1;
    }
}

@media screen and (min-width: 980px) {

    .col {
        flex: 1;
    }

    .col-05 {
        flex: 0.5;
    }

    .col-10 {
        flex: 1;
    }

    .col-15 {
        flex: 1.5;
    }

    .col-20 {
        flex: 2;
    }

    .col-25 {
        flex: 2.5;
    }

    .col-30 {
        flex: 3;
    }

    .col-35 {
        flex: 3.5;
    }

    .col-40 {
        flex: 4;
    }

    .col-45 {
        flex: 4.5;
    }

    .col-50 {
        flex: 5;
    }

    .col-55 {
        flex: 5.5;
    }

    .col-60 {
        flex: 6;
    }

    .col-65 {
        flex: 6.5;
    }

    .col-70 {
        flex: 7;
    }

    .col-75 {
        flex: 7.5;
    }

    .col-80 {
        flex: 8;
    }

    .col-85 {
        flex: 8.5;
    }

    .col-90 {
        flex: 9;
    }

    .col-95 {
        flex: 9.5;
    }
}


.txSmall {
    max-width: 200px;
    padding: 0px 5px 0px 5px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}

.txDate {
    max-width: 350px;
    padding: 0px 5px 0px 5px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}

.txNormal {
    max-width: 450px !important;
    padding: 0px 5px 0px 5px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}



.txMedium {
    max-width: 600px;
    padding: 0px 5px 0px 5px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}

.txLarge {
    max-width: 700px;
    padding: 0px 5px 0px 5px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}

.txNumber {
    max-width: 250px;
    padding: 0px 5px 0px 5px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}

    .txNumber input {
        text-align: right;
    }


.txId {
    max-width: 175px;
    /*min-width: 150px;*/
    padding: 0px 5px 0px 5px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}

.txCheckBox {
    padding: 0px 0px !important;
    margin: 0px 0px 0px 0px !important;
}


.colSmall {
    width: 70px;
}

.colNormal {
    width: 125px;
}

.colMedium {
    width: 200px;
}

.colLarge {
    width: 300px;
}

.colNumber {
    width: 80px;
}



.colDate {
    width: 100px;
}

.colId {
    width: 60px;
}

.form {
    margin: 2px 2px 2px 2px;
    padding: 0px 0px 0px 0px !Important;
    width: 100%;
}

.formSmall {
    margin: auto;
    padding: 5px 0px 0px 0px !Important;
    max-width: 550px !important;
    min-width: 400px !important;
}

.body-content {
    width: 100%;
    margin: auto;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.dx-texteditor-input {
    max-width: 1000px !important;
}

.textboxarticulo {
    margin: 5px 5px 5px 5px;
    padding: 5px 5px 5px 5px;
}



.topinformation {
    width: 100%;
    /*background-color: var(--color-fondo-informacion);*/
    /*padding: 5px;*/
    padding-left: 5px;
    padding-right: 5px;
    min-height: 60px;
    display: flex;
    align-items: center;
    height: 100%;
    /*background: rgb(80,114,167);
    background: linear-gradient(90deg, rgba(80,114,167,1) 53%, rgba(114,160,193,1) 100%);*/
}

.topinformation-gn6title {
    /*color: var(--color-texto-titulo)*/
}

.topinformation-gn6empresa {
    /*color: var(--color-texto-empresa)*/
}

.topinformation-perfil {
    /*color: var(--color-texto-perfil)*/
}

#buttonSession {
    /*color: var(--color-texto-button) !Important*/
}



.popupedicion {
    /*margin: auto;
    padding: 10px 10px 10px 10px;
    height: 100%;
    width: 100%;
    overflow-y: scroll;
    max-height:80%;*/
}

.popuplineas {
    margin: auto;
    padding: 10px 10px 10px 10px;
    height: auto;
    width: auto;
    /*overflow-y: scroll;*/
}

.formextrasmall {
    padding: 0px 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}




.dx-popup-title {
    border-bottom: solid 0.3em var(--popup-title-bg-color);
}
/*.dx-popup-content {
    border: solid 0.3em var(--popup-title-bg-color);
}*/


.tooltip {
    padding: 10px 10px 10px 10px;
    margin: auto;
    background-color: aliceblue;
    color: black !important;
}

.formlineas {
    margin: 30px 30px 30px 30px;
    padding: 10px 10px 10px 10px;
}



/*.cabeceraclass {
    height: 100px;
    padding: 0px;
    margin: 0px;
    text-align: center;
    background-color: var(--color-cabecera);
}*/

.cabeceraclass {
    margin: auto;
    margin-top: 55px;
    padding: 0px;
    background-color: var(--color-contenido) !important;
}

.toolbariconsclass {
    padding: 5px;
    background-color: var(--color-contenido) !important;
}

.menumainclass {
    padding: 3px;
    margin: auto;
    margin-top: 8px;
    text-align: left;
    width: 100%;
}

.dx-menu-adaptive-mode {
    background-color: var(--color-contenido) !important;
}

.contenido {
    height: calc(100vh) !Important;
    max-height: calc(100vh) !Important;
    overflow: auto;
    max-width: 2000px !important;
    padding: 12px 52px 12px 52px;
    transition: margin-top 0.3s ease-in-out; /* Define la transición */
    margin-top: 0px;
}

.dx-datagrid .dx-loadindicator {
    width: 50px !important;
    height: 50px !important;
}


.dx-loadpanel-content {
    text-align: center;
    width: 300px !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    border: 1px solid #e0e0e0;
    padding: 0px !important;
    border-radius: 10% !Important;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.25);
    box-shadow: 0 6px 12px rgba(0,0,0,.25);
}

/* Ajustar la ubicación de los mensajes de validación */
.dx-validationsummary {
    position: absolute !important;
    margin-top: -20px !important; /* Ajusta según sea necesario */
}

.no-focus {
    outline: none;
    pointer-events: none;
}

.toolbar-label {
    font-size: 16pt;
    color: #ca0080;
    background-color: var(--color-toolbar)
}


.toolbar-screen {
    background-color: var(--color-toolbar);
    padding: 5px;
    margin: auto;
    margin: auto;
}

.toolbar-button {
    color: #4ddaf5 !Important;
}

.toolbarmenu {
    margin: auto;
    padding: 10px;
    color: black !important;
}

.nopadding {
    margin: 0px !important;
    padding: 0px !important;
}

.screenclass {
    background-color: var(--color-contenido);
}


.dx-datagrid-expand dx-state-disabled {
    color: red !important;
    /*content: "\e2c7" !important;*/ /* Cambiar el icono a menos (⊖) cuando esté desactivado */
}

.stickycontent {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.messagenotify {
    display: flex;
    text-align: center;
    align-items: center;
    width: 100%;
    margin: auto
}

    .messagenotify .icono {
        font-size: 44px;
        width: 15%;
    }

    .messagenotify .texto {
        width: 85%;
        margin-left: 15px;
        font-size: 14px;
    }

.fotografiaDatagrid {
    max-width: 100px;
}

.fotografiaForm {
    max-width: 150px;
    min-width: 100px;
    margin: auto;
    text-align: center;
}

.fotografiaFormInfo {
    max-width: 90px;
    background-color: black;
}

.formInfo {
    display: flex !important;
    align-items: center !important;
    text-align: center;
    padding: 5px 5px 5px 5px;
}

.formInfoDatagrid {
    min-height: 100px;
    margin: auto;
}

/*.dx-tab-selected {*/
/*background-color: #bcc2c2 !important*/
/*color:orangered!Important
}*/

/*.dx-popup-content  {
    background: aliceblue !important;
}*/


/*.dx-popup-title {
    background-color: var(--popup-title-bg-color);
}*/

/*.dx-popup-title {
    background-color: var(--popup-title-bg-color);
}*/

.popup .dx-popup .dx-popup-title {
    background-color: red !important; /* Cambia este valor al color que desees */
    color: white; /* Cambia este valor al color de texto deseado */
}

.totalizador .dx-texteditor-input {
    font-size: large !important;
    text-align: right;
}

/*.dx-datagrid .dx-datagrid-rowsview .dx-row-focused.dx-data-row:not(.dx-edit-row) > td:not(.dx-focused) {
    background-color: #bea925 !important;
}*/


.linea-horizontal-bordes {
    border: none;
    border-top: 5px solid var(--color-texto-perfil); /* Borde superior */
}

.titleaspx {
    font-size: 200%
}

.submenuicons {
    min-width: 50px;
    max-width: 90px;
}



.dxc-tooltip {
    z-index: 2000;
}

.dx-submenu {
    /*width: 225px !important;*/
}

    .dx-submenu .dx-menu-item-text {
        overflow: hidden !important;
        white-space: nowrap !important;
        width: 155px !important;
        display: inline-block !important;
    }

.mycontainer {
    text-align: center;
    overflow: hidden;
}

.gn6-text {
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8); /* Sombra del texto */
    letter-spacing: 2px; /* Espaciado entre letras */
}

.sga-text {
    font-size: 6vw;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Sombra del texto */
    letter-spacing: 2px; /* Espaciado entre letras */
}

.sga-subtext {
    font-size: 1.2vw;
    text-align: center;
    text-shadow: none;
    background-color: yellow;
    color: black;
    letter-spacing: 2px; /* Espaciado entre letras */
}

.sga-information {
    font-size: 5vw;
    text-align: center;
    margin-top: 50px;
    letter-spacing: 2px; /* Espaciado entre letras */
    background-color: yellow;
}

.editcell {
    background-color: var(--popup-title-bg-color);
    color: var(--color-contenido);
}

.commandbuttons {
    margin: 2px;
}

.datagridpartido {
    flex: 1;
    width: 100%;
    height: 100% !Important;
    padding: 5px;
    margin: auto;
}

.estadisticaordenes {
    padding: 10px;
}

.labelestadistica {
    font-size: 150%;
    padding: 5px;
}

.resultestadistica {
    font-size: 150%;
    padding: 0px;
}

.tituloestadistica {
    font-size: 125%;
    padding: 0px;
}

/*.dx-tab-selected {
    background-color: var(--popup-title-bg-color) !important;
}
*/
.txSelectBoxToolBar {
    min-width: 200px;
}

.dx-popup-title {
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    /*margin: 0 !important;*/
}

.toolbar-header {
    background-color: var(--popup-title-toolbar-bg-color) !important;
    margin: 0 !important;
    padding: 5px !important;
    color: white !important;
}

#toolbar, #toolbar .dx-button {
    color: white !important;
}

    #toolbar, #toolbar .dx-button:hover {
        color: black !important;
    }

        #toolbar, #toolbar .dx-icon {
            color: white !important;
        }

            #toolbar .dx-button:hover .dx-icon,
            #toolbar .dx-button:hover i {
                color: black !important;
            }

.colored-toast {
    z-index:9999!important;
}

    .colored-toast.swal2-icon-success {
        background-color: #a5dc86 !important;
    }

    .colored-toast.swal2-icon-error {
        background-color: #f27474 !important;
    }

    .colored-toast.swal2-icon-warning {
        background-color: #ff9900 !important;
    }

    .colored-toast.swal2-icon-info {
        background-color: #3fc3ee !important;
    }

    .colored-toast.swal2-icon-question {
        background-color: #87adbd !important;
    }

    .colored-toast .swal2-title {
        color: white;
    }

    .colored-toast .swal2-close {
        color: white;
    }

    .colored-toast .swal2-html-container {
        color: white;
    }

.contenido-pagina {
    height: 100% !important;
}

.swal2-container {
    z-index: 9999 !important; /* Asegúrate de que sea más alto que el modal */
}

.gn6view {
    /* margin: auto;
    padding: 10px 10px 10px 10px;
    width: 100%!Important;
    max-width:100%!important;*/
}

.tabpanel {
    /*margin:auto;*/
}

.popupprogress {
    overflow-y: hidden;
}

.normalcontent {
    min-height: calc(100vh*0.7) !important;
}

.iconcolor {
    color: var(--icon-color) !important
}

.screenWindow {
    height: calc(100vh*0.7)
}

.dx-button:hover {
    background-color: var(--icon-color) !important;
    color: black; /* También puedes cambiar el color del texto */
}

.datagridsubmaster {
    height: calc(100vh*0.7)
}

.dx-tabpanel-tab {
    background-color: var(--tab-color) !important; /* azul claro */
    margin: 1px !important;
}

.txTPV .dx-texteditor-input {
    font-size: 30px !important;
    text-align: right;
}

.txTPVCambio .dx-texteditor-input {
    font-size: 30px !important;
    text-align: right;
    color:red;
}

.dx-toolbar {
    flex-wrap: wrap !important;
    height: auto !important;
}