/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.stop-scroll{
    position: sticky;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}


.popup{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 900;
    font-family: 'Lato', sans-serif;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.popup_bg{
    background-color: rgba(0, 0, 0, 0.24);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 901;
    -webkit-backdrop-filter: blur(3px);
            backdrop-filter: blur(3px);
    height: 100vh;
    width: 100%;
    /* animation-name: example; */
    /* animation-duration: 4s; */
}
/* 
@keyframes example {
    from {
        backdrop-filter: blur(0px);
    }
    to {
        backdrop-filter: blur(3px);
    }
} */


.popup_content{
    width: 90%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    max-width: 700px;
    /* overflow: hidden; */
    background-color: var(--color-window);
    border-radius: 15px;
    z-index: 901;
    position: relative;
    /* position: absolute; */
    /* left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto; */
    /*box-shadow: 0 0 8px #8b8b8b;*/
    -webkit-box-shadow: var(--shadow-window);
            box-shadow: var(--shadow-window);

    height: -moz-fit-content;
}

.popup_error_message{
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: var(--red);
}

.popup_content__close_btn{
    position: absolute;
    right: -45px;
    top: 2px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    opacity: 0.9;
    /* transition: opacity 0.2s; */
}

.popup_content__close_btn:hover{
    opacity: 1;
}

.popup_content__close_btn img{
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    fill: white;
}
/* .popup_content__close_btn::before{
    content: '\254A';
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(0.88turn);
    font-size: 30px;
    cursor: pointer;
    color: white;
} */


.popup_content__container {
    width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    padding: 0 28px;
    margin: 32px auto 22px;
    max-height: calc(100vh - 70px);
    overflow: auto;
}

.popup_content__container h4 {
    font-size: 24px;
    line-height: 31px;
    color: var(--color-font);
}

.textarea_group{
    margin-top: 15px;
    display: block;
}
.textarea_group span{
    font-size: 18px;
    color: var(--color-font);
    line-height: 22px;
}
.textarea_group textarea{
    background: var(--color-element);
    margin-top: 6px;
    width: 100%;
    height: 60px;
    min-height: 40px;
    max-height: 120px;
    min-width: 100%;
    max-width: 100%;
    display: block;
    outline-color: var(--color-primary);
    outline-width: 1px;
    padding: 5px 10px;
    font-size: 14px;
    color: var(--color-font);
    border-radius: 5px;
}
.textarea_group .popup_error_message{}



.popup_content__star-box{
    width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    /* justify-content: end; */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 15px;
}
.popup_content__star-box span{
    color: var(--color-font);
    font-size: 18px;
}

.popup_content__star-box .rate_template{
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    margin-left: 6px;
    margin-bottom: -5px;
}

.rate_template svg{}
.rate_template .rate_template__star{}






.popup_content__btn-box{
    width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack:end;
        -ms-flex-pack:end;
            justify-content:end;
    margin-top: 22px;
    /* margin-top: 15px; */
}
.popup_content__btn-box button{
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    border: none;
    margin-left: 6px;

    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.8;
    /* transition: opacity 0.2s; */
}


.btn-close{
    background-color: var(--color-secondary);
    color: var(--color-contrast);
}

.btn-success{
    background-color: var(--color-primary);
    color: var(--color-contrast);
}

.popup_content__btn-box button:hover{
    opacity: 1;
}

.popup_content__btn-box button:disabled{
    opacity: 0.5;
}

.big-button {
    font-size: 16px;
    padding: 15px 0;
    width: 100%;
    border: none;
    border-radius: 10px;
    background-color: var(--color-element);
    color: var(--color-font);
    cursor: pointer;
    /* transition: background-color 0.1s; */
}

.big-button-primary {
    background-color: var(--color-primary);
    color: var(--color-contrast);
}

.big-button:hover {
    background-color: var(--color-element-hover)
}

.big-button-primary:hover {
    background-color: var(--color-primary-hover)
}

@media screen and (max-width: 1000px){
    .big-button {
        font-size: 12px;
    }
    .popup_content__container {
        padding: 0px 22px;
    }

    .popup_content__container h4 {
        font-size: 20px;
        line-height: 26px;
    }
    .popup_content__star-box span{
        font-size: 16px;
    }
    
    .popup_error_message{
        margin-top: 6px;
        font-size: 12px;
    }
    .popup_content__star-box .popup_error_message small{
        font-size: 12px;
    }

}

@media screen and (max-width: 800px){

    .popup_content__container {
        margin: 24px auto 20px;
        padding: 0px 18px;

    }

    .popup_content__container h4 {
        font-size: 18px;
        line-height: 22px;
    }

    .popup_content__close_btn{
        right: 10px;
        top: 10px;
        width: 20px;
        height: 20px;
    }

    .popup_content__close_btn img{
        fill: var(--color-window);
        -webkit-filter: invert(1);
                filter: invert(1);
        opacity: 0.6;
    }

    .popup_content__close_btn::before{
        font-size: 18px;
        color: black;
    }

    .textarea_group{
        margin-top: 12px;
    }

    .popup_content__star-box span{
        font-size: 14px;
    }
    
    .popup_error_message{
        margin-top: 4px;
    }

    .popup_content__star-box{
        margin-top: 8px;
    }
    

    .popup_content__btn-box{
        margin-top: 15px;
    }

    .popup_content__btn-box button{
        padding: 6px 12px;
        font-size: 12px;
    }
}


/* ---------------------- */



.footer_tips_block{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack:
    justify;
        -ms-flex-pack:
    justify;
            justify-content:
    space-between;
    -ms-flex-wrap:wrap;
        flex-wrap:wrap;
    padding: 10px 0px 
}

.rate_template{

}
.rate_template__star{
    fill: var(--color-secondary);
    cursor: pointer;
}
.rate_template .star_guidance{
    fill: var(--color-primary);
}
.rate_template .active_star{
    fill: var(--color-accent);
}


@media screen and (max-width: 1400px){
    .footer_tips_block__text{
        font-size: 16px;
    }
}

@media screen and (max-width: 420px){
    .footer_tips_block__text{
        display: block;
        width: 100%;
        text-align: center;
    }

    .footer_tips_block .rate_template{
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
        margin: 12px auto 0px;
    }

    .footer_tips_block .rate_template .rate_template__star{
        width: 25px;
        height: 23px;
        margin: 0px 5px;
    }
}