form[name="crm_form"] {
    max-width: 800px;
    margin: 10px auto;
}

form[name="crm_form"] > div {
    padding: 3px 10px;
}

form[name="crm_form"] input,
form[name="crm_form"] select,
form[name="crm_form"] textarea {
    font-size: inherit;
}

#crm-form-headline {
    font-size: 25px;
    text-transform: uppercase;
    padding-bottom: 20px;
}
form[name="crm_form"] label.required:not(.privacy-check-label)::after {
    content: "*";
}

.crm-form-label {
    font-weight: bold;
}

.crm-form-select {
    border: none;
}

.crm-form-select option {
    background-color: white;
}

.crm-form-custom-select-label,
.crm-form-custom-text {
    padding-top: 10px;
}

.crm-form-radio-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    gap: 5px 0px;
}

.crm-form-radio-container > label,
.crm-form-radio-container > input {
    font-size: inherit;
    color: var(--black90);
}

.crm-form-radio-container > label {
    width: calc(100% - 31px);
}
.crm-form-radio-container > input {
    width: 15px;
    margin-left: 10px;
    margin-right: 5px;
}

.privacy-check-label {
    padding-top: 30px;
}

.crm-form-textarea {
    height: 100px;
}

.privacy-check-input {
    margin-top: 35px;
    width: 30px;
}

.privacy-check-label {
    float: right;
    width: calc(100% - 30px);
}

.crm-form-submit {
    margin: 20px 10px;
    clear: both;
    display: block;
    background-color: var(--donau-blau);
    width: 200px;
    color: white;
    border: none;
}

.crm-form-submit-hint {
    font-size: 13px;
}

@media (max-width: 768px) {
    #crm-form-headline {
        font-size: 18px;
        text-transform: uppercase;
    }
}

/* overrides for vanillaSelectBox */

form[name="crm_form"] .vsb-main {
    display: block;
    min-height: unset !important;
}

form[name="crm_form"] .vsb-main > .vsb-menu {
    min-height: unset !important;
}

form[name="crm_form"] .vsb-main > .vsb-menu > ul {
    max-width: unset !important;
    max-height: unset !important;
}

form[name="crm_form"] .vsb-main > .vsb-menu ul li:nth-child(1) {
    padding-top: 0px !important;
}

form[name="crm_form"] .vsb-main > .vsb-menu > ul > li {
    font-size: 16px !important;
}

form[name="crm_form"] .vsb-main > .vsb-menu li:hover {
    background: none;
}

form[name="crm_form"] .vsb-main > .vsb-menu li:not(.grouped-option) {
    margin-left: unset;
}

@media (max-width: 576px) {
    .vsb-menu .multi li:not(.grouped-option)::before {
        margin-right: unset;
        margin-left: -30px;
    }
}