@media print {
    *,
    ::after,
    ::before {
        text-shadow: none !important;
        box-shadow: none !important
    }

    a:not(.btn) {
        text-decoration: underline
    }

    abbr[title]::after {
        content: " (" attr(title) ")"
    }

    pre {
        white-space: pre-wrap !important
    }

    blockquote,
    pre {
        border: 1px solid #adb5bd;
        page-break-inside: avoid
    }

    thead {
        display: table-header-group
    }

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

    h2,
    h3,
    p {
        orphans: 3;
        widows: 3
    }

    h2,
    h3 {
        page-break-after: avoid
    }
    .fxinvoice {
        width: 80mm;
        height: auto;
        margin: 0 auto;
        font-size: 80%;
        font-family: verdana, arial, helvetica;
    }

    body {
        min-width: 992px !important
    }

    .container {
        min-width: 992px !important
    }

    .navbar {
        display: none
    }

    .badge {
        border: 1px solid #000
    }

    .table {
        border-collapse: collapse !important
    }

    .table td,
    .table th {
        background-color: #fff !important
    }

    .table-bordered td,
    .table-bordered th {
        border: 1px solid #dee2e6 !important
    }

    .table-dark {
        color: inherit
    }

    .table-dark tbody+tbody,
    .table-dark td,
    .table-dark th,
    .table-dark thead th {
        border-color: #dee2e6
    }

    .table .thead-dark th {
        color: inherit;
        border-color: #dee2e6
    }

    #pagecont,
    .pagecont {
        margin: 0 !important;
        padding: 0 !important
    }

    .content {
        margin: 0 !important;
        padding: 0 !important
    }

    * {
        margin: 0;
        padding: 0
    }

    .content,
    .pagecont {
        margin: 0;
        padding: 0;
        visibility: hidden
    }

    #sidebar {
        display: none !important;
        margin: 0;
        padding: 0;
        visibility: hidden
    }

    .no-print,
    .no-print * {
        display: none !important
    }

    body * {
        visibility: hidden
    }

}

@media print, screen {
    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact
    }
}