﻿
/*tablas*/

table td:first-child {
    width: 1px;
}

table td:nth-child(1) {
    width: 1px;
}

table td:nth-child(2) {
    width: 100px;
}

table td:nth-child(3) {
    width: 100px;
}

/*cambio de color para filas impares*/

/* Estilos para las filas impares */
/*tr:nth-child(odd) {
    background-color: #f2f2f2;
}*/
/* Estilos para las filas impares */
/*cambio de color para filas impares*/


table td:last-child {
    width: 100px;
}

.color_para_label {
    color: #486783;
}
/*para intercalar las filas de color*/
/*table tbody tr:nth-child(odd) {
    background: #fff5e0;
}

table tbody tr:nth-child(even) {
    background: #fdf8ef;
}*/
/*para intercalar las filas de color*/

/*table, tr, th {
    border-style: solid;
    border-collapse: collapse;
}

    table tr:nth-child(even) {
        background: #c0c0c0;
    }

    table tr:nth-child(odd) {
        background: #808080;
    }*/
/*tablas*/

textarea:focus, input:focus, input[type]:focus {
    /*border-color: rgb(255, 144, 0);*/
    border-color: rgb(72, 103, 131);
    /*box-shadow: 0 1px 1px rgba(229, 103, 23, 0.075)inset, 0 0 8px rgba(255,144,0,0.6);*/
    /*#E56717 naranjo => rgba(229, 103, 23, 0.075) */
    /*#FF9000 naranjo => rgba(255,144,0,0.6)*/

    box-shadow: 0 1px 1px rgba(43, 61, 78, 0.075)inset, 0 0 8px rgba(72,103,131,0.6);
    outline: 0 none;
}

.colores {
    background-color: darkseagreen;
    color: white;
    border-radius: 5px;
}

.colores-inversos {
    background-color: white;
    color: darkseagreen;
    border-radius: 5px;
}

.tamaño-titulo-grande {
    font-size: large;
}

.tamaño-titulo-medio {
    font-size: medium;
}

.bordes-verdes {
    border-color: darkseagreen;
}

.bordes-verdes-oscuro {
    border-color: #38761d; /*verde oscuro*/
    border-width: 2px;
    color: white;
}

.colores-inversos::placeholder {
    color: darkseagreen; /*verde claro*/
    font-weight: bold;
}

.marcos {
    border: 2px solid darkseagreen;
}

.color-boton-guardar {
    background-color: #38761d;          /*verde oscuro*/
    color: white;
}

.ajustar_tablas {
    overflow-x: auto;
    display: block;
}

.sinbordefondo {
    background-color: #eee;
    border: 0;
}

.colores-menu {
    background-color: darkseagreen;
    color: #486783;     /*azul*/
    font-weight: bold;
}

.colores-menu:hover {
    background-color: white;
    color: darkseagreen;
}

.color-destacar {
    background-color: #486783;
    color:white;
}

/*2025-04-24*/
.destacar-h2 {
    font-size: 28px;
    font-weight: bold;
    color: #486783; /* #2a9df4;*/ /* Color azul */
    border-bottom: 3px solid #486783; /* #2a9df4;*/ /* Línea decorativa debajo */
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase; /* Texto en mayúsculas */
}

.destacar-h3 {
    font-size: 24px;
    font-weight: 500;
    color: #ff5722; /* Color naranja */
    background-color: #ffe0b2; /* Fondo destacable */
    border-left: 5px solid #ff5722; /* Barra decorativa a la izquierda */
    padding: 15px;
    border-radius: 5px; /* Esquinas redondeadas */
}

.destacar-h4 {
    font-size: 20px;
    font-weight: bold;
    color: #4caf50; /* Color verde */
    background-color: #e8f5e9; /* Fondo verde claro */
    border-left: 5px solid #4caf50; /* Barra decorativa a la izquierda */
    padding: 10px 15px;
    margin-bottom: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para resaltar */
    border-radius: 5px; /* Esquinas redondeadas */
    line-height: 1.6; /* Mejor legibilidad */
}
.destacar-h5 {
    font-size: 18px;
    font-weight: bold;
    color: #38761d; /* #9c27b0;*/ /* Color púrpura */
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 15px;
    border-top: 3px solid #38761d; /* #9c27b0;*/ /* Línea decorativa encima */
    text-align: center;
    background-color: #e8f5e9; /*#f3e5f5;*/ /* Fondo púrpura claro */
    border-radius: 5px; /* Esquinas redondeadas */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Ligera sombra */
}

.destacar-h5-danger {
    font-size: 18px;
    font-weight: bold;
    color: #9c27b0; /* Color púrpura */
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 15px;
    border: 3px solid  #9c27b0; /* Línea decorativa encima */
    text-align: center;
    background-color: #f3e5f5; /* Fondo púrpura claro */
    border-radius: 5px; /* Esquinas redondeadas */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Ligera sombra */
}

.d-none {
    display: none;
}
/*2025-04-24*/

/*2023-07-31*/
.input_container {
    display: flex;
    gap: 12px;
}

.sinBordePaddinMarginIzqDer{
    border-left:0px;
    border-right:0px;
    padding-left:0px;
    padding-right:0px;
    margin-left:0px;
    margin-right:0px;
}
.total_documento {
    
    text-align:right;
    font-size:large;
    font-weight:600;
}

.totales_documento {
    text-align: right;
    font-weight: 600;
}

/************************PARA IMPRIMIR LA BOLETA*********************/
/*.ticket {
    width: 205px;*/ /*155*/
    /*max-width: 205px;*/ /*155*/
    /*estos no estaban*/
    /*background: white;
    font-family: 'Times New Roman';*/
    /*font-size: 8px;*/
/*}*/



/*div.saltopagina {
    display: none;
}*/

.saltopagina {
    display: block;
    page-break-before:unset always;
}

/*.margenes_boleta {
    padding-bottom: 0px;
    border-bottom: 0px;
    margin-bottom: 0px;
    padding-top: 1px;
    border-top: 1px;
    margin-top: 1px;
}

.letras_ticket_grande {
    font-family: 'Times New Roman';
    font-size: 26px;
}
.letras_ticket_mediana {
    font-family: 'Times New Roman';
    font-size: 10px;
}
.letras_ticket_chica {
    font-family: 'Times New Roman';
    font-size: 14px;
}
.para_titulos_medio_letra_boleta {
    font-family: 'Times New Roman';
    font-size: 14px;
    text-align: left;*/
    /*align-content: center;*/
    /*estos no estaban*/
    /*color: #fff;
    background-color: black;*/
/*}
.para_titulo_grande_margenes_boleta {
    font-family: 'Times New Roman';
    text-align: center;
    font-size: 14px;
    padding-bottom: 5px;
}
.para_texto_fijo_tabla_boleta {
    text-align: right;
    font-size: 8px;
}

.para_texto_variable_tabla_boleta {
    font-size: 10px;
}

table .tablaimprime_boleta {
    border-collapse: collapse;
    font-size: 14px;
    font-family: 'Times New Roman';
}*/

/*td.producto,
th.producto {
    width: 75px;
    max-width: 75px;
}
*/
/*.centrado_boleta {
    text-align: center;
    align-content: center;
}*/

table .Tablaimprime {
    border-collapse: collapse;
    font-size: 14px;
    font-family: 'Times New Roman';
}

.centrado {
    text-align: center;
    align-content: center;
}

.InformacionEmpresaImprimir {
    font-size: 10px;
    text-align: center;
    align-content: center;
    
    /*background-color: black;*/
}

.ticket {
    width: 320px; /*350px; */
    max-width: 320px; /*350px; */
    font-family: 'Times New Roman';
}

div.saltopagina {
    display: none;
}

div.saltopagina {
    display: block;
    page-break-before: always;
}

.margenes_primero_imprimir {
    text-align: center;
    font-size: 13px;
    padding-bottom: 0px;
    border-bottom: 0px;
    margin-bottom: 0px;
   
}
.margenes_dos_imprimir {
    text-align: left;
    font-size: 12px;
    padding-bottom: 0px;
    border-bottom: 0px;
    margin-bottom: 0px;
    padding-top: 1px;
    border-top: 1px;
    margin-top: 1px;
}
.margenes_tres_imprimir {
    text-align: left;
    font-size: 10px;
    padding-bottom: 10px;
    padding-top: 1px;
    border-top: 1px;
    margin-top: 1px;
}

.CeroArribaAbajoImprimir {
    padding-top: 0px;
    margin-top: 0px;
    border-top: 0px;
    
    padding-bottom: 0px;
    border-bottom: 0px;
    margin-bottom: 0px;
}
.CeroIzqDerImprimir {
    padding-left: 0px;
    margin-left: 0px;
    border-left: 0px;

    padding-right: 0px;
    border-right: 0px;
    margin-right: 0px;
}

.CeroIzqDerImprimir1 {
    padding-left: 1px;
    margin-left: 1px;
    border-left: 1px;
    padding-right: 0px;
    border-right: 0px;
    margin-right: 0px;
}

.totales_imp {
    display: grid;
    grid-template-columns: 3fr 1fr;
    font-size: 16px;
}

.izq_imp {
    text-align:left;
}
.der_imp {
    text-align:right;
}

.final_imp {
    display: grid;
    grid-template-columns: 2fr 2fr;
    font-size: 12px;
}
.comprad_imp {
    display: grid;
    grid-template-columns: 1fr 3fr;
    font-size: 13px;
}
.pie_imp {
    display: grid;
    grid-template-columns: 3fr;
    text-align:center;
}

.linea {
    border-top: solid;
}

/**tabs*/
.tabs {
    width: 200px;
    border-right: 1px solid #ccc;
}

.tab-button {
    display: block;
    background: none;
    border: none;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

    .tab-button:hover {
        background-color: darkseagreen; /*#f0f0f0;*/
        color: white;
    }

.tab-content {
    padding: 20px;
    flex-grow: 1;
}

.tab {
    display: none;
}

    .tab.active {
        display: block;
    }
/**tabs*/
/*
.contenedor {
    display: grid;
    grid-template-columns: 1fr 100px;
    justify-content: center;
    margin-top: -1px;*/
    /*border: solid;*/
/*}

    .contenedor div {
        height: 100%;
    }

@media (max-width:480px) {

    .contenedor {
        grid-template-columns: 100%;
        margin-top: 10px;
    }
}*/
/************************PARA IMPRIMIR LA BOLETA*********************/



/*input[type="checkbox"]*/
.checkPersonalizado
{
    appearance: none; /* Oculta el estilo predeterminado */
    width: 2em;
    height: 2em;
    font-size: 2em;
    text-align: center;
    cursor: pointer;
    border: none;
    background: transparent;
}

    /*input[type="checkbox"]::before */
    .checkPersonalizado::before {
        content: "🟩"; /* Emoji de casilla sin marcar */
    }

    /*input[type="checkbox"]:checked::before */
    .checkPersonalizado:checked::before {
        content: "✅"; /* Emoji de casilla marcada */
    }

    /*para devolucion de productos 2025-06-17*/
.campo-error {
    border: 2px solid #dc3545 !important; /* rojo intenso */
    background-color: #f8d7da;
}

.destello-total {
    background-color: #d4edda;
    transition: background-color 0.3s ease;
}


.print-section {
    page-break-after: always;
}

    /*para devolucion de productos 2025-06-17*/