#leaderboards-top-teams {}

.leaderboards-top-team {
    display: block;
    padding: 5px;
}

.leaderboards-top-team.hide {
    display: none;
}

#leaderboards-top-teams.visible .leaderboards-top-team.hide {
    display: block;
}

.leaderboards-top-teams-btn-container {
    margin: 0;
    border: 5px solid #e8e8e8;
    background: #fff;
    width: 100%;
    padding: 10px 20px;
    text-align: right;
}

.leaderboards-top-teams-btn {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    text-transform: uppercase;
    color: #927E57;
}

.leaderboards-top-teams-btn:hover {
    color: #B99753;
}

@media screen and (min-width: 410px) {
    #leaderboards-top-teams {
        display: -ms-flex;
        display: -webkit-flex;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .leaderboards-top-team {
        display: inline-block;
        flex-basis: 50%;
        flex-grow: 1;
    }
    #leaderboards-top-teams.visible .leaderboards-top-team.hide {
        display: inline-block;
    }
    .leaderboards-top-teams-btn-container {
        margin: 5px;
        border: none;
    }
}

@media screen and (min-width: 570px) {
    .leaderboards-top-team {
        flex-basis: 33.33%;
    }
}

.leaderboards-top-team-content {
    height: 100%;
    background: #fff;
    padding: 20px;
}

.leaderboards-top-team-content h1.pos,
.leaderboards-top-team-content h2.time {
    text-align: center;
    margin: 20px;
}

.leaderboards-top-team-content h1.pos .num {}

.leaderboards-top-team-content h1.pos .ordinal {
    font-size: 0.5em;
    vertical-align: super;
}

.leaderboards-top-team-content h2.details {
    color: #927E57;
    font-weight: normal;
    font-size: 20px;
    text-align: center;
}

.leaderboards-top-team-content h2.details>* {
    display: inline-block;
    margin: 0 10px;
}

.leaderboards-top-team-content h2.details .label {
    font-size: 0.8em;
    opacity: 0.6;
}

.leaderboards-top-team-content h2.details .value {
    opacity: 0.8;
}

.leaderboards-team {
    margin-top: 20px;
}

.leaderboards-player {
    margin-top: 5px;
}

.leaderboards-player .leaderboards-character-icon {
    vertical-align: middle;
}

.leaderboards-player .leaderboards-username {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.9em;
    margin-left: 6px;
}

.leaderboards-player:nth-child(1) .leaderboards-username {
    color: RGB(205, 79, 57);
}

.leaderboards-player:nth-child(2) .leaderboards-username {
    color: RGB(255, 165, 79);
}

.leaderboards-player:nth-child(3) .leaderboards-username {
    color: RGB(205, 150, 205);
}

.leaderboards-player:nth-child(4) .leaderboards-username {
    color: RGB(205, 170, 125);
}

.leaderboards-player:nth-child(5) .leaderboards-username {
    color: RGB(238, 99, 99);
}

.leaderboards-player:nth-child(6) .leaderboards-username {
    color: RGB(205, 133, 63);
}

.leaderboards-top-team.pos-4 h1.pos,
.leaderboards-top-team.pos-5 h1.pos,
.leaderboards-top-team.pos-6 h1.pos,
.leaderboards-top-team.pos-7 h1.pos,
.leaderboards-top-team.pos-8 h1.pos,
.leaderboards-top-team.pos-9 h1.pos,
.leaderboards-top-team.pos-10 h1.pos {
    font-size: 40px;
    opacity: 0.8;
}

.leaderboards-top-team.pos-4 h2.time,
.leaderboards-top-team.pos-5 h2.time,
.leaderboards-top-team.pos-6 h2.time,
.leaderboards-top-team.pos-7 h2.time,
.leaderboards-top-team.pos-8 h2.time,
.leaderboards-top-team.pos-9 h2.time,
.leaderboards-top-team.pos-10 h2.time {
    font-size: 16px;
    opacity: 0.5;
}

.leaderboards-top-team.pos-4 .leaderboards-character-icon,
.leaderboards-top-team.pos-5 .leaderboards-character-icon,
.leaderboards-top-team.pos-6 .leaderboards-character-icon,
.leaderboards-top-team.pos-7 .leaderboards-character-icon,
.leaderboards-top-team.pos-8 .leaderboards-character-icon,
.leaderboards-top-team.pos-9 .leaderboards-character-icon,
.leaderboards-top-team.pos-10 .leaderboards-character-icon {
    width: 26px;
    height: 26px;
}

.leaderboards-top-team.pos-7,
.leaderboards-top-team.pos-8,
.leaderboards-top-team.pos-9,
.leaderboards-top-team.pos-10 {
    flex-basis: 25%;
}

.leaderboards-top-team.pos-7 .leaderboards-character-icon,
.leaderboards-top-team.pos-8 .leaderboards-character-icon,
.leaderboards-top-team.pos-9 .leaderboards-character-icon,
.leaderboards-top-team.pos-10 .leaderboards-character-icon {
    width: 24px;
    height: 24px;
}
