/* Formularfelder */


.radio_field>div {
	display:inline-block;
	padding:1px 20px 2px 0px;
}
.radio_field>div>div {
	display:inline-block;
}

.checkbox_img_default {
	display:table;
	cursor:pointer;
}
.checkbox_img_default>div {
	display:table-row;
	cursor:pointer;
}
.checkbox_img_default>div>div {
	display:table-cell;
	cursor:pointer;
	vertical-align:middle;
}


.textfeld-select {
	width:75px;
	font-family:inherit;
	background:#FFFFFF;
	border:1px solid #dfdfdf;
	font-size:8pt;
	line-height:10pt;
	padding:0px 0px;
}
.textfeld-voll { width:252px; margin:2px 0 2px 0; }
.textfeld-halb { width:116px; margin:2px 0px 2px 0; }
.textfeld-plz { width:39px; margin:2px 0 2px 0; }
.textfeld-ort { width:194px; margin:2px 0 2px 0; }
.textarea-voll {
	width:381px;
	margin:2px 5px 2px 0;
	height:150px;
	padding: 10px !important;
}
.textfeld-voll,
.textfeld-halb,
.textfeld-plz,
.textfeld-ort,
.textarea-voll,
.textfeld-captcha,
.dropdown-halb,
.dropdown-uhr,
.textfeld-datum {
	font-family:inherit;
	background:#f4f4f4;
	border:1px solid #dfdfdf;
	font-size:10pt;
	line-height:10pt;
	padding:2px 5px;
	min-height:17px;
	color:#3c3c3c;
}
#kontakt td {padding-bottom: 10px;}
#form td {padding-bottom: 10px;}
.textfeld-captcha { width:140px; margin:0px 10px; height:44px; }
.dropdown-halb { width:133px; margin:0px; }
.dropdown-uhr { width:75px; margin:0px; }
.textfeld-datum { width:107px; margin:2px 0px 2px 0; }
/* Formularfelder Ende*/


/* contactform CAPTCHA begin */
#contactform_captcha_table {
	width:262px;
	padding:0px;
}
#contactform_captcha_table td {
	padding:0px;
}
#contactform_captcha_table_td1 img {
	margin:0px;
}
#contact_form_captcha_img_id {
/*	margin:0px;*/
}
#contactform_captcha_table_td2 {
	width:27px;
}
#contactform_captcha_table_td3 {
	vertical-align:middle;
}
#contactform_captcha_table_td3 input {
	width:86px;
}

.reload_captcha {
	width:23px;
	height:50px;
	cursor:pointer;
	background:url(/templates/images/reload.png) no-repeat #12970a;
	float: left;
}

/* contactform CAPTCHA end */

/* Fehlermeldungen */

.error_box { background: transparent; border: 1px solid #e4001c; margin: 15px 0; max-width: 95%; }
.error_box > tbody {}

.error_td_headline { color: #e4001c; padding: 10px; vertical-align: top; }
.error_td { padding: 10px;}

.error_field {border: 1px solid #e4001c;}

/* Fehlermeldungen Ende */


/* Erfolgreich verschickt */

.success_class {
	background: transparent;
	border: 1px solid #6dc54b;
	margin: 15px 0;
	max-width: 95%;
	font-weight: 300;
	color: #519137;
	text-align: center;
	font-size: 18px;
	padding: 10px;
}

/* Erfolgreich verschickt Ende */

/* ==========================================================================
   Skarke – Kontaktformular (#kontaktForm)
   ========================================================================== */

#kontaktForm {
	--kf-green: #7ab325;
	--kf-green-dark: #659620;
	--kf-text: #3a3a39;
	--kf-muted: #707173;
	--kf-border: #d5d8d0;
	--kf-bg: #f6f7f4;
	--kf-error: #c0392b;
	--kf-radius: 4px;

	/*max-width: 760px;*/
	margin: 0 auto;
	font-family: Cabin, sans-serif;
	color: var(--kf-text);
}

/* Tabelle in ein flexibles Raster umwandeln */
#kontaktForm #kontakt,
#kontaktForm #kontakt > tbody {
	display: block;
	width: 100%;
	border: 0;
}
#kontaktForm #kontakt > tbody > tr {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0 20px;
	margin: 0 0 18px;
}
#kontaktForm #kontakt > tbody > tr > td {
	display: contents;
}

/* Leere bzw. doppelte Zeilen ausblenden */
#kontaktForm #kontakt > tbody > tr#kontakt_tr_leer,
#kontaktForm #kontakt > tbody > tr#kontakt_tr_leer2,
#kontaktForm #kontakt > tbody > tr#kontakt_tr_captcha_label,
#kontaktForm #kontakt > tbody > tr#kontakt_tr_nachrichtlabel {
	display: none;
}

/* Trennzeichen (", ") zwischen zwei Feldern einer Zeile ausblenden */
#kontaktForm #kontakt_tr_name_vorname > td,
#kontaktForm #kontakt_tr_street_Nummer > td,
#kontaktForm #kontakt_tr_plz_Ort > td {
	font-size: 0;
}

/* Feld-Container */
#kontaktForm #kontakt .textfeld-voll,
#kontaktForm #kontakt .textfeld-halb,
#kontaktForm #kontakt .textfeld-plz,
#kontaktForm #kontakt .textfeld-ort,
#kontaktForm #kontakt .textfeld-datum,
#kontaktForm #kontakt .textfeld-captcha,
#kontaktForm #kontakt .textarea-voll,
#kontaktForm #kontakt .dropdown-halb,
#kontaktForm #kontakt .dropdown-uhr {
	display: block;
	width: auto;
	max-width: none;
	padding: 0;
	margin: 0;
	background: none;
	border: 0;
	box-shadow: none;
}
#kontaktForm #kontakt .textarea-voll {
	height: auto !important;
	padding: 0 !important;
}
#kontaktForm #kontakt .textfeld-voll,
#kontaktForm #kontakt .textarea-voll { flex: 0 0 100%; }
#kontaktForm #kontakt .textfeld-halb { flex: 1 1 0; min-width: 0; }
#kontaktForm #kontakt .dropdown-halb { flex: 0 0 calc(50% - 10px); }
#kontaktForm #kontakt .textfeld-ort  { flex: 1 1 0; min-width: 0; }
#kontaktForm #kontakt .textfeld-plz  { flex: 0 0 140px; }

/* Labels */
#kontaktForm #kontakt .form-label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--kf-text);
}
#kontaktForm #kontakt .pflichtfeld {
	color: var(--kf-error);
	margin-left: 2px;
}

/* Eingabefelder */
#kontaktForm #kontakt input[type="text"],
#kontaktForm #kontakt select,
#kontaktForm #kontakt textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	height: 46px;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 15px;
	color: var(--kf-text);
	background-color: #fff;
	border: 1px solid var(--kf-border);
	border-radius: var(--kf-radius);
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}
#kontaktForm #kontakt textarea {
	height: auto;
	min-height: 170px;
	resize: vertical;
	line-height: 1.5;
}
#kontaktForm #kontakt select {
	padding-right: 38px;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%237ab325' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
}
#kontaktForm #kontakt input[type="text"]:hover,
#kontaktForm #kontakt select:hover,
#kontaktForm #kontakt textarea:hover {
	border-color: #b9bdb3;
}
#kontaktForm #kontakt input[type="text"]:focus,
#kontaktForm #kontakt select:focus,
#kontaktForm #kontakt textarea:focus {
	outline: none;
	border-color: var(--kf-green);
	box-shadow: 0 0 0 3px rgba(122, 179, 37, .18);
}

/* Checkboxen (Infomaterial, Rückruf, Datenschutz) */
#kontaktForm #kontakt input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0 10px 0 0;
	flex: 0 0 auto;
	accent-color: var(--kf-green);
	cursor: pointer;
	vertical-align: middle;
}
#kontaktForm #kontakt > tbody > tr#kontakt_tr_infomaterial,
#kontaktForm #kontakt > tbody > tr#kontakt_tr_zurueckrufen {
	margin-bottom: 10px;
}
#kontaktForm #kontakt_tr_infomaterial .form-label,
#kontaktForm #kontakt_tr_zurueckrufen .form-label {
	display: flex;
	align-items: center;
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	cursor: pointer;
}

/* Rückruf-Termin: Datum … von … Uhr bis … Uhr */
#kontaktForm #kontakt > tbody > tr#kontakt_tr_termin_von_bis {
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	margin: 6px 0 30px;
	background: var(--kf-bg);
	border-radius: var(--kf-radius);
	font-size: 14px;
	color: var(--kf-muted);
}
#kontaktForm #kontakt .textfeld-datum { flex: 0 0 160px; }
#kontaktForm #kontakt .dropdown-uhr   { flex: 0 0 105px; }

/* Datenschutz */
#kontaktForm #kontakt > tbody > tr#kontakt_tr_Datenschutz {
	display: block;
	margin: 30px 0 10px;
	padding-top: 24px;
	border-top: 1px solid var(--kf-border);
	font-size: 14px;
	color: var(--kf-muted);
}
#kontaktForm #kontakt_tr_Datenschutz h4 {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 600;
	color: var(--kf-green);
}
#kontaktForm #kontakt_tr_Datenschutzhinweis .form-label {
	display: block;
	position: relative;
	padding-left: 28px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--kf-muted);
}
#kontaktForm #kontakt_tr_Datenschutzhinweis input[type="checkbox"] {
	position: absolute;
	left: 0;
	top: 2px;
	margin: 0;
}
#kontaktForm a {
	color: var(--kf-green);
	text-decoration: underline;
}
#kontaktForm a:hover {
	color: var(--kf-green-dark);
}

/* Captcha */
#kontaktForm #kontakt > tbody > tr#kontakt_tr_captcha_code_reload_captcha_captcha_text {
	align-items: center;
	gap: 12px;
}
#kontaktForm #kontakt #captcha-label-1 {
	flex: 0 0 100%;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
}
#kontaktForm #kontakt #captcha_image_id_1 {
	border: 1px solid var(--kf-border);
	border-radius: var(--kf-radius);
}
#kontaktForm #kontakt .reload_captcha {
	cursor: pointer;
}
#kontaktForm #kontakt .textfeld-captcha { flex: 0 0 200px; }

/* Pflichtfeld-Hinweis */
#kontaktForm #kontakt > tbody > tr#kontakt_tr_pflichtfeld {
	font-size: 13px;
	color: var(--kf-muted);
}

/* Absenden-Button */
#kontaktForm #kontakt #button {
	display: inline-block;
	width: auto;
	height: auto;
	padding: 14px 44px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #fff;
	background: var(--kf-green);
	border: 0;
	border-radius: var(--kf-radius);
	cursor: pointer;
	transition: background-color .15s, transform .15s;
}
#kontaktForm #kontakt #button:hover {
	background: var(--kf-green-dark);
}
#kontaktForm #kontakt #button:active {
	transform: translateY(1px);
}
#kontaktForm #kontakt #button:focus-visible {
	outline: 3px solid rgba(122, 179, 37, .4);
	outline-offset: 2px;
}

/* Fehlermeldung oben */
#kontaktForm .form-errors {
	margin: 0 0 20px;
	padding: 12px 16px;
	color: var(--kf-error);
	background: #fdf0ee;
	border-left: 4px solid var(--kf-error);
	border-radius: var(--kf-radius);
	font-size: 14px;
}

/* Mobil */
@media (max-width: 575px) {
	#kontaktForm #kontakt .textfeld-halb,
	#kontaktForm #kontakt .dropdown-halb,
	#kontaktForm #kontakt .textfeld-ort,
	#kontaktForm #kontakt .textfeld-plz {
		flex: 0 0 100%;
	}
	#kontaktForm #kontakt > tbody > tr {
		row-gap: 18px;
	}
	#kontaktForm #kontakt #button {
		width: 100%;
	}
}
