.user-profile {
    max-width: 725px;
    float: right;
}

/*Заголовок*/
.title-page {
    margin-bottom: 42px;
}

.title-page h1 {
    font-size: 43px;
    text-transform: none;
    letter-spacing: -1px;
}

/*Блок с комментом*/
.comment-block {
    border: 3px solid #f0f5f4;
    border-radius: 5px;
    position: relative;
    padding: 21px 27px 24px;
    letter-spacing: -0.5px;
    color: #474243;
    font-size: 15px;
    line-height: 19px;
    box-sizing: border-box;
}

.comment-block::before, .comment-block::after {
    content: '';
    position: absolute;
    left: 40px;
    bottom: -28px;
    border: 14px solid transparent;
    border-top: 12px solid #f0f5f4;
}

.comment-block::after {
    border-top: 12px solid #fff;
    bottom: -24px;
}

.author-block {
    margin-top: 28px;
    margin-bottom: 37px;
    padding-left: 35px;
    position: relative;
}

.author-block img {
    display: inline-block;
    height: 45px;
    width: 45px;
    float: left;
    margin-right: 13px;
}

.author-block__author-name {
    font-size: 18px;
    font-weight: 600;
    color: #474243;
}

.author-block__profession {
    font-size: 15px;
    line-height: 1.33;
    color: #999999;
}


/*Шкала заполнения*/
.status-text-block {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.status-text-block__points {
    text-align: right;
    font-weight: bold;
}

.status-text-block__points_color {
    color: black;
}

.status-text-block__points_bill-text {
    font-size: 15px;
    display: block;
    font-weight: normal;
    margin-top: -10px;
}

.status-text-block__successfull_points {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 15px;
}

.status-text-block__successfull_points:before {
    content: "";
    display: inline-block;
    background: url(/img/points_check.png) center no-repeat;
    width: 21px;
    height: 21px;
    margin-right: 5px;
    vertical-align: text-bottom;
}

.status-line {
    background-color: #eeeeee;
    position: relative;
    height: 10px;
    width: 100%;
    border-radius: 2px;
}

.ui-widget-header {
    height: 100%;
    box-shadow: none;
    background: #ff8e00;
}

.ui-widget-content {
    box-shadow: none;
}

.status-line span {
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
}

.status-line span.p1 {
    left: 10%;
}

.status-line span.p2 {
    left: 20%;
}

.status-line span.p3 {
    left: 30%;
}

.status-line span.p4 {
    left: 40%;
}

.status-line span.p5 {
    left: 50%;
}

.status-line span.p6 {
    left: 60%;
}

.status-line span.p7 {
    left: 70%;
}

.status-line span.p8 {
    left: 80%;
}

.status-line span.p9 {
    left: 90%;
}


/*Блок с полями выбора*/
.select-block {
    border-top: 1px dotted #cccccc;
    margin-top: 20px;
}

.lk-main__section div:nth-of-type(5).select-block,
.lk-main__section div:nth-of-type(7).select-block,
.lk-main__section div:nth-of-type(9).select-block {
    border-top: 0;
}

.lk-main__section div:nth-of-type(5) .select-block__title,
.lk-main__section div:nth-of-type(7) .select-block__title,
.lk-main__section div:nth-of-type(9) .select-block__title {
    margin-top: 0;
}

.select-block_problems {
    border-top: 0;
    margin-top: 0;
}

.select-block__title {
    font-size: 22px;
    line-height: 22px;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
}

.select-block_problems .select-block__title {
    margin-top: 20px;
}

.select-block__item_row {
    display: inline-block;
    line-height: normal;
    min-height: 20px;
    margin-bottom: 10px;
}

.select-block__item_properties {
    margin-top: 5px;
    display: none;
}

input[type="radio"] {
    display: none;
}

input[type="radio"] + .pseudo-radio {
    background: #fff;
    border: 1px solid #e5e5e5;
    height: 16px;
    width: 16px;
    display: inline-block;
    padding: 0 0 0 0px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    cursor: pointer;
    position: relative;
    box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.05);
}


input[type="radio"]:checked + .pseudo-radio::after {
    content: "";
    position: absolute;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #f26a36;
}

.radio__text {
    line-height: 20px;
    font-size: 15px;
    letter-spacing: -0.3px;
    display: inline-block;
    padding-left: 7px;
    margin-right: 20px;
    cursor: pointer;
    vertical-align: top;
}

.select-block__item_row-checkbox {
    margin-right: 15px;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] ~ .checkbox__text {
    border-radius: 2px;
    background-color: #fff;
    border: 1px solid #acccc5;
    cursor: pointer;
    font-size: 15px;
    line-height: 15px;
    letter-spacing: -0.3px;
    padding: 7px 10px;
    display: inline-block;
    box-sizing: border-box;
}

input[type="checkbox"] ~ .checkbox__text .checkbox_checked {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 21px;
    height: 100%;
    border-left: 1px solid #acccc5;
}

input[type="checkbox"] ~ .checkbox__text .checkbox_checked img {
    width: 8px;
    height: 8px;
    margin: auto;
}

input[type="checkbox"]:checked ~ .checkbox__text .checkbox_checked {
    display: flex;
}

input[type="checkbox"]:checked ~ .checkbox__text {
    background-color: #f0f5f4;
    position: relative;
    padding-right: 31px;
}


input[type="checkbox"]:checked ~ .pseudo-checkbox:after {
    display: none;
}

.left_sidebar_status-line-percent {
    display: inline;
    float: right;
}

.left_sidebar_status-line {
    margin-bottom: 10px;
}


.affix {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 998px;
    margin: 0 auto;
    background-color: #fff;
    z-index: 90;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.1);
    padding: 10px 15px 0;
}

.affix .affix_hide {
    display: none!important;
}

.affix .status-text-block__percent {
    padding-top: 11px;
    padding-bottom: 8px;
}

.affix .status-line {
    margin-bottom: 11px;
}

.affix .status-text-block__successfull_points {
    margin-bottom: 0;
}


@media screen and (max-width: 768px) {

    .user-profile {
        padding: 0;
        max-width: 100%;
    }

    .title-page.on-lk-page {
        width: auto;
    }

    .title-page.on-lk-page h1 {
        float: none;
    }

    .title-page {
        margin-bottom: 15px;
        text-align: center;
    }

    .title-page h1 {
        font-size: 20px;
        text-transform: uppercase;
        letter-spacing: -0.4px;
    }


    .lk-main__section > div {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .comment-block {
        text-align: center;
        font-size: 13px;
        line-height: 17px;
    }

    .comment-block::before, .comment-block::after {
        left: calc(50% - 20px);
    }

    .author-block {
        padding-left: 0;
        text-align: center;
        margin-bottom: 25px;
    }

    .author-block img {
        float: none;
    }

    .author-block__author-name {
        font-size: 20px;
    }

    .status-text-block {
        border-top: 1px solid #ddd;
    }

    .status-text-block__percent {
        padding-top: 25px;
        padding-bottom: 13px;
        text-align: center;
        font-size: 20px;
    }

    .status-text-block__points {
        text-align: center;
        margin-top: 18px;
        font-size: 15px;
        font-weight: normal;
    }

    .status-text-block__points:last-of-type {
        margin-bottom: 19px;
    }

    .select-block {
        border-top: 1px solid #ddd;
        margin-top: 0;
    }

    .select-block:last-of-type {
        border-bottom: 1px solid #ddd;
    }

    .select-block:first-child {
        margin-top: 10px;
    }

    .select-block__title, .select-block_problems .select-block__title {
        margin-top: 15px;
        margin-bottom: 15px;
        text-transform: uppercase;
        font-size: 18px;
        /*max-height: 18px;*/
        -webkit-transform: translate(0, 2px);
        -moz-transform: translate(0, 2px);
        -ms-transform: translate(0, 2px);
        -o-transform: translate(0, 2px);
        transform: translate(0, 2px);
    }

    .select-block_problems {
        border-top: 1px solid #ddd;
    }

    .select-block__item_wrapper {
        /*padding-top: 15px;*/
        padding-bottom: 2px;
        display: none;
    }

    .select-block__item_properties {
        margin-top: 3px;
    }

    .select-block__title:after {
        content: "";
        position: absolute;
        right: 10px;
        top: calc(50% - 4px);
        display: block;
        background: url(/img/down_carpet.svg) center no-repeat;
        width: 8px;
        height: 8px;
    }

    .select-block.open .select-block__title:after {
        background: url(/img/up_carpet.svg) center no-repeat;
    }

    .select-block.open .select-block__item_wrapper {
        display: block;
    }

    .select-block__item_row {
        margin-bottom: 15px;
    }

    .select-block__item_row-checkbox {
        display: block;
    }


    input[type="checkbox"] + .pseudo-checkbox {
        background: #fff;
        border: 1px solid #e5e5e5;
        height: 16px;
        width: 16px;
        display: inline-block;
        padding: 0 0 0 0px;
        -webkit-border-radius: 1px;
        -moz-border-radius: 1px;
        border-radius: 1px;
        cursor: pointer;
        position: relative;
        box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.05);
    }


    input[type="checkbox"]:checked + .pseudo-checkbox::after {
        content: "";
        position: absolute;
        top: calc(50% - 6px);
        left: calc(50% - 6px);
        display: block;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: url(/img/svg/order/check.svg) center no-repeat;
    }

    input[type="checkbox"] ~ .checkbox__text {
        line-height: 23px;
        font-size: 15px;
        letter-spacing: -0.3px;
        display: inline-block;
        padding: 0;
        padding-left: 7px;
        margin-right: 20px;
        cursor: pointer;
        vertical-align: text-bottom;
        border: 0;
    }

    input[type="checkbox"]:checked ~ .checkbox__text {
        background: unset;
        padding-right: 0;
        padding-left: 7px;
    }

    input[type="checkbox"]:checked ~ .checkbox__text .checkbox_checked {
        display: none;
    }

    .lk-main__section div:nth-of-type(5).select-block,
    .lk-main__section div:nth-of-type(7).select-block,
    .lk-main__section div:nth-of-type(9).select-block {
        border-top: 1px solid #ddd;
    }

    .lk-main__section div:nth-of-type(5) .select-block__title,
    .lk-main__section div:nth-of-type(7) .select-block__title,
    .lk-main__section div:nth-of-type(9) .select-block__title {
        margin-top: 15px;
    }

    .affix {
        top: 60px;
        left: 0;
        width: 100%;
        margin: 0;
        background-color: #fff;
        z-index: 90;
        box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.1);
    }

    .affix .affix_hide {
        display: none!important;
    }

    .affix .status-text-block__percent {
        padding-top: 11px;
        padding-bottom: 8px;
    }

    .affix .status-line {
        margin-bottom: 11px;
    }

    .affix .status-text-block__successfull_points {
        margin-bottom: 0;
    }
}
