:root {
    --profile-main-text-color: #222328;
    --profile-second-text-color: #7b7b7b;
    --profile-header-text-color: #222328;
    --profile-main-bg-color: #fff;
    --profile-main-color: #fff;
    --profile-section-bg-color: #fff;
    --profile-desc-bg-color: #f7f7f7;
    --profile-shadow-bg-color: #e2e2e2;
    --profile-dlg-bg-color: #fff;
    --profile-border-color: #ededed;
    --profile-content-bg-color: #7b7b7b;
    --profile-content-text-color: #7b7b7b;
    --profile-link-color: #3b55e6;
    --profile-adm-bg-color: #fff;
    --profile-header-border-color: #f2f2f2;
}

.tpk-section {
    -ms-flex: 0 0 75% ;
    flex: 0 0 75%;
    max-width: 75%;
    padding: 30px 0 20px 40px;
    border-radius: 0 4px 4px 0;
}

.wpd-page-title {
    display: none;
}

.tpk-content {
    padding-top: 35px;
    color: var(--profile-main-text-color);
}

#particles-js {
    display: none !important;
}

.tpk-sections, .tpk-section {
    background-color: var(--profile-section-bg-color);
}

h3 {
    margin-bottom: 10px;
}

#page-profile table tr td img {
    max-height: 64px;
    max-width: 64px;
}

.player-info {
    margin: 10px 0 20px;
}

.player-info td {
    text-align: left;
}

.player-info tr td:first-child {
    width: 210px;
}

.player-info td a.btn-link {
    margin-left: 10px;
}

.roles {
    display: flex;
    margin: 20px 0;
    flex-wrap: wrap;
}

.roles div {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.profile-buttons {
    z-index: 100;
    margin-top: 35px;
    position: relative;
    margin: 50px 30px 20px;
    max-width: 184px;
}

.dialog-form-simple {
    z-index: 120;
}

.profile-desc {
    margin: 10px 0;
    background: var(--profile-desc-bg-color);
    padding: 12px 20px;
    border-radius: 5px;
    word-break: break-word;
}

.f-line a {
    margin-left: 15px;
    transition: none;
    font-weight: normal;
}
.f-line-desc, .f-line-nick {
    position: relative;
}
.f-line-desc i {
    position: absolute;
    right: 16px;
    bottom: 10px;
    font-style: normal;
    opacity: 0.7;
    user-select: none;
}

.f-line-nick input {
    cursor: default;    
}

.f-line-nick a {
    position: absolute;
    right: 6px;
    top: 34px;
    background: var(--profile-link-color);
    color: #fff;
    padding: 6px 15px;
    border-radius: 16px;
}

.f-line-nick a:hover {
    opacity: 0.8;
    color: var(--profile-main-color);
}

#dlgHelp {
    position: fixed;
    background: var(--profile-dlg-bg-color);
    z-index: 101;
    box-shadow: 0px 1px 7px 0 var(--profile-shadow-bg-color);
    border-radius: 6px;
    top: 300px;
    left: calc(50% - 300px);
    width: 600px;
}

#dlgHelp ul {
    margin: 0;
    padding: 0;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 20px;
}

.profile-ava {
    width: 184px;
    height: 184px;
    margin-bottom: 20px;
    position: relative;
    margin: 15px 25px;
}

.profile-ava img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
}

.profile-name .status { 
    display: inline-block;
    margin-top: 18px;
    margin-bottom: 0;
    clear: right;
    border-radius: 4px; 
    background: var(--profile-desc-bg-color);
    padding: 3px 15px;
    font-size: 13px;
    position: relative;
}

.profile-name h2 {
    font-size: 24px;
    line-height: 36px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--profile-main-text-color);
}

.profile-steam-id {
    background: url(../img/icons/steam-16.svg) no-repeat 5px center;
    padding-left: 32px;
    font-size: 16px;
    font-style: normal;
    display: inline-block;
    color: var(--profile-second-text-color);
    cursor: default;
}

.status>.arrow{
    position:absolute; top:-2px; left:10px; margin-top:-8px;
    display:block;
    width: 0px;
    height: 0px;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    border-bottom: 10px solid var(--profile-desc-bg-color);
}

.player-clan a {
    background: url(../img/icons/shield.svg) no-repeat 5px center;
    padding-left: 65px;
    display: block;
    height: 50px;
    margin: 10px 0;
}

.player-clan a span {
    display: block;
    font-size: 16px;
}

.player-clan a i {
    display: block;
    font-style: normal;
    color: var(--profile-second-text-color);
    font-size: 12px;
}

.player-rating a {
    display: flex;
    margin: 10px 0;
}

.player-rating a span {
    font-size: 30px;
    width: 45px;
    height: 45px;
    line-height: 44px;
    text-align: center;
    margin-right: 15px;
    background: var(--profile-content-bg-color);
    border-radius: 50%;
    color: var(--main-text-color);
    margin-left: 2px;
    position: relative;
    border: none;
}

.player-rating a div {
    flex: 1;
    color: var(--profile-second-text-color);
}

.player-rating a i {
    font-style: normal;
    display: block;
}

.player-rating a b {
    display: none;
    color: var(--profile-link-color);
    font-weight: normal;
    margin-top: -3px;
}

.player-rating a:hover b {
    display: block;
}

.player-glory a {
    display: flex;
}

.player-glory .glory-img {
    background: url(../img/icons/glory-hall.svg) no-repeat center;
    width: 50px;
    height: 50px;
    margin-right: 15px; 
}

.glory-content {
    flex: 1;
}

.glory-content span {
    display: block;
    color: var(--profile-main-color);
}

.glory-content span b {
    color: #f9a215;
}

.glory-content i {
    display: block;
    font-style: normal;
    color: var(--profile-second-text-color);
    font-size: 12px;
}

.player-tufc {
    display: flex;
}

.player-tufc .glory-img {
    background: url(../img/icons/champion_cup_tufc.png) no-repeat center;
    background-size: contain;
}

.player-tufc a {
    display: block;
}

.player-tufc a {
    display: block;
}

.player-info .flag {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.profile-content {
    display: flex;
    margin-bottom: 20px;
}

.profile-content .col-left {
    width: 240px;
    margin: 0 20px;
}

.profile-content .col-right {
    padding-top: 10px;
    margin-left: 45px;
    flex: 1;
    position: relative;
}

.profile-buttons a {
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}

.profile-prop {
    margin: 20px 0;
}

.profile-prop-cols {
    display: flex;
}

.profile-prop-left, .profile-prop-right {
    width: 50%;
}

.profile-prop-right {
    margin-left: 20px;
}

.profile-prop h4 {
    font-size: 16px;
    line-height: 28px;
    border-bottom: 1px solid var(--profile-header-border-color);
    margin-bottom: 5px;
    color: var(--profile-header-text-color);
}

.profile-prop .prop-content table tr {
    border: none;
}

.profile-prop .prop-content table tr td {
    padding: 2px 0;
}

.profile-prop .prop-content table tr td:first-child {
    color: var(--profile-content-text-color);
}

.profile-prop a.help {
    font-size: 12px;
    color: #93cbfb;
    margin-left: 15px;
    line-height: normal;
    display: none;
}

.profile-prop:hover a.help {
    display: inline;
}

.profile-note {
    max-width: 184px;
    margin: 15px 30px 10px;
}

#profile-note {
    border: none;
    background: var(--profile-desc-bg-color);
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 5px;
    cursor: text;
    height: auto;
    font-size: 13px;
}

.profile-note #profile-note:focus {
    background: var(--profile-content-bg-color);
}

.friend-request-sended {
    font-size: 12px;
    margin: 10px 0;
    display: block;
    color: var(--profile-second-text-color);
    line-height: 16px;
}

.friend-in-blacklist {
    font-size: 12px;
    margin: 10px 0;
    display: block;
    color: #F44336;
    line-height: 16px;
    text-align: center;
}

.in-blacklist {
    color: #F44336;
    margin-top: 25px;
    background: #ffedeb;
    padding: 10px 15px;
    border-radius: 5px;
}

.update-ava {
    display: none;
    background: url(../img/icons/update.svg) no-repeat center var(--profile-main-color);
    width: 16px;
    height: 16px;
    padding: 14px;
    border-radius: 4px;
    cursor: pointer;
    position: absolute;
    right: 7px;
    bottom: 7px;
    z-index: 110;
}

.update-ava.update-success {
    background: url(../img/icons/update-success.svg) no-repeat center var(--profile-main-color);
}

.update-ava:hover {
    background-color: #f9f9f9;
}

.profile-ava:hover .update-ava {
    display: block;
}

.award-list {
    display: inline-block;
    width: 100%;
}

.award-item {
    position: relative;
    float: left;
    width: calc(20% - 20px);
    margin: 10px;
}

.award-item .img {
    position: relative;
    border-radius: 10px;
}

.award-item .img img {
    border-radius: 10px;
}

.award-item .img .hint-count {
    position: absolute;
    bottom: 3px;
    left: 3px;
    font-weight: bold;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    background: var(--profile-main-color);
    border-radius: 50%;
    user-select: none;
}

.award-item .hint {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background: var(--profile-main-color);
    padding: 10px 20px;
    box-shadow: 0px 1px 7px 0 #e2e2e2;
    width: 250px;
    z-index: 1;
    top: 100%;
    margin-top: 30px;
    left: calc(50% - 125px);
    border-radius: 4px;
    transition: margin-top 0.3s;
}

.award-item:hover .hint {
    visibility: visible;
    opacity: 1;
    margin-top: 15px;
}

.award-item .hint-title {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.award-item .hint-desc {
    color: #808080;
    line-height: 20px;
    margin-bottom: 10px;
}

.award-item .hint-date {
    color: #808080;
    font-size: 12px;
}

.award-item .hint-date span {
    margin-left: 5px;
}

.award-item .hint-author {
    font-style: italic;
    color: #a9a9a9;
    font-size: 12px;
}

.award-item .hint-rating {
    color: #808080;
    line-height: 20px;
    margin-bottom: 5px;
    font-size: 13px;
}

.steam {
    position: relative;
}

.steam-hint {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    padding-top: 10px;
    width: 300px;
    z-index: 120;
    top: 100%;
    margin-top: 15px;
    left: 0;
    transition: margin 0.3s;
}

.steam-hint .inner {
    background: var(--profile-main-bg-color);
    padding: 10px 20px;
    box-shadow: 0px 1px 7px 0 var(--profile-shadow-bg-color);
    border-radius: 4px;
}

.steam .box {
    display: inline-block;
}

.steam .box:hover .steam-hint {
    visibility: visible;
    opacity: 1;
    margin-top: 0;
}

.steam-hint a {
    color: #3a405b;
    display: block;
    padding: 5px 0;
}

.steam-hint a:hover {
    color: var(--profile-link-color);
}

.steam-hint span {
    border-bottom: 1px solid var(--menu-border-color);
    display: block;
    padding-bottom: 10px;
    margin-bottom: 5px;
    color: var(--profile-second-text-color);
    line-height: 18px;
    font-size: 12px;
}

.profile-slots .slot-items {
    display: inline-block;
    margin: 5px 0 10px;
    width: 100%;
}

.slot-item {
    float: left;
    width: calc(25% - 10px);
    background-color: var(--profile-desc-bg-color);
    border-radius: 4px;
    margin: 5px 5px;
    height: 180px;
    border: 2px solid transparent;
    position: relative;
}

.slot-item .label {
    position: absolute;
    background-color: #4CAF50;
    color: #fdfdfd;
    font-size: 12px;
    padding: 0px 10px;
    border-radius: 0 0 4px 0;
    opacity: 0.75;
    left: 0;
    top: 0;
}

.slot-item .img {
    height: 100px;
    overflow: hidden;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}

.slot-item .img img {
    max-height: 100%;
    width: 100%;
}

.slot-item .info {
    padding: 10px;
}

.slot-item .info .title {
    line-height: 20px;
    font-size: 12px;
}

.slot-item .info .title b {
    font-weight: bold;
    font-size: 14px;
    margin-right: 4px;
}

.slot-item .info .additional {
    font-size: 12px;
}

.slot-item.empty {
    /* overflow: hidden; */
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    background-color: #f7f7f79e;
}

.slot-item.empty span {
    text-align: center;
    opacity: 0.6;
}

.slot-item.active {
    border: 2px solid #4CAF50;
}

.slot-item.locked {
    border: 2px solid #F44336;
}

.slot-item.auction {
    border: 2px solid #eead05;
}

.slot-item.auction .label {
    background-color: #eead05;
}

.profile-slots h6 {
    margin-top: 10px;
}

.profile-adm-info {
    max-height: 150px;
    overflow-y: auto;
    background: var(--profile-desc-bg-color);
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.profile-adm-info .adm-row {
    display: flex;
}

.profile-adm-info .adm-row span {
    font-size: 12px;
    margin-right: 10px;
}

.profile-adm-info .adm-row span:last-child {
    margin-right: 0;
}

.adm-tools {
    display: none;
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 30px;
    height: 28px;
    border: 1px solid var(--profile-border-color);
    z-index: 10;
    background: url(../img/icons/profile-menu.svg) no-repeat center var(--profile-adm-bg-color);
}

.slot-item:hover .adm-tools {
    display: block;
}

.adm-tools ul {
    list-style: none;
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: max-content;
    border: 1px solid var(--profile-border-color);
}

.adm-tools:hover ul {
    display: block;
}

.adm-tools ul li a {
    display: block;
    background: var(--profile-adm-bg-color);
    padding: 4px 12px;
    text-align: left;
    color: #3a405b;
    user-select: none;
}

.adm-tools ul li a:hover {
    background: #f1f1f1;
}

h5 {
    font-size: 14px;
    color: var(--profile-header-text-color);
}

h6 {
    color: var(--profile-header-text-color);
}

.slot-item .colors {
    visibility: hidden;
    transition: bottom 0.2s;
    display: flex;
    position: absolute;
    left: calc(50% - 53px);
    bottom: 74px;
    opacity: 0.8;
}

.slot-item:hover .colors {
    visibility: visible;
    bottom: 68px;
}

.slot-item .colors div {
    width: 18px;
    height: 18px;
    margin-right: 4px;
}

.slot-item .colors:hover {
    opacity: 1;
}

.ava-border {
    width: 300px;
    height: 300px;
    position: absolute;
    z-index: 100;
    left: -62px;
    top: -62px;
}

.main_footer {
    margin-top: 0 !important;
}

.delete-account .form-edit {
    margin-top: 25px;
}

.delete-account .features{
    margin-left: 20px;
}

.delete-account .confirm {
    margin-bottom: 10px;
    user-select: none;
}

.delete-account input[type="submit"] {
    border-color: #f44336;
    background: #fff;
    color: #f44336;
}

.delete-account input[type="submit"]:hover {
    border-color: #f44336;
    background: #f44336;
    color: var(--profile-main-color);
}

.delete-link {
    float: right;
}

.delete-link a {
    color: #f44336;
}

.title-row {
    text-transform: uppercase;
}

#page-profile .adm-buttons {
    top: 0px;
}

.account-links {
    display: flex;
    margin-top: 10px;
}

.account-links a {
    padding: 5px 15px;
    border-radius: 3px;
    border: 1px solid var(--profile-border-color);
    color: var(--main-text-color);
    margin: 0 3px;
}

.account-links a:hover {
    background-color: var(--profile-link-color);
    border: 1px solid var(--profile-link-color);
    color: var(--profile-main-color);
}

.clan-deleted {
    display: none;
    opacity: 0.4;
}

.player-streamer a {
    font-size: 16px;
    display: inline-block;
    margin-bottom: 5px;
}

.stream-channel {
    background-size: 50px;
    display: flex;
    margin-top: 20px;
}

.player-streamer .stream-channel:first-child {
    margin-top: 0;
}

.stream-channel .left-side {
    width: 45px;
    margin-left: 2px;
    margin-right: 15px;
}

.stream-channel .right-side {
    flex: 1;
}

.stream-channel span {
    display: block;
    line-height: normal;
}

.stream-channel .desc {
    font-size: 12px;
    font-style: normal;
    line-height: normal;
    display: block;
}

.stream-channel .platform-label {
    font-style: normal;
    font-size: 10px;
    text-align: center;
    display: block;
    line-height: normal;
}

.pl-logo {
    width: 45px;
    height: 42px;
}

.platform-1 .pl-logo {
    background: url(../img/icons/youtube-42.png) no-repeat center;
}

.platform-2 .pl-logo {
    background: url(../img/icons/twitch-42.png) no-repeat center;
}

.platform-3 .pl-logo {
    /* Trovo */
}

.platform-4 .pl-logo {
    background: url(../img/icons/boosty-42.png) no-repeat center;
}

.tpk-sections .menu-item svg {width: 16px; height: 16px; margin-right: 15px; fill: var(--menu-icon-color);}
.tpk-sections .menu-item svg path, .tpk-sections .menu-item svg circle, .menu-item svg ellipse {fill: var(--menu-icon-color);}
.tpk-sections .menu-item.active svg {fill: var(--menu-color);}

.title .use_functions {
    color: #ffc107;
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 120px;
}

.unban {
    margin: 10px 0 0;
}

@media screen and (max-width: 640px) {
    .profile-content {
        display: block;
    }
    .profile-content .col-left {
        width: 100%;
        margin: 0;
    }
    .profile-content .col-right {
        margin-left: 0;
    }
    .profile-buttons a {        
        text-align: center;
        width: 184px !important;
        display: block;
        margin: 0 auto;
        margin-bottom: 10px;
    }
    .profile-ava {
        text-align: center;
        width: 100%;
        margin: 30px 0 50px 0;
    }
    .profile-ava img {
        display: block;
        margin: 0 auto;
        width: 184px;
        height: 184px;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -30px;
    }
    .profile-name {
        margin-top: 20px;
        margin-left: 0;
        text-align: center;
    }
    .player-info tr td:first-child {
        width: 150px;
    }
    .roles {
        display: block;
    }
    .status>.arrow {
        left: calc(50% - 10px);
    }
    .award-item {
        width: calc(33.333% - 20px);
    }
    .profile-steam-id {
        user-select: none;
    }
    .steam-hint {
        left: calc(50% - 150px);
    }
    .award-item {
        transition: margin 0.3s;
    }
    .award-item .hint {
        bottom: 100%;
        left: 10px;
        width: calc(100% - 20px);
        top: unset;
        margin-bottom: 10px;
    }
    .award-item:hover .hint {
        margin-bottom: 0;
    }
    .award-list {
        position: relative;
    }
    .award-item {
        position: unset;
    }
    .slot-item {
        width: calc(50% - 10px);
    }
    .ava-border {
        left: -46px;
        top: -36px;
        left: calc(50% - 150px) !important;
        top: calc(50% - 120px) !important;
    }
    .stream-channel .left-side {
        display: none;
    }
}