﻿
.table-scroll {
    position: relative;
    width: 100%;
    z-index: 1;
    margin: auto;
    overflow: auto;
    height: 750px;
    padding-left: 18px;
}

@media only screen and (max-device-height: 1080px) {
    .table-scroll {
        height: 650px;
    }
}

@media only screen and (max-device-height: 768px) {
    .table-scroll {
        height: 418px;
    }
}

.table-scroll table {
    min-width: 1280px;
    margin: auto;
    border-collapse: separate;
    border-spacing: 0;
}

    .table-scroll table thead th {
        min-width: 100px;
        margin-left: 8px;
        margin-right: 8px;
    }

    .table-scroll table tbody th {
        font-size: 14px;
        font-weight: 300;
        border-bottom: 1px solid #f3f1f1;
    }

.table-wrap {
    position: relative;
}

.table-scroll th,
.table-scroll td {
    padding-top: 8px;
    padding-bottom: 8px;
    vertical-align: top;
}

.table-scroll thead th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
}

.make-sticky-header {
    z-index: 6 !important;
}

.make-sticky {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 4;
    background: #fff;
}

@media only screen and (max-width: 1920px) {
    .table-scroll table thead th:first-child {
        min-width: 500px !important;
    }

    .table-scroll table thead th:nth-child(2) {
        min-width: 50px !important;
    }
    /* additional position for type column that make it sticky*/
    .type-col-position {
        left: 500px !important;
    }
}

@media only screen and (max-width: 1368px) {
    .table-scroll table thead th:first-child {
        min-width: 350px !important;
    }

    .table-scroll table thead th:nth-child(2) {
        min-width: 50px !important;
    }
    /* additional position for type column that make it sticky*/
    .type-col-position {
        left: 350px !important;
    }
}

.alert-warning {
    font-size: 14px;
}