.flag-icon {
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
    width: 1.33333333em;
    line-height: 1em;
}

.flag-icon:before {
  content: "\00a0";
}

.short-stats__serv {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    margin-bottom: 30px;
}

.dropdown {
    position: relative;
    text-align: left;
    min-width: 40%;
    border-bottom: 1px solid var(--span-color);
}

.dropdown span {
    color: white; 
    font-size: 25px;
    white-space: nowrap;
}

.dropdown-content {
    display: none;
    position: absolute;
    text-align: center;
    background-color: rgba(68, 68, 68, 0.74);
    backdrop-filter: blur(5px);
    box-shadow: 3px 3px 3px rgba(0, 0, 0, .3);
    width: 100%;
    z-index: 1;
}

.dropdown-content a {
    display: block;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 20px;
    border-bottom: none;
    border-top: 1px solid var(--hover);
}

.dropdown-content a:hover {color: #eb8541;}

.dropdown-content a.active {color: #ef7826;}

.dropdown:hover .dropdown-content {display: block;}


.profile_nav_buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 50px;
    width: 100%;
    background-color: #121212;
}

.profile_button {
    width: 50%;
    height: 100%;
    line-height: 50px;
    text-align: center;
    color: rgb(160, 155, 155);
    font-size: 19px;
    cursor: pointer;
    user-select: none;
}

.profile_button:hover {
    color: rgba(255, 255, 255, 0.726);
    border-bottom: 2px solid #ef762660;
}

.profile_button.active {
    color: rgb(255, 255, 255);
    border-bottom: 2px solid #ef7826;
}

.stats__block {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    padding: 20px 15px;
}

.short-stats-block {
    display: flex;
    flex-direction: column;
}

.short-stats__exp {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 30px;
}

.short-stats__exp .short-stats__rank_name {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 17px;
    font-weight: var(--font-weight-0);
    color: var(--default-text-color);
}

.short-stats__exp  .short-stats__rank {
    width: 100%;
    height: 5px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    margin-right: 10px;
}

.short-stats__exp  .short-stats__rank .short-stats__rank2 {
    border-radius: 5px;
    background: rgba(var(--server-graph-rgba));
    background-size: 50px 50px;
    height: 5px;
    max-width: 100%;
}

.short-stats-block {
    -ms-flex: 0 0 57%;
    flex: 0 0 57%;
    max-width: 57%;
    padding: 0px 20px;
    text-align: center;
}
.short-stats-block .left-stats-block {
    float: left;
    width: 50%;
}
.short-stats-block .right-stats-block {
    margin-left: 50%;
    width: 50%;
}
.short-stats-block ul {
    font-size: 17px;
    font-weight: var(--font-weight-0);
    color: var(--default-text-color);
}
.short-stats-block li {
    padding-bottom: 5px;
}
.short-stats-block .left-stats-block ul {
    text-align: left;
}
.short-stats-block .right-stats-block ul {
    text-align: right;
}

.best-weapon-block {
    position: relative;
    -ms-flex: 0 0 43%;
    flex: 0 0 43%;
    max-width: 43%;
    padding: 0 20px;
}

.best-weapon-block .weapon-table {
    height: 100%;
    overflow: auto;
}
.best-weapon-block .weapon-table svg, .best-weapon-block .weapon-table img {
    filter: invert(var(--svg));
}

.best-weapon-block .weapon-table .table thead th {
    padding-top: 15px;
    font-size: 15px;
    font-weight: var(--font-weight-2);
    color: var(--default-text-color);
    border-bottom: 2px solid var(--table-line);
}
.best-weapon-block .weapon-table .table tbody th {
    color: var(--default-text-color);
    font-size: 14px;
    font-weight: var(--font-weight-1);
    padding: .7em;
    border-bottom: none;
    border-top: 1px solid var(--hover);
}

.best-weapon-block .weapon-table th {
    padding: .35rem;
}

.best-weapon-block .weapon-table th img {
    max-width: 54px;
    max-height: 21px;
}

.user-block {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
}

.user-block .line {
    width: 20%;
    margin: 15px auto;
    border-bottom: 1px solid var(--span-color);
}

.user-block .status {
    font-size: 12px; 
    color: #CACFD2;
}

.user-block .user-info-block {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.user-block .user-info-block .user-info-profile {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    margin: 3px 0px;
}

.user-block .user-info-block .user-info-profile .user-info-left {
    color: #CACFD2;
    text-align: left;
}

.user-block .user-info-block .user-info-profile .user-info-right {
    color: #ffffff;
    text-align: right;
}

.user-block .avatar {
    margin-top: 18px;
    height: 110px;
    width: 110px;
    border-radius: 50%;
    border: 2px solid #ffffff;
}
.user-block .name {
    margin-top: 5px;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

.user-block .name i{
    color: darkgrey;
    margin-left: 10px;
}

.user-block .name i:hover{
    color:#eb8541;
}

.user-block .name .name_edit {
    display: none;
    margin: 0px auto;
}

.user-block .name .name_edit input {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    background-color: inherit;
    border: 1px solid var(--table-line);
    border-radius: 2px;
    width: 60%;
}

.user-block .user-stats {
    width: 100%;
    height: 40px;
    background-color: var(--span-color);
    text-align: center;
    padding-top: 7px;
    color: #ffffff;
    font-size: 17px;
    font-weight: var(--font-weight-3);
    border: 0px solid transparent;
    border-radius: 4px;
}

.best-weapon-block .top .table thead th {
    border-bottom: 2px solid var(--table-line);
}

.best-weapon-block .top .table tbody th {
    border-bottom: none;
    border-top: 1px solid var(--hover);
}

@media (max-width: 992px) {
    .stats__block {
        display: flex;
        flex-wrap: wrap;
        padding: 15px;
    }

    .short-stats-block {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .best-weapon-block {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .dropdown span {
        font-size: 20px;
    }

    .dropdown-content a {
        font-size: 16px;
    }
}

@media (max-width: 992px) {

    .profile_nav_buttons {
        flex-direction: column;
        height: 150px;
    }

    .dropdown-content {
        width: 100%;
    }

    .profile_button {
        width: 100%;
    }

    .short-stats-block ul {
        font-size: 12px;
    }

    .short-stats__exp .short-stats__rank_name {
        font-size: 12px;
    }

    .short-stats-block {
        padding: 5px 10px;
    }

    .best-weapon-block {
        padding: 0 10px;
    }
}

