.intro {
    max-width: 1280px;
    margin: 1em auto;
}
.table-scroll {
    position: relative;
    width:100%;
    z-index: 1;
    margin: auto;
    overflow: auto;
    border-radius: 15px;
    border: 1px solid #D7D7D7;
    font-family: 'Lato', sans-serif;
}
.table-scroll table {
    width: 100%;
    /* min-width: 1280px; */
    margin: auto;
    border-collapse: separate;
    border-spacing: 0;
}
.table-wrap {
    position: relative;
}
.table-scroll th,
.table-scroll td {
    height: 59px;
    /* width: 30px; */
    padding: 5px 10px;
    vertical-align: top;
}
.table-scroll thead th {
    background: #187BF1;
    height: 64px;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}
.table-scroll tbody tr, .table-scroll tbody tr > th:first-child {
    background: white;
    color: #797979;
    text-align: center;
    font-size: 15px;
    vertical-align: middle;
    /* min-width: 20px; */
}

.table-scroll tbody tr > td {
    border-left: 1px solid #D7D7D7;
    vertical-align: middle;
}
.table-scroll tbody tr:nth-child(2n), .table-scroll tbody tr:nth-child(2n) > th:first-child {
    background: rgba(247, 247, 247, 1);
}
.table-scroll tbody > tr.primary, .table-scroll tbody > tr.primary > th:first-child {
    background: rgba(94, 163, 245, 1);
    color: white;
}
/* safari and ios need the tfoot itself to be position:sticky also */
.table-scroll tfoot,
.table-scroll tfoot th,
.table-scroll tfoot td {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    background: #666;
    color: #fff;
    z-index:4;
}

.table-scroll th:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 2;
}
.table-scroll thead th:first-child,
.table-scroll tfoot th:first-child {
    z-index: 5;
}

@media(max-width: 750px) {
    .table-scroll {
        max-height: 68vh;
    }

    body .table-scroll  tr > td {
        max-width: 40px;
    }
    body .table-scroll  tr > th:first-child {
        overflow-wrap: break-word;
        font-size: 12px;
    }
    body .table-scroll  tr.primary > th:first-child {
        font-size: 14px;
    }
    .table-scroll thead th {
        font-size: 14px;
        height: 92px;
    }
    .table-scroll thead > tr > th, .table-scroll tbody td {
        width: 10%;
    }
    .table-scroll th, .table-scroll td {
        padding: 5px 6px;
    }
}