body #quiz {
    background: rgba(255,255,255, 0.8);
}

body #quiz .hystmodal__window {
    width: 800px;
    padding: 40px;
    border: 1px solid #B98429;
}

section.slide .title {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 36px;
    color: #535559;
    text-align: center;
}

section.slide .error {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 36px;
    color: red;
    text-align: center;
}

section.slide {
    text-align: center;
}

section.slide .pic {
    margin: 24px auto;
}

section.slide .form {
    margin: 48px auto;
}


#quiz-step-3 .form {
    width: 500px;
}

#quiz-step-3 .form .checkbox {
    width: 30%;
    display: inline-block;
    text-align: center;
}

section.slide .form .checkbox {
    width: 50%;
    display: inline-block;
    text-align: left;
}

section.slide .form .input {
    margin: 16px 0;
}

section.slide .form .input input {
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
    background: #f5f5f5;
    color: #101010;
    padding: 13px 10px 13px 20px;
    border: 1px solid #f5f5f5;
    width: 100%;
}



section.slide .quiz-button {
    background: #B98429;
    color: #fff;
    display: inline-block;
    height: 48px;
    vertical-align: middle;
    line-height: 48px;
    padding: 0 48px;
    text-align: center;
    cursor: pointer;
}


@media (min-width: 2px) and (max-width: 900px) {
    section.slide .form .checkbox {
        width: 100%;
    }
}







section.slide .form input[type='checkbox'], section.slide .form input[type='radio'] {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

section.slide .form input[type='checkbox']+label, section.slide .form input[type='radio']+label {
    display: inline-flex;
    align-items: center;
    user-select: none;
    font-size: 24px;
    line-height: 36px;
    color: #535559;
}
section.slide .form input[type='checkbox']+label::before, section.slide .form input[type='radio']+label::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #C4C4C4;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    cursor: pointer;
}
section.slide .form input[type='checkbox']:checked+label::before {
    border-color: #C4C4C4;
    background-color: #C4C4C4;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='DarkGoldenrod' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}


/* создание в label псевдоэлемента  before со следующими стилями */
section.slide .form input[type='radio']+label::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #C4C4C4;
    border-radius: 50%;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    cursor: pointer;
}

/* стили для радиокнопки, находящейся в состоянии checked */
section.slide .form input[type='radio']:checked+label::before {
    border-color: #C4C4C4;
    background-color: #C4C4C4;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='DarkGoldenrod' /%3e%3c/svg%3e");
}
