/*
 *   HOJA DE ESTILOS PARA IMPRESIONES
 *
 *   Created on : 19/01/2017, 13:26:31
 *   Author     : Rubicom · Soluciones en Gestión [ https://rubicom.com.ar ]
 *   License    : GPLv3
 */

@import url('https://fonts.googleapis.com/css2?family=Pragati+Narrow&display=swap');

@media print {

    * {
        transition: none !important;
    }
    /* DIMENSIONES DE LA PAGINA */
    @page {
        size: A4 portrait;
        margin: 0;
        padding: 0;
        counter-increment: page;
        margin: 15mm;
    }
    @page:first {
        counter-reset: page 1;
    }
    /* ELEMENTOS SUPERIORES */
    html, body {
        color: #222;
        font-family: "Pragati Narrow", "Arial", sans-serif;
        font-size: 16px;
        width: 100%;
        height: 100%;
        margin: 0 !important;
        padding: 0 !important;
        background-image: none !important;
        background-color: #FFF !important;
    }
    header {
        width: 100%;
        margin-bottom: 0.3rem;
        float: left;
    }
    /* TEXTOS */
    a {
        text-decoration: none !important;
        color: black;
    }
    p {
        font-size: 16px;
        margin: 0 0 0.12rem;
        padding: 0;
        line-height: 1.2;
    }
    h1 {
        font-size: 2.0rem;
        margin: 1rem 0 0.5rem 0;
    }
    h2 {
        font-size: 1.8rem;
        margin: 1rem 0 0.5rem 0;
    }
    h3 {
        font-size: 1.6rem;
        margin: 1rem 0 0.5rem 0;
    }
    h4 {
        font-size: 1.4rem;
        margin: 1rem 0 0.5rem 0;
    }
    h5 {
        font-size: 1.2rem;
        margin: 0.5rem 0 0.2rem 0;
    }
    h6 {
        font-size: 1.0rem;
        margin: 0.5rem 0 0.2rem 0;
    }
    /* ELEMENTOS NO IMPRIMIBLES */
    .barra-menu,
    .separador,
    .boton,
    .fila-busqueda,
    .fila-mostrando,
    .cabecera-listado-borrar,
    .cabecera-listado-editar,
    .cabecera-listado-detalle,
    .fila-listado-borrar,
    .fila-listado-editar,
    .fila-listado-detalle,
    .pie-listado,
    .fijo-abajo,
    .scrollToTop,
    .modal,
    #globo-edicion,
    #loader,
    .boton-imprimir-listado,
    .intervalo-registros,
    .no-imprimir,
    .hide {
        display: none;
    }
    /* FORMULARIOS */
    input, select, textarea {
        border: none;
        font-family: "Pragati Narrow", "Arial", sans-serif;
        font-size: 0.95rem;
        margin: 0 0 3mm 0;
        padding: 0;
    }
    label {
        font-size: 0.80rem;
    }
    .checkbox {
        margin: 0 0 3mm 0;
    }
    /* LISTADO */
    table {
        font-size: 16px;
    }
    .table th {
        margin: 0 !important;
        padding: 2px 2px !important;
    }
    .table td {
        margin: 0 !important;
        padding: 6px 2px 0px 2px !important;
        vertical-align: middle !important;
    }
    table img[src=""] {
       visibility: hidden;
    }
    .acciones-listado  {
        display: none;
    }
    /* UTILIDADES */
    .solo-impresion {
        display: block !important;
    }
    input, select, textarea {
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .row {
        margin: 0 !important;
        width: 100% !important;
    }
    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: left !important;
        border: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .col-sm-12 {
        width: 100% !important;
    }
    .col-sm-11 {
        width: 91.66666667% !important;
    }
    .col-sm-10 {
        width: 83.33333333% !important;
    }
    .col-sm-9 {
        width: 75% !important;
    }
    .col-sm-8 {
        width: 66.66666667% !important;
    }
    .col-sm-7 {
        width: 58.33333333% !important;
    }
    .col-sm-6 {
        width: 50% !important;
        max-width: 50% !important;
        min-width: 50% !important;
    }
    .col-sm-5 {
        width: 41.66666667% !important;
    }
    .col-sm-4 {
        width: 33.33333333% !important;
    }
    .col-sm-3 {
        width: 25% !important;
    }
    .col-sm-2 {
        width: 16.66666667% !important;
    }
    .col-sm-1 {
        width: 8.33333333% !important;
    }
    .printableArea, section .printableArea {
        border: initial;
        border-radius: initial;
        box-shadow: initial;
        background: initial;
        page-break-after: always;
        width: 100% !important;
        height: auto !important;
        padding: 0;
        margin: 0;
        overflow-y: hidden;
        
    }
    .printableArea > div {
        height: auto !important;
    }
    .table.table-printable, .table.table-printable tr, .table.table-printable td {
        padding: 2px !important;
        border: none;
    }
    hr {
        margin: 0 0 5mm 0;
    }
    .formato-pagina-a4, .formato-pagina {
        width: 100%;
        height: 100%;
        margin: inherit;
        padding: inherit;
        border: none;
        box-shadow: none;
    }
    .tabla-factura th {
        background-color: #e4e7ea !important;
    }
    .table thead th {
        vertical-align: middle;
        position: initial !important;
        border-bottom: 1px solid #e4e7ea !important;
    }
    .white-box {
        padding: 0;
    }
    .mt-1 {
        margin-top: 7px;
    }
    .mt-2 {
        margin-top: 10px;
    }
    .mt-3 {
        margin-top: 14px;
    }
    .mt-4 {
        margin-top: 20px;
    }
    .mt-5 {
        margin-top: 28px;
    }
    .table .bg-front {
        background-color: #4f5467 !important;
    }
    .detalle-inactivo:after {
        font-size: 320px;
        margin: 50% 50%;
    }
    .text-small, .text-small p {
        color: #666 !important;
        font-size: 12px !important;
        line-height: 12px !important;
        margin-bottom: 0 !important;
    }
    .form-group {
        margin-bottom: 0;
    }
    hr {
        margin-top: 0;
        margin-bottom: 10px;
        border-color: #aaa;
    }
    .badge {
        border: none !important;
        margin-top: 6px !important;
        font-size: 18px !important;
    }
    .fila-totales-tabla tr td {
        font-size: 22px !important;
    }
    span {
        font-size: 16px;
        line-height: 100% !important;
    }
}

.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right !important;
}
.w-100 {
    min-width: 100%;
    width: 100%;
}
th {
    text-align: inherit;
}
.table {
    margin-bottom: 0;
    position: relative;
    overflow-y: auto;
    border-collapse: collapse;
    border-spacing: 0;
}
.table-printable>tbody>tr>td {
    border: none !important;
    text-overflow: normal;
    white-space: normal;
    padding: 0 0 2px 0;
}
.tabla-productos>tbody>tr>td {
    border-bottom: 1px solid #d5dbe2;
}
.tabla-productos>tbody>tr>td.sin-borde {
    border: none !important;
}
.table-printable>tbody>tr>td:nth-child(2n+1) {
    font-weight: normal;
    width: 150px;
}
.table-printable>tbody>tr>td:nth-child(2n) {
    font-weight: bold;
}
.table-right>tr>td:nth-child(2n) {
    text-align: right;
    font-weight: bold;
}
.pie-de-pagina {
    page-break-after: always;
}
.max-50 {
    min-width: 95mm;
    width: 95mm;
    max-width: 95mm;
}
.table-printable .tabla-productos>tbody>tr>td {
    border-bottom: none;
}
.table-printable .tabla-productos>thead>tr>th {
    border-top: 1px solid #d5dbe2;
}
.totales-bottom {
    bottom: 0;
    width: 100%;
    margin-top: 10mm;
}
.celda-observaciones {
    min-height: 20mm;
    max-height: 20mm;
}
.tabla-cliente {
    font-size: 12px;
}
.font-12 {
    font-size: 12px;
}
