.comment-section .main-h {
    margin-bottom: 16px;
}

.comment-section .comments.expanded {
    max-height: 100%;
    overflow: visible;
}

.comment-section .comments {
    max-height: 170px;
    position: relative;
    overflow: hidden;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

.comment-section .comments a {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 4px 8px;
    border-radius: 3px;
    background: #f4f4f4;
    color: #777;
    font-size: 13px;
    text-decoration: none;
}

.comment-section .comments li,
.comment-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 10px;
    -webkit-box-align: center;
    -ms-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.comment-section .comments li .user,
.comment-block__user {
    font-size: 12px;
    text-align: center;
    margin-right: 16px;
    min-width: 100px;
}

.comment-section .comments li .user .user_icon,
.comment-block__icon {
    width: 40px;
    height: 40px;
    overflow: hidden;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    border-radius: 50%;
    background: #eee;
    color: var(--ylw);
    -webkit-box-align: center;
    -ms-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 8px;
}
.comment-section .comments li .comment {
    min-width: 80%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -ms-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-direction: column;
    -moz-box-direction: normal;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.comment-section .comments li .comment-text,
.comment-block__input {
    background: #fcfcfc;
    padding: 8px 16px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 10px;
    margin-bottom: 8px;
}

.comment-section .comments li .comment-date {
    font-size: 10px;
    font-style: italic;
    color: #ccc;
}

.comment-block {
    padding: 10px 0 0 10px;
}
.comment-block__action {
    position: relative;
}
.comment-block__input {
    width: 100%;
    border-radius: 0;
    outline: none;
    -webkit-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
}

.loginToComment {
    font-weight: bold;
    padding: 8px 16px;
    margin-left: 16px;
    border-left: 3px solid var(--ylw);
}
.comment-block__btn {
    position: absolute;
    top: 0;
    right: 0;
    height: 44px;
    font-weight: bold;
    border: none;
    font-size: 20px;
}
