@media print {
    #page-topbar,
    .topnav,
    .footer,
    .right-bar,
    .rightbar-overlay,
    .page-title-box,
    .app-actions,
    .no-print {
        display: none !important;
    }

    body,
    .main-content,
    .page-content,
    .container-fluid {
        background: #fff !important;
        color: #000 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .card,
    .app-section,
    .app-panel {
        border-color: #bbb !important;
        box-shadow: none !important;
    }

    .table-responsive,
    .app-table-scroll,
    .accounting-section,
    .payment-section {
        max-height: none !important;
        overflow: visible !important;
    }

    .table-header-fixed,
    .table-footer-fixed,
    .table-accounting thead th,
    .table-accounting tfoot td {
        position: static !important;
    }

    thead {
        display: table-header-group;
    }

    tfoot {
        display: table-footer-group;
    }

    tr,
    img {
        break-inside: avoid;
    }
}
