
.zsvrform fieldset {
    margin:0;
    padding:0;
    border:0;
}

/* input fields */

.zsvrform input[type="text"],
.zsvrform input[type="tel"],
.zsvrform input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px 12px 12px;
/*    background-color: var(--color-green6);*/
    border: 1px solid var(--color-black);
    appearance: none;
    font-style: normal;
    font-weight: 600;
    font-weight: 400;
    font-size: clamp(1.125rem, 0.185vw + 1.083rem, 1.25rem);
    line-height: clamp(1.875rem, 0.185vw + 1.833rem, 2rem);
    margin-top: 1px;
    margin-bottom: 1px;
    text-overflow: ellipsis;
}      
.zsvrform input[type="text"]:focus-visible,
.zsvrform input[type="tel"]:focus-visible,
.zsvrform input[type="email"]:focus-visible {
    border: 2px solid var(--color-black);
    background-color: var(--color-white);
    margin-top: 0;
    margin-bottom: 0;
}                  

/* textarea */

.zsvrform textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px 12px 12px;
/*    background-color: var(--color-green6); */
    border: 1px solid var(--color-black);
    appearance: none;
    font-style: normal;
    font-weight: 600;
    font-weight: 400;
    font-size: clamp(1.125rem, 0.185vw + 1.083rem, 1.25rem);
    line-height: clamp(1.875rem, 0.185vw + 1.833rem, 2rem);
    margin-top: 1px;
    margin-bottom: 1px;
    text-overflow: ellipsis;
    margin-top:5px;
}      
.zsvrform textarea:focus-visible {
    border: 2px solid var(--color-black);
    background-color: var(--color-white);
    margin-top: 0;
    margin-bottom: 0;
    margin-top:5px;
}      

/* select */

.zsvrform select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px 12px 12px;
    background-color: var(--color-green6);
    border: 1px solid var(--color-black);
    appearance: none;
    font-style: normal;
    font-weight: 600;
    font-size: clamp(1.125rem, 0.185vw + 1.083rem, 1.25rem);
    line-height: clamp(1.875rem, 0.185vw + 1.833rem, 2rem);
    margin-top: 1px;
    margin-bottom: 1px;
    text-overflow: ellipsis;
    margin-top:5px;
} 



.zsvrform button.formdropdownbutton {
    font-family: 'Open Sans';
    width: 100%;
    box-sizing: border-box;
/*    padding: 14px 16px 16px 16px;*/
    background-color: var(--color-green6);
    border: 1px solid var(--color-black);
    appearance: none;
    font-style: normal;
    font-weight: 600;
/*    font-size: clamp(1.375rem, 0.37vw + 1.292rem, 1.625rem);
    line-height: clamp(2.125rem, 0.37vw + 2.042rem, 2.375rem);*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(1.125rem, 0.185vw + 1.083rem, 1.25rem);
    line-height: clamp(1.875rem, 0.185vw + 1.833rem, 2rem);
    padding: 10px 12px 12px 12px;
}
.zsvrform button.formdropdownbutton[aria-expanded="true"] {
    background: var(--color-green1);
    color:#fff;
}

.zsvrform button.formdropdownbutton::after {
    content: "";
    display: inline-block;
    margin-left: 5px;
    width: 20px;
    height: 20px;
    background: url('/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-dropdown.svg') center no-repeat;
    background-size: contain;
}

.zsvrform button.formdropdownbutton[aria-expanded="true"]::after {
    background: url('/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-dropdown-white-open.svg') center no-repeat;
    background-size: contain;
}

.zsvrform .dropdown-options {
    padding: 20px 0;
    margin:0;
}

.zsvrform #dropdown-subCategories .dropdown-options {
    padding-left:3em;
  }
@media (max-width:768px) {
    .zsvrform #dropdown-subCategories .dropdown-options {
        padding-left:0em;
    }
}

.zsvrform .dropdown-options li {
    position: relative;
    list-style-type: none;
    padding-left:20px;
    margin-bottom: 8px;
  }
.zsvrform .dropdown-options li label {
    padding-left: 15px;
}

.zsvrform .button-green6 {
    background-color: var(--color-green6);
}

.zsvrform .infooverlay img {
    display: inline-block;
}
  /*.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
*/
.zsvrform .upload-block {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width:768px) {
    .zsvrform .upload-block {
        align-items: flex-start;
        flex-direction: column;
    }

    .zsvrform .grid.noouterpadding > div[class*=col-]:first-child {
        padding-right: 0;
    }
    .zsvrform .grid.noouterpadding > div[class*=col-]:last-child {
        padding-left: 0;
    }

}




.zsvrform .upload-block-chosenfilearea {
    border-radius: 50px;
    border: 1px solid var(--color-black);
    display: flex;
    padding: 0px 20px;
    gap: 10px;
    align-items: center;
}

.zsvrform .upload-block label {
    margin-bottom: 0;
    margin-right: 2em;
    min-height: 25px;
}

.zsvrform .upload-block label:after {
    content: "";
    width: 24px;
    height: 20px;
    margin-left: 6px;
    background-image: url(../Icons/icon-upload.svg);
    background-position: center 2px;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    /* vertical-align: sub; */
}
@media (hover: hover) {
    .zsvrform .upload-block label:hover:after {
      background-image: url(../Icons/icon-upload-hover.svg);
    }
}    

.zsvrform .clear-upload {
    background: none;
    border: none;
    color: var(--color-black);
    font-size: 2rem;
    cursor: pointer;
    background: url(../Icons/icon-close.svg) center center no-repeat;
    background-size: contain;
    background-color: transparent;    
    color:transparent;
  }

.zsvrform .clear-upload:hover {  
   background: url(../Icons/icon-close-active.svg) center center no-repeat;
   background-size: contain;    
}

.zsvrform .upload-block .filename {
    display: block;
}

/* labels */
.zsvrform label {
    display: block;
    margin-bottom: 1rem
}

/* formrow */
.zsvrform-row {
    position: relative;
    margin-bottom: 2em;
}

/* checkbox */
.zsvrform-row-checkbox {
    padding-left:30px;
    min-height: 22px;
}

.zsvrform input[type="checkbox"],
.zsvrform input[type="radio"] {
  appearance:none;
  border: none;
    color: transparent;
    font-size: 0;
}
.zsvrform input[type="checkbox"] + label::before,
.zsvrform input[type="radio"] + label::before {
    pointer-events: none;
}

.zsvrform input[type=checkbox],
.zsvrform input[type=radio] {
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    appearance: none;
    border:0;
    box-shadow: none;
    border-radius: 0;
    margin:5px 0 0 0;
}
.zsvrform input[type=checkbox]::before,
.zsvrform input[type=radio]::before {
    content:'';
    width: 22px;
    height: 22px;
    background:url(/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-checkbox.svg) 0 0 ;
    background-size: contain;
    display: block;
}
.zsvrform input[type=checkbox]:hover::before,
.zsvrform input[type=radio]:hover::before {
    background:url(/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-checkbox-hover.svg) 0 0 ;
    background-size: contain;
}

.zsvrform input[type=checkbox]:checked::before,
.zsvrform input[type=radio]:checked::before {
    background:url(/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-checkbox-active.svg) 0 0 ;
    background-size: contain;
}




/* upload */
.zsvrform #upload-wrapper {
    margin-bottom: 2rem;
}

.zsvrform .upload-block label input[type="file"] {
  display: none;
}

.zsvrform input[type="submit"] {
    white-space: normal;
}

/* submit button
<button type=submit class="text-xs button">Absenden</button>
*/








/* overlay bei info i -.später anpassen und löschen */
.zsvrform .infooverlay.open .overlayelement {
    display: block;
}


.zsvrform .overlayelement .close {
    float: right;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 0.7em;
    opacity: 1;
    position: relative;
    width: 25px;
    height: 33px;
    background: url(/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-close.svg) center center no-repeat;
    background-size: contain;
    display: inline-block;
}
.zsvrform .overlayelement .close:hover {
    background: url(/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-close-active.svg) center center no-repeat;
    background-size: contain;
}

.zsvrform .overlayelement .headline {
    padding: 10px;
    margin-bottom: 0;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
}

.zsvrform .overlayelement-content {
    padding:10px;
    height: auto !important;
    max-height: 20em !important;
    overflow-y: auto !important;
    width: 400px;
    max-width: 100vw;
}

.zsvrform .overlayelement-content * {
    font-size: 14px;
    line-height: 1.5em;
    margin-bottom: 0.5em;
}

.zsvrform .overlayelement-inner {
    position: relative;
}

.zsvrform .overlayelement .arrow {
    position: absolute;
    display: block;
    left: -10px;
    border-width: .5rem .5rem .5rem 0;
    border-right-color: rgba(0,0,0,0.25);
    top: 50%;
    transform: translateY(21%);
    height: 1rem;
}

.zsvrform .overlayelement .arrow::before, .overlayelement .arrow::after {
  position: absolute;
  display: block;
  content: "";
  border-color: transparent;
  border-right-color: transparent;
  border-style: solid;
}

.zsvrform .overlayelement .arrow::before {
    left: 0;
    border-width: .5rem .5rem .5rem 0;
    border-right-color: rgba(0,0,0,0.25);
}

.zsvrform .overlayelement .arrow::after {
    left: 1px;
    border-width: .5rem .5rem .5rem 0;
    border-right-color: #fff;
}


main .zsvrform p a:not(.button):not(.breadcrumb-link)::after {
    content: "";
    width: 0.9rem !important;
    height: 0.9rem !important;
}


/* multiselect */


.zsvrform-multiselect {
    position: relative;
}



.zsvrform-multiselect button {
    font-family: 'Open Sans';
    width: 100%;
    min-width: 350px;

    box-sizing: border-box;
    /*padding: 14px 16px 16px 16px;*/
    background-color: var(--color-green6);
    border: 1px solid var(--color-black);
    appearance: none;
    font-style: normal;
    font-weight: 600;
    /*font-size: clamp(1.375rem, 0.37vw + 1.292rem, 1.625rem);
    line-height: clamp(2.125rem, 0.37vw + 2.042rem, 2.375rem);*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(1.125rem, 0.185vw + 1.083rem, 1.25rem);
    line-height: clamp(1.875rem, 0.185vw + 1.833rem, 2rem);
    padding: 10px 12px 12px 12px;
}


.zsvrform-multiselect.open button,
.zsvrform-multiselect.hasselecteditems button {
    background: var(--color-green1);
    color:#fff;
}

.zsvrform-multiselect button::after {
    content: "";
    display: inline-block;
    margin-left: 5px;
    width: 20px;
    height: 20px;
    background: url('/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-dropdown.svg') center no-repeat;
    background-size: contain;
}
.zsvrform-multiselect button:hover::after {
    background: url('/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-dropdown-hover.svg') center no-repeat;
    background-size: contain;
}

.zsvrform-multiselect.hasselecteditems button::after {
    background: url('/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-dropdown-white.svg') center no-repeat;
    background-size: contain;   
}
.zsvrform-multiselect.hasselecteditems button:hover::after {
    background: url('/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-dropdown-white-hover.svg') center no-repeat;
    background-size: contain;   
}

.zsvrform-multiselect.open button::after {
    background: url('/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-dropdown-white-open.svg') center no-repeat;
    background-size: contain;   
}





.zsvrform-multiselect-content {
    display: none;
    box-shadow: 0 1px 5px -1px #575756;
    background: #FFF;
    border: 1px solid #CFE8E7;
    padding: 20px 20px 12px 10px;
    position: absolute;
    z-index: 1;
    overflow:hidden;
}

.zsvrform-multiselect.open .zsvrform-multiselect-content {
    display: block;
    z-index:10;
}

.zsvrform-multiselect-content  ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-left: 0;
    max-height: 400px;
    overflow-x:hidden;
    overflow-y: auto;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

 .zsvrform-multiselect-content  li {
    list-style: none;
    margin-bottom: 8px;
    margin-left: 0;
    line-height: 24px;
    width: 100%;
}

 .zsvrform-multiselect-content  label {
  font-size: 16px;
  margin: 0;
  font-family: 'Open Sans',sans-serif;
  font-style: normal;
  font-weight: 400;
  position: relative;
  left: 5px;
  width: calc(100% - 10px);
  padding-left: 32px;
}

.zsvrform-multiselect-content label::before {
    left: 5px;
    width: 15px;
    height: 15px;
}

.zsvrform-multiselect-content .btn-primary {
    margin-top: 10px;
    padding: 0 10px;
    width: 88%;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
}



.zsvrform-multiselect-content li {
    position: relative;
}

.zsvrform-multiselect-content [type="checkbox"] + label::before {
    pointer-events: none;
}

.zsvrform-multiselect-content input[type=checkbox] {
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    z-index: 10;
    appearance: none;
    border:0;
    box-shadow: none;
    border-radius: 0;
    margin:0 0 0 5px;
}
.zsvrform-multiselect-content input[type=checkbox]::before {
    content:'';
    width: 22px;
    height: 22px;
    background:url(/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-checkbox.svg) 0 0 ;
    background-size: contain;
    display: block;
}
.zsvrform-multiselect-content input[type=checkbox]:hover::before {
    background:url(/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-checkbox-hover.svg) 0 0 ;
    background-size: contain;
}

.zsvrform-multiselect-content input[type=checkbox]:checked::before {
    background:url(/typo3conf/ext/sitepackage/Resources/Public/Icons/icon-checkbox-active.svg) 0 0 ;
    background-size: contain;
}


/* newsfilterform */
#newsfiltertform {
}

.newsfiltertform-visiblearea {
    display: flex;
    gap: 20px;
    flex-wrap:wrap;
}


.newsfilterform-filters > *{
    margin-right: 20px;
    margin-bottom: 20px;
}

.zsvrform-errormsg {
    color: #c90732;
    font-size: 1rem;
    font-style: normal;
    font-weight: bold !important;
    line-height: 26px;
    line-height: 1.625em;
}

.requiredlabel {
    display: none;
}

.required .requiredlabel {
    display: inline;
}

.zsvrform .zsvrform-errormsg img {
    display: inline;
}