.rate-block .wrapper-block {
    background-color: #fff;
}

.rating .stars .rate_b span, .user-rating .stars .rate_b span, #preview .review-item .user-rating .stars .rate_b span {
    color: #FF9800;
}

.rating .stars .rate_f, .user-rating .stars .rate_f, #preview .review-item .user-rating .stars .rate_f {
    color: #FF9800;
}

.rating.no .stars .rate_b span {
    color: #9e9b98;
}

.rating.no .stars .rate_b::after {
    color: #9e9b98;
}

.rates.no::after {
    color: #9e9b98;
}

.rating:hover span {
    color: #fa3e2c;
}

.rating .rated {
    color: #21201f;
}

.rating .rated_cnt {
    color: #9e9b98;
}

.rating .dot::after {
    color: #8a8784;
}

.rating .rated_rev {
    color: #9e9b98;
}

#rating .rates .cnt-rate span:not(:last-child):after {
    color: #999;
}

#rating .reviews-list .review-item {
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 0 3px rgba(0, 0, 0, .12);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 0 3px rgba(0, 0, 0, .12);
}

#rating .reviews-list .answer-item .tech-block .user-info span:not(:last-child):after,
#preview .review-item .answer-item .tech-block .user-info span:not(:last-child):after {
    color: #999;
}

#rating .reviews-list .review-item .review .empty-review {
    color: #9E9E9E;
}

#rating .reviews-list .review-item .review dt,
#preview .review-item .review dt {
    color: #222;
}

#rating .reviews-list .review-item .review-footer span,
#preview .review-item .review-footer span {
    color: grey;
}

#rating .reviews-list .review-item .update,
#preview .review-item .update {
    border-left: 1px solid #E0E0E0;
}

#rating .reviews-list .review-item .update .update-title,
#preview .review-item .update .update-title {
    color: #000;
}

#rating .reviews-list .review-item .spam-block span,
#preview .review-item .spam-block span {
    color: var(--tg-theme-link-color);
}

#rating .rate-stars .stars .rate_f span::before {
    color: var(--tg-theme-text-color);
}

#rating .rate-stars .stars .rate_b span {
    color: var(--tg-theme-text-color);
}

#rating .reviews-list .review-item .vote .vote-like span:nth-child(2),
#preview .review-item .vote .vote-like span:nth-child(2) {
    color: #174C5A;
}

#rating .reviews-list .review-item .vote .vote-like span:nth-child(1),
#rating .reviews-list .review-item .vote .vote-dislike span:nth-child(1),
#preview .review-item .vote .vote-like span:nth-child(1),
#preview .review-item .vote .vote-dislike span:nth-child(1) {
    color: #174C5A;
}

#rating .reviews-list .review-item .vote .vote-like span:nth-child(1):hover::before,
#preview .review-item .vote .vote-like span:nth-child(1):hover::before {
    color: #174C5A;
}

#rating .reviews-list .review-item .vote .vote-dislike span:nth-child(1):hover::before,
#preview .review-item .vote .vote-dislike span:nth-child(1):hover::before {
    color: #174C5A;
}

#rating .reviews-list .review-item .vote .vote-dislike span:nth-child(2),
#preview .review-item .vote .vote-dislike span:nth-child(2) {
    color: #174C5A;
}

#rating .anonym-wrap input[type="checkbox"]:focus-visible + .a-block {
    -webkit-box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tgs-main-color);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tgs-main-color);
}

#rating .anonym-wrap input[type="checkbox"]:checked + .a-block {
    background-color: var(--tgs-main-color);
}

#rating .anonym-wrap .wrapper .a-elem {
    background-color: #fff;
}

#rating .anonym-wrap .wrapper .a-elem::before {
    background-color: #fff;
}

#rating .anonym-wrap .title {
    color: #21201f;
}

#rating .anonym-wrap label:hover .a-block {
    background-color: #c6c6c6
}

#rating .reviews-list .review-item .user-edit ul.menu, #preview .review-item .user-edit ul.menu {
    background-color: #fff;
    border: 1px solid #E0E0E0;
}

#rating .reviews-list .review-item .user-edit ul.menu li:hover, #preview .review-item .user-edit ul.menu li:hover {
    background-color: #F5F5F5;
}

.admin-panel .adm-btn {
    background: rgba(0, 0, 0, .2);
}

.admin-panel .adm-btn:hover {
    background: rgba(0, 0, 0, .5);
}

.admin-panel .adm-btn svg {
    fill: #fff;
}

.admin-panel .adm-menu {
    background-color: #fff;
    border: 1px solid #E0E0E0;
}

.admin-panel .adm-menu li:hover {
    background-color: #F5F5F5;
}

#rating .review-wrap .field-wrap label {
    color: #898f97;
}

#rating textarea {
    color: #222;
}

#rating .rate {
    color: #868695;
}

#rating .help-rate {
    color: #999;
}

.alert::before {
    background-color: rgba(0, 0, 0, .65);
}

.alert .alert-wrap {
    background-color: #fff;
}

.alert .alert-field .field input[type=radio]:checked + .r-block .r-wrap {
    background-color: #fff;
    border-color: #222;
}

.alert .alert-field .field .r-elem {
    background-color: #e8e8e8;
}