
@media print {
    body {
        width: 210mm;
        height: 297mm;
        /* change the margins as you want them to be. */
    }


    @page {
        size: A4;
        margin-top: 5%;
        margin-bottom: 5%;
        margin-left: 5%;
        margin-right: 5%;
        font-size: 12px;
    }

    #header {
        position: relative;
        top: 0;
    }

    #content {
        margin-top: 100px; /* adjust this value to match your header height */
    }

    div {
        text-align: center;
    }

    .hide-print {
        display: none !important;
    }
   

    .print-table tbody tr {
        display: table-row;
    }

        .print-table tbody tr.hide-print {
            display: none;
        }

            .print-table tbody tr.hide-print .cell {
                visibility: hidden;
            }







    .no-print, .no-print * {
        display: none !important;
    }

    .onn-print-table {
        border-collapse: collapse;
        border-color: black;
        border-spacing: 0;
        width: 100%;
    }

    .tg {
        border-collapse: collapse;
        border-color: #93a1a1;
        border-spacing: 0.1;
        width: auto;
    }

        .tg td {
            background-color: #ffe8d6;
            border-color: #93a1a1;
            border-style: solid;
            border-width: 1px;
            color: white;
            font-family: Arial, sans-serif;
            font-size: 14px;
            overflow: hidden;
            padding: 10px 5px;
            word-break: normal;
        }

        .tg th {
            background-color: #6b705c;
            border-color: #93a1a1;
            border-style: solid;
            border-width: 1px;
            font-family: Arial, sans-serif;
            font-size: 14px;
            font-weight: normal;
            overflow: hidden;
            padding: 10px 5px;
            word-break: normal;
            color: white;
        }

        .tg .tg-p7nt {
            border-color: #000000;
            color: black;
            font-size: 20px;
            text-align: center;
            vertical-align: top
        }

        .tg .tg-p7ntt {
            border-color: #000000;
            color: black;
            font-size: 20px;
            text-align: center;
            vertical-align: top;
        }

        .tg .tg-sihp {
            border-color: #000000;
            color: white;
            font-size: 20px;
            text-align: center;
            vertical-align: top
        }

        .tg td-print {
            background-color: white;
            border-color: black;
            border-style: solid;
            border-width: 1px;
            font-family: Arial, sans-serif;
            font-size: 18px;
            overflow: hidden;
            /*  padding: 5px 5px;*/
            word-break: normal;
        }

        .tg th-print {
            background-color: burlywood;
            border-color: black;
            border-style: solid;
            border-width: 1px;
            font-family: Arial, sans-serif;
            font-size: 20px;
            font-weight: normal;
            overflow: hidden;
            /*padding: 5px 5px;*/
            word-break: normal;
        }

        .tg .tg-p7nt-print {
            background-color: burlywood;
            border-color: black;
            color: black;
            font-size: 18px;
            text-align: center;
        }

        .tg .tg-sihp-print {
            border-color: black;
            color: black;
            font-size: 20px;
            text-align: center;
        }
    .tr.no-counter td:first-child::before {
        content: none;
    }
}
