/*
Theme Name: Leaderboard STREAMUP
Description: Modal Leaderboard STREAMUP
Version: 1.0
License: Key4events
*/

/* LEADERBOARD GLOBAL*/
.leaderboard {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    margin: 0 auto;
    min-width: 0;
    max-height: 570px;
    height: 100%;
}

.leaderboard .fa {
    font-size: 18px;
}

.leaderboard .fa.yellow {
    color: #ffd67c;
}

.leaderboard .fa.blue {
    color: #44678e;
}

/* LEADERBOARD PODIUM SECTION */
.leaderboard-podium {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
}

.leaderboard-podium .record {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
}

.bar {
    width: 135px;
    margin: 10px 5px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 500px) {
    .leaderboard-podium {
        flex-direction: column;
        align-items: center;
    }
    .first {
        order : 1!important;
    }

    .second {
        order : 2!important;
    }
}
.podium {
    width: 110px;
    background: rgb(252, 203, 79);
    background: -moz-linear-gradient(
            90deg,
            rgba(252, 203, 79, 1) 0%,
            rgba(252, 203, 79, 1) 49%,
            rgba(255, 187, 34, 1) 50%,
            rgba(255, 187, 34, 1) 100%
    );
    background: -webkit-linear-gradient(
            90deg,
            rgba(252, 203, 79, 1) 0%,
            rgba(252, 203, 79, 1) 49%,
            rgba(255, 187, 34, 1) 50%,
            rgba(255, 187, 34, 1) 100%
    );
    background: linear-gradient(
            90deg,
            rgba(252, 203, 79, 1) 0%,
            rgba(252, 203, 79, 1) 49%,
            rgba(255, 187, 34, 1) 50%,
            rgba(255, 187, 34, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fccb4f",endColorstr="#ffbb22",GradientType=1);
}

.first .podium {
    height: 120px;
    order: 2;
}

.second .podium {
    height: 100px;
    order: 1;
}

.third .podium {
    height: 80px;
    order: 3;
}

.medal {
    border: 2px solid;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

.first .medal {
    border-color: #f4ff7a;
    background: rgb(244, 255, 122);
    background: -moz-linear-gradient(
            90deg,
            rgba(244, 255, 122, 1) 0%,
            rgba(253, 154, 25, 1) 100%
    );
    background: -webkit-linear-gradient(
            90deg,
            rgba(244, 255, 122, 1) 0%,
            rgba(253, 154, 25, 1) 100%
    );
    background: linear-gradient(
            90deg,
            rgba(244, 255, 122, 1) 0%,
            rgba(253, 154, 25, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f4ff7a",endColorstr="#fd9a19",GradientType=1);
}

.second .medal {
    border-color: #dedede;
    background: rgb(222, 222, 222);
    background: -moz-linear-gradient(
            90deg,
            rgba(222, 222, 222, 1) 0%,
            rgba(53, 53, 53, 1) 100%
    );
    background: -webkit-linear-gradient(
            90deg,
            rgba(222, 222, 222, 1) 0%,
            rgba(53, 53, 53, 1) 100%
    );
    background: linear-gradient(
            90deg,
            rgba(222, 222, 222, 1) 0%,
            rgba(53, 53, 53, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#353535",GradientType=1);
}

.third .medal {
    border-color: #ffa650;
    background: rgb(255, 166, 80);
    background: -moz-linear-gradient(
            90deg,
            rgba(255, 166, 80, 1) 0%,
            rgba(221, 91, 41, 1) 100%
    );
    background: -webkit-linear-gradient(
            90deg,
            rgba(255, 166, 80, 1) 0%,
            rgba(221, 91, 41, 1) 100%
    );
    background: linear-gradient(
            90deg,
            rgba(255, 166, 80, 1) 0%,
            rgba(221, 91, 41, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffa650",endColorstr="#dd5b29",GradientType=1);
}

.podium-fullname {
    font-size: 14px;
    line-height: 1.1;
}

.podium-wrapper {
    background: #ffffff;
    padding: 10px;
    border: 0;
}

.photo-wrapper {
    width: 40px;
    height: 41px;
    overflow: hidden;
    border-radius: 50%;
    display: inline-flex;
    margin-top: 4px;
    margin-bottom: 2px;
}

.leaderboard-podium .fa.yellow {
    color: #fff0cf;
}

.leaderboard-podium .fa {
    font-size: 12px;
}

.leaderboard-podium .fa {
    font-size: 12px;
}
/**
  LEADERBOARD CLASIFICATON LIST SECTION
*/
.leaderboard-list {
    margin-top: 1px;
    margin-bottom: 1px;
}
.leaderboard-list table {
    border-collapse: collapse;
    border: 0;
    width: 93%;
    margin: 0 auto;
    font-size: 14px;
}

.leaderboard-list .table td {
    padding: 0 10px;
    vertical-align: middle;
    border: solid 1px transparent;
}

.leaderboard-list .table td + td {
    text-align: right;
    padding-right: 20px;
}

.leaderboard-list th {
    text-align: center;
    border-bottom-left-radius: 50%;
    border-top-left-radius: 50%;
    width: 40px;
    border: 1px solid transparent;
    padding: 0;
    height: 41px;
}

.leaderboard-list tr:first-child td:first-child {
    border-top-left-radius: 10px;
}
.leaderboard-list tr:first-child td:last-child {
    border-top-right-radius: 10px;
}
.leaderboard-list tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}
.leaderboard-list tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

/**
    TABLES TR : COLOR BY QUALIFICATION
*/
.leaderboard-list.ranking tr:nth-child(1) {
    background-color: #f05b6f;
}
.leaderboard-list.ranking tr:nth-child(2) {
    background-color: #fa6173;
}
.leaderboard-list.ranking tr:nth-child(3) {
    background-color: #fb6c70;
}
.leaderboard-list.ranking tr:nth-child(4) {
    background-color: #fc7a6c;
}
.leaderboard-list.ranking tr:nth-child(5) {
    background-color: #fc8a65;
}
.leaderboard-list.ranking tr:nth-child(6) {
    background-color: #fc9c5f;
}
.leaderboard-list.ranking tr:nth-child(7) {
    background-color: #fcab5a;
}
.leaderboard-list tr {
    background-color: #fcab5a;
}

.leaderboard-list .photo-wrapper {
    width: 30px;
    height: 31px;
}

.leaderboard-list .record {
    font-size: 12px;
}

/*LEADERBOARD FOOTER USER SECTION*/
.leaderboard-me {
    height: 70px;
    background-color: #2b3245;
    color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.me {
    display: flex;
    margin-left: 20px;
    height:100%;
}

.leaderboard-me .detail {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    align-items: end;
    justify-content: center;
    line-height: 1;
}

.leaderboard-me .detail .user {
    font-size: 24px;
}

.leaderboard-me .detail .ranking {
    font-size: 18px;
}

.leaderboard-me .record {
    font-size: 22px;
    margin-right: 20px;
}

.leaderboard-me .fas.blue, .leaderboard-me .fa.blue {
    color: #218aff;
}

.leaderboard-me .fa, .leaderboard-me .fas {
    font-size: 24px;
}

section[role=title] {
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

section[role=title] > span{
    margin-right: 10px;
}

/*HELPERS*/
.fs-14{
    font-size: 14px !important;
}

.no-display {
    display: none;
}

.sectionUserInfo {
    height: 70px;
    background-color: #2b3245;
    color: #ffffff;
    margin-top:5px;
}

.sectionUserInfoProfilePicture {
    padding: 0 0 0 0;
    display:flex;
    align-items: center;
    height:100%;
    justify-content: center;
    text-align: center;
}

.sectionUserInfoName {
    padding-left:0;
    padding-bottom:0;
    display:flex;
    align-items:center;
    height:100%;
    justify-content:center;
    text-align:center;
}