/*
 * Kontaktdaten im Bestellvorgang.
 *
 * Divi setzt Beschriftungen und Eingabefelder standardmäßig nebeneinander und
 * gibt Formularfeldern eigene Rahmen. Deshalb hier bewusst eigene Klassen statt
 * der Klassen von Event Tickets: So lässt sich der Abschnitt gestalten, ohne in
 * die Formulare des Herstellers hineinzuregieren.
 */

.ts-contact {
	margin: 2rem 0;
	padding: 1.5rem;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 8px;
	background: rgba(0, 0, 0, .015);
}

.ts-contact__title {
	margin: 0 0 1.25rem;
	padding: 0;
	font-size: 1.125rem;
	line-height: 1.3;
	font-weight: 700;
}

.ts-field {
	display: block;
	margin: 0 0 1.5rem;
}

.ts-field:last-child {
	margin-bottom: 0;
}

.ts-contact .ts-field__label {
	display: block;
	float: none;
	width: auto;
	margin: 0 0 .4rem;
	padding: 0;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.3;
}

.ts-field__required {
	color: #c53030;
	margin-left: .15rem;
}

.ts-field__optional {
	margin-left: .4rem;
	font-size: .8125rem;
	font-weight: 400;
	opacity: .6;
}

/* Divi und das Theme setzen eigene Breiten und Rahmen — hier gleichgezogen. */
.ts-contact .ts-field__input {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: .7rem .85rem;
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	color: inherit;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .25);
	border-radius: 6px;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.ts-contact .ts-field__input:focus {
	outline: 2px solid currentColor;
	outline-offset: 1px;
	border-color: transparent;
}

.ts-contact .ts-field__input--area {
	min-height: 5.5rem;
	resize: vertical;
}

.ts-contact .ts-field__help {
	margin: .45rem 0 0;
	font-size: .8125rem;
	line-height: 1.45;
	opacity: .7;
}

/* Hinweis, solange die Pflichtangabe fehlt. */
.ts-checkout-hint {
	display: none;
	margin: 0 0 1.5rem;
	padding: .65rem .85rem;
	border-left: 3px solid #b7791f;
	border-radius: 0 4px 4px 0;
	background: #fdf6e7;
	color: #6b4c10;
	font-size: .9375rem;
	line-height: 1.45;
}

/* Bezahlen ist gesperrt, solange die Telefonnummer fehlt. */
.ts-gateways--blocked {
	opacity: .4;
	pointer-events: none;
}

/* Sichtbare Warnung, falls die Kasse ihre Schnittstelle geändert hat. */
.ts-field--broken .ts-field__input {
	border-color: #c53030;
	background: #fff5f5;
}

.ts-field--broken::after {
	content: attr(data-ts-broken);
	display: block;
	margin-top: .5rem;
	color: #c53030;
	font-size: .875rem;
	line-height: 1.45;
}

@media (max-width: 480px) {
	.ts-contact {
		padding: 1.15rem;
	}
}
