#printhelp-wrapper-footer, #print-helper {
    display: none;
}
@media print {
    /** Setting margins */
    @page { margin: 2cm }
    body {
        font: 12pt Verdana, Arial, Helvetica, sans-serif;
        line-height: 1.3;
        background: #fff !important;
        color: #000;
    }
    #print-helper {
        display: block !important;
        border-top: 1px solid #CCCCCC;
        border-bottom: 1px solid #CCCCCC;
        padding: 5px;
        width: 97%;
        font-size: 11pt;
    }
    #printhelp-nav-details-header {
        font-weight: bold;
    }
    #print-helper div {
        width: 100%;
    }
    #inner-wrap{
        display: block !important;

    }
    #outer-wrap, .sub-nav-container {
        display: block;
    }
    div#pageCore {
        display: block;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    a[href]:after { content: none !important; }
    .sub-nav-container > .page-content {
        overflow: hidden;
        padding-bottom: 0;
        display:block;
        width: 100%;
    }
    .sub-nav-container:before, .sub-nav-container:after{
        display: block;
        content: unset !important;
    }
    .container-fluid {
        margin: 0;
        padding: 0;
        display:block;
        width: 100%;
    }
    .container-fluid > form > div:nth-of-type(1) {
        display: none;
    }
    .navbar-default {
        border: none;
    }
    .navbar-left {
        float: left !important;
    }
    .navbar-right {
        float: right !important;
    }
    .navbar-fixed-top-wrapper {
        padding-bottom: 20px;
    }
    .navbar-fixed-top, .navbar-fixed-bottom {
        position: relative;
        right: 0;
        left: 0;
        z-index: 1;
    }
    .footer-horizontal-rule {
        margin: 0 0 0 0;
        font-size: 11pt;
    }
    #outer-wrap {
        padding-top: 0;
        margin: 0 !important;
    }
    div.bf_content_box {
        font-size: 11pt;
    }
    .section-header {
        margin: 0;
        padding: 0;
    }
    table {
        max-width: 100vw !important;
    }
    table.table-bordered th,
    table.table-bordered td {
        border: 1px solid #CCCCCC !important;
        font-size: 10px;
    }
    .table-bordered > tbody > tr > td,
    .table-bordered > tbody > tr > th:not(:last-child) {
        border-right: 1px solid #CCCCCC !important;
    }
    .table-bordered > thead > tr > th,
    .table-bordered > tbody > tr > th,
    .table-bordered > tfoot > tr > th,
    .table-bordered > thead > tr > td,
    .table-bordered > tbody > tr > td,
    .table-bordered > tfoot > tr > td {
        border: 1px solid #CCCCCC;
    }
    table.inv-sub-header {
        border: none;
    }
    table.inv-sub-header tbody {
        border: 1px solid #CCCCCC !important;
        font-size: 10pt;
    }
    table.inv-sub-header th,
    table.inv-sub-header td {
        border: none;
        font-size: 10pt;
    }
    div.invoice-element-section {
        font-size: 11pt;
    }
    ul.invoice-details-list div.col-md-4 {
        float: left;
    }
    ul.invoice-details-list div.col-md-8 {
        float: right;
    }
    div.panel, .panel.message {
        font-size: 11pt;
        border: 1px solid #CCCCCC !important;
        background-color: #ffffff !important;
    }
    div#main-content {
        display: block !important;
        margin: 0 !important;
        width: 100% !important;
        padding: 0 !important;
        page-break-inside: auto !important;
    }
    table.table-info, table.position-pagination, table.page_contents {
        display: table !important;
        padding: 0 !important;
    }
    table.page_contents > tbody > tr:nth-of-type(2) {
         display: table-row !important;
     }
    .position-pagination  table.table-bordered {
        white-space: normal !important;
        page-break-inside: auto;
        width: 98% !important;
    }
    tr {
        page-break-inside: auto !important;
    }

    /* things that should be hidden altogether */
    .env-banner, .app-header-v1, #header_links, #breadcrumbbar, #carr-header-tr, #return-to-td, #askBackground, #askContainer,
    #pleasewaitmessage, #pleasewaitmessagebody,
    .screen-reader, #header_bar, .quick-links, .row_menu_column > div, #page_tabs, #page_tab_bar, button,
    #pres-inv-tier-search-tr, #pres-select-inv-type, th.dataTable_2header > img, th.dataTable_2headerLeft > img,
    .search-bar, td#staticPGTOP > img, td#staticPGBOT > img, .account-menu, #main-nav-v2, .sub-nav-wrapper,
    .page-header, div.invoice-element-section div.invoice-actions {
        display: none;
    }
    table { break-after: avoid-page; break-before: avoid-page }
}