@keyframes appear1 {
    0%   { transform: scale(0); }
    25%   { transform: scale(1); }
    100%  { transform: scale(1); }
}

@keyframes appear2 {
    0%   { transform: scale(0); }
    50%   { transform: scale(1); }
    100%  { transform: scale(1); }
}

@keyframes appear3 {
    0%   { transform: scale(0); }
    100%  { transform: scale(1); }
}

@-webkit-keyframes appear1 {
    0%   { transform: scale(0); }
    25%   { transform: scale(1); }
    100%  { transform: scale(1); }
}

@-webkit-keyframes appear2 {
    0%   { transform: scale(0); }
    50%   { transform: scale(1); }
    100%  { transform: scale(1); }
}

@-webkit-keyframes appear3 {
    0%   { transform: scale(0); }
    100%  { transform: scale(1); }
}

@keyframes comment-appear {
    0%   { background: rgba(85, 136, 186, 0.3); }
    90%  { background: rgba(0, 0, 0, 0); }
    100%  { background: #F7F7F7; }
}

@-webkit-keyframes comment-appear {
    0%   { background: rgba(85, 136, 186, 0.3); }
    90%  { background: rgba(0, 0, 0, 0); }
    100%  { background: #F7F7F7; }
}

@keyframes animated-gradient {
    100%  { background-position: 100% 0; }
}


.me_text .appear {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
}

.me_text .appear:first-child {
    animation-name: appear1;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.me_text .appear:nth-child(2) {
    animation-name: appear2;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.me_text .appear:last-child {
    animation-name: appear3;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.answer-wrap {
    max-height: 0;
    opacity: 0;
}
.answer-wrap .emoji-box, .answer-wrap.typing .emoji-box {
    display: none;
}

.answer-wrap.just-typed .emoji-box, .answer-wrap.already-typed .emoji-box {
    display: flex;
}


.typing-block, .additional-block {
    max-height: 0;
    opacity: 0;
    transition: .3s;
}
.typed-text {
    max-height: 0;
    opacity: 0;
    transition: 2s;
}

.answer-wrap.typing .comment__body {
    background: linear-gradient(to left, rgba(85, 136, 186, 0.2), rgba(85, 136, 186, 0.2), rgba(85, 136, 186, 0.1), rgba(85, 136, 186, 0.2), rgba(85, 136, 186, 0.0));
    background-size: 200% 100%;
    animation: animated-gradient 2s infinite alternate;
}

.answer-wrap.typing, .answer-wrap.just-typed, .answer-wrap.already-typed {
    max-height: 900px;
    opacity: 1;
}

.answer-wrap.typing .typing-block {
    max-height: 50px;
    opacity: 1;
}

.answer-wrap.just-typed .comment__body {
    animation-name: comment-appear;
    animation-duration: 2s;
    animation-iteration-count: 1;
}

.answer-wrap.just-typed .typed-text, .answer-wrap.already-typed .typed-text, .comment-layout .typed-text {
    max-height: 700px;
    opacity: 1;
}

.answer-wrap.just-typed .additional-block, .answer-wrap.already-typed .additional-block {
    max-height: 50px;
    opacity: 1;
}

.answer-wrap.already-typed {
    animation: none;
}

.answer-wrap.already-typed .typed-text, .answer-wrap.already-typed .additional-block {
    transition: none;
}

.answer-wrap.already-typed .typing-block, .answer-wrap.just-typed .typing-block {
    position: relative;
    z-index: -1;
}

.answer-wrap.type .typing {
    max-height: 50px;
    opacity: 1;
}


.line-hider .comment:not(.comment--answer):before {
    transform: scaleY(0);
    opacity: 0;
    transform-origin: top;
    transition: .4s;
}










.comment-create__body {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.comment-create__name-field {
    width: 300px;
    height: 54px;
    background: #F7F7F7;
    border-radius: 20px;
    font-family: 'Tahoma', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    border: none;
    padding: 14px;
    margin-bottom: 10px;
    outline: none;
}
.comment-create__name-field::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.comment-create__textarea-wrap {
    position: relative;
}

.comment-create__text-field {
    width: 100%;
    background: #F7F7F7;
    border-radius: 20px;
    font-family: 'Tahoma', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    height: 54px;
    border: none;
    padding: 14px;
    outline: none;
    resize: none;
}
.comment-create__text-field::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/*.comment-create__text*/

.comment-create__create-btn {
    background: none;
    border: none;
    display: none;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.comment-create__subtitle {
    padding: 10px 10px 10px 15px;
    font-family: 'Tahoma', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 1140px) {
    .comment-create__create-btn {
        display: block;
    }
    .comment-create__subtitle {
        display: none;
    }

}
@media screen and (max-width: 700px) {
    .comment-create__name-field {
        width: 100%;
    }
}

@media screen and (max-width: 520px) {
    .comment-create {
        padding-left: 0;
    }
}

.stars {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #717171;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.stars__img {
    margin-right: 10px;
}

.rating {
    max-width: 320px;
    width: 100%;
    margin: 0 auto 24px;
}
.rating__header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.rating__value {
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 500;
    font-size: 48px;
    line-height: 100%;
    padding: 10px 10px 10px 0;
    margin-right: 10px;
}
.rating__info {
}
.rating__img {
    /*margin-bottom: 9px;*/
}
.rating__subtitle {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.03em;
    color: #8C8C8C;
}
.rating__body {

}
.rating__bar {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 16px;
}
.rating__bar-img {

}
.rating__bar-value {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    letter-spacing: 0.03em;
    color: #8C8C8C;
    text-align: center;
    min-width: 26px;
}