@font-face {
    font-family: Gilroy-ExtraBold;
    src: url("../fonts/Gilroy-ExtraBold.otf") format("opentype");
}
@font-face {
    font-family: Gilroy-Light;
    src: url("../fonts/Gilroy-Light.otf") format("opentype");
}


.popup-vote__item {
    position: fixed;
    max-width: 795px;
    width: 795px;
    height: 650px;
    background-image: url("../img/bg-popup.png");
    border-radius: 30px;

    margin-left: auto;
    margin-right: auto;

    -webkit-box-shadow: 0 4px 64px rgba(44, 66, 255, 0.3);
    box-shadow: 0 4px 64px rgba(44, 66, 255, 0.3);

    z-index: 9999;
    /* position: absolute; */
    left: 50%;
    top: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0)
}

.modal-vote-second {
    position: fixed;
    max-width: 684px;
    width: 684px;
    height: 650px;
    background-image: url("../img/bg-s.png");
    border-radius: 30px;

    margin-left: auto;
    margin-right: auto;

    -webkit-box-shadow: 0 4px 64px rgba(44, 66, 255, 0.3);
    box-shadow: 0 4px 64px rgba(44, 66, 255, 0.3);

    z-index: 9999;
    /* position: absolute; */
    left: 50%;
    top: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0)

}

.popup-vote__close {
    position: absolute;
    top: 28px;
    right: 25px;
    background-image: url("../img/close.png");
    width: 16.49px;
    min-width: 16.49px;
    height: 16.49px;
    min-height: 16.49px;
    cursor: pointer;
}

.popup-vote-second__close {
    position: absolute;
    top: 35px;
    right: 27px;
    background-image: url("../img/close-second.png");
    width: 21px;
    min-width: 21px;
    height: 21px;
    min-height: 21px;
    cursor: pointer;
}
.popup-vote__title-main{
    font-family: 'Gilroy-ExtraBold';
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    line-height: 46px;  
    text-align: center;
    color: #7099FF;
    margin-top: 12px;
}


.popup-vote__title {
    font-family: 'Gilroy-ExtraBold';
    font-style: normal;
    font-weight: 800;
    font-size: 24px;
    line-height: 52px;
    text-align: center;
    color: #545454;
}

.popup-vote__btn {
    width: 216px;
    height: 52px;

    background: #7099FF;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
    border-radius: 60px;
    border-width: 0px;
    margin: 43px 0 auto 0;

    font-family: 'Gilroy-ExtraBold';
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    line-height: 25px;


    color: #FFFFFF;
    cursor: pointer;
}

.popup-vote__row {
    text-align: center;
}

.popup-vote__item > .popup__row {
    margin-bottom: 0;
}


.ratings {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    direction: rtl;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
.star {
    position: relative;
    display: inline-block;
    transition: color 0.2s ease;
    color: #ebebeb;
    margin-right: 5px;
    cursor: pointer;
}
  
.star:before {
    content: url('../img/star.svg');
}
  
.star:hover,
.star.selected,
.star:hover ~ .star,
.star.selected ~ .star{
    transition: color 0.8s ease;
    filter: brightness(0) saturate(100%) invert(89%) sepia(16%) saturate(6210%) hue-rotate(343deg) brightness(101%) contrast(102%);
}

.checkbox-wrapper {
  display: flex;
  font-size: 22px;
  margin: 0 1rem;
}
.checkbox-column {
    flex: 50%;
}
.checkbox-column div:nth-child(3) {
    margin-bottom: 0;
}
.first-column {
    margin-left: 37px;
}
.popup-vote__checkbox {
    margin-bottom: 7px;
}

.popup-vote__checkbox > label {
    display: flex;
    align-items: baseline;
    /*align-items: flex-start;
    justify-content: center;*/
    font-family: 'Gilroy-Light';
    font-style: normal;
    font-size: 20px;
    line-height: 20px;
    font-weight: 300;
}

.popup-vote__checkbox > label > input {
    font-family: 'Gilroy-LightNew';
    margin-right: 21px;
}


.popup-vote__checkbox input[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}

.popup-vote__checkbox input[type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

input[type="checkbox"]:checked + label, 
input[type="checkbox"]:not(:checked) + label {
    display: inline-block;
    position: relative;
    padding-left: 28px;
    line-height: 20px;
    cursor: pointer;
    
}
 
input[type="checkbox"]:not(:checked) + label:before {
    content: url('../img/check.png');
    position: absolute;
    left: 0px;
    top: -1px;
    width: 18px;
    height: 18px;
}

input[type="checkbox"]:checked + label:before {
    content: url('../img/check-active.png');
    position: absolute;
    left: 0px;
    top: 1px;
    width: 18px;
    height: 18px;
}

input[type="checkbox"]:checked + label:before, 
input[type="checkbox"]:not(:checked) + label:before {
    border-radius: 2px;
}

.popup-vote__thanks {
    display: none;
}

.modal-vote-second__title {
    margin-top: 187px;
    font-family: 'Gilroy-ExtraBold';
    font-style: normal;
    font-weight: 800;
    font-size: 42px;
    line-height: 50px;
    text-align: center;
    color: #000000;
}

.modal-vote-second__text {
    font-family: 'Gilroy-Light';
    font-style: normal;
    font-weight: 300;
    font-size: 42px;
    line-height: 50px;
    text-align: center;
    color: #000000;
}

.survey-after-receipt_error {
    border: 2px solid red;
}

@media (min-width: 801px) {
    .popup-vote__mobile {
        display: none;
    }
}

@media (max-width: 800px) {
    .popup-vote__item {
        max-width: 371px;
        /* height: 1229px; */
        background-image: url("../img/bg-mobile.png");
        /* position: absolute; */
        left: 50%;
        top: 50%;
        max-height: 100%;
        overflow-y: scroll;

        border-radius: 30px;
        margin-left: auto;
        margin-right: auto;

    -webkit-box-shadow: 0 4px 64px rgba(44, 66, 255, 0.3);
    box-shadow: 0 4px 64px rgba(44, 66, 255, 0.3);

    z-index: 9999;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0)

    }

    .star:before {
        content: url('../img/star-m.svg');
    }

    .star:hover,
    .star.selected,
    .star:hover ~ .star,
    .star.selected ~ .star{
        transition: color 0.8s ease;
        filter: brightness(0) saturate(100%) invert(57%) sepia(28%) saturate(2328%) hue-rotate(198deg) brightness(101%) contrast(101%);
    }

    .popup-vote__title-main--mobile {
        font-size: 16px;
    }

    .popup-vote__close {
        top: 18px;
        right: 13px;
    }

    .checkbox-wrapper {
        display: block;
    }

    .first-column, .second-column {
        margin-left: 28px;
    }

    .popup-vote__title {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 26px;
        /*font-family: 'Gilroy';*/
        font-style: normal;
        font-weight: 800;
        font-size: 28px;
        line-height: 28px;
        text-align: center;
        color: #7099FF;
    }

    .--mobil-check-margin {
        margin-top: 15px;
    }

    .popup-vote__title-main {
        font-style: normal;
        font-weight: 800;
        font-size: 20px;
        line-height: 20px;
        text-align: center;
        color: #545454;
        margin: 31px auto 34px;
    }

    .popup-vote__item > .popup__row {
        margin-bottom: 26px;
    }

    .popup-vote__btn {
        width: 194px;
        height: 38px;
        border-radius: 60px;
    }

    .popup-vote__row {
        margin-top: 52px;
    }

    .--mobile-margin {
        margin-top: 18px;
    }

    .popup-vote__checkbox {
        margin-bottom: 15px;
    }

    .popup-vote__thanks {
        display: block;
        margin-top: 34px;
    }

    .popup-vote__thanks__title {
        font-family: 'Gilroy-ExtraBold';
        font-style: normal;
        font-weight: 800;
        font-size: 20px;
        line-height: 20px;
        text-align: center;
    }

    .popup-vote__thanks__text {
        font-family: 'Gilroy-Light';
        font-style: normal;
        font-weight: 300;
        font-size: 15px;
        line-height: 20px;
        text-align: center;
        color: #545454;
        margin-top: 3px;
    }


    .popup-vote__btn {
        margin-top: 0;
    }

}

/*
width: 216px;
height: 52px;

background: #7099FF;
box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
border-radius: 60px;
*/

