/* Additions after the move to Mittwald (BIT-Invest, 2026-11) */

/*
 * TYPO3 14 renders form fields with new wrapper classes (.form-element-*) instead of .input / .input.checkbox.
 * The rules below repeat the original rules from style.css for the new markup.
 */
.form-element-check {
  display: flex;
}

.be-layout-b2b-default .form-element:not(.form-element-check):not(.form-element-fieldset):not(.form-element-multicheckbox):not(.form-element-radiobutton),
.be-layout-b2b-homepage .form-element:not(.form-element-check):not(.form-element-fieldset):not(.form-element-multicheckbox):not(.form-element-radiobutton) {
  border: 1px solid #595a5b;
}

.be-layout-b2b-default .form-check-label.form-check-input,
.be-layout-b2b-homepage .form-check-label.form-check-input {
  border: 0;
}

/*
 * The linked checkbox extension puts the element class of the checkbox (TYPO3 14 default: form-check-input)
 * on the label as well; Bootstrap then positions the label absolutely and it collapses to one word per line.
 */
.form-check-label.form-check-input {
  position: static;
  margin: 0;
  width: auto;
  height: auto;
  appearance: none;
}
