.table-orange thead {
    background-color: #FFA500 !important;
}

/* Printing the report page, which the Print button opens the browser dialog for.
   The page uses inline styles, so these rules need !important to win. */
@media print {
    @page {
        size: landscape;
        margin: 12mm;
    }

    .navbar,
    #page_banner,
    .report-no-print {
        display: none !important;
    }

    #main_page,
    body {
        background-color: #FFFFFF !important;
    }

    /* Black text on white paper, apart from the values marked as a profit or a loss */
    #main_page h1,
    #main_page h4,
    #main_page p,
    #main_page div,
    .table th,
    .table td:not(.report-profit):not(.report-loss):not(.report-neutral):not(.report-muted) {
        color: #000000 !important;
        background-color: transparent !important;
    }

    .report-profit {
        color: #1B7F3B !important;
    }

    .report-loss {
        color: #C0392B !important;
    }

    .report-neutral {
        color: #8A6D00 !important;
    }

    .report-muted {
        color: #767676 !important;
    }

    .table th {
        background-color: #FFA500 !important;
    }

    /* Show the tables in full instead of clipping them to a scrolling box */
    .report-scroll {
        max-height: none !important;
        overflow: visible !important;
    }

    /* Repeat the header on each page and avoid splitting a row in half */
    .table thead {
        display: table-header-group;
    }

    .table tr {
        page-break-inside: avoid;
    }
}
