:root {
  --color-principal:  #202020;
  --color-secundario: #B7B4B4;
  --color-fondo-login:whitesmoke;
  --color-fondo:      #ffffff;
  --color-resalte:    #C00200;
  --color-letras:     #FFFFFF;  
}

input[type="submit"] {
    font-family: FontAwesome;
}

body {
    padding-left: 10px;
}

div.botones label{
    max-width: 75px !important;
    min-width: 75px !important;
    border-bottom: 5px solid #0045a6 !important;
    box-shadow: 6px 6px 6px #999 !important;
}

div.botones label.active{
    box-shadow: 2px 2px 2px #777 !important;
    border-bottom:1px solid #0045A6 !important;
}

.botonayuda{
    border-radius: 50%;
    color: var(--color-resalte);
    background-color: #36b9cc;
    border-color: #36b9cc;
    width: 20px;
    height: 20px;
    margin: 10px;
    padding: 0px;
    display: inline-block;
    font-weight: 400;    
    text-align: center;
    vertical-align: middle;
    user-select: none;            
    font-size: 1rem;
    line-height: 1.5;    
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.botoneliminar{
    background-color: var(--color-resalte) !important;
    color: var(--color-letras) !important;
}

@media (max-width: 780px) {
   .headerform{
      display: block !important;
   }
}    

#logoindex img{
    height: 70px;
}

#logoindex{
    display: flex;
}

    
.contenedorqr{
        display: flex;
        height: 100vh;
        align-items: center;
    }

#contqr{
         width: 5cm;
         max-height: 2.5cm;
    }
#contqr img{    
         /*width: 5cm !important;*/
         max-height: 2.5cm !important;
}

.cabecera{
        overflow: hidden;
}

.oculto {
    display: none !important;
}

.invisible {
    visibility: hidden !important;
}

.footerform{
    width: 100%;
}

.mensajeerror {
    color: #fff;
    background-color: #e68177;
    border-color: #e74a3b;
    width: 100%;
    text-align: center;
    font-size: 18px;
    border-radius: 6px;
    padding: 8px;
}
.mensajeadvertencia {
    color: #202020;
    background-color: #e6d877;
    border-color: #f6c23e;
    width: 100%;
    text-align: center;
    font-size: 18px;
    border-radius: 6px;
    padding: 8px;
}

.tachado {
    text-decoration: line-through !important;
    color: red;
}

.exito {
    color: #fff;
    background-color: #02cd05;
    border-color: green;
    width: 100%;
    text-align: center;
    font-size: 18px;
    border-radius: 6px;
    padding: 8px;
}

.espera {         
    background: url(../img/loading.gif);
    background-repeat: no-repeat;
    background-position: center center;    
    background-size: contain;    
    width: 100%;
    height: 25px;
}

.cerrar-mensaje {
  float: right;
  background-color: transparent;
  color: inherit;
  border: 0;
  font-size: 30px;
  line-height: 20px;
}

.resalteerror {
    color: #fff !important;
    background-color: #e68177 !important;
    border-color: #e74a3b !important;
}

.headerform{
    padding-left: 15px;
    padding-right: 15px;
    border-color: lightgray;
    width: 95%;
    border-radius: 15px;
    padding-top: 15px;
    border-width: 1px;
    border-style: groove;
}

.headerform p{
    margin-bottom: 0;
}

.bodyform{
    padding-left: 15px;
    padding-right: 15px;
    border-color: lightgray;
    width: 95%;    
    border-radius: 15px;
    padding-top: 15px;
    border-width: 1px;
    border-style: groove;
    margin-top: 10px;    
}

.bodyform p{
    margin-bottom: 0;
}


.bodybottom{
    padding-left: 15px;
    padding-right: 15px;
    border-color: lightgray;
    width: 95%;    
    border-radius: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-width: 1px;
    border-style: groove;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 700px) {
  .tabs {
    margin-bottom: 2rem;
  }
}

@media (max-width: 450px) {
  .tabs {
    margin-bottom: 3rem;
  }

  
}

.espaciohorizontal{
    margin-left: 10px;
}

.formfield{
        display: block;
}

/************************/
/****    PESTAÑAS *******/
/************************/
ul.tabs {
    margin: 0;
    padding: 0;
    float: left;
    list-style: none;
    height: 32px; /*--Set height of tabs--*/
    width: 100%;
    margin-right: 15px
}
ul.tabs li {
    float: left;
    margin: 0;
    padding: 0;
    height: 31px; /*--Subtract 1px from the height of the unordered list--*/
    line-height: 31px; /*--Vertically aligns the text within the tab--*/    
    margin-bottom: -1px; /*--Pull the list item down 1px--*/
    overflow: hidden;
    position: relative;
    border: 1px #ccc;
    border-style: solid;
    border-radius: 15px 15px 0px 0px;
    background: #ccc;
}


ul.tabs li a {
    text-decoration: none;
    color: #000;
    display: block;
    font-size: 1.2em;
    padding: 0 20px;
    outline: none;
}
ul.tabs li a:hover {
    background: #fff;
}
html ul.tabs li.active, html ul.tabs li.active a:hover  { 
/*--Makes sure that the active tab does not
        listen to the hover properties--*/
background: #fff;        
}

.tab_container {
    overflow: hidden;
    clear: both;
    float: left; width: 100%;
    margin-bottom: 15px;
    margin-right: 15px
}
.tab_content {
    padding: 20px;
    font-size: 1.2em;
    width: 100%;
}

/*******************************/
/*******************************/
/*    CLASE DE IMPRESIONES     */
/*******************************/
/*******************************/
@media print{
  .botones{
    display: none !important;
  }
  
  @media (max-width: 120mm) { 
     /*Cuando el papel no exceda los 120mm haz esto*/
     .tiporecibo{
        display: block !important;
      }

      .dividirrecibo{
        display: block !important;
      }


      .tipocarta {
        display: none !important;
      }    

      .letrarecibo {
        font-size: medium !important;        
        font-weight: normal !important;
      }  

      .bordeimpreso{
        border:  0 !important;
        margin: 0px !important;
        padding: 0px !important;
        font-size: small !important;        
        font-weight: normal !important;
      }
 }

 @media (min-width: 120mm) { 
    /*Cuando el papel exceda los 120mm haz esto*/
    .tiporecibo{
        display: none !important;
      }

      .tipocarta {
        display: block !important;
      }      
}

}


#multiplo{
    background-color: khaki;
    padding-left: 15px;
   border-color: lightgray;
   width: 95%;
   margin: auto;
   border-radius: 15px;
   padding-top: 15px;
   border-width: 1px;
   border-style: groove;
   margin-top: 10px;
}

#base{
    background-color: skyblue;
    padding-left: 15px;
   border-color: lightgray;
   width: 95%;
   margin: auto;
   border-radius: 15px;
   padding-top: 15px;
   border-width: 1px;
   border-style: groove;
   margin-top: 10px;
}

#diviso{
    background-color: lightgreen;
    padding-left: 15px;
   border-color: lightgray;
   width: 95%;
   margin: auto;
   border-radius: 15px;
   padding-top: 15px;
   border-width: 1px;
   border-style: groove;
   margin-top: 10px;
}

.opciones{
    display: block;
}


.multiplo{
   display: flex;
   padding-left: 15px;
   border-color: lightgray;
   width: 95%;
   margin: auto;
   border-radius: 15px;
   padding-top: 15px;
   border-width: 1px;
   border-style: groove;
   margin-top: 10px;
}

.diviso{

  display: flex;
   padding-left: 15px;
   border-color: lightgray;
   width: 95%;
   margin: auto;
   border-radius: 15px;
   padding-top: 15px;
   border-width: 1px;
   border-style: groove;
   margin-top: 10px;

}

.base {

  display: flex;
   padding-left: 15px;
   border-color: lightgray;
   width: 95%;
   margin: auto;
   border-radius: 15px;
   padding-top: 15px;
   border-width: 1px;
   border-style: groove;
   margin-top: 10px;

}

.RESALTAPRODUCTO {
  background-color: lightgray !important;
}

.divlineal{
  display: flex;    
}

.divlineal label{
  text-overflow: ellipsis; 
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;    
}



.divlineal p{
  text-overflow: ellipsis; 
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;  
}

tfoot span{
  text-overflow: ellipsis; 
  max-width: 100%;  
  white-space: nowrap;  
}

tfoot div{  
  text-align: right;
}


tfoot th{
  padding: 8px 10px !important;
}

.mw-max-content {
  max-width: max-content;
}

@media (max-width: 800px) { 
    /*Cuando el papel exceda los 120mm haz esto*/
    .divlineal{
       display: block;  
     }

     .divlineal p{
       display: none;
     } 

}

.esperaitem {         
    background: url(../img/loading.gif);
    background-repeat: no-repeat;
    background-position: center center;    
    background-size: contain;    
    width: 15px;
    height: 15px;
    margin-right: 15px;
}

.listoitem {         
    background: url(../img/checkgreen.svg);
    background-repeat: no-repeat;
    background-position: center center;    
    background-size: contain;        
    width: 15px;
    height: 15px;
    margin-right: 15px;
}

.erroritem {         
    background: url(../img/errorred.svg);
    background-repeat: no-repeat;
    background-position: center center;    
    background-size: contain;        
    width: 15px;
    height: 15px;
    margin-right: 15px;
}

.nivel1 {
    background-color: white !important;     
}
.nivel2 {
    background-color: #E5E4E2 !important; 
    color: black !important;
}
.nivel3 {
    background-color: silver !important; 
    color: black !important;
}
.nivel4 {
    background-color: gray !important; 
    color: white !important;
}
.nivel5 {
    background-color: lightslategray !important; 
    color: white !important;
}

.nivel6 {
    background-color: darkslategray !important; 
    color: white !important;
}

.loader-after {
  position: relative;
  user-select: none;
}

.loader-after::after {
  content: '';
  backdrop-filter: blur(2px);
  background: url('../img/loading.gif');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 70px;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
  user-select: none;
}

.dt-cell-btn {
  height: 1em;
  width: 1em;
  display: inline-block;
  padding: 2px;
  color: white;
  border: .15em solid white;
  border-radius: 1em;
  box-shadow: 0 0 .2em #444;
  box-sizing: content-box;
  text-align: center;
  text-indent: 0;
  font-family: "Courier New",Courier,monospace;
  line-height: 1em;
  /* background-color: #31b131 */
}

.dt-cell-btn.dt-cell-btn-primary {
  background-color: var(--primary);
}

.dt-cell-btn.dt-cell-btn-success {
  background-color: var(--success);
}

.dt-cell-btn.dt-cell-btn-warning {
  color: #202020;
  background-color: var(--warning);
}

.dt-cell-btn.dt-cell-btn-danger {
  background-color: var(--danger);
}

.bg-principal {
  background-color: var(--color-principal);
}

.payment-options-list,
.products-list {
  margin: 0;
  padding: 0;
  padding-right: 5px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  overflow: hidden;
  overflow-y: auto;
  max-height: calc(100% - 30px);
  margin-right: 10px;
  width: calc(100% - 25px);
}

.payment-options-list {
  grid-template-columns: repeat(5, 1fr);
  padding-right: 0;
  margin-right: 0;
  width: 100%;
}

.payment-options-list .payment-item,
.products-list .product-item {
  border: 0;
  background-color: #2d78de;
  color: var(--color-letras);
  height: 130px;
  display: flex;
  justify-content: center;
  padding: 5px;
  cursor: pointer;
}

.payment-options-list .payment-item:is(.category),
.products-list .product-item:is(.category) {
  background-color: #bd3435;
}

.payment-options-list .payment-item .payment-title,
.products-list .product-item .product-title {
  word-break: break-all;
  text-overflow: clip;
  overflow: hidden;
}

.categories-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
}

.category-item {
  display: inline-block;
  background-color: #bd3435;
  color: #fff;
  padding: 5px 10px;
  border-radius: 30px;
  margin-top: 10px;
}

.category-item-btn {
  line-height: 0;
  background-color: transparent;
  border: 0;
  color: #fff;
  font-size: 25px;
  vertical-align: middle;
  padding: 0;
}

.cxc .loader-after::after {
  background-color: #ffffff;
}

.cxc body .modal.show:not(:first-child) {
  backdrop-filter: brightness(0.75);
}