#profile {
    .page__head {
        .main-title { max-width: 50%;}
    }
}
.profile-detail {
    .row {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        .nav-entries {
            display: flex;
            justify-content: flex-end;
            width: 100%;
            margin-bottom: 30px;
            padding-right: 15px;
            &__control {
                display: block;
                color: $black;
                position: relative;
                @extend %arrowClose;
                &:before,
                &:after { background: $red; @include size(8px, 2px); }
                &.prev {
                    padding-left: 15px;
                    &:before, &:after { left: 0; }
                    &:before { margin-top: -3px; }
                    &:after { margin-top: 3px; }
                }
                &.next {
                    padding-right: 20px;
                    margin-left: 50px;
                    &:before, &:after { left: auto; right: 0; }
                    &:before { margin-top: 3px; }
                    &:after { margin-top: -3px; }
                }
            }
        }
    }
    &__info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        .block {
            display: flex;
            flex-direction: column;
            width: 100%;
            margin-bottom: 40px;
            &.profile-block {
                position: relative;
                background: rgba($grey, 0.2);
                padding: 20px;
            }
        }
        .profile {
            &__pic {
                display: block;
                width: 80%;
                position: relative;
                margin: 10px auto 30px;
                .delete {
                    position: absolute;
                    top: 15px;
                    right: 15px;
                    display: block;
                    background: $red;
                    @include size(25px,25px);
                    border-radius: 100%;
                    @extend %arrowClose;
                    &:before,
                    &:after {
                        background: $white;
                        @include size(15px, 2px);
                    }
                }
            }
            &__img {
                @include size(100%,auto);
                border-radius: 100%;
                overflow: hidden;
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
            &__pic-add {
                display: block;
                background: $red;
                @include size(200px,200px);
                border-radius: 100%;
                margin: 0 auto 45px;
                position: relative;
                .plus {
                    @extend %arrowClose;
                    &:before,
                    &:after {
                        background: $white;
                        @include size(60px, 12px);
                        border-radius: 3px;
                    }
                    &:before { transform: translate(-50%,-50%) rotate(0deg); }
                    &:after { transform: translate(-50%,-50%) rotate(90deg); }
                }
                .label {
                    position: absolute;
                    bottom: 20px;
                    left: 50%;
                    font-size: $f14;
                    line-height: 1em;
                    color: $white;
                    text-align: center;
                    transform: translateX(-50% );
                }
            }
            &__detail {
                display: flex;
                flex-direction: column;
                .user {
                    &-nickname {
                        font-weight: $fBlack;
                        color: $red;
                        margin-bottom: 30px;
                    }
                    &-reputation {
                        display: block;
                        width: 100%;
                        margin: 30px 0;
                        font-weight: $fBlack;
                        font-size: 1.2em;
                    }
                    &-wins {
                        font-weight: $fBlack;
                        font-size: 1.5em;
                        color: $red;
                    }
                }
            }
        }
        .btns-block {
            display: flex;
            flex-direction: column;
            margin-bottom: 40px;
            .btn {
                width: 100%;
                font-weight: $fBlack;
                font-size: 0.9em;
                line-height: 1em;
                margin: 5px 0;
                &:hover { background: $red; }
            }
        }
        .tags-block {
            display: flex;
            flex-wrap: wrap;
        }
    }
    &__content {
        form { width: 100%; }
    }
    @media (max-width: 1023px) {
        &__info {
            .profile__pic-add {
                @include size(170px,170px);
            }
        }
    }
    @media (max-width: 767px) {
        &__content {
            .gallery {
                .switch-view { display: none; }
            }
        }
    }
}
