﻿/* #region Estimate Report */

body[data-pagetype="bill-of-quantity-report"] h2 {
    font-size: 80%;
    background-color: #808080;
    color: white;
    border: none;
    padding: 0.25rem
}

body[data-pagetype="bill-of-quantity-report"] h3 {
    font-size: 100%;
    font-weight: bold;
}

.new-page {
    page-break-before: always;
}

#report-print-header {
    font-size: 200%;
    font-weight: bold;
}

table#all-report-zones, table#all-report-totals {
    border: none;
    font-size: 10pt;
    vertical-align: middle;
    text-align: center;
}

table#all-report-zones th, table#all-report-totals th {
    background-color: #808080;
    color: white;
    border: none;
    height: 4.5rem;
    vertical-align: middle;
    font-weight: normal;
}

table#all-report-zones td {
    padding: 0rem;
}

td.report-zone-header-separator {
    height: 1.5rem;
    border: none;
}

td.report-zone-header {
    background-color: #d9d9d9;
    text-align: left;
}

/* #endregion */

@media print {
    @page {
        size: A4 landscape; /* DIN A4 standard, Europe */
        margin: 0;
        margin-top: 10mm
    }

    body[data-pagetype="bill-of-quantity-report"] html, body[data-pagetype="bill-of-quantity-report"] {
        width: 290mm;
        height: 262mm;
        font-size: 11px;
        background: #FFF;
        overflow: visible;
    }

    input.form-control, .col-form-label {
        border: none;
        padding: 0;
    }

    .standardNotes, .customNoteOutput, .disclaimerText {
        font-size: 6pt;
    }

    table#all-report-zones, table#all-report-totals {
        font-size: 6pt;
    }

    table#all-report-zones th, table#all-report-totals th {
        height: 5rem;
    }

    td.report-zone-header-separator {
        height: 1rem;
    }

    body[data-pagetype="bill-of-quantity-report"] h3.disclaimerText {
        margin-top: 1.5rem;
    }

    body[data-pagetype="bill-of-quantity-report"] p.disclaimerText {
        margin-bottom: 0em;
    }

    /* Hide date picker icon when printing (only works in Chrome / Edge) */
    input[type='date']::-webkit-calendar-picker-indicator {
        background: transparent;
    }
}