﻿/* force background graphics to be printed */
* {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.print-root {
    display: none;
}

@media print {

    @page {
        margin: 0;
    }

    #app-root.ignore-print {
        display: none !important;
    }

    #print-root {
        visibility: visible !important;
        display: block !important;
        background-color: white;
        width: 100%;
    }

    .page-break:not(:last-of-type) {
        break-after: page;
    }

    .no-page-break {
        break-inside: avoid;
    }

    /* Adjust default sizes */
    p {
        font-size: 17px;
    }

    h1 {
        font-size: 52px;
    }

    h2 {
        font-size: 42px;
    }

    h3 {
        font-size: 35px;
    }

    h4 {
        font-size: 28px;
    }

    h5 {
        font-size: 23px;
    }

    h6 {
        font-size: 19px;
    }

    h6.mud-typography-subtitle1 {
        font-size: 15px;
    }

    h6.mud-typography-subtitle2 {
        font-size: 12px;
    }

    p.mud-typography-body1 {
        font-size: 15px;
    }

    p.mud-typography-body2 {
        font-size: 12px;
    }

    /* Custom print classes */
    .print-grid {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: var(--sc-spacing-2);
    }
}

