/*var 1 popup*/
#survey{
    position: fixed;
    bottom: 0;
    right: 0;
    background: transparent;
    z-index: 100000;
    font-family: "Noto Sans";
    font-family: var(--content-font-family);
    --borderColor: #D3D3D3;
}

#survey .survey_headline{
    font-size: 20px;
    line-height: 24px;
    color: white;
    background-color: #d20c0f;
    padding: 10px 20px;
    padding-right: 15px;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    border-top-left-radius: 10px;
    font-family: "Montserrat";
    font-family: var(--headings-font-family);
}

#survey .survey_radios{
    display: flex;
    justify-content: space-evenly;
}

#survey_data{
    border: 1px solid var(--borderColor);
    border-top-style: none;
    border-bottom-left-radius: 10px;
    padding: 20px 10px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

#survey_button{
    margin-top: 20px;
    width: 190px;
    height: 45px;
    padding: 10px;
    background: #ECECEC;
    border-radius: 5px;
    color: black;
    font-size: 18px;
    font-weight: normal;
    cursor: default;
    border: 1px solid var(--borderColor);
    box-sizing: border-box;
}

#survey_button.active{
    margin-top: 20px;
    padding: 10px;
    background: #d20c0f;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

#survey .survey_button_container{
    display: flex;
    justify-content: center;
}

#survey_minimized{
    margin-top: 10px;
    display: flex;
    justify-content: right;
}

#survey_minimized_text{
    padding: 10px;
    background-color: #d20c0f;
    color: white;


    padding-right: 26px;
    position: relative;
    font-weight: bold;
    line-height: 20px;
    border-top-left-radius: 10px;
    cursor: pointer;
}

#survey_minimized_text::after{
    content: ' ';
    background: url('/img/svg/arrow_1.svg') no-repeat 0 0;
    width: 6px;
    height: 10px;

    position: absolute;
    right: 10px;
    top: 15px;
    transform: rotate(-90deg);
}

#survey_minimized_text.rotate::after{
    transform: rotate(90deg);
}

#survey_form{
    display: none;
    background-color: white;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

#survey .survey_radios input{
    display: none;
}

#survey .survey_answer_container label{
    display: inline-block;
    padding: 8px 10px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    background: white;
    border: 1px solid var(--borderColor);
    color: black;
    box-sizing: border-box;
}

#survey .survey_answer_container label:hover{
    border: 1px solid #d20c0f;
    color: #d20c0f;
}

#survey .survey_answer_container input:checked + label,
#survey .survey_answer_container label.checkedAnswer{
    background-color: #d20c0f;
    color: white;
    font-weight: bold;
    border: none;
}

#survey .survey_answer_container{
 margin-right: 10px;   
}

#survey .survey_answer_container:last-child{
    margin-right: 0;   
}

#survey .survey_error{
    text-align: center;
    display: none;
}

#survey_minimized_text{
    border-top-left-radius: 5px;    
}

#survey .survey_result{
    text-align: center;
    margin-top: 5px;
    font-size: 12px;
    display: none;
}

#survey_result_text{
    text-align: center;
    margin-top: 15px;
    display: none;
}

#survey .survey_headline img{
    cursor: pointer;
}