/* Standalone receipt document. Do not import application, modal, or POS styles here. */
@page invoice-sheet {
    size: auto;
    margin: 10mm;
}

body[data-print-profile="sheet"] { page: invoice-sheet; }

*, *::before, *::after { box-sizing: border-box; }
html.invoice-print-document,
html.invoice-print-document body {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    color: #000;
}
body { font: 14px/1.42857143 Arial, 'Helvetica Neue', sans-serif; }
.invoice-print-content {
    display: block;
    position: static;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    overflow: visible;
}
img, svg { max-width: 100%; }
img { vertical-align: middle; }
p { margin: 0 0 10px; }
h1, h2, h3, h4, h5, h6 { font-family: inherit; font-weight: 500; line-height: 1.1; margin: 10px 0; }
h1 { font-size: 36px; } h2 { font-size: 30px; } h3 { font-size: 24px; }
h4 { font-size: 18px; } h5 { font-size: 14px; } h6 { font-size: 12px; }
small { font-size: 85%; }
hr { border: 0; border-top: 1px solid #eee; margin: 20px 0; }
address { margin-bottom: 20px; font-style: normal; }

/* The small Bootstrap grid/utility subset used by the existing receipt designs. */
.row { margin-left: 0; margin-right: 0; }
.row::after, .clearfix::after { content: ''; display: table; clear: both; }
[class*="col-xs-"], [class*="col-sm-"], [class*="col-md-"] { position: relative; min-height: 1px; padding: 0 10px; float: left; }
.col-xs-1 { width: 8.333333%; } .col-xs-2 { width: 16.666667%; }
.col-xs-3 { width: 25%; } .col-xs-4 { width: 33.333333%; }
.col-xs-5 { width: 41.666667%; } .col-xs-6 { width: 50%; }
.col-xs-7 { width: 58.333333%; } .col-xs-8 { width: 66.666667%; }
.col-xs-9 { width: 75%; } .col-xs-10 { width: 83.333333%; }
.col-xs-11 { width: 91.666667%; } .col-xs-12, .col-md-12 { width: 100%; }
.width-40 { width: 40% !important; } .width-50 { width: 50% !important; }
.width-60 { width: 60% !important; } .width-100 { width: 100% !important; }
.text-left { text-align: left; } .text-right { text-align: right; } .text-center { text-align: center; }
.pull-left { float: left; } .pull-right { float: right; }
.center-block { display: block; margin-left: auto; margin-right: auto; }
.img-responsive { display: block; max-width: 100%; height: auto; }
.text-bold { font-weight: bold; } .text-uppercase { text-transform: uppercase; }
.text-muted { color: #777; } .color-555, .color-555 * { color: #555; }
.word-wrap { overflow-wrap: anywhere; }
.font-17 { font-size: 17px; } .font-23 { font-size: 23px; } .font-30 { font-size: 30px; }
.padding-5 { padding: 5px !important; } .padding-10 { padding: 10px !important; }
.no-padding, .col-no-padding { padding: 0 !important; }
.mt-5 { margin-top: 5px; } .mb-0 { margin-bottom: 0; }
.hide, .hidden, .no-print, .hidden-print { display: none !important; }

table { width: 100%; max-width: 100%; border-collapse: collapse; border-spacing: 0; }
.table { margin-bottom: 20px; }
.table th { text-align: left; }
.table > thead > tr > th, .table > tbody > tr > td, .table > tfoot > tr > td { padding: 8px; vertical-align: top; border-top: 1px solid #ddd; }
.table > thead > tr > th { border-bottom: 2px solid #ddd; }
.table-bordered, .table-bordered th, .table-bordered td { border: 1px solid #ddd; }
.table-slim > thead > tr > th, .table-slim > tbody > tr > td, .table-slim > tfoot > tr > td { padding: 1px; }
.table-no-top-cell-border th, .table-no-top-cell-border td { border-top: 0 !important; }
.table-no-side-cell-border th, .table-no-side-cell-border td { border-left: 0 !important; border-right: 0 !important; }

.invoice-print-content { overflow-wrap: anywhere; }
.invoice-print-columns col { width: var(--print-column-width); }
.invoice-print-content .invoice-print-items,
.invoice-print-content .invoice-print-tax,
.invoice-print-content .compact-tax-table,
.invoice-print-content .tally-outer {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
}
.invoice-print-content .invoice-print-items th,
.invoice-print-content .invoice-print-items td,
.invoice-print-content .invoice-print-tax th,
.invoice-print-content .invoice-print-tax td,
.invoice-print-content .compact-tax-table th,
.invoice-print-content .compact-tax-table td,
.invoice-print-content .oasis-tax-label,
.invoice-print-content .oasis-tax-amount {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

@media print {
    .invoice-print-content { overflow-wrap: anywhere; }
    .invoice-print-columns col { width: var(--print-column-width); }
    .invoice-print-content .invoice-print-items,
    .invoice-print-content .invoice-print-tax,
    .invoice-print-content .compact-tax-table,
    .invoice-print-content .tally-outer {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed !important;
    }
    .invoice-print-content .invoice-print-items th,
    .invoice-print-content .invoice-print-items td,
    .invoice-print-content .invoice-print-tax th,
    .invoice-print-content .invoice-print-tax td,
    .invoice-print-content .compact-tax-table th,
    .invoice-print-content .compact-tax-table td,
    .invoice-print-content .oasis-tax-label,
    .invoice-print-content .oasis-tax-amount {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }
    .invoice-print-content, .invoice-print-content table, .invoice-print-content tbody {
        page-break-inside: auto;
        break-inside: auto;
    }
    .invoice-print-content thead { display: table-header-group; }
    .invoice-print-content tfoot { display: table-row-group; }
    .invoice-print-content tr { page-break-inside: avoid; break-inside: avoid; }
    .invoice-print-content .table-responsive, .invoice-print-content .oasis-tax-table-scroll {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }
    table.table-responsive { display: table; }
    /* Outer layout rows may contain an entire nested items/tax table. */
    .invoice-print-content .tax-footer-block > tbody > tr,
    .invoice-print-content .tally-outer > tbody > tr {
        page-break-inside: auto !important;
        break-inside: auto !important;
    }
    .invoice-print-content h1, .invoice-print-content h2, .invoice-print-content h3 { break-after: avoid; }
    a[href]::after { content: none !important; }
}
