/* ==========================================================================
   Factura POS / Recibo - Formato Original Palominos NUBE OLD
   ========================================================================== */

* {
    font-size: 14px;
    line-height: 20px;
}

#invoice-POS {
    max-width: 400px;
    width: 100%;
    margin: 0;
    margin-left: 0 !important;
    margin-right: auto !important;
    font-family: Arial, Helvetica, sans-serif;
    color: #05070b;
}

#invoice-POS h1,
#invoice-POS h2,
#invoice-POS h3,
#invoice-POS h4,
#invoice-POS h5,
#invoice-POS h6 {
    color: #05070b;
    font-weight: bolder;
}

#invoice-POS #top {
    text-align: center;
    margin-bottom: 12px;
}

#invoice-POS #top .logo {
    height: auto;
    width: auto;
    max-width: 260px;
    max-height: 120px;
    margin: 0 auto 8px auto;
    text-align: center;
}

#invoice-POS #top .logo img {
    height: 110px;
    max-height: 110px;
    max-width: 250px;
    width: auto;
    display: inline-block;
    object-fit: contain;
    margin: 0 auto;
}

#invoice-POS #top .info h2,
#invoice-POS h2 {
    font-size: 19px;
    font-weight: bold;
    margin: 4px 0 2px 0;
    line-height: 1.3;
    color: #000;
    text-align: center;
}

#invoice-POS .info {
    display: block;
    margin-top: 15px;
    margin-left: 0;
    text-align: center;
}

#invoice-POS .info h6 {
    margin: 2px 0;
    font-size: 13px;
    line-height: 1.3;
    color: #05070b;
    font-weight: bolder;
}

#invoice-POS table {
    width: 100%;
    border-collapse: collapse;
}

#invoice-POS table th,
#invoice-POS table td {
    padding: 3px 4px;
    font-size: 13px;
}

#invoice-POS table thead th {
    font-weight: bold;
    color: #05070b;
}

#invoice-POS table tr {
    border-bottom: 3px dotted #ddd !important;
}

#invoice-POS #total {
    width: 100%;
    margin-top: 8px;
    border-collapse: collapse;
}

#invoice-POS #total tr {
    background-color: transparent !important;
    border-bottom: 3px dotted #ddd !important;
}

#invoice-POS #total th {
    padding: 6px;
    font-size: 14px;
    font-weight: bold;
    color: #05070b;
}

#invoice-POS #legalcopy {
    margin-top: 5mm;
    text-align: center;
}

#invoice-POS #legalcopy p {
    text-align: center;
    margin: 3px 0;
    font-size: 12px;
}

@media print {
    * {
        line-height: 20px;
    }
    @page {
        margin: 0;
        size: auto;
    }
    body {
        margin: .5cm .5cm 1.6cm .5cm !important;
        padding: 0 !important;
        background: #fff !important;
        font-family: Arial, Helvetica, sans-serif !important;
    }
    /* Ocultar footer del sistema, logo de footer, barra de navegación, botones y modales */
    .footer-bottom,
    .footer-bottom *,
    .footer_panel,
    footer,
    .main-header,
    .side-content-wrap,
    .modal-header,
    .modal-footer,
    #btnprint3,
    #btnclosemodal3,
    .modal-backdrop,
    button {
        display: none !important;
        visibility: hidden !important;
    }
    #invoice-POS {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        float: left !important;
    }
    #invoice-POS table tr {
        border-bottom: 3px dotted #ddd !important;
    }
    #invoice-POS #total tr {
        background-color: transparent !important;
        border-bottom: 3px dotted #ddd !important;
    }
}
