html {
    scroll-behavior: smooth;
}

table.subcomptable thead tr {
    border-bottom: 2px solid #e3e3e3;
}

table.subcomptable tbody tr {
    border-bottom: 1px solid #e3e3e3;
}

table.subcomptable tbody td,
table.subcomptable thead th {
    font-size: 14px;
    border: none;
}

table.subcomptable thead {
    border-top: none;
    scroll-margin-top: 40px;
}

table.subcomptable {
    border-left: none;
    border-right: none;
    border-top: none;
}

.class-header {
    padding-top: 8px;
    background-color: #004B70;
    color: #fff;
    text-align: center;
}

table.subcomptable tr.result-row.open {
    background-color: #eee;
}

tr.details-row {
    background-color: #474747;
}

table.subcomptable tr.details-row th {
    background-color: #474747;
    color: #fff;
    padding-bottom: 9px;
}

tr.details-row > td {
    border-top: none !important;
    background-color: #474747;
}

table.subcomptable tr.details-row table {
    width: 100%;
    background-color: #fff;
}

    table.subcomptable tr.details-row table tr:nth-of-type(even) {
        background-color: #f7f7f7;
    }

table.subcomptable tr.details-row th, tr.details-row td {
    padding: 5px;
}

table.subcomptable tr.details-row th {
    background-color: #474747;
    color: #fff;
    padding-bottom: 9px;
}

tr.no-hover:hover {
    background-color: unset !important;
}

.tac {
    text-align: center;
}

.tar {
    text-align: right;
}

.ilb {
    display: inline-block;
}

ul.classlinks {
    display: flex;
    grid-row-gap: 4px;
    grid-column-gap: 8px;
    justify-content: center;
    background-color: #fff;
    padding: 6px 0;
    flex-wrap: wrap;
}

ul.classlinks li {
    display: table-cell;
}

ul.classlinks li a {
    padding: 4px 12px;
    display: block;
    border: 1px solid #337ab7;
    color: #337ab7;
    text-decoration: none;
    white-space: nowrap;
    transition: all .25s;
}

ul.classlinks li a:hover {
    background-color: #def;
}

/* Override bootstrap width */
.container {
    max-width: 1400px;
}

@media (min-width: 1200px) {
    .container {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .container {
        width: 100%;
    }

    h1 {
        text-align: center;
    }

    ul.classlinks {
        position: sticky;
        top: 0px;
    }
}

@media (min-width: 768px) {
    .container {
        width: 100%;
    }
}
