/*version=1.00*/
/* Log here
//2020/09/11   
// CSV設定画面のスタイル */

.table-container {
    position: relative;
    table-layout: fixed;
    height: calc(100vh - 350px);
    min-height: 245px;
    width: 100%;
}

.scroll-table {
    /* width: 300px; */
    overflow-x: auto;
    display: block;
    position: sticky;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex; /* Prevent tbody overflow table-container */
    flex-direction: column; /* Prevent tbody overflow table-container */
}

.scroll-table>thead,
.scroll-table>tbody {
    display: block;
    width: 100%;
}

.scroll-table>tbody {
    overflow-y: auto;
    overflow-x: hidden;
    /* height: calc(100vh - 334px);
    min-height: 200px; */
    flex: 1; /* Prevent tbody overflow table-container */
}

.scroll-table>tbody>tr>td {
    padding: 5px;
    width: 100%;
    /* text-align: center; */
    word-break: break-all;
}

/* .scroll-table > tbody > tr > td:nth-child(3) {
    text-align: left;
} */

.scroll-table>tbody>tr {
    display: table;
    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: 3%;
    text-align: center;
}

.scroll-table>tbody>tr>td:nth-child(2),
.scroll-table>thead>tr>th:nth-child(2) {
    min-width: 3%;
    width: 6%;
}

.scroll-table>tbody>tr>td:nth-child(3),
.scroll-table>thead>tr>th:nth-child(3) {
    width: 13%;
}

.scroll-table>tbody>tr>td:nth-child(4),
.scroll-table>thead>tr>th:nth-child(4) {
    width: 11%;
    text-align: center;
}

.scroll-table>tbody>tr>td:nth-child(5),
.scroll-table>thead>tr>th:nth-child(5) {
    width: 13%;
    text-align: center;
}

.scroll-table>tbody>tr>td:nth-child(6),
.scroll-table>thead>tr>th:nth-child(6) {
    width: 14%;
}

.scroll-table>tbody>tr>td:nth-child(7),
.scroll-table>thead>tr>th:nth-child(7) {
    width: 20%;
}

.scroll-table>tbody>tr>td:nth-child(8),
.scroll-table>thead>tr>th:nth-child(8) {
    width: 20%;
}

.scroll-table>thead>tr>th {
    text-align: center;
    background: #399cb4;
    color: white;
    width: 100%;
    height: 2.5em;
    font-size: 16px;
    padding: 5px;
    word-break: break-all;
}

/* .scroll-table>tbody>tr:nth-child(even) {
    background: gainsboro;
} */
/* 行の色は互い違い */
.scroll-table tbody > tr.odd {
    background: gainsboro;
}
.scroll-table li:nth-child(2n) {
    background: gainsboro;
}
  
.visuallyhidden {
    display: none !important;
}
/* ----------------------------*/

.lastcol {
    padding-right: 15px;
}

select {
    width: 100%;
    padding-left: 0.1rem !important;
}

.scroll-table>tbody>tr:hover {
	background-color: #c4effa;
}


.spinner input {
    text-align: right;
    height: 26px;
    padding-right: 17px !important;
    padding-bottom: 7px !important;
    font-size: 14px;
    border: 1px solid #5e5c5c;
    border-radius: 0;
}

.input-group-number {
    position: relative;
    display: table;
}
.spinner:hover .input-group-btn-vertical {
    display: table-cell;

}
.input-group-btn-vertical {
    display: none;
    position: relative;
    white-space: nowrap;
    width: 1%;
    vertical-align: middle;
}
.input-group-btn-vertical button {
    display: block;
    float: none;
    width: 1%;
    max-width: 100%;
    margin-left: -16px;
    position: relative;
    border: none;
    border-radius: 0;
    background-color: #e7e7e7;
    padding: 6px 14px 5px 0;
}
.input-group-btn-vertical button:focus {
    outline: none;
}
.input-group-btn-vertical button:hover {
    background-color: #cbcdce;
}
.input-group-btn-vertical > .btn:first-child {
    border-top-right-radius: 4px;
    border-top-style: solid;
    margin-bottom: 10px;
}
.input-group-btn-vertical > .btn:last-child {
    margin-top: -2px;
    margin-bottom: 20px;
    border-bottom-right-radius: 4px;
}
.input-group-btn-vertical img{
    position: absolute;
    fill: #399cb4;
    top: 0;
    left: 2px;
}