.page-header, .page-header-space {
    height: 65px;
}

.page-footer, .page-footer-space {
    height: 65px;
}

.page-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    color: darkgray;
    font-size: 0.9em !important;
}

.page-header {
    position: fixed;
    top: 0mm;
    width: 100%;
    color: darkgray;
    font-size: 0.9em !important;
}

@media print {
    @page {
        size: A4 landscape;
    }

/*    @font-face {
        font-family: SuperDuprFont;
        src: url(../Fonts/RobotoCondensed-Regular.ttf);
    }

    @font-face {
        font-family: SuperDuprFont;
        src: url(../Fonts/RobotoCondensed-Bold.ttf);
        font-weight: bold;
    }*/

    body {
        font-size: 0.75em !important;
        margin: 0;
    }

    thead {
        display: table-header-group;
    }

    tfoot {
        display: table-footer-group;
    }

    p {
        font-size: 0.6rem;
    }

    td, th {    
        font-size: 0.5rem !important;
    }

    table.stripped {
        border-collapse: separate;
        border-spacing: 0 1px;
    }

    table.stripped tbody {
        page-break-inside: avoid;
    }

    table.stripped tr:nth-child(even) {
        border-color: #981b1e !important;
        -webkit-print-color-adjust: exact;
    }

    table.stripped th {
        vertical-align: baseline;
        text-align: center;
        color: black;
    }

    table.stripped thead th {
        border-bottom: 1px solid #981b1e !important;
        text-transform: none;
    }

    table.stripped tbody tr:last-child td:last-child {
        border: none;
    }

    table.stripped tbody tr {  
        height: 12px;
    }

    table.stripped thead th:nth-of-type(odd) {
        background: #F5F5F5;
    }

    table.stripped tbody td:nth-of-type(odd) {
        background: #F5F5F5;
    }

    table.stripped thead th:nth-of-type(even) {
        background: #FAFAFA;
    }

    table.stripped tbody td:nth-of-type(even) {
        background: #FAFAFA;
    }

    .page {
        page-break-before: always !important;
        min-height: 0vh !important;
    }

    .noprint {       
        display: none;
    }

    label {
        color: #981b1e;
        height: 1.5rem;
        text-transform: uppercase !important;
    }
}

/*Vizualizace tiskový šablony debug -> vypnout si zavírání okna v .js*/
thead {
    display: table-header-group;
}

tfoot {
    display: table-footer-group;
}

table.stripped {
    border-collapse: separate;
    border-spacing: 0 1px;
}

table.stripped tbody {
    page-break-inside: avoid;
}

table.stripped tr:nth-child(even) td {
    border-color: #981b1e !important;
    -webkit-print-color-adjust: exact;
}
table.stripped tbody tr:last-child td:last-child {
    border: none;
}

table.stripped th {
    vertical-align: baseline;
    text-align: center;
    color: black;
}

table.stripped thead th {
    border-bottom: 1px solid #981b1e !important;
    text-transform: none;
}

table.stripped tbody tr {
    height: 12px;
}

table.stripped thead th:nth-of-type(odd) {
    background: #F5F5F5;
}

table.stripped tbody td:nth-of-type(odd) {
    background: #F5F5F5;
}

table.stripped thead th:nth-of-type(even) {
    background: #FAFAFA;
}

table.stripped tbody td:nth-of-type(even) {
    background: #FAFAFA;
}

.page {
    page-break-before: always !important;
    min-height: 0vh !important;
}

caption {
    caption-side:top;
}
