h4.af2_heading {
    font-size: 30px;
    color: #00adef;
    text-align: center;
}


.af2_questionheading_wrapper {
    min-height: 60px;
    justify-content: center;
    align-items: center;
}
p.af2_questionheading {
    margin-top: 35px;
    font-size: 25px;
    color: #333333;
    font-weight: 600;
    margin-bottom: 50px !important;
    text-align: center;
}

.af2_questionwrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.af2_answer_wrapper {
    margin: 30px;
    color: #00adef;
    cursor: pointer;
    max-width: 150px;
}

.af2_textarea{
    box-shadow: 0 0 6px rgba(218, 216, 216, 0.77);
    border: 3px solid rgba(0, 0, 0, 0);
    transition: border 0.3s ease-out;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    height: 100px;
    border-radius: 15px;
    color: #333;
    padding: 15px;
}

#af2_textfeld{
    box-shadow: 0 0 6px rgba(218, 216, 216, 0.77);
    border: 3px solid rgba(0, 0, 0, 0);
    transition: border 0.3s ease-out;
    width: 90%;
    margin: 40px auto;
    font-size: 18px;
    height: 100px;
    border-radius: 15px;
    color: #333;
    padding: 15px;
}

.af2_answer_card {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 0 6px rgba(218, 216, 216, 0.77);
    border: 3px solid rgba(0, 0, 0, 0);
    transition: border 0.3s ease-out;
}

.af2_answer_card:hover {
    box-shadow: 0 0 8px rgba(218, 216, 216, 0.80);
}

.af2_answer_card.selected {
    box-shadow: 0 0 8px rgba(218, 216, 216, 0.80);
}

p.af2_answer_text_main {
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    color: #333333;
}

.af2_form {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 55px;
}

.af2_switch_content {
    min-width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    display: flex;
}

.switch_cont {
    min-width: 100%;
    max-width: 100%;
    transition: margin ease-out 0.5s;
}

.af2_bottombar {
    display: flex;
}

.af2_back_button {
    margin-right: 75px;
    width: 50px;
    height: 50px;
    background-color: #00adef;
    color: white;
    border-radius: 5px;
    display:flex;
    justify-content: center;
    align-items: center;
    cursor:pointer;
}

.af2_foward_button
{
    margin-left: 65px;
    width: 50px;
    height: 50px;
    background-color: #00adef;
    color: white;
    border-radius: 5px;
    display:flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.af2_foward_button.disabled {
    background-color: rgba(0, 173, 239, 0.19);
    pointer-events: none;
}

.af2_back_button.disabled {
    background-color: rgba(0, 173, 239, 0.19);
    pointer-events: none;
}

.af2_send_button {
    cursor: pointer;
}

.af2_bar {
    display: block;
    position: relative;
    flex-basis: auto;
    max-width: 100%;
    width: auto;
    flex-grow: 1;
    background-color: white;
    border: 1px solid #d6d6d6;
    height: 6px;
    border-radius: 15px;
    align-self: center;
}

.af2_bar.mob {
    display: none;
}

.af2_question {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px !important;
    margin: 10px;
}

p.af2_q_label {
    margin-bottom: 5px;
}

.af2_CB_cont {
    display: flex;
    align-items: center;
}

.af2_fe_checkbox {
    margin-right: 10px;
}

.af2_cfwrapper {
    margin-bottom: 35px !important;
}

.af2_bar_con {
    height: 100%;
    width: 0;
    background-color: #00adef;
    border-radius: 15px;
    transition: width ease-out 0.5s;
}
.af2_bar_con.mob{
    display: none
}

p.af2_answer_text_m {
    display: none;
}


@media only screen and (min-width: 768px) and (max-width: 991px){
    .af2_answer_card {
        width: 130px;
        height: 130px;
    }

}

@media (min-width: 480px) and (max-width: 767px){
}

@media only screen and (min-width: 320px) and (max-width: 479px){

    .af2_form {
        padding: 10px;
    }

    .af2_questionwrapper {
        flex-direction: column;
        margin-bottom: 50px;
        align-items: center;
    }

    .af2_answer_wrapper {
        margin: 12px;
        width: 80%;
        margin-top: 0;
    }

    .af2_answer_card {
        max-width: 100%;
        min-width: 100%;
        height: 40px;
        margin: 0 auto 10px auto;
    }

    #af2_textfeld {
        width: 98%;
        height: 75px;
    }

    .q_img {
        display: none;
    }

    p.af2_answer_text_m {
        display: block;
        font-size: 15px;
        font-weight: 500;
        text-align: center;
        color: #333333;
    }

    p.af2_answer_text_main {
        display: none;
    }

    .af2_bar_con {
        display: none;
    }
    .af2_bar_con.mob{
        display: block;
        height: 100%;
        width: 0;
        background-color: #00adef;
        border-radius: 15px;
        transition: width ease-out 0.5s;
    }

    .af2_bottombar {
        margin-top: 55px;
    }

    .af2_bar {
        display: block;
        background-color: rgba(1,1,1,0);
        position: relative;
        border: none;
        flex-basis: auto;
        max-width: 100%;
        width: auto;
        flex-grow: 1;
    }

    .af2_bar.mob {
        display: block;
        position: relative;
        flex-basis: auto;
        max-width: 100%;
        width: auto;
        flex-grow: 1;
        background-color: white;
        border: 1px solid #d6d6d6;
        height: 6px;
        border-radius: 15px;
        align-self: center;
        margin-top: 12px;

    }

    .af2_switch_content {
        margin-bottom: 35px;
    }
}


.whole_form.marg {
    margin-top: 50px;
}

.button_bar {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 20px;
}

.colorpicker.is-opened {
    z-index: 999 !important;
}

.af2_back_button.disabled .af2_button_overlay {
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.65);
}
.af2_foward_button.disabled .af2_button_overlay {
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.65);
}

.af2_button_overlay {
    background-color: rgba(0,0,0,0);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-out;
}

.af2_button_overlay:hover {
    background-color: rgba(0, 0, 0, 0.15);
}

.af2_frontend_error {
    border: 1px solid red !important;
}

.af2_img {
    max-width: 100%;
    max-height: 100%;
}

.q_img {
    padding: 10px;
}