/*version=1.01*/
/* Log here
//2020/12/03
// 画面を175％以上に拡大して印刷の表示がおかしくなる不具合を修正 */


.ui-datepicker {
    z-index: 9999 !important;
}

.table-container {
    position: relative;
    table-layout: fixed;
    height: 80vh;
    width: 100%;
}

.scroll-table {
    overflow-x: auto;
    display: block;
    position: sticky;
    top: 0;
    width: 100%;
}

.scroll-table>thead,
.scroll-table>tbody {
    display: block;
    width: 100%;
}

.scroll-table>tbody {
    overflow-y: auto;
    overflow-x: hidden;
    height: 75vh;
    /* width: fixed !important; */
}

.scroll-table>tbody>tr>td {
    padding: 5px;
    width: 100%;
    text-align: center;
}

.scroll-table>tbody>tr {
    display: table !important;
    width: 100%;
}

.scroll-table>thead>tr {
    display: table !important;
    width: 100%;
}

.scroll-table>tbody>tr>td:nth-child(1),
.scroll-table>thead>tr>th:nth-child(1) {
    width: 25%;
}

.scroll-table>tbody>tr>td:nth-child(2),
.scroll-table>thead>tr>th:nth-child(2) {
    width: 25%;
}

.scroll-table>tbody>tr>td:nth-child(3),
.scroll-table>thead>tr>th:nth-child(3) {
    width: 25%;
}

.scroll-table>tbody>tr>td:nth-child(4),
.scroll-table>thead>tr>th:nth-child(4) {
    width: 25%;
}

.scroll-table>thead>tr>th {
    text-align: center;
    background:#9b9a9a;
    height: 2em;
    font-size: 16px;
}

.lastcol {
    padding-right: 15px;
}

@page {
    margin-top: 1cm;
    margin-bottom: 1cm;
    margin-left: 2cm;
    margin-right: 2cm;
}

@media print {
    body * {
        visibility: hidden;
        /* transform: scale(.7);
        zoom: 0.95; */
    }

    #section-to-print,
    #section-to-print * {
        visibility: visible;
        zoom: 0.97;
        height: auto !important;
        width: fixed !important;
    }

    .scroll-table>thead>tr {
        display: table;
        width: 100% !important;
    }

    .scroll-table>thead>tr>th {
        font-size: 20px !important;
    }

    #tblheader>thead>tr>th {
        font-size: 26px !important;
    }


    .scroll-table>thead,
    .scroll-table>tbody {
        width: 100% !important;
    }

    #section-to-print {
        background-color: white;
        /* height: 100%;
        width: 100%; */
        position: absolute;
        font-size: 20px;
        line-height: 30px;
        top: -150px;
        /* top: 0;
        left: 0; */
        /* margin: 15px; */
        /* padding: 15px; */
    }
}