@font-face {
    font-family: 'Golos UI';
    src: local('Golos UI'), 
        url('./fonts/GolosUI-Regular.woff2') format('woff2'),
        url('./fonts/GolosUI-Regular.woff') format('woff'),
        url('./fonts/GolosUI-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Golos UI';
    src: local('Golos UI'), 
        url('./fonts/GolosUI-Medium.woff2') format('woff2'),
        url('./fonts/GolosUI-Medium.woff') format('woff'),
        url('./fonts/GolosUI-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Golos UI';
    src: local('Golos UI'), 
        url('./fonts/GolosUI-Bold.woff2') format('woff2'),
        url('./fonts/GolosUI-Bold.woff') format('woff'),
        url('./fonts/GolosUI-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@media (min-width: 480px) {
    .widgetRate__container {
        width: 600px;
    }
}



.widgetRate__slide,
.widgetRate__slide p {
    font-family: "Golos UI", arial, sans-serif;
    font-weight: normal;
}

.widgetRate__overlay {
    position: fixed;
    right: 10px;
    bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.widgetRate__overlay_fixed {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.widgetRate__overlay_fixed .widgetRate__container  {
    width: 480px;
}

.widgetRate__overlay_fixed .widgetRate__title {
    margin-bottom: 16px;
}

.widgetRate__overlay_fixed .widgetRate__content  {
    padding: 24px 24px 0;
    margin-bottom: 24px;
}

.widgetRate__overlay_fixed .widgetRate__vote-item {
    margin-bottom: 0;
    padding-left: 0;
}

.widgetRate__container {
    background-color: #fff;
    max-width: 100%;
    max-height: 100vh;
    border-radius: 4px;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
}

.widgetRate__header {
    display: flex;
    justify-content:
        flex-end;
    align-items: center;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
}

.widgetRate__close {
    background: transparent;
    border: 0;
    cursor: pointer;
    outline: 0;
}

.widgetRate__header .widgetRate__close:before {
    content: '\2715';
    font-weight: 700;
    font-size: 20px;
    color: #8C94A5;
}

.widgetRate__content {
    padding: 48px 60px 0 48px;
    margin-bottom: 48px;
    line-height: 1.5;
    color: #001729;
}

.widgetRate__title {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 34px;
    line-height: 32px;
}

.widgetRate__title:not(.widgetRate__title_start) {
    padding-left: 12px;
}

.widgetRate__label {
    color: #373C4C;
}

.widgetRate__footer {
    border-top: 1px solid rgba(140, 148, 165, 0.3);
    display: flex;
    justify-content: flex-end;
    padding: 16px 64px 20px;
}

.widgetRate__footer_end {
    border-top-color: transparent;
    padding: 0 24px 24px;
}

.widgetRate__footer_end .widgetRate__btn {
    width: 157px;
}

.widgetRate__btn {
    font-weight: 500;
    font-size: 18px;
    color: #1B6FC6;
    border-color: transparent;
    background-color: transparent;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
}

.widgetRate__btn:not(:last-of-type) {
    margin-right: 18px;
}

.widgetRate__btn:focus,
.widgetRate__btn:hover {
    opacity: 0.7;
}

.widgetRate__btn-primary {
    background: rgba(23, 121, 211, 0.1);
    border-radius: 8px;
    color: #040614;
    height: 44px;
    padding-left: 16px;
    padding-right: 16px;
}


@keyframes mmfadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes mmfadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes mmslideOut {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10%);
    }
}

.widgetRate__slide {
    display: none;
}

.widgetRate__slide.is-open {
    display: block;
}

.widgetRate__slide[aria-hidden='false'] .widgetRate__overlay {
    animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.widgetRate__slide[aria-hidden='false'] .widgetRate__container {
    animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.widgetRate__slide[aria-hidden='true'] .widgetRate__overlay {
    animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.widgetRate__slide[aria-hidden='true'] .widgetRate__container {
    animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.widgetRate__vote-item {
    margin-bottom: 30px;
}

.widgetRate__vote-item:not(.widgetRate__vote-item_pad) {
    padding-left: 12px;
}


#voteCommentText {
    padding-left: 12px;
}

.widgetRate__vote-checkbox {
    padding-left: 12px;
}

.widgetRate__vote-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.widgetRate__vote-elements {
    margin-top: 10px;
}

.widgetRate__check {
    display: flex;
}

.widgetRate__vote-radio {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.widgetRate__vote-radio:first-of-type {
    margin-right: 33px;
}

.widgetRate__vote-radio label {
    font-size: 18px;
    cursor: pointer;
}

.widgetRate__vote-radio input[type='radio'] {
    display: block;
    margin-right: 13px;
    cursor: pointer;
    width: 22px;
    height: 22px;
    margin: 0 9px 0 0;
}

.widgetRate__vote-radio input[type='radio']:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='1.5' fill='%23fff'/%3e%3c/svg%3e");
    appearance: none;
    background-color: #0d6efd;
    border-bottom: #0d6efd;
    border-radius: 50%;
}


.widgetRate__vote-radio input[type='dradio']:after {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;
    content: '';
    border: 2px solid #8C94A5;
    display: inline-block;
    visibility: visible;
}

.widgetRate__vote-radio input[type='dradio']:checked:after {
    width: 20px;
    height: 20px;
    border-radius: 15px;
    position: relative;
    background-color: #c4a891;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 2px solid #c4a891;
}

.widgetRate__vote-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 16px;
}

.widgetRate__vote-checkbox input[type="checkbox"] + div {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 14, 51, 0.3);
    border-radius: 4px;
    margin-right: 10px;
}

.widgetRate__vote-checkbox input[type="checkbox"]:checked + div {
    background-color: blue;
    border: 2px solid blue;
}

.widgetRate__vote-elements textarea {
    width: 100%;
    height: 72px;
    font-size: 1rem;
    padding: 12px;
    resize: none;
    border-radius: 8px;
    font-family: inherit;
    box-sizing: border-box;
    margin-bottom: 28px;
}

.widgetRate__vote-elements textarea:focus {
    outline: 2px solid rgba(23, 121, 211, 0.5);
    border-color: rgba(23, 121, 211, 0.5);
}

.widgetRate__textarea-title {
    display: flex;
    justify-content: space-between;
}

.widgetRate__textarea-count {
    color: #8C94A5;
}

.widgetRate__jq {
    position: relative;
    line-height: 0;
    display: block;
    cursor: pointer;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    direction: ltr;
}

.widgetRate__jq[readonly=readonly] {
    cursor: default
}

.widgetRate__jq>.jq-ry-group-wrapper {
    position: relative;
    width: 100%
}

.widgetRate__jq>.jq-ry-group-wrapper>.jq-ry-group {
    position: relative;
    line-height: 0;
    z-index: 10;
    white-space: nowrap;
}

.widgetRate__jq>.jq-ry-group-wrapper>.jq-ry-group>svg {
    display: inline-block;
}

.widgetRate__jq>.jq-ry-group-wrapper>.jq-ry-group.jq-ry-normal-group {
    width: 100%;
}

.widgetRate__jq>.jq-ry-group-wrapper>.jq-ry-group.jq-ry-rated-group {
    width: 0;
    z-index: 11;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}


