/************stickytablescroll***************/
.sticky-wrap {
    display: block;
    min-height: 1.5rem;
    overflow: auto;
    scroll-behavior: smooth;
}

.sticky-wrap>table {
    width:100%;
    border-collapse: collapse;
}

.sticky-wrap>table th {
    color: #FFF;
    background-color: rgb(162, 143, 204);
}

.sticky-wrap>table td {
    z-index: 0;
}

.sticky-wrap>table th {
    text-align: center;
    z-index: 1;
}

.sticky-wrap>table th::after,
.sticky-wrap>table td::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: block;
    border-bottom: 1px solid #EEE;
    border-right: 1px solid #EEE;
    pointer-events: none;
}

.sticky-wrap>table>thead.caption {
    top: 0;
    position: -webkit-sticky;
    position: sticky;
    display: table-caption;
    z-index: 5;
}

.sticky-wrap>table>thead:not(.caption) th {
    top: 0;
    position: -webkit-sticky;
    position: sticky;
    z-index: 3;
}

.sticky-wrap>table>thead:not(.caption) th:first-child {
    z-index: 5 !important;
}

.sticky-wrap>table>tbody>tr:first-child th {
    top: 0;
    left: auto;
    position: -webkit-sticky;
    position: sticky;
    z-index: 3;
}

.sticky-wrap>table>tbody th {
    left: 0;
    position: -webkit-sticky;
    position: sticky;
    z-index: 3;
}

.sticky-wrap>table>tbody>tr:first-child th:first-child {
    top: 0;
    left: 0;
    z-index: 5;
}

.sticky-wrap>table>tfoot th {
    bottom: 0;
    position: -webkit-sticky;
    position: sticky;
}

.sticky-left {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 4 !important;
}

.sticky-right {
    position: -webkit-sticky;
    position: sticky;
    right: 0;
    z-index: 4 !important;
}