body.dragging, body.dragging .rating-option {
    cursor: -webkit-grabbing !important;
    cursor: grabbing !important;
}

.rating-container {
    direction: ltr;
}

.touch-marker {
    position: absolute;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05),0 4px 6px rgba(0,0,0,0.06);
    -webkit-transform: scale(2);
    transform: scale(2);
    opacity: 0;
    transition-property: -webkit-transform,opacity;
    transition-property: transform,opacity;
    transition-duration: .25s;
    transition-timing-function: cubic-bezier(.215, .61, .355, 1);
    pointer-events: none;
    will-change: transform;
}

.show-touch .touch-marker {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
}

.rating-control {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: relative;
    width: 50%;
    padding-bottom: 9px;
    margin: auto;
}

    .rating-control::before {
        content: "";
        position: absolute;
        width: 80%;
        height: 2px;
        /*top: 50%;*/
        top: 40px;
        margin-top: -13px;
        left: 10%;
        background-color: #E9ECEE;
    }

    .rating-control .current-rating {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: absolute;
        width: 20%;
        height: 55px;
        top: 0;
        right: 0;
        will-change: transform;
        cursor: -webkit-grab;
        cursor: grab;
    }

        .rating-control .current-rating:active {
            cursor: -webkit-grabbing;
            cursor: grabbing;
        }

        .rating-control .current-rating .svg-wrapper {
            position: relative;
            width: 55px;
            height: 55px;
            border-radius: 50%;
            /*box-shadow: 0 3px 5px rgba(0,0,0,0.08);*/
            pointer-events: none;
        }

            .rating-control .current-rating .svg-wrapper svg {
                position: absolute;
                width: 55px;
                height: 55px;
                top: 0;
                left: 0;
                will-change: transform;
            }

@media (-webkit-min-device-pixel-ratio:2),(min-device-pixel-ratio:2),(min-resolution:2dppx) {
    .rating-control .current-rating .svg-wrapper svg {
        -webkit-transform: translate(.5px, .5px);
        transform: translate(.5px, .5px);
    }
}

.rating-control .current-rating .touch-marker {
    bottom: -10px;
    left: 50%;
    margin-left: -5px;
}

.rating-control .rating-option {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-top: 9px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}



.rating-control .rating-option {
    animation: fadein 0.75s cubic-bezier(0.25, 0.25, 0.25, 1.25) both;
}

    .rating-control .rating-option:nth-child(1) {
        animation-delay: 0.02s;
    }

    .rating-control .rating-option:nth-child(2) {
        animation-delay: 0.04s;
    }

    .rating-control .rating-option:nth-child(3) {
        animation-delay: 0.06s;
    }

    .rating-control .rating-option:nth-child(4) {
        animation-delay: 0.08s;
    }

    .rating-control .rating-option:nth-child(5) {
        animation-delay: 0.1s;
    }

.rating-control .current-rating {
    opacity: 1;
}

@-moz-keyframes fadein {
    0% {
        opacity: 0;
        transform: translateX(50%) scale(0) rotateZ(-60deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotateZ(0deg);
    }
}

@-webkit-keyframes fadein {
    0% {
        opacity: 0;
        transform: translateX(50%) scale(0) rotateZ(-60deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotateZ(0deg);
    }
}

@-o-keyframes fadein {
    0% {
        opacity: 0;
        transform: translateX(50%) scale(0) rotateZ(-60deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotateZ(0deg);
    }
}

@keyframes fadein {
    0% {
        opacity: 0;
        transform: translateX(50%) scale(0) rotateZ(-60deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotateZ(0deg);
    }
}



.rating-control .rating-option:active .icon svg .base, .rating-control .rating-option.active .icon svg .base {
    fill: #8B959A;
}

.rating-control .rating-option:active .label, .rating-control .rating-option.active .label {
    color: #313B3F !important;
}

.rating-control .rating-option .icon {
    width: 36px;
    height: 36px;
    will-change: transform;
    pointer-events: none;
}

    .rating-control .rating-option .icon svg {
        display: block;
    }

        .rating-control .rating-option .icon svg .base {
            transition: fill .1s ease-in-out;
        }

.rating-control .rating-option .label {
    font-size: 16px;
    font-weight: 500;
    color: #ABB2B6;
    margin-top: 8px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    will-change: transform;
    transition: color .1s ease-in-out;
}

    .rating-control .rating-option .label.no-transition {
        transition: none;
    }

.rating-control .rating-option .touch-marker {
    bottom: 15px;
    left: 50%;
    margin-left: -18px;
}


@media only screen and (max-device-width: 1440px), only screen and (max-width: 1440px) {

    .rating-control .rating-option .label {
        font-size: 12px;
    }

    .rating-control .current-rating .svg-wrapper {
        width: 45px;
        height: 45px;
    }
}

@media only screen and (max-device-width: 767px), only screen and (max-width: 767px) {
    .rating-control {
        margin-top: 20px;
        width: 340px;
        margin-bottom: 10px;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

        .rating-control .rating-option .label {
            font-size: 10px;
            text-align: center;
        }

    .touch-marker {
        width: 20px;
        height: 20px;
    }

    .rating-control .current-rating .touch-marker {
        bottom: 5px;
        left: 50%;
        margin-left: -5px;
    }

    .rating-control .rating-option .icon svg {
        max-width: 36px;
    }

    .rating-control .current-rating .svg-wrapper svg {
        max-width: 22px;
    }

    .rating-control .rating-option .icon {
        width: 36px;
        height: 36px;
    }

    .rating-control .current-rating .svg-wrapper {
        width: 36px;
        height: 36px;
    }
}
