:root {
    --liFo-labelFont: normal 400 clamp(16px, var(--li-a11y-zoom), max(40px, 100%)) "Montserrat", sans-serif;
    --liFo-descrFont: normal 400 clamp(14px, var(--li-a11y-zoom), max(40px, 100%)) "Montserrat", sans-serif;
    --liFo-inputFont: normal 400 clamp(14px, var(--li-a11y-zoom), max(40px, 100%)) "Montserrat", sans-serif;
    --liFo-inputBorder: ;
}

.af-form .af-fields {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.af-form .af-field-type-group {
    margin: 20px 0 30px 0;
}

.af-form .af-fields .af-field,
.af-form .af-fields .acf-field {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    border-color: #fff;
    font: var(--liFo-labelFont);
    padding: 0;
}

.af-form .af-field-type-group .acf-fields .af-field,
.af-form .af-field-type-group .acf-fields .acf-field {
    padding: 16px 16px 0 16px;
    border-color: #ccc;
}

.af-form .acf-input {
    display: flex;
    flex-direction: row;
}

.af-form .acf-error .acf-input {
    flex-wrap: wrap;
}

.af-form .af-field-type-group .af-label {
    display: flex;
    flex-direction: column;
    padding: 10px 20px 10px 20px;
    background: var(--e-global-color-primary);
    color: #fff;
}

.af-form .af-input,
.af-form .acf-input-wrap {
    display: flex;
    width: 100%;
    align-self: flex-end;
    flex-wrap: wrap;
}

.af-form .acf-input-wrap {
    width: 100%;
}

.af-form .af-field-instructions,
.af-form .description {
    font-size: 14px;
    line-height: 16px;
    color: #333;
    margin: 0;
}

.af-form .af-input input,
.af-form .acf-input input {
    border-width: 0 0 0 0;
    border-radius: 0;
    border-color: var(--e-global-color-primary);
    padding: 6px;
    color: var(--e-global-color-primary);
    font-size: 20px;
    line-height: 20px;

}

.af-form .af-field-type-group {
    padding: 0 !important;
}

.af-form .af-field-type-group .acf-fields {
    border: none;
}


.af-form .af-field-type-group .acf-fields {
    width: 100%
}

.af-form .elementor-shortcode form .af-field-type-group {
    border: 1px solid var(--e-global-color-primary) !important;
}

.af-form .acf-input input:target,
.af-form .acf-input input:active,
.af-form .acf-input input:focus-visible {
    background-color: #efefef;

}

.af-form .acf-fields .acf-label,
.af-form .acf-fields .acf-label label {
    margin-bottom: 0px;
}

.af-form .acf-radio-list,
.af-form .acf-checkbox-list {
    padding: 6px;
}

.af-form .acf-input-prepend {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 20px;
    padding: 6px 0 6px 0;
}

.af-form .acf-notice {
    width: 100%;
    margin: 0;
}

.af-form .af-field-type-group .acf-field-textarea textarea {
    border: none;
    font-size: 16px;
    color: var(--e-global-color-primary);
    border-radius: 0;
}

.af-form .af-field-type-group .acf-field:hover .acf-input input,
.af-form .af-field-type-group .acf-field-textarea:hover textarea {
    background: #efefef;
}

.af-form .af-field-calculatet-test {
    position: absolute;
    left: 840px;
    top: 0;
}

.af-form .af-form {
    position: relative;
}

.af-form .output-label {
    display: flex;
    width: 100px;
}

.af-form ul.acf-radio-list {
    font-size: 16px;
}

/* Checkboxes z.B. Datenschutz*/

.af-form .acf-radio-list label,
.af-form .af-field-type-checkbox .af-input label {
    font: var(--liFo-labelFont);
}

.af-form .af-field-form-datenschutz-checkbox,
.af-form .af-field-form-email-List {
    margin: 15px 0 5px 0;
}

.af-form .af-field-form-gruenschnitt-abholort-gruppe {
    margin-bottom: 15px;
}

.af-form .acf-checkbox-list,
.af-form .acf-radio-list {
    padding-left: 0;
}

.af-form .acf-checkbox-list label {
    display: flex;
    flex-direction: row;
}

.af-form .acf-checkbox-list input {
    margin-right: 20px;
}


.af-form .acf-field-checkbox .acf-label label {
    padding-left: 34px;
}


.af-form .ul.acf-checkbox-list li label {
    font-size: 14px;
}

/* Submit Button */
.af-form .acf-form-submit {
    padding-left: 0;
}


/* Neu */
.af-form {
    position: relative;

    .af-fields {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;

        .af-field-type-group {
            margin: 20px 0 30px 0;
            border: 1px solid var(--e-global-color-primary) !important;

            .acf-fields {
                .acf-field {
                    padding: 16px 16px 0 16px;
                    border-color: #ccc;
                }
            }
        }

        .af-field,
        .acf-field {
            width: 100%;
            flex-direction: column;
            justify-content: space-between;
            font-family: "Roboto Condensed", Sans-serif;
            font-weight: 400;
            padding: 16px 16px 0 16px;
            border-left: none;
            border-right: none;

            .acf-input {
                display: flex;
                flex-direction: row;
                width: 100%;
                align-self: flex-end;
                flex-wrap: wrap;

                .acf-input-wrap {
                    display: flex;
                    width: 100%;
                    align-self: flex-end;
                    flex-wrap: wrap;
                }

                input {
                    border-width: 0 0 0 0;
                    border-radius: 0;
                    border-color: var(--e-global-color-primary);
                    padding: 6px;
                    color: var(--e-global-color-primary);
                    font-size: 20px;
                    line-height: 20px;

                    &:target,
                    &:active,
                    &:focus-visible {
                        background-color: #efefef;
                    }
                }
            }

            .acf-error {
                .acf-input {
                    flex-wrap: wrap;
                }
            }

            .af-label {
                display: flex;
                flex-direction: column;
                padding: 10px 20px 10px 20px;
                background: var(--e-global-color-primary);
                color: #fff;
                margin-bottom: 0;
            }

            .af-field-instructions,
            .description {
                font-size: 14px;
                line-height: 16px;
                color: #333;
                margin: 0;
            }

            .acf-input-prepend {
                background: none;
                border: none;
                font-size: 20px;
                line-height: 20px;
                padding: 6px 0 6px 0;
            }

            .acf-notice {
                width: 100%;
                margin: 0;
            }

            .acf-field-textarea {
                textarea {
                    border: none;
                    font-size: 16px;
                    color: var(--e-global-color-primary);
                    border-radius: 0;
                }
            }

            .acf-field {
                &:hover {
                    .acf-input {
                        input {
                            background: #efefef;
                        }
                    }

                    .acf-field-textarea {
                        textarea {
                            background: #efefef;
                        }
                    }
                }
            }

            .acf-radio-list {
                & ul {
                    font-size: 16px;

                    label {
                        font-size: 16px !important;
                    }
                }
            }

            &.af-field-form-gruenschnitt-abholort-gruppe {
                margin-bottom: 15px;
            }
        }

        .acf-fields {
            border: none;
            width: 100%;
        }
    }

    .af-field-type-checkbox {
        .af-input {
            label {
                font-size: 16px !important;
            }
        }
    }

    .acf-form-submit {
        padding-left: 0;
    }

    .acf-checkbox-list {
        padding-left: 0;

        label {
            display: flex;
            flex-direction: row;
            font-size: 14px;
        }

        input {
            margin-right: 20px;
        }
    }

    .acf-radio-list {
        padding-left: 0;
    }

    .acf-field-checkbox {
        .acf-label {
            label {
                padding-left: 34px;
            }
        }
    }
}