*, *::before, *::after {
	box-sizing: border-box;
}

div {
	max-height: 1000000px; /* Workaround, um eine automatische Textvergroeßerung bzw. Font Boosting bzw. Text-Inflation zu umgehen */
}

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%; /* = 1rem = 16px (Browser-Standard) */
	-webkit-text-size-adjust: auto; /* Wichtig fuer iOS */
}

body {
	/*font-size: 0.688rem;*/ /* Wird durch die Media-Queries ueberschrieben */
	color: hsla(0,0%,17%,1);
	font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	hyphens: auto;
}

#wrapper {
	/* Sticky Footer */
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

main {
	flex: 1 1 auto;
}

h1 {
	margin: 2rem 1rem 0 1rem;
	font-size: 2rem;
	background-color: hsla(0,0%,92%,1);
	padding: 1rem;
	color: hsla(0,0%,25%,1);
}

#content {
	margin: 1rem;
	outline: 0;
}

header, footer {
	padding: 2rem;
	/* background-color: hsla(50, 100%, 50%, 0.15); gelblich */
	background-color: hsla(0, 0%, 96%, 1);
}

input {
	font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, a:visited {
	color: hsla(0,0%,30%,1);
}

/*********************************************
	Icon-Font
**********************************************/
/*!
 * Font Awesome Free 5.9.0 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 */
@font-face {
	font-family: 'Font Awesome 5 Free';
	font-style: normal;
	font-weight: 900;
	/* font-display: auto; */
	src: local("Font Awesome 5 Free"), url("../fonts/fa-solid-900.woff2") format("woff2"), url("../fonts/fa-solid-900.woff") format("woff");
}

.fa, .fas {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 1.2rem;
	margin: 0 0.15rem;
	padding: 0.15rem;
	text-decoration: none;
}

a.fa, a.fas {
	/* placeholer client definition */
}

a.fa:hover, a.fas:hover, button.fa:hover, button.fas:hover {
	color: hsla(0,0%,100%,1);
	background-color: hsla(0,0%,0%,1);
}

/*********************************************
		Skip link
**********************************************/
.skip-link-line {
	position: relative; /* fuer absolut positionierten Skip-Link */
}

#skip-link {
	padding: 0.05rem 0.15rem;
	position: absolute;
	top: 0.2rem;
	left: 2rem;
	background-color: hsla(0,0%,96%,1);
	color: hsla(225,100%,33%,1);
}

#skip-link:not(:focus) {
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(100%);
	white-space: nowrap;
}

/*********************************************
		Header
**********************************************/
header {
	border-bottom: 0.2rem solid hsla(0, 0%, 66%, 1);
}

header a {
	display: inline-block;  /* damit das gesamte Image als Linkflaeche zur Verfuegung steht(?) */
}

header a img {
	margin: 0;
	padding: 0;
	max-height: 6rem;
	max-width: 18rem;
}

/* Sprachauswahl */
.language {
	display: flex;
	justify-content: end;
	margin: 1rem 0 0 1rem;
	color: hsla(0,0%,30%,1);
	font-weight: bolder;
	column-gap: 0.5rem;
	flex-wrap: wrap;
	line-height: 1.5rem;
}

.language > label {
	min-height: 44px;
}

.language .option {
	align-self: center;
	align-content: center;
	display: inline-block;
	margin: 0.5rem 0 0.5rem 0.75rem;
}

#langMenuSelection {
	min-height: 44px;
    border: 0.0625rem solid #010113;
    border-radius: 0.25rem;
}

#selectedLanguage {
	/*
	background-color: hsla(0,0%,30%,1);
	color: hsla(0,0%,96%,1);
	*/
	padding: 0.2rem;
	cursor: pointer;
	letter-spacing: 0.05rem;
	font-weight: bold;
}

/*********************************************
		Footer
**********************************************/
footer {
	border-top: 0.2rem solid hsla(0, 0%, 66%, 1);
}

.footer-container h2 {
	background-color: hsla(0,0%,90%,1);
	border: 0.2rem solid hsla(0, 0%, 100%, 1);
	padding: 0.7rem;
	margin: 0;
	color: hsla(0,0%,25%,1);
}

.footer-item {
	background-color: hsla(0,0%,100%,1);
}

.footer-item-content {
	margin: 1rem;
	padding-bottom: 1rem;
	line-height: 1.5rem;
}

.footer-item-content a {
	display: inline-block;  /* damit das gasamte Image als Linkflaeche zur Verfuegung steht(?) */
}

.footer-item-content img {
	max-height: 6rem;
	max-width: 18rem;
}

.footer-item-content ul {
	padding-left: 1rem;
	margin-bottom: 0;
}

.footer-item-content ul li {
	list-style-type: none;
}

.footer-item + .footer-item {
	margin: 1rem 0 0 0;
}

.nav-item {
	display: flex;
	line-height: min(150%);
}

.nav-item::before {
	content: "\f30b" / "";
	font-family: 'Font Awesome 5 Free';
	margin-right: 1rem;
	color: hsla(120,100%,20%,1);
	text-decoration: none;
}

#versionInfo {
	text-align: center;
	margin-top: 0.5rem;
	font-weight: bold;
}

#version-info {
	margin-right: 0.2rem;
}

/*********************************************
		Landingpage
**********************************************/
#landing_box {
	display: inline-block;
	border: 0.2rem solid hsla(0, 0%, 66%, 1);
	padding: 1rem;
	margin: 1rem;
	background-color: hsla(0,0%,100%,1);
}

#landing_box h1 {
	margin: 0;
	border-bottom: 0.2rem solid hsla(0, 0%, 66%, 1);
	color: hsla(120,100%,20%,1);
	white-space: normal;
	background-color: unset;
	padding: 0;
}

#landing-input label {
    font-weight: bold;
	margin-right: 0.5rem;
	line-height: 1.5rem;
}

#zahlvorgangsId {
	margin-top: 0.2rem;
	margin-bottom: 0.5rem;
	padding: 0.2rem 0.5rem;
    width: 20rem;
	line-height: 1.5rem;
}

#zv_id_pattern span {
    font-weight: bold;
}

.screenreader {
	position: absolute;
	top: auto;
	left: -9999px;
	clip: rect(0, 0, 0, 0);
	overflow: hidden;
	width: 1px;
	height: 1px;
}

.field-error {
	font-weight: bolder;
	color: hsla(0, 100%, 27%, 1);
}

/* EP4LF-664: hidden Felder für Security-Maßnahmen Landing-Page */
.landing_EP4LF-664 {
	display: none !important;
}

/*********************************************
		Zahlungsinformation
**********************************************/
#zahlinfo {
	/* display: inline-block; */
	border: 0.2rem solid hsla(0, 0%, 66%, 1);
	padding: 1rem;
	margin: 1rem;
	background-color: hsla(0,0%,100%,1);
}

#zahlinfo h2 {
	margin-top: 0;
	border-bottom: 0.2rem solid hsla(0, 0%, 66%, 1);
	color: hsla(120, 100%, 20%, 1);
	white-space: normal;
	word-break: break-word;
}

#zahlinfo-container dd + dt {
	margin-top: 1rem;
}

#zahlinfo-container .label {
	font-weight: bold;
}

#zahlinfo-container .value {
	display: block;
	margin-left: 0;
	overflow-wrap: anywhere;
}

#zahlinfo-container table {
	border-collapse: collapse;
}

#zahlinfo-container table th {
	text-align: left;
	white-space: nowrap;
}

#zahlinfo-container table tbody th {
	font-weight: normal;
}

#zahlinfo-container table tr td, #zahlinfo-container table tr th {
	padding: 0.1rem 0.2rem;
	vertical-align: baseline;
	word-break: break-word;
	border: thin solid hsla(0, 0%, 80%, 1)
}

#zahlinfo-container table tr td:last-child {
	white-space: nowrap;
	text-align: right;
}

/*********************************************
		Zahlungsarten-Auswahl
**********************************************/
#zahlart-auswahl {
	border: 0.2rem solid hsla(0, 0%, 66%, 1);
	padding: 1rem;
	margin: 1rem;
	background-color: hsla(0,0%,100%,1);
}

#zahlart-auswahl h2 {
	margin-top: 0;
	border-bottom: 0.2rem solid hsla(0, 0%, 66%, 1);
	color: hsla(120,100%,20%,1);
	white-space: normal;
}

#zahlart-auswahl fieldset {
	border: 0;
}

#zahlart-liste {
	list-style: none;
	padding: 0;
}

.zahlart-item {
	display: block;
	border: 0.2rem solid hsla(0, 0%, 66%, 1);
	border-radius: 0.5rem;
	padding: 0.5rem;
	margin: 0.5rem 0;
	background-color: hsla(0,0%,92%,1);
	width: 100%;
	cursor: pointer;
}

.zahlart-image {
	width: 5rem;
	height: 2rem;
	margin: 0.25rem auto;
	display: block;
}

.zahlart-titel {
	background-color: hsla(0,0%,30%,1);
	color: hsla(0,0%,96%,1);
	border-radius: 0.25rem;
	display: block;
	margin: 0.3rem auto;
	padding: 0.3rem 0.2rem 0.2rem 0.2rem;
	font-family: sans-serif;
	font-size: 1.25rem;
	font-weight: bold;
	letter-spacing: 0.125rem;
	box-shadow: 0 0.05rem 1em -.5rem hsla(0, 0%, 25%, 0.5);
	text-align: center;
	word-break: break-word;
}

.zahlart-beschreibung {
	display: block;
	text-align: center;
	font-weight: normal;
	height: auto;
}

.zahlart-selected {
	border: 0.2rem solid hsla(0, 0%, 30%, 1);
	background-color: hsla(120,100%,20%,.4);
	width: 100%;
	padding: 0.5rem 11%;
	margin: 0.5rem 0;
	position: relative; /* notwendig wegen der Background-Font-Icons */
}

.zahlart-selected::before {
	content: "\f0da" / "";
	font-family: 'Font Awesome 5 Free';
	font-size: 3rem;
	color: hsla(0,0%,30%,1);
	position: absolute;
	left: 1rem;
	top: 0.05rem;
}

.zahlart-selected::after {
	content: "\f0d9" / "";
	font-family: 'Font Awesome 5 Free';
	font-size: 3rem;
	color: hsla(0,0%,30%,1);
	position: absolute;
	right: 1rem;
	top: 0.05rem;
}

.zahlart-selected .zahlart-titel {
	color: hsla(0,0%,30%,1);
	background-color: white;
}

.zahlart-selected .zahlart-beschreibung {
	font-weight: bold;
}

.sepa-item, .sepa-kontoinhaber {
	margin-top: 0.5rem;
}

.sepa-item label {
	font-weight: bold;
	width: 100%;
	display: block;
}

#sepa-kontoinhaber-abweichend {
	margin: 0.5rem 0;
}

#sepa-kontoinhaber-container {
	display: none;
	margin-top: 0.75rem;
}

#vorkasse-content button, #rechnung-content button {
	margin-top: 1rem;
}

.target-info dd + dt {
	margin-top: 0.5rem;
}

.target-info .label {
	font-weight: bold;
	width: 100%;
	display: block;
}

.target-info .value {
	display: inline-block;
	margin-left: 0;
	width: 74%;
}

.zahlart-content {
	display: none;
	border: 0.1rem solid hsla(0, 0%, 66%, 1);
	padding: 0 10% 0.75rem 10%;
	width: 80%;
	margin: 0.5rem 2.5% 0.5rem 10%;
	box-shadow: 0.313rem 0.625rem 1.25rem hsla(0, 0%, 80%, 0.5) inset;
    border-radius: 0.5rem;
}

.print-title {
	display: none;
}

.button-div {
	text-align: right;
	width: 80%;
	margin: 0 10%;
}

button {
	padding: 0.5rem 1rem;
	font-weight: bold;
	border-radius: 0.25rem;
	margin-top: 0.5rem;
	background-color: hsla(0,0%,85%,1);
	color: hsla(0,0%,25%,1);
	border: 0.0625rem solid hsla(0, 0%, 4%, 1);
}

#weiter {
	background-color: hsla(120,100%,20%,1);
	color: white;
	margin-top: 1rem;
	margin-left: 0.5rem;
	min-height: 44px;
}

#weiter:disabled {
	cursor: not-allowed !important;
	color: hsla(0, 0%,17%,1);
	background-color: hsla(120,25%,68%,1);
}

#main_cancel {
	outline: none;
	padding: 0.8rem 0.8rem 0.7rem 0.8rem;
	color: hsla(0,0%,4%,1);
	background-color: hsla(0,0%,85%,1);
	font-weight: bold;
	text-decoration: unset;
	text-align: center;
	border-radius: 0.25rem;
	border: 0.0625rem solid hsla(0, 0%, 4%, 1);
	min-height: 44px;
	height: fit-content;
	white-space: nowrap;
}

/* Checkbox */
#sepa-kontoinhaber {
	/* placeholer client definition */
}

#sepa-kontoinhaber > input {
	display: none;
}

#sepa-kontoinhaber > label:before {
	font-family: 'Font Awesome 5 Free';
	position: relative;
	top: 0.2rem;
	margin-right: 0.5rem;
}

#sepa-kontoinhaber > input:checked ~ label:before {
	/*
	content: "\f00c";
	color: hsla(0,0%,30%,1);
	*/
	content: "\f205";
	color: hsla(120,100%,20%,1);
}

#sepa-kontoinhaber > label:before {
	content: "\f204";
	color: hsla(0,0%,30%,1);
}

#sepa-kontoinhaber > label {
	cursor: pointer;
	font-weight: bold;
}

#sepa-mandat {
	display: flex;
	flex-wrap: wrap;
}

#sepa-kontoinfo {
	width: 100%;
}

#sepa-kontoinhaber {
	margin-top: 0.5rem;
	width: 100%;
}

.sepa-item label {
	/* placeholer client definition */
}

.sepa-item input, .sepa-item select {
	width: 100%;
}

.info {
	padding-top: 0.5rem;
}

.required-info {
	font-style: italic;
}

/*********************************************
		Hover/Focus
**********************************************/
header a:hover, header a:focus,
#skip-link:hover, #skip-link:focus,
#lang_select:hover, #lang_select:focus,
.zahlart-item:hover, .zahlart-item:focus,
#sepa-kontoinhaber>label:hover::before, #sepa-kontoinhaber>label:focus::before,
#main_cancel:hover, #main_cancel:focus,
input:not([disabled]):hover, input:focus,
select:not([disabled]):hover, select:focus,
button:not([disabled]):hover, button:focus,
footer a:hover, footer a:focus {
	outline: 0;
	z-index: 2;
	box-shadow: 0 0 0.75rem hsla(120, 100%, 30%, 1),   /* 0.75rem Blur-Effekt */
    0 0 2px hsla(120, 100%, 30%, 1);   /* 2px Rahmen */
	cursor: pointer;
}

/* Sonderbehandlung fuer Checkbox */
#sepa-kontoinhaber>label:hover, #sepa-kontoinhaber>label:focus {
	outline: 0;
}

/**************************************/
@media screen and (min-width: 500px) {
	body {
		font-size: 0.75rem;
	}

	header {
		display: flex;
		justify-content: space-between;
	}
	.zahlart-selected::before, .zahlart-selected::after {
		top: 25%;
	}

	.sepa-item label {
		width: 35%;
		display: inline-block;
	}

	.sepa-item input, .sepa-item select {
		width: 60%;
	}

	.target-info .label {
		width: 25%;
		display: inline-block;
	}
}
@media screen and (min-width: 600px) {
	.footer-container {
		display: flex;
	}
	.footer-item {
		flex: 1 1 auto;
	}

	.footer-item + .footer-item {
		margin: 0;
	}
}
@media screen and (min-width: 800px) {
	body {
		font-size: 0.8rem;
	}
	#sepa-kontoinfo {
		flex: 1;
		width: auto;
	}
	#sepa-kontoinhaber {
		flex: 1.25;
		width: auto;
		margin: 0 0 0 1rem;
	}
}

@media screen and (min-width: 1100px) {
	body {
		font-size: 0.875rem;
	}

	body {
		display: flex;
		flex-direction: column;
	}

	.zahlart-item {
		display: flex;
		margin: 0.5rem 10%;
		width: 80%;
	}

	.zahlart-image {
		margin: auto;
	}
	.zahlart-titel {
		width: 18.5rem;
		height: 1.875rem;
		margin: auto;
	}
	.zahlart-beschreibung {
		width: 50%;
		align-self: center;
	}
	.zahlart-selected::before, .zahlart-selected::after {
		top: 0.05rem;
	}

	.footer-item + .footer-item {
		margin: 0 0 0 1rem;
	}
}

/*@media screen and (min-width: 1400px) {}*/

@media screen and (min-width: 1550px) {
	#inner-content {
		display: flex;
	}
	#zahlinfo {
		max-width: 25%;
	}
	#zahlart-auswahl {
		flex-grow: 1;
	}
}

@media screen and (min-width: 1700px) {
	body {
		font-size: 1rem;
	}
}

@media print {
	@page :left {
		margin-left: 4cm;
		margin-right: 3cm;
		margin-top: 3cm;
		margin-bottom: 3cm;
	}

	aside, footer, .button-div, .printBtn, #zahlart-auswahl h1, #zahlart-liste h2 {
		display: none;
	}

	.zahlart-content {
		box-shadow: unset;
		padding: 0;
		margin: -2rem 0 0 0;
		border: unset;
		width: 100%;
	}
	.print-title {
		display: block;
		margin-bottom: 1rem;
		color: hsla(120,100%,20%,1);
		border-bottom: 0.2rem solid hsla(0, 0%, 66%, 1);
		font-size: 2rem;
		font-weight: 700;
		white-space: normal;
	}
}
