﻿@media print {
    /* Hide mud tabs titles */
    .print-hide-tabs .mud-tabs-toolbar {
        display: none !important;
    }

    body {
        background-color: white;
    }

    .print-hide-tabs .mud-tabs-panels {
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media print {
    .print-payouts .mud-data-grid {
        height: auto !important;
        overflow: visible !important;
    }

    .print-payouts .mud-data-grid .mud-table-container {
        overflow: visible !important;
        height: auto !important;
    }

    .print-payouts table {
        page-break-inside: auto;
    }

    .print-payouts thead {
        display: table-header-group;
    }

    .print-payouts tfoot {
        display: table-footer-group;
    }

    .print-payouts tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }

    /* Hide filter inputs */
    .print-payouts .mud-table thead tr:nth-child(2) {
        display: none !important;
    }

    /* Hide all and then display specific columns */
    .print-payouts .mud-table-cell,
    .print-payouts .mud-table-head-cell {
        display: none !important;
    }

    .print-payouts .mud-table-row > :nth-child(1),
    .print-payouts .mud-table-row > :nth-child(2),
    .print-payouts .mud-table-row > :nth-child(3),
    .print-payouts .mud-table-row > :nth-child(4),
    .print-payouts .mud-table-row > :nth-child(5),
    .print-payouts .mud-table-head-row > :nth-child(1),
    .print-payouts .mud-table-head-row > :nth-child(2),
    .print-payouts .mud-table-head-row > :nth-child(3),
    .print-payouts .mud-table-head-row > :nth-child(4),
    .print-payouts .mud-table-head-row > :nth-child(5) {
        display: table-cell !important;
    }
}
