/* Layout */

.layout.profile {
    margin: 0;
}

div.node {
    padding: 0px;
    background: none;
}

.profile_layout {
    padding: 0px 20px;
    background: var(--pad-color);
}

.profile_block_line {
    margin: 0px -33px 0px -32px;
    border: 1px solid transparent;
    border-bottom-color: #0f0a10;
}

/* Notifications */

.notifications {
    border-bottom: 1px solid #0f0a10;
}

.notifications_list {
    position: relative;
    margin-bottom: 13px;
    padding-top: 12px;
}

.notifications_list .item {
    display: block;
    padding: 10px 0px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.notifications_list .item:hover {
    text-decoration: none;
    background-color: rgba(255,255,255,0.03);
}
.notifications_list .item:first-child {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.notifications_list .item .title {
    padding: 0px 0px 0px 36px;
    color: #5e6468;
    text-transform: uppercase;
}
.notifications_list .item .title::before {
    content: '';
    height: 26px;
    width: 26px;
    display: block;
    position: absolute;
    left: 0px;
    background: #444c52 url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/notifications/type.png) 0px center no-repeat;
}
.notifications_list .item.new .title{
    color: #fff;
}
.notifications_list .item.new .title::before {
    background-color: var(--item-color);
}
.notifications_list .item.type_account .title::before {
    background-position-x: 0px;
}
.notifications_list .item.type_system .title::before {
    background-position-x: -26px;
}
.notifications_list .item.type_event .title::before {
    background-position-x: -52px;
}

.notifications_list .item p {
    margin: 0px;
    color: #5e6468;
    line-height: 20px;
}
.notifications_list .item.new p {
    color: #a9aeb3;
}

.notifications_more {
    text-transform: uppercase;
}

/* Content */

.user-tabs {
    background: var(--pad-color2);
    padding: 0px 20px;
    text-align: justify;
    font-size:0;
    line-height:0;
    color:#a2a7ac;
    margin: 0px;
    display: -webkit-flex;
    display: flex;
    justify-content: space-around;
}
.user-tab {
    font: normal 15px/57px Plumb, Arial, Helvetica, sans-serif;
    display: inline-block;
    white-space: nowrap;
    cursor: pointer;
    border-bottom: 1px solid transparent;
}
.user-tab:hover {
    color: #fff;
}
.user-tab.active {
    color: var(--item-color);
    cursor: default;
    border-color: var(--item-color);
}

.user-tab span {
    text-transform: uppercase;
    font-family: Quantico;
    font-size: 16px;
    font-weight: bold;
}
.user-tab span::after {
    content: '\00a0\00a0\00a0\00a0\00a0\00a0\00a0';
    width: 30px;
    padding: 0px 0px;
    font-size: 18px;
    font-weight: normal;
    background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/profile/server-arr.png) center 9px no-repeat;
}
.user-tab:not(.active):hover span::after {
    -webkit-filter: brightness(200%);
    filter: brightness(200%);
}
.user-tab.active span::after {
    background-position: center -40px;
}
.profile-block {
    margin: 0px;
    padding: 25px 32px;
    background: var(--pad-color);
}
.profile-block + .profile-block {
    border-top: 1px solid #0f0a10;
}

.profile-block__title {
    font: 18px Quantico;
    text-transform: uppercase;
    color: var(--item-color);
}

.checkbox_label {
    padding: 30px 20px 0 0px;
    margin: 0 0 -20px;
    position: relative;
    cursor: default;
}
.checkbox_label-title {
    display: inline-block;
    cursor: pointer;
    -khtml-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.checkbox_label-title:hover {
    color: #fff;
}
.checkbox_label-title:before {
    content: '';
    width: 13px;
    height: 13px;
    display: inline-block;
    margin-right: 8px;
    transform: translateY(1px);
    background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/profile/icon-cb.png) left center no-repeat;
}
.checkbox_label.checked .checkbox_label-title:before {
    background-position: right center;
}
.checkbox_label-icon {
    background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/profile/icon-attention-gray.png) center no-repeat;
    display: inline-block;
    width: 15px;
    height: 15px;
    vertical-align: middle;
    margin-left: 5px;
    position: relative;
    z-index: 15;
}
.checkbox_label-message {
    min-width: 320px;
    display: none;
    position: absolute;
    left: 0px;
    top: 45px;
    background: rgba(9,11,20,0.95);
    color: #a2a7ac;
    padding: 20px 20px 5px;
    width: 100%;
    box-sizing: border-box;
    line-height: 21px;
    z-index: 20;
    pointer-events: none;
}
.checkbox_label-message p {
    margin: 0 0 15px;
}
.checkbox_label-icon:hover + .checkbox_label-message {
    display: block;
}

/* Profile info */

.profile_info > div {
    margin-bottom: 6px;
    color: var(--item-color);
    font: 15px/18px Plumb, Arial, Helvetica, sans-serif;
    text-transform: none;
}

.profile_info > div > span {
    margin-left: 12px;
    color: #fff;
    text-transform: none;
}

.profile_info > div > span > s {
    color: #5e6468;
    text-decoration: none;
}
.profile_info > div > span > a {
    color: #fff;
}

/* Profile error */

.layout.profile .error-wrap h1 {
    color: #575c61;
}

/* --- */

.match-rating {
    text-align: center;
    padding: 10px 0 0;
    text-transform: uppercase;
}
.match-rating__item {
    display: inline-block;
    margin: 0 50px;
}
.match-rating__title {
    font: 30px Quantico;
    text-transform: uppercase;
    color: var(--item-color);
    padding: 0 0 24px;
}
.match-rating__col {
    display: inline-block;
    margin: 0 -2px;
    color:#9ba0a5;
    font-size:14px;
    white-space: nowrap;
    padding: 54px 20px 0;
    min-width: 155px;
    box-sizing: border-box;
    background: url("https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/profile/icon-uc.png") no-repeat center 0;
}

.match-rating__col + .match-rating__col {
    background: url("https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/profile/icon-games.png") no-repeat center 0;
}
.match-rating__count {
    color: var(--item-color);
    font-size:36px;
    padding-top:7px;
}

.rating-status, .rating-chart {
    display: inline-block;
    font-size: 14px;
    vertical-align: top;
    text-transform: uppercase;
    color:#9ba0a5;
    font: 14px Plumb;
}
.rating-status {
    margin:45px 35px 0 0;
    background: rgba(0, 0, 0, 0) url("https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/profile/icon-bg.png") no-repeat scroll center 3px;
    width: 318px;
}
.rating-status__progress {
    border-bottom: 1px solid #43484d;
    position: relative;
    margin: 0 0 14px;
}
.rating-status__text b {
    padding: 0px 4px;
    font-weight: normal;
}

.rating-status__progress div {
    position: absolute;
    left: 0;
    top:-1px;
    height: 3px;
    background: var(--item-color);
}
.rating-chart {
    margin-bottom: 17px;
    padding-top: 15px;
    width: 510px;
}
.rating-chart__legend {
    margin: 0 0 15px 32px;
}
.rating-chart__legend div {
    display: inline-block;
    position: relative;
    vertical-align: top;
    padding-left:31px;
    margin-right:26px;
}
.rating-chart__legend div:before {
    content: '';
    height: 1px;
    width: 22px;
    background: #9ba0a5;
    position: absolute;
    left:0;
    top:7px;
}
.rating-chart__legend div:first-child:before {
    background: var(--item-color);
}
.rating-chart__best {
    text-align: right;
    margin-left: 20px;
}
.rating-icon {
    background: rgba(0, 0, 0, 0) url("https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/profile/playerRatingIcons.png") no-repeat -3934px -1px;
    background-size: 4118px auto;
    height: 195px;
    margin: 16px auto 40px;
    width: 205px;
}
.rating-icon.rang1 {
    background-position: -3687px 0;
}
.rating-icon.rang2 {
    background-position: -3493px 0;
}
.rating-icon.rang3 {
    background-position: -3299px 0;
}
.rating-icon.rang4 {
    background-position: -3105px 0;
}
.rating-icon.rang5 {
    background-position: -2911px 0;
}
.rating-icon.rang6 {
    background-position: -2717px 0;
}
.rating-icon.rang7 {
    background-position: -2523px 0;
}
.rating-icon.rang8 {
    background-position: -2329px 0;
}
.rating-icon.rang9 {
    background-position: -2135px 0;
}
.rating-icon.rang10 {
    background-position: -1941px 0;
}
.rating-icon.rang11 {
    background-position: -1747px 0;
}
.rating-icon.rang12 {
    background-position: -1553px 0;
}
.rating-icon.rang13 {
    background-position: -1360px 0;
}
.rating-icon.rang14 {
    background-position: -1166px 0;
}
.rating-icon.rang15 {
    background-position: -972px 0;
}
.rating-icon.rang16 {
    background-position: -778px 0;
}
.rating-icon.rang17 {
    background-position: -584px 0;
}
.rating-icon.rang18 {
    background-position: -390px 0;
}
.rating-icon.rang19 {
    background-position: -196px 0;
}
.rating-icon.rang20 {
    background-position: -2px 0;
}

.hidden {
    display: none;
}
.rating-table {
    width: 100%;
    border: 1px solid #43484d;
    border-collapse: collapse;
    text-align: center;
    font-size:16px;
    font-size: 15px;
    margin: 30px 0 15px;
}
.rating-table td:nth-child(2) {
    width: 50%;
    text-align: left;
}
.rating-table td:nth-child(n+3) {
    width: 15%;
}

.rating-table td,
.rating-table th {
    padding: 6px 16px;
    margin: 0;
    border:1px solid #262b30;
    box-sizing: border-box;
}
.rating-table th {
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
}
.rating-info {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    color:#9ba0a5;
    font: 14px Plumb;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.rating-wrap {
    position: relative;
}
.rating-locking {
    position: absolute;
    background: rgba(0,0,0,.6);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    text-align: center;
    padding: 0px 70px;
    box-sizing: border-box;
}

.media__pager {
    padding: 0 0 15px;
    position: relative;
    cursor: default;
}
.media__pager .pager {
    margin: 0;
    text-align: center;
}
.pager li {
    cursor: pointer;
    display: inline-block;
    margin: 0px;
    padding: 0px 3px;
    font-size: 15px;
    line-height: 24px;
}
.pager li a:hover {
    color: #fff;
    text-decoration: none;
}
.pager li:before {
    display: none;
}
.pager li.pager-current {
    color: var(--item-color);
    font-weight: normal;
}
.pager li.pager-ellipsis {
    cursor: default;
    margin: 8px 0;
}
.pager li a {
    color: inherit;
    padding: 6px;
    cursor: pointer;
}
.pager__dropdown {
    width: 58px;
    max-height: 300px;
    position: absolute;
    box-sizing: border-box;
    top: 8px;
    right: 20px;
    margin: 0;
    padding: 0 20px 0 0;
    font-size: 15px;
    overflow: hidden;
}
.pager__dropdown:after {
    content: '';
    cursor: pointer;
    height: 0;
    width: 0;
    position: absolute;
    top: 4px;
    right: 0;
    border: 5px solid transparent;
    border-bottom-color: #9ba0a5;
}
.pager__dropdown.close:after {
    top: 9px;
    border-bottom-color: transparent;
    border-top-color: #9ba0a5;
}
.pager__dropdown.close {
    max-height: 23px;
}
.pager__dropdown.close:before {
    bottom: 0;
    content: "";
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.pager__dropdown li {
    cursor: pointer;
    height: 23px;
    line-height: 23px;
    margin: 0;
    text-align: center;
    width: 38px;
    list-style: none;
}
.pager__dropdown.close li {
    display: none;
}
.pager__dropdown li.active {
    display: block;
}

.pager__dropdown:not(.close) li:hover {
    background: var(--pad-color2);
}
.userbar {
    height: 64px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.userbar img {
    width: 100%;
    height: 100%;
}

.relative {
    position: relative;
}

/*--- top menu ---*/

.user__wrap {
    padding: 16px 32px 50px;
    background: var(--pad-color);
}
.user__title {
    text-transform: uppercase;
    font-size: 18px;
    padding: 5px 0 0 0;
}
.user__menu {
    background: var(--pad-color2);
    width: 100%;
    margin: 0;
    padding: 0;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.user__menu li {
    list-style: none;
    font: bold 16px/58px Quantico, Arial, Helvetica, sans-serif;
    cursor: pointer;
    text-align: center;
    margin: 0 10px;
}
.user__menu li a {
    color: #a9aeb3;
    text-decoration: none;
}
.user__menu li.is-active{
    cursor: default;
}
.user__menu li:hover span,  .user__menu li:hover a {
    color: #fff;
    text-decoration: none;
}
.user__menu li.is-active span {
    color: var(--item-color);
}


@media only screen and (max-width: 1100px) {
    .user-tabs {
        display: block;
        text-align: center;
        white-space: pre-wrap;
    }
    .user-tab {
        border-bottom: 1px solid transparent;
    }
    .user-tab + .user-tab {
        margin-top: 0px;
    }
    .userbar img {
        max-width: 100%;
        display: block;
        margin: 0px auto;
    }
    .match-rating__item {
        display: block;
        margin-bottom: 15px;
    }
    .rating-status {
        display: block;
        margin: 15px auto 25px;
    }
    .rating-chart {
        display: block;
        margin: 0 auto;
    }
    .rating-info {
        margin-top: 20px;
    }
    .rating-icon {
        margin: 30px auto;
    }
}

@media only screen and (max-width: 900px) {
}
@media only screen and (max-width: 740px) {
    .match-rating__item {
        display: block;
        margin: 0 0 15px;
    }
    .rating-table td, .rating-table th {
        padding: 6px;
    }
    .rating-chart {
        width: 100%;
    }
}
@media only screen and (max-width: 530px) {
    .rating-chart__best {
        margin: 5px 0 0;
        width: 100%;
        text-align: left;
    }
}


/* Profile info */

.profile_image {
  display: block;
  position: relative;
  margin-bottom: 6px;
  padding: 0px 4%;
  font-size: 0px;
  line-height: 0px;
  text-align: center;
}

.profile_image img {
  height: 100%;
}

.profile_image .img1 {
  display: inline-block;
  position: relative;
  aspect-ratio: 4 / 1;
  max-height: 128px;
}

.profile_image .img2,
.profile_image .img3 {
  height: 100%;
  position: absolute;
  top: 0px;
  left: -3%;
  transform: translateX(-50%);
}
.profile_image .img2 {
  z-index: 1;
}
.profile_image .img3 {
  z-index: 2;
}

.profile_image .img2 img,
.profile_image .img3 img {
  transform: translateX(50%);
}

.profile_image .img4 {
  height: 50%;
  position: absolute;
  top: 50%;
  left: 22%;
  transform: translate(-50%,-50%);
  z-index: 3;
}

.profile_image .img4 img {
  transform: translateX(50%);
}

.profile_image .text1,
.profile_image .text2 {
  position: absolute;
  left: 37%;
  font: 22px/1.1 Warface, Quantico, Arial, Helvetica, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0px 0px 3px #000;
  cursor: default;
}
.profile_image .text1 {
  top: 28%;
  color: #bbb;
  z-index: 4;
}

.profile_image .text1 a {
  color: #bbb;
  text-decoration: none;
}
.profile_image .text1 a:hover {
  text-decoration: underline;
}

.profile_image .text2 {
  bottom: 28%;
  color: #fff;
  z-index: 5;
}
.profile__time {
  font-size:14px;
  color: #a2a7ac;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.text-center {
  text-align: center;
}

@media screen and (max-width: 580px) {
    .profile_image .text1,
    .profile_image .text2 {
        font-size: 20px;
    }
}
@media screen and (max-width: 575px) {
    .profile_image .text1,
    .profile_image .text2 {
        font-size: 18px;
    }
}
@media screen and (max-width: 550px) {
    .profile_image .text1,
    .profile_image .text2 {
        font-size: 16px;
    }
}
@media screen and (max-width: 470px) {
    .profile_image .text1,
    .profile_image .text2 {
        font-size: 15px;
    }
}
@media screen and (max-width: 440px) {
    .profile_image .text1,
    .profile_image .text2 {
        font-size: 13px;
    }
}

/* userbars */

.userbars {
    font-size: 0;
}
.userbars__tabs {
    margin: 30px auto;
    padding: 0;
    width: 490px;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
}
.userbars__tabs li {
    display: inline-block;
    text-transform: uppercase;
    font: 16px/20px Quantico;
    cursor: pointer;
}
.userbars__tabs li:hover {
    color: #fff;
}
.userbars__tabs li.is-active {
    color: var(--item-color);
    text-decoration: underline;
}

.userbars__slider {
    width: 490px;
    margin: 0 auto 25px;
    position: relative;
    text-align: center;
}
.userbars__slider-arr {
    width: 19px;
    height: 34px;
    position: absolute;
    top: 15px;
    cursor: pointer;
    background-image: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/profile/icon-arr.png);
    opacity: .6;
    cursor: pointer;
}
.userbars__slider-arr:hover {
    opacity: 1;
}
.userbars__slider-arr.arr_left {
    left: -40px;
}
.userbars__slider-arr.arr_right {
    right: -40px;
    background-position: right center;
}
.userbars__slider-wrap img {
    display: none;
}
.userbars__slider-wrap img:first-of-type {
    display: inline-block;
}
.userbars__lead {
    display: inline-block;
    width: 20%;
    vertical-align: middle;
}
.userbars__lead-link {
    text-transform: uppercase;
    cursor: pointer;
    font-size: 15px;
}
.userbars__lead-link:hover {
    color: #fff;
}
.userbars__lead-link.is-active {
    color: var(--item-color);
}
.userbars__lead-link:before {
    content: "";
    display: inline-block;
    vertical-align: top;
    height: 14px;
    width: 14px;
    margin: 6px 10px 0 0;
    background-image: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/profile/icon-radio.png);
    background-repeat: no-repeat;
}
.userbars__lead-link.is-active:before {
    background-position: right center;
}
.userbars__code {
    display: inline-block;
    width: 80%;
    vertical-align: middle;
}
.userbars__code textarea {
    width: 100%;
    min-height: 120px;
    background: var(--pad-color2);
    border: none;
    vertical-align: middle;
    color: #9ba0a5;
    font: 15px/20px Plumb, Arial, Helvetica, sans-serif;
    padding: 15px;
    box-sizing: border-box;
    display: none;
}
.userbars__code textarea.is-active {
    display: block;
}
.userbars__code textarea:focus {
    outline: none;
}
.userbars__wrap {
    width: 490px;
    margin: auto;
    text-align: right;
}
.userbars__wrap-bt {
    text-align: right;
}
.userbars__bt {
    background: var(--item-color);
    color: #fff;
    text-transform: uppercase;
    font: 18px/37px Quantico, Arial, Helvetica, sans-serif;
    width: 170px;
    display: inline-block;
    text-align: center;
    margin: 12px 0 0;
    cursor: pointer;
    box-sizing: border-box;
}
.userbars__bt.is-done {
    background: none;
    border: 1px solid #fff;
}
.userbars__bt:hover {
    background: #fff;
    color: #000;
}

@media only screen and (max-width: 990px) {
    .userbars__lead {
        width: 490px;
        display: block;
        margin: 0 auto 25px;
    }
    .userbars__code {
        display: block;
        margin: auto;
        width: 100%;
    }
}
@media only screen and (max-width: 600px) {
    .userbars__slider {
        width: 90%;
    }
    .userbars__tabs, .userbars__code, .userbars__lead, .userbars__wrap {
        width: 100%;
    }
}
@media only screen and (max-width: 430px) {
    .userbars__tabs {
        flex-wrap: wrap;
        margin: 15px auto;
    }
    .userbars__tabs li {
        width: 100%;
        text-align: center;
        line-height: 10px;
    }
}


/* pagination */

.league_pager {
    font-size: 17px;
    text-align: center;
    color: #5e6468;
    padding: 25px 0;
    background: var(--pad-color);
    margin-top: -1px;
}

.profile__page .pager-item {
    display: inline-block;
    margin: 0 12px;
    cursor: pointer;
    position: relative;
}

.league_pager{
    user-select: none;
    order: 4;
}

.profile__page  .pager-item{
    margin: 0px;
    padding: 0 12px;
    min-width: 18px;
}

.profile__page .pager-item.pager-ellipsis,
.profile__page .pager-item.pager-last,
.profile__page .pager-item.pager-first,
.profile__page .pager-item.pager-next,
.profile__page .pager-item.pager-previous{
    opacity: 0;
    visibility: hidden;
}
.profile__page .pager-item.pager-ellipsis.active,
.profile__page .pager-item.pager-last.active,
.profile__page .pager-item.pager-first.active,
.profile__page .pager-item.pager-next.active,
.profile__page .pager-item.pager-previous.active{
    opacity: 1;
    visibility: visible;
}

.profile__page .pager-item {
    color: #5e6468;
    text-decoration: none;
    cursor: pointer;
}
.profile__page .pager-item:hover {
    text-decoration: none;
    color: #fff;
}
.profile__page .pager-item.pager-ellipsis:hover {
    color: #5e6468;
    cursor: default;
}
.profile__page .pager-current {
    color: var(--item-color);
    font-weight: normal;
    cursor: default;
}
.profile__page .pager-item.pager-first:before,
.profile__page .pager-item.pager-previous:before,
.profile__page .pager-item.pager-next:before,
.profile__page .pager-item.pager-last:before {
    width: 100%;
    display: inline-block;
    font-size: 22px;
    line-height: 22px;
    font-family: "Times New Roman";
    text-align: center;
    text-indent: 0px;
}

.profile__page .pager-item.pager-first:before {
    content: "«";
}
.profile__page .pager-item.pager-previous:before {
    content: "‹";
}
.profile__page .pager-item.pager-next:before {
    content: "›";
}
.profile__page .pager-item.pager-last:before {
    content: "»";
}


@media only screen and (max-width: 550px) {
    .league_pager{
        font-size: 16px;
    }
    .league_pager .pager-item{
        padding: 0 10px;
        min-width: 16px;
    }
}

@media only screen and (max-width: 430px) {
    .league_pager {
        font-size: 15px;
    }

    .league_pager .pager-item {
        padding: 0 4px;
        min-width: 14px;
    }

    .rating-locking{
        padding: 0px 20px;
    }
}
/* pagination end */

/* profile no chars error */
.profile__page .error-wrap {
    min-height: 400px;
    text-align: center;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--pad-color);
}
/* profile no chars error end */
