/* Formularfelder */

.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:'Maven Pro', Verdana, Arial, Helvetica, sans-serif;
	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:'Maven Pro',Verdana,Arial, Helvetica, sans-serif;
	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 */

/* =====================================================================
   Kontaktformular (Plugin 80_contact) - Anpassung an die V2
   =====================================================================
   Diesen Block ans ENDE von templates/config/plugins/80_contact/contact.css anhaengen
   (nach "Erfolgreich verschickt Ende").

   Warum: Die V2 gibt das Formular barrierefrei aus - die Klassen .textfeld-voll, .textfeld-halb, ... stehen jetzt an einem
   umgebenden <div> statt am Eingabefeld, die Beschriftung steht als <label> im Feld (nicht in der linken Tabellenspalte), und das
   Plugin bringt eigenes CSS mit (plugins/80_contact/contact.css, Bootstrap-aehnlich). Die alten Regeln oben in dieser Datei
   trafen dadurch die falschen Elemente (graue Kaesten um Beschriftung und Feld). Dieser Block stellt das Aussehen der V1 wieder her:
   Beschriftung links, graue Felder in den alten Breiten.

   "#kontakt#kontakt" (doppelte ID) hebt die Gewichtung ueber die des Plugin-CSS, ohne !important. */

/* Zellen wieder als Tabellenzellen (das Plugin-CSS macht sie zu Flex-/Block-Boxen) */
#kontakt#kontakt tr td { display: table-cell; vertical-align: middle; }
#kontakt td > div:first-child:not(div:last-child) { padding-right: 0; }

/* Die Wrapper-Divs tragen nur noch die Klasse - ohne Kasten */
#kontakt div.textfeld-voll, #kontakt div.textfeld-halb, #kontakt div.textfeld-plz, #kontakt div.textfeld-ort, #kontakt div.textarea-voll,
#kontakt div.textfeld-captcha, #kontakt div.dropdown-halb, #kontakt div.dropdown-uhr, #kontakt div.textfeld-datum {
	display: inline-block;
	flex: none;
	width: auto;
	max-width: none;
	height: auto;
	min-height: 0;
	margin: 0.125rem 0;
	padding: 0;
	background: none;
	border: 0;
	vertical-align: middle;
}

/* Die Felder selbst: grau, wie in der V1 */
#kontakt#kontakt input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), #kontakt#kontakt textarea, #kontakt#kontakt select {
	display: inline-block;
	max-width: 100%;
	background: #f4f4f4;
	border: 1px solid #dfdfdf;
	border-radius: 0;
	font-family: 'Maven Pro', Verdana, Arial, Helvetica, sans-serif;
	font-size: 10pt;
	line-height: 10pt;
	padding: 0.125rem 0.3125rem;
	min-height: 1.0625rem;
	color: #3c3c3c;
}
/* In der V1 zaehlen Polster und Rahmen zur Breite dazu (content-box); das Plugin-CSS stellt alles auf border-box. Auswahlfelder bleiben border-box wie in der V1. */
#kontakt#kontakt input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), #kontakt#kontakt textarea { box-sizing: content-box; }
#kontakt#kontakt .textfeld-voll input { width: 15.75rem; }
#kontakt#kontakt .textfeld-halb input { width: 7.25rem; }
#kontakt#kontakt .textfeld-plz input { width: 2.4375rem; }
#kontakt#kontakt .textfeld-ort input { width: 12.125rem; }
#kontakt#kontakt .textfeld-datum input { width: 6.6875rem; }
#kontakt#kontakt .dropdown-halb select { width: 8.3125rem; }
#kontakt#kontakt .dropdown-uhr select { width: 4.6875rem; }
#kontakt div.textarea-voll { padding: 0 !important; margin: 0; }
#kontakt#kontakt .textarea-voll textarea { width: 23.8125rem; height: 9.375rem; padding: 0.625rem; margin: 0.125rem 0.3125rem 0.125rem 0; vertical-align: top; }
#kontakt#kontakt .textfeld-captcha input { width: 8.75rem; height: 2.75rem !important; margin: 0 0.625rem; }
#kontakt#kontakt div.textfeld-captcha, #kontakt#kontakt div.dropdown-halb, #kontakt#kontakt div.dropdown-uhr { margin: 0; }

/* Beschriftungen im Feld bleiben fuer Screenreader da, sind aber unsichtbar - links steht sie wieder in der ersten Spalte.
   (Die Beschriftungen der Kontrollkaestchen bleiben sichtbar: sie stehen nicht in einem Feld-Wrapper.) */
#kontakt div[class^="textfeld-"] > label.form-label, #kontakt div[class^="dropdown-"] > label.form-label, #kontakt div.textarea-voll > label.form-label, #captcha-label-1 {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
#kontakt#kontakt td:first-child:empty { width: 7.875rem; }
.form-container_tr_anrede td:first-child::before { content: "Anrede*"; }
.form-container_tr_firma td:first-child::before { content: "Firma"; }
.form-container_tr_name_vorname td:first-child::before { content: "Name*, Vorname*"; }
.form-container_tr_street_Nummer td:first-child::before { content: "Straße, Nr."; }
.form-container_tr_plz_Ort td:first-child::before { content: "PLZ, Ort"; }
.form-container_tr_telefon td:first-child::before { content: "Telefon"; }
.form-container_tr_email td:first-child::before { content: "E-Mail*"; }

/* Senden-Knopf: in der V1 unter den Feldern, nicht unter der Beschriftung */
#kontakt#kontakt .form-container_tr_button input { margin-left: 7.875rem; }

/* Ende der Anpassung an die V2 */
