/*
 * J6-Paritaets-Fixes (reDim, 2026-07-16)
 * all.css bleibt bewusst byte-identisch zum Live-Stand - Abweichungen der neuen
 * Extension-Versionen werden hier zurueckgestylt.
 */

/* Visforms 6 vergibt dem Absenden-Button hart "btn-primary" (blau).
   Live-Look = der gruene Site-Button aus all.css .btn (#00a876, weiss, border/radius 0),
   Hover dunkelgruen #006d4c (all.css .btn:hover). btn-primary-Regeln aus BS2 uebersteuern. */
form.visform input[type="submit"].btn-primary {
	color: #fff;
	text-shadow: none;
	background: #00a876; /* Shorthand raeumt auch den BS2-Gradient ab */
	border: 0;
	transition: background .3s ease-in-out;
	margin-top: 20px; /* Live: .form-actions margin-top 20px - Wrapper existiert in Visforms 6 nicht mehr */
}

form.visform input[type="submit"].btn-primary:hover,
form.visform input[type="submit"].btn-primary:focus,
form.visform input[type="submit"].btn-primary:active {
	color: #fff;
	background: #006d4c;
	outline: 0;
}

/* Visforms 6 (bt5-Layout) packt Label/Feld in BS5-Grid-Wrapper (row/col-3/col-9).
   Die kollidieren mit den eigenen col-*-Klassen in all.css (max-width 25%/75%) ->
   Felder wurden schmal und eingerueckt. Live-Layout (Visforms 3/BS2): Label ueber
   Feld, Feld 100% Breite (all.css .visforms-form input {width:100%}) -> Grid im
   Formular komplett neutralisieren. */
form.visform .row {
	display: block;
	margin-left: 0;
	margin-right: 0;
}

form.visform [class*="col-"] {
	flex: none;
	width: 100%;
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

/* Offset-Klassen aus all.css (margin-left 25%) rueckten Checkboxen 158px ein -> nullen */
form.visform [class*="col-"],
form.visform [class*="offset-"] {
	margin-left: 0;
}

/* Feld-Abstaende wie Live (BS2 .control-group { margin-bottom: 10px }) */
form.visform .form-group {
	margin-bottom: 10px;
}

/* BS5 .form-check ungestylt (kein BS5-CSS geladen): Live-Look nachbauen -
   Radio/Checkbox links, Text mit 20px Einzug, Radios nebeneinander */
form.visform .form-check {
	position: relative;
	padding-left: 20px;
}

form.visform .form-check-inline {
	display: inline-block;
	vertical-align: top;
	margin-right: 10px;
}

form.visform .form-check .form-check-input {
	position: absolute;
	left: 0;
	top: 4px;
	width: auto;
	margin: 4px 0 0 0;
}

form.visform .form-check-label {
	display: inline-block;
	padding-top: 0; /* Live: Checkbox-Labels ohne Top-Padding */
}

form.visform .form-check-inline .form-check-label {
	padding-top: 5px; /* Live: nur Radio-Labels (BS2 .radio.inline) mit 5px */
}

/* Datenschutz-Hinweis: hiess auf J3 .visCustomText (all.css .field8 .visCustomText),
   Visforms 6 rendert nur noch die konfigurierte Klasse p.datenschutz */
form.visform .field8 p.datenschutz {
	margin: 0 0 0 20px;
	font-size: 14px;
	line-height: 20px;
}

/* Abstand zwischen Zustimmungs-Label und Hinweistext wie Live (~5px statt 16px) */
form.visform .field8 .form-group {
	margin-bottom: 0;
}
