/* Fragen form DESKTOP START */
/* RESETS START */
.fragen-container input {
    margin: 0 !important;
}
/* RESETS END */

.fragen-container {
    width: 70%;
    padding-top: 15px;
    text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

.fragen-container .fragen-title {
    font-size: 25px;
    font-weight: bold;
    line-height: 1.7;
    color: #0363c2;
    border-bottom: 2px dotted #CCC;
    margin-bottom: 10px;
}

.fragen-container fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 10px;
    width: 100%;
    min-width: 0;
}

.fragen-container .fragen-questions-container {
    padding-top: 25px;
}

.fragen-container .fragen-question-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 10px;
}

.fragen-container .radio-question {
    min-height: 34px;
}

.fragen-container .radio-question .fragen-question-label  {
    padding-right: 20px;
}

.fragen-container .fragen-question-label {
    flex: 0 0 62%;
    max-width: 62%;
    padding-top: 0;
    font-size: 15px;
    font-weight: normal;
    color: #4d4d4d;
}

@media (min-width: 768px) {
    .fragen-container .fragen-question-label {
        margin: 0;
    }

    .fragen-container .fragen-question-input[type="text"],
    .fragen-container .fragen-question-input[type="number"],
    .fragen-container .fragen-question-input[type="date"],
    .fragen-container .has-date .date-selects select,
    .fragen-container .fragen-selects select,
    .fragen-container .fragen-radio-label {
        transition: none;
    }

    .fragen-container .fragen-question-input[type="date"] {
        border-width: 2px;
    }
}

.fragen-container .has-date .date-selects,
.fragen-container .fragen-selects,
.fragen-container .one-line-field,
.fragen-container .fragen-question-radio-group,
.fragen-container .fragen-question-container > .fragen-question-input {
    flex: 0 0 38%;
    max-width: 38%;
    width: 38%;
    min-width: 0;
    box-sizing: border-box;
}

.fragen-container .has-date .date-selects,
.fragen-container .fragen-selects {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.fragen-container .fragen-question-input[type="text"],
.fragen-container .fragen-question-input[type="number"],
.fragen-container .fragen-question-input[type="date"] {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    height: 34px;
    padding: 3px 10px;
    border: 1px solid #aaaaaa;
    border-radius: 2px;
    font-size: 15px;
    color: #4d4d4d;
}

.fragen-container .fragen-question-input[type="text"],
.fragen-container .fragen-question-input[type="number"] {
    box-shadow: none;
}

.fragen-container .one-line-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fragen-container .one-line-field input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.fragen-container .one-line-field span {
    flex: 0 0 auto;
    width: auto;
    color: #4d4d4d;
}

.fragen-container .fragen-question-input[type="text"]:focus,
.fragen-container .fragen-question-input[type="number"]:focus,
.fragen-container .has-date .date-selects select:focus,
.fragen-container .fragen-selects select:focus {
    outline: none;
    border-color: #0363c2 !important;
    box-shadow: inset 0 0 0 1px #0363c2;
}


.fragen-container .has-date .date-selects select,
.fragen-container .fragen-selects select {
    flex: 1 1 0;
    min-width: 0;
    height: 34px;
    padding: 5px 28px !important;
    font-size: 15px;
    text-align: center;
    text-align-last: center;
    border: 1px solid #aaaaaa;
    border-radius: 2px;
    box-sizing: border-box;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%201.5L6%206.5L11%201.5%22%20stroke%3D%22%23666666%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 12px auto;
}

.fragen-container .fragen-selects select:only-child {
    flex: 1 1 100%;
    width: 100%;
}

.fragen-container .fragen-radio-label {
    margin: 0;
    padding: 0 20px;
    font-size: 15px;
    font-weight: normal;
    color: #4d4d4d;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 34px;
    height: auto;
    line-height: 1.35;
    text-align: center;
    background: rgb(245 245 244);
    border: 1px solid #aaa;
    border-radius: 2px;
    box-shadow: none;
    cursor: pointer;
    box-sizing: border-box;
}

.fragen-container .fragen-question-radio-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.fragen-container .fragen-radio-no,
.fragen-container .fragen-radio-yes {
    display: block;
    flex: 1 1 0;
    min-width: 0;
}

.fragen-container .fragen-question-input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.fragen-container .fragen-question-input[type="radio"]:checked + .fragen-radio-label {
    background: #caed9f;
    border-color: #aaa;
    color: #4d4d4d;
    box-shadow: none;
}

.fragen-container .fragen-question-input[type="radio"]:focus + .fragen-radio-label {
    outline: none;
    border: 1px solid #0363c2;
    box-shadow: inset 0 0 0 1px #0363c2;
}

.fragen-container .fragen-question-input[type="radio"]:checked:focus + .fragen-radio-label {
    border: 1px solid #0363c2;
    box-shadow: inset 0 0 0 1px #0363c2;
}

.fragen-container .fragen-question-input[type="text"].filled-out,
.fragen-container .fragen-question-input[type="number"].filled-out,
.fragen-container .fragen-question-input[type="date"].filled-out,
.fragen-container .has-date .date-selects select.filled-out,
.fragen-container .fragen-selects select.filled-out {
    background-color: #caed9f;
}

.fragen-container .fragen-send-button-container {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.fragen-container .fragen-send-button-container button {
    width: 241px;
    height: 47px;
    border: 0;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: url(../../../images/stmbutton.png) no-repeat !important;
    cursor: pointer;
    display: inline-block !important;
}

.gform-btn-disabled {
    opacity: 0.6;
    cursor: default;
    background: #2ba6cb !important;
    box-shadow: none;
}

html[lang="fr-CH"] .fragen-send-button-container .gform-btn-disabled {
    font-size: 26px;
}

.fragen-container .fragen-send-button-container button:focus {
    -webkit-box-shadow: 0 0 4px #2ba6cb, 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    -moz-box-shadow: 0 0 4px #2ba6cb, 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    box-shadow: 0 0 4px #2ba6cb, 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.fragen-container .loader-icon {
    top: 15px;
}
/* Fragen form DEKSTOP END */


/* Fragen form MOBILE START */
@media screen and (max-width: 767px) {
    .fragen-container {
        width: 100%;
        padding: 30px 2px 0 2px;
    }

    .fragen-container .fragen-title {
        border-bottom: none;
        font-size: 32px;
        line-height: 1.3em;
        text-align: left;
    }

    .fragen-container .fragen-question-container {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 30px;
    }

    .fragen-container .fragen-questions-container{
        padding-top: 10px;
    }

    .fragen-container .fragen-question-label {
        flex: none;
        max-width: none;
        width: 100%;
        font-size: 28px;
    }

    .fragen-container .has-date .date-selects,
    .fragen-container .fragen-selects,
    .fragen-container .one-line-field,
    .fragen-container .fragen-question-radio-group,
    .fragen-container .fragen-question-container > .fragen-question-input {
        flex: none;
        max-width: none;
        width: 100%;
    }

    .fragen-container .has-date .date-selects {
        justify-content: flex-start;
        gap: 10px;
    }

    .fragen-container .fragen-selects {
        justify-content: flex-start;
    }

    .fragen-container .has-date .date-selects select,
    .fragen-container .fragen-selects select {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        height: 65px;
        padding: 10px 40px !important;
        font-size: 28px;
        color: #666;
        text-align: center;
        text-align-last: center;
        border: 1px solid #aaaaaa;
        border-radius: 5px;
        box-sizing: border-box;
        -webkit-appearance: none;
        appearance: none;
        background-color: #fff;
        background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%201.5L6%206.5L11%201.5%22%20stroke%3D%22%23666666%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
        background-size: 14px auto;
    }

    .fragen-container .fragen-selects select:only-child {
        flex: 1 1 100%;
        width: 100%;
    }

    .fragen-container .fragen-question-input[type="text"],
    .fragen-container .fragen-question-input[type="number"],
    .fragen-container .fragen-question-input[type="date"] {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        height: 65px;
        padding: 3px 10px;
        border: 1px solid #aaaaaa;
        border-radius: 5px;
        font-size: 28px;
        color: #4d4d4d;
    }

    .fragen-container .fragen-question-input[type="text"],
    .fragen-container .fragen-question-input[type="number"] {
        box-shadow: none;
    }

    .fragen-container .one-line-field {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .fragen-container .one-line-field input {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .fragen-container .one-line-field span {
        flex: 0 0 auto;
        width: auto;
    }

    .fragen-container .fragen-question-radio-group {
        flex-basis: 100%;
        width: 100%;
        padding-top: 10px;
        gap: 12px;
    }

    .fragen-container .fragen-radio-no,
    .fragen-container .fragen-radio-yes {
        flex: 1 1 0;
        min-width: 0;
    }

    .fragen-container .fragen-radio-label {
        width: 100%;
        min-width: 0;
        min-height: 65px;
        height: auto;
        line-height: 1.35;
        padding: 0 12px;
        font-size: 28px;
        border-radius: 5px;
        box-shadow: none;
        box-sizing: border-box;
        transition: background-color 0.2s ease-out, color 0.2s ease-out, border-color 0.2s ease-out;
    }

    .fragen-container .fragen-question-input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .fragen-container .fragen-send-button-container {
        padding-top: 40px;
    }

    .fragen-container .fragen-send-button-container button {
        width: 340px;
        height: 65px;
        background-size: 100% !important;
        font-size: 32px;
    }
}
/* Fragen form MOBILE END */


/*Start of yne fragen form based on fravity*/

#field_184_1{
    display: none;
}

.gform_fields li{
    display: flex;
    margin-left: 30px!important;

}
.gform_wrapper .top_label .gfield_label{
    font-size: 12px!important;
    width: 56%;
}
ul.gform_fields li{
    width:100%;
}
.gform_wrapper ul.gfield_radio{
    margin-left: -25px!important;
}
.gform_wrapper .gfield_radio li label{
    line-height: 2.5!important;
    margin-left: 10px!important;
}
.gfield_date_dropdown_month select, .gfield_date_dropdown_year select{
    width: 122px !important;
    height: 30px!important;
    background-color: white!important;
    border: 1px solid #ccc !important;
    color: #666 !important;
    border-radius: 3px!important;
    padding-left: 33px!important;
    font-size: 14px!important;
}

ul.gform_fields input[type="text"]{
    width: 250px!important;
    border-radius: 2px!important;
    height: 30px!important;
    background-color: white;
    border: 1px solid #ccc !important;
}
.button {
    width: 241px;
    height: 47px;
    border: 0;
    font-size: 18px!important;
    font-weight: bold;
    color: #fff;
    background: url(../../../images/stmbutton.png) no-repeat !important;
    cursor: pointer;
}

.one-line-field input {
    width: 80%;
    display: inline-block;
}
.one-line-field span {
    width: 15%;
    display: inline-block;
}

.fragen-container .fragen-probation-hint {
    font-weight: normal;
    font-size: 0.95em;
    opacity: 0.9;
}

.fragen-container .fragen-probation-row .fragen-question-input[type="date"] {
    max-width: none;
}

@media screen and (max-width: 767px) {
    .fragen-container .fragen-probation-row .fragen-question-input[type="date"] {
        max-width: none;
    }
}

/* B-permit child-care: stack long radio labels vertically in the right column */
.fragen-container .child-care-radio-row {
    align-items: flex-start;
}

.fragen-container .child-care-radio-row .fragen-question-label.single {
    margin-top: 4px;
}

.fragen-container .child-care-radio-row .fragen-question-radio-group {
    flex: 0 0 38%;
    max-width: 38%;
    width: 38%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.fragen-container .child-care-radio-row .fragen-radio-no,
.fragen-container .child-care-radio-row .fragen-radio-yes {
    flex: none;
    width: 100%;
}

.fragen-container .child-care-radio-row .fragen-radio-label {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    height: auto;
    line-height: 1.35;
    padding: 0 14px;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
}

.fragen-container .child-care-radio-row .fragen-question-input[type="radio"]:checked + .fragen-radio-label {
    font-weight: normal;
}

@media screen and (max-width: 767px) {
    .fragen-container .child-care-radio-row .fragen-question-label.single {
        margin-top: 0;
    }

    .fragen-container .child-care-radio-row .fragen-question-radio-group {
        flex: none;
        max-width: none;
        width: 100%;
        padding-top: 10px;
    }

    .fragen-container .child-care-radio-row .fragen-radio-label {
        min-height: 65px;
        height: auto;
        line-height: 1.35;
        padding: 0 14px;
        font-size: 28px;
    }
}

/* vielen-dank-upload + status-app questions: compact form controls (25% smaller than default) */
body.thank-you-responsive .fragen-container .radio-question {
    min-height: 26px;
}

body.thank-you-responsive .fragen-container .fragen-question-input[type="text"],
body.thank-you-responsive .fragen-container .fragen-question-input[type="number"],
body.thank-you-responsive .fragen-container .fragen-question-input[type="date"],
body.thank-you-responsive .fragen-container .has-date .date-selects select,
body.thank-you-responsive .fragen-container .fragen-selects select {
    height: 26px;
}

body.thank-you-responsive .fragen-container .fragen-question-input[type="text"],
body.thank-you-responsive .fragen-container .fragen-question-input[type="number"],
body.thank-you-responsive .fragen-container .fragen-question-input[type="date"] {
    padding: 2px 8px;
}

body.thank-you-responsive .fragen-container .has-date .date-selects select,
body.thank-you-responsive .fragen-container .fragen-selects select {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 21px !important;
    padding-right: 21px !important;
    line-height: 24px;
    text-align: center;
    text-align-last: center;
}

body.thank-you-responsive .fragen-container .fragen-question-radio-group {
    gap: 8px;
}

body.thank-you-responsive .fragen-container .fragen-radio-label {
    min-height: 26px;
    height: auto;
    line-height: 1.35;
    padding: 0 15px;
    font-size: 15px;
}

body.thank-you-responsive .fragen-container .child-care-radio-row .fragen-radio-label {
    min-height: 26px;
    padding: 0 11px;
}

body.thank-you-responsive .fragen-container .fragen-send-button-container button {
    border-radius: 5px;
}

@media screen and (max-width: 767px) {
    body.thank-you-responsive .fragen-container {
        width: 100%;
        padding: 20px 0 0;
    }

    body.thank-you-responsive .fragen-container .fragen-title {
        font-size: 20px;
        line-height: 1.25;
        text-align: left;
    }

    body.thank-you-responsive .fragen-container .fragen-subtitle {
        font-size: 16px;
        line-height: 1.45;
    }

    body.thank-you-responsive .fragen-container .fragen-question-container {
        margin-bottom: 18px;
    }

    body.thank-you-responsive .fragen-container .fragen-question-label {
        font-size: 16px;
        line-height: 1.35;
    }

    body.thank-you-responsive .fragen-container .radio-question {
        min-height: 33px;
    }

    body.thank-you-responsive .fragen-container .has-date .date-selects select,
    body.thank-you-responsive .fragen-container .fragen-selects select,
    body.thank-you-responsive .fragen-container .fragen-question-input[type="text"],
    body.thank-you-responsive .fragen-container .fragen-question-input[type="number"],
    body.thank-you-responsive .fragen-container .fragen-question-input[type="date"] {
        height: 33px;
        font-size: 16px;
    }

    body.thank-you-responsive .fragen-container .has-date .date-selects select,
    body.thank-you-responsive .fragen-container .fragen-selects select {
        padding: 0 24px !important;
        line-height: 31px;
        text-align: center;
        text-align-last: center;
        background-position: right 8px center;
        background-size: 10px auto;
    }

    body.thank-you-responsive .fragen-container .fragen-radio-label {
        min-height: 33px;
        height: auto;
        line-height: 1.35;
        padding: 0 12px;
        font-size: 16px;
    }

    body.thank-you-responsive .fragen-container .fragen-question-radio-group {
        gap: 9px;
    }

    body.thank-you-responsive .fragen-container .child-care-radio-row .fragen-radio-label {
        min-height: 33px;
        padding: 0 11px;
        font-size: 16px;
        line-height: 1.35;
    }

    body.thank-you-responsive .fragen-container .fragen-send-button-container {
        padding-top: 24px;
    }

    body.thank-you-responsive .fragen-container .fragen-send-button-container button {
        width: 100%;
        max-width: 280px;
        height: 52px;
        font-size: 20px !important;
        background-size: 100% 100% !important;
    }
}
