@media print {
    @page {
        size: A4 portrait;
    }

    body {
        padding-top: 0px;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    * {
        page-break-before: auto !important;
        break-before: auto !important;
        page-break-inside: auto !important;
        break-inside: auto !important;
        page-break-after: auto !important;
        break-after: auto !important;
    }

    #yii2-debug-toolbar {
        display: none;
    }

    .container {
        width: auto !important;
    }

    .text-grayed,
    .text-grayed * {
        color: #e2e2e2 !important;
    }

    .navbar,
    .mimic,
    .breadcrumbs {
        display: none;
    }

    .section {
        border: 0px;
    }

    .section header .minimize-toggle,
    .section header .actions {
        display: none;
    }

    .section .content {
        padding-left: 0px;
        padding-right: 0px;
    }

    .section .filters {
        display: none;
    }

    .grid-view {
        overflow: visible;
    }

    .grid-view tr.filters {
        display: none;
    }

    .grid-view thead > tr > th.scrolled_top,
    .grid-view thead > tr > td.scrolled_top {
        top: 0px !important;
    }

    .grid-view th.data-actions,
    .grid-view td.data-actions {
        display: none;
    }

    table {
        border-collapse: collapse;
    }

    table.table-bordered {
        border-radius: 0px;
    }

    table th,
    table td:not(.merge) {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    table td {
        padding: 0px 4px;
    }

    table.bordered {
        border: 1px solid black;
    }

    table.bordered td,
    table.bordered th {
        border: 1px solid black;
    }

    .table-bordered thead:first-child tr:first-child > th:first-child,
    .table-bordered tbody:first-child tr:first-child > td:first-child,
    .table-bordered tbody:first-child tr:first-child > th:first-child {
        border-radius: 0px;
    }

    .table-bordered thead:last-child tr:last-child > th:first-child,
    .table-bordered tbody:last-child tr:last-child > td:first-child,
    .table-bordered tbody:last-child tr:last-child > th:first-child,
    .table-bordered tfoot:last-child tr:last-child > td:first-child,
    .table-bordered tfoot:last-child tr:last-child > th:first-child {
        border-radius: 0px;
    }

    .section > .content ul.nav-tabs {
        margin: 0px 0px 10px;
    }

    .section > .content ul.nav-tabs > li:first-child {
        margin-left: 0px;
    }

    .nav-tabs > .active > a {
        border: 0px;
    }

    .nav-tabs > :not(.active) {
        display: none;
    }

    .tab-content {
        overflow-y: visible;
    }

    .addon,
    .filters {
        display: none;
    }

    .print-hide {
        display: none !important;
    }

    .print-break {
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    .print-nobreak {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    .print-page:not(:last-child) {
        break-after: always !important;
        page-break-after: always !important;
    }

    a[href]:after {
        content: none !important;
    }

    span.abbr {
        border-bottom: 0px;
    }

    div[data-extandable='popover'] {
        height: auto;
        overflow: inherit;
    }

    div[style*='max-height'] {
        max-height: none !important;
    }

    .salary_statement {
        font-size: 10px;
    }
}
