/* .scroll-tb table */
.scroll-tb-wrap {
    overflow: auto;
    max-height: 700px;
    padding-left: 0;
    border-left: 1px solid #999 !important;
    border-top: 1px solid #999 !important;
}

.scroll-tb-wrap>table {
    width: 100%;
    min-width: 700px;
}

.scroll-tb-wrap tbody>tr>td:first-child,
.scroll-tb-wrap th:first-child {
    position: sticky;
    left: 0;
    /* 首行永遠固定於左 */
    z-index: 100;
}

.scroll-tb-wrap tbody>tr>td[rowspan]:first-child {
    z-index: 110;
}

.scroll-tb-wrap thead tr th,
.scroll-tb-wrap tbody>tr:first-child>td {
    position: sticky;
    top: 0;
    /* 列首永遠固定於上 */
    z-index: 120 !important;
}

.scroll-tb-wrap tbody>tr:first-child>td:first-child {
    z-index: 130 !important;
}

.scroll-tb-wrap th:first-child {
    z-index: 2;
}

.scroll-tb-wrap table {
    /*overflow: auto;
    -ms-overflow-style: scrollbar;*/
}

.scroll-tb-wrap table th,
.scroll-tb-wrap table td {
    vertical-align: middle !important;
    border-right: 1px solid #999 !important;
    border-bottom: 1px solid #999 !important;
}

.scroll-tb-wrap table th {
    /*background-color: :rgba(142, 195, 28, 1.00);*/
}

.scroll-tb-wrap table th:first-child {
    /*min-width: 200px;*/
}

.scroll-tb-wrap table thead th:first-child {
    z-index: 100;
}

@media (max-width:576px) {
    .scroll-tb-wrap table th:first-child {
        min-width: auto;
    }
}

.scroll-tb-wrap table td {
    /*min-width: 125px;*/
}

.scroll-tb-wrap .device .flex-card-header .bsbgset {
    height: 300px;
}

