﻿.page {
    display: none;
}

    .page.active {
        display: block;
        opacity: 1;
        transform: translateX(0);
    }

.he-quiz-options {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -20px;
}

.he-quiz-options__option {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 240px;
    padding: 25px 10px 5px;
    min-height: 205px;
    text-align: center;
    border: 2px solid #DDDDDD;
    border-radius: 5px;
    margin: 0 10px 20px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #fff;
}

    .he-quiz-options__option:hover, .he-quiz-options__option--active {
        border-color: #CD1719;
    }

.he-quiz-options__icon, .he-quiz-options__custom-input {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
}

    .he-quiz-options__icon svg {
        display: block;
        width: 100%;
        height: auto;
    }

.he-quiz-options__custom-input {
    font-size: 15px;
    color: #6E6E6E;
}

    .he-quiz-options__custom-input input {
        margin-right: 8px;
        height: 36px;
        max-width: 110px;
        padding: 10px;
        background: #EEEEEE;
        border: 1px solid #DDDDDD;
        border-radius: 5px;
    }

.he-quiz-options__title {
    font-weight: bold;
    font-size: 17px;
    line-height: 23px;
    text-align: center;
    color: #000000;
    transition: all 0.2s;
}

.he-quiz-options__option:hover .he-quiz-options__title, .he-quiz-options__option--active .he-quiz-options__title {
    color: #CD1719;
}

.he-quiz-options input[type=radio],
.he-quiz-options input[type=checkbox] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.he-quiz-question__heading {
    margin-top: 0;
    margin-bottom: 4px;
    text-align: center;
    font-weight: bold;
    font-size: 21px;
    line-height: 29px;
    color: #000000;
    text-transform: none;
}

.he-quiz-question__row {
    display: flex;
}

.he-quiz-question__answers {
    margin-bottom: 30px;
    margin-top: 25px;
}

.he-quiz-question__options {
    justify-content: center;
}

.he-quiz-question__button {
    display: block;
    max-width: 216px;
    width: 100%;
    margin: 0 auto;
    background-color: #229E7D;
}

    .he-quiz-question__button:hover {
        background-color: #333;
    }

.he-quiz-question__protect-badge {
    margin-left: auto;
}

.he-quiz-fields {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.he-quiz-fields__field input {
    height: 50px;
}

.he-quiz-fields__field textarea {
    resize: none;
}

.he-quiz-fields__input {
    width: 100%;
    padding: 15px;
    border: 2px solid #DDDDDD;
    border-radius: 5px;
    font-size: 16px;
}

    .he-quiz-fields__input::placeholder {
        color: #A3A3A3;
    }

.he-quiz-fields__input--invalid {
    border-color: red !important;
}

.he-quiz-fields__group {
    display: flex;
    justify-content: space-between;
}

    .he-quiz-fields__group:not(:last-child) {
        margin-bottom: 15px;
    }

    .he-quiz-fields__group .he-quiz-fields__field {
        width: 100%;
    }

.he-quiz-fields__group--two .he-quiz-fields__field {
    width: calc(50% - 7.5px);
}

.he-quiz-protect-badge {
    display: flex;
    align-items: center;
    max-width: 226px;
    padding: 5px 12px;
    background: rgba(18, 159, 6, 0.22);
    border-radius: 13.5px;
    font-size: 13px;
    line-height: 1;
    text-align: center;
    color: #129F06;
}

    .he-quiz-protect-badge svg {
        display: block;
        width: 17px;
        height: 17px;
        margin-right: 10px;
    }

.he-quiz {
    margin: 0 -30px;
    background-image: url('../images/background/bg21.jpg');
    background-size: cover;
    background-repeat:no-repeat;
}


.he-quiz__main {
    margin-left: auto;
    margin-right: auto;
    padding: 45px 30px;
    overflow: hidden;
}

.he-quiz__questions {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 340px;
    margin-bottom: 20px;
}

.he-quiz__questions-inner {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.he-quiz__question {
    display: none;
    flex-grow: 1;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s;
}

.he-quiz__question--slide-out {
    transform: translateX(-100%);
}

.he-quiz__progress {
    max-width: 190px;
    margin: 0 auto;
    height: 27px;
    background: rgba(18, 159, 6, 0.22);
    border-radius: 13.5px;
    border: 2px solid white;
    overflow: hidden;
}

    .he-quiz__progress span {
        display: block;
        height: 100%;
        width: 0;
        background-color: #129F06;
        border-radius: inherit;
        transition: 0.2s;
    }

.he-quiz-address-header,
.he-quiz-contact-header {
    margin-bottom: 13px;
    margin-top: -8px;
}

.he-quiz-address-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.he-quiz-contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.he-quiz-gender-selector label {
    margin-right: 10px;
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}

.he-quiz-gender-selector input[type=radio] {
    opacity: 1;
    width: auto;
    height: auto;
}

.he-quiz-contact-agreement input[type=checkbox] {
    opacity: 1;
    width: auto;
    height: auto;
}

.he-quiz-contact-agreement {
    margin-top: 5px;
    margin-bottom: 20px;
}

.he-quiz-contact-button {
    margin-bottom: -30px;
    line-height: 1.1;
}

    .he-quiz-contact-button small {
        font-weight: 400;
    }

button.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

    button.loading:after {
        box-sizing: border-box;
        animation: spin 500ms infinite linear;
        border: 2px solid #fff;
        border-radius: 32px;
        border-right-color: transparent !important;
        border-top-color: transparent !important;
        content: "";
        display: block;
        height: 16px;
        top: 50%;
        margin-top: -8px;
        left: 50%;
        margin-left: -8px;
        position: absolute;
        width: 16px;
    }

.btn-back {
    margin-bottom: 50px;
    margin-left: 20px;
    background-color: #229E7D;
}

    .btn-back:hover {
        background-color: #333;
    }

.anfrage-status-message {
    background-image: url('../images/background/bg21.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    text-align:center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
