﻿.list-nav-wrapper {
    display: none;
    flex-direction: column;
    height: auto;
    left: 0;
    margin-bottom: 88px;
    margin-top: 100px;
    position: sticky;
    top: 240px;
    width: 174px;
}

.list-nav-wrapper nav {
    width: 174px;
}

.list-nav-wrapper nav ul {
    list-style-type: none;
    margin-bottom: 0;
    padding-left: 0;
}

.list-nav-wrapper li {
    margin: 0;
    padding: 0;
}

.list-nav-wrapper li a {
    align-items: center;
    display: flex;
    justify-content: flex-start;
    line-height: 1;
    min-height: 40px;
    padding: 10px 15px;
    position: relative;
    transition: all 0.3s ease;
}

.list-nav-wrapper li a:hover {
    background-color: #f9f9f9;
    text-decoration: none;
}

.list-nav-wrapper li a:after {
    border-bottom: 20px solid transparent;
    border-left: 10px solid transparent;
    border-top: 20px solid transparent;
    content: "";
    height: 0;
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    transition: all  0.3s ease;
}

.list-nav-wrapper li a:hover:after {
}

.list-nav-wrapper li.active a {
    background-color: #14377d;
    color: #fff;
}


.list-nav-wrapper li.active a:after {
    border-left: 10px solid #14377d;
}

.section-leaderboard {
    position: relative;
}

.section-leaderboard .col-table  {
    padding: 0;
}

.heading-mobile-wrapper {
    align-items: center;
    background-color: #14377d;
    border-bottom: 1px solid #1e2120;
    border-top: 1px solid #1e2120;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    margin-left: -15px;
    margin-right: -15px;
    padding: 0;
    position: sticky;
}

.heading-mobile-wrapper:nth-of-type(1) {
    bottom: 123px;
    top: 21.875vw;
    z-index: 5;
}

.heading-mobile-wrapper:nth-of-type(2) {
    bottom: 82px;
    top: calc(21.875vw + 41px);
    z-index: 4;
}

.heading-mobile-wrapper:nth-of-type(3) {
    bottom: 41px;
    top: calc(21.875vw + 82px);
    z-index: 3;
}

.heading-mobile-wrapper:nth-of-type(4) {
    bottom: 0;
    top: calc(21.875vw + 123px);
    z-index: 2;
}

.leaderboard-wrapper {
    margin-top: -292px;
    padding-left: 200px;
}

.leaderboard-heading {
    display: none;
}

.d-table .thead {
    display: none;
    justify-content: space-between;
    margin-inline: -8px;
}

.d-table .thead .th {
    box-sizing: border-box;
    flex-shrink: 0;
    font-weight: 700;
    padding: 8px;
}

.d-table .thead .th:first-of-type {
    padding-left: 30px;
    width: 6em;
}

.d-table .thead .th:nth-of-type(2) {
    flex-shrink: 1;
    width: 100%;
}

.d-table .tbody {
    display: flex;
    flex-wrap: wrap;
}

.d-table .tbody > details,
.see-more details {
    padding: 2rem 1rem 2rem 2rem;
    width: 66.667%
}

.d-table .tbody .mobile-scores {
    padding: 2rem 2rem 2rem 0;
    width: 33.333%
}

.d-table .tbody .tr {
    padding: 0;
}

.d-table .tbody .tr .td,
.d-table .tbody .mobile-scores .td {
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    padding-top: 2px;
}

.d-table .tbody .mobile-scores .td span {
    width: 6em;
}

.d-table .tbody .td:nth-of-type(2) {
    flex-shrink: 1;
    width: 100%;
}

.d-table .tbody .list-label {
    font-weight: 700;
}

.table-striped .tbody details:nth-of-type(2n),
.table-striped .tbody .mobile-scores:nth-of-type(2n){
    background-color: #f9f9f9;
}

.scores-wrapper {
    display: none;
}

.mobile-scores .td span {
    font-weight: 700;
    margin-right: .5rem;
    white-space: nowrap;
}

.text-table {
    font-size: .818em;
    line-height: 1.42857143;
}

.text-table > strong {
    margin-right: .5rem;
}

.d-table .tbody > details.see-more {
    border-bottom: unset;
    padding: 0;
    width: 100%;
}

.d-table .tbody > details.see-more > summary:before {
    content: none;
}

.d-table .tbody > details.see-more > div {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

details[open].see-more > summary {
    display: none;
}

@media(min-width: 768px) {
    .heading-mobile-wrapper {
        display: none;
    }

    .leaderboard-heading {
        display: block;
    }

    .section-leaderboard .col-table {
        padding-left: 15px;
        padding-right: 15px;
    }

    .list-nav-wrapper {
        display: flex;
    }

    .d-table .thead { 
        display: flex;
    }

    .d-table .tbody {
        display: block;
    }

    .d-table .tbody > details,
    .see-more details {
        padding: 0;
        width: 100%;
    }

    .d-table .tbody .tr {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        margin-inline: -8px;
        padding: 0 0 0 3rem;
    }

    .d-table .tbody .tr .td {
        display: block;
        padding: 8px;
    }
    

    .d-table .tbody .td:first-of-type {
        width: 4em;
    }

    .d-table .thead .th:nth-of-type(3),
    .d-table .thead .th:nth-of-type(4),
    .d-table .thead .th:nth-of-type(5),
    
    .d-table .tbody .scores-wrapper .td:nth-of-type(1),
    .d-table .tbody .scores-wrapper .td:nth-of-type(2),
    .d-table .tbody .scores-wrapper .td:nth-of-type(3) {
        flex-shrink: 0;
        text-align: left;
        width: 80px;
    }

    .d-table .thead .th:last-of-type,
    .scores-wrapper .td:nth-of-type(4) { 
        flex-shrink: 0;
        text-align: left;
        width: 110px;

    }

    .d-table .tbody .list-label {
        padding-inline: 2rem;
    }

    .scores-wrapper {
        display: flex;
        flex-shrink: 0;
        width: 350px;
    }

    .mobile-scores { display: none }

    .see-more {
        margin-top: 2rem;
    }
}

@media(max-width: 767px) {
    .leaderboard-wrapper {
        margin-top: 0;
        padding-left: 15px;
        position: relative;
    }

    .section-leaderboard {
        position: static;
    }

    .d-table .tbody .td:before {
        display: inline;
        font-weight: 700;
        margin-right: .25rem;
    }
}