@page {
    margin: 1cm;
}

@page landscape {
    size: A4 landscape;
}

@page {
    @bottom {
        text-align: center;
        content: counter(page) " / " counter(pages);
        font-size: 9pt;
        font-family: sans-serif;
        margin-bottom: .5cm;
    }
}

.pdf[data-prefer-landscape] {
    page: landscape;
}

html {
    height: auto;
}

body {
    background: #fff;
    color: #000;
    padding: 0;
    margin: 0;
    font-size: 10pt;
}

#menu {
    display: none;
}

main {
    margin: 0;
    background: none;
}

main h1.main {
    display: none;
}

table.list thead {
    border-bottom: solid .3rem #000;
}

table.list thead td, table.list thead th {
    background: #ccc !important;
    color: #000 !important;
    border-right: 1px solid #999;
}

table.list tfoot {
    border-top: double .3rem #000;
}

table.statement tfoot tr {
    color: #000;
}

table.list tfoot tr td, table.list tfoot th {
    background: #fff;
    color: #000;
}

table.list tr {
    border: 1px solid #666;
}

table.list tr:nth-child(even) {
    background: #ddd;
}

table.list.multi tr:nth-child(even) {
    background: inherit;
}

table.list.multi tr:nth-child(4n+1), table.list.multi tr:nth-child(4n+2) {
    background: #ddd;
}

table.list td {
    border: 1px solid #999;
}

#rapport tr {
    color: #000 !important;
}

#rapport table .parent {
    border-top: 1px dashed #666;
}

#rapport table table {
    border: 1px solid #666;
}

#rapport .parent {
    background: #ccc;
}

.noprint {
    display: none;
}

.print-only {
    display: block;
}

td.actions *, nav.tabs, .icn-btn, .pagination, a.icn {
    display: none !important;
}

td.num a, a.num {
    border: none;
    padding: 0;
    background: none;
}

/* Disable hyperlinks */
a {
    color: black !important;
    text-decoration: none;
    prince-link: none !important;
}

/* Don't repeat the table footer on every printed page */
table tfoot{
    display:table-row-group;
}

details summary::after {
    display: none;
}

.ruler::after, .ruler::before {
    display: none;
}

.transaction-details-container {
    max-width: initial;
}