*, *::before, *::after {
	box-sizing: border-box;
}
html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}
html {
	/*font-size: 11px;*/
	font-size: 0.688rem;
}
body {
	color: hsla(0,0%,17%,1);
	font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
}

#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%, .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 .15rem;
	padding: .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: .05rem .15rem;
	position: absolute;
	top: .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: .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: .5rem;
	flex-wrap: wrap;
}
.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;
}
#selectedLanguage {
	/*
	background-color: hsla(0,0%,30%,1);
	color: hsla(0,0%,96%,1);
	*/
	padding: .2rem;
	font-size: 1rem;
	cursor: pointer;
	letter-spacing: .05rem;
	font-weight: bold;
}

/*********************************************
		Footer
**********************************************/
footer {
	border-top: .2rem solid hsla(0,0%,66%,1);
}
.footer-container h2 {
	text-transform: uppercase;
	font-size: 1rem;
	background-color: hsla(0,0%,90%,1);
	border: .2rem solid hsla(0,0%,100%,1);
	padding: .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;
}
.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';
	font-size: 1rem;
	margin-right: 1rem;
	color: hsla(120,100%,20%,1);
	text-decoration: none;
}
#versionInfo {
	text-align: center;
	margin-top: .5rem;
	font-size: .75rem;
	font-weight: bold;
}
#version-info {
	margin-right: .2rem;
}

/*********************************************
		Landingpage
**********************************************/
#landing_box {
	display: inline-block;
	border: .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: .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: .5rem;
}

#zahlvorgangsId {
    margin-top: .2rem;
    margin-bottom: .5rem;
    padding: .2rem .5rem;
    font-size: 1rem;
    width: 20rem;
}

#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);
	font-size: .8rem;
}

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

/*********************************************
		Zahlungsinformation
**********************************************/
#zahlinfo {
	/* display: inline-block; */
	border: .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: .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: .1rem .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: .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: .2rem solid hsla(0,0%,66%,1);
	color: hsla(120,100%,20%,1);
	white-space: normal;
}
#zahlart-liste {
	list-style: none;
	padding: 0;
}
.zahlart-item {
	display: block;
	border: .2rem solid hsla(0,0%,66%,1);
	border-radius: .5rem;
	padding: .5rem;
	margin: .5rem 10%;
	background-color: hsla(0,0%,92%,1);
	width: 80%;
	cursor: pointer;
}
.zahlart-image {
	width: 5rem;
	height: 2rem;
	margin: .25rem auto;
	display: block;
}
.zahlart-titel {
	background-color: hsla(0,0%,30%,1);
	color: hsla(0,0%,96%,1);
	border-radius: .25rem;
	display: block;
	margin: .3rem auto;
	padding: .3rem .2rem .2rem .2rem;
	font: bold 1.25rem Sans-Serif !important;
	text-transform: uppercase;
	letter-spacing: .125rem;
	box-shadow: 0 .5rem 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: .2rem solid hsla(0,0%,30%,1);
	background-color: hsla(120,100%,20%,.4);
	width: 100%;
	padding: .5rem 11%;
	margin: .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: .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: .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: .5rem;
}
.sepa-item label {
	font-weight: bold;
	width: 100%;
	display: block;
}
#sepa-kontoinhaber-abweichend {
	margin: .5rem 0;
}
#sepa-kontoinhaber-container {
	display: none;
	margin-top: .75rem;
}
#vorkasse-content button, #rechnung-content button {
	margin-top: 1rem;
}
.target-info dd + dt {
	margin-top: .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: .1rem solid hsla(0,0%,66%,1);
	border-top-width: 0;
	padding: 0 10% .75rem 10%;
	width: 95%;
	margin: -1rem 2.5% 1rem 2.5%;
	/*box-shadow: 5px 10px 20px hsla(0,0%,80%,.5) inset;*/
	box-shadow: 0.313rem 0.625rem 1.25rem hsla(0, 0%, 80%, .5) inset;
}
.print-title {
	display: none;
}
.button-div {
	text-align: right;
	width: 80%;
	margin: 0 10%;
}
button {
	font-size: 1rem;
	padding: .5rem 1rem;
	font-weight: bold;
	border-radius: .25rem;
	margin-top: .5rem;
	background-color: hsla(0,0%,85%,1);
	color: hsla(0,0%,25%,1);
	border: .0625rem solid hsla(0,0%,4%,1);
}
#weiter {
	background-color: hsla(120,100%,20%,1);
	color: white;
	margin-top: 1rem;
	margin-left: .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: .8rem .8rem .7rem .8rem;;
	color: hsla(0,0%,4%,1);
	background-color: hsla(0,0%,85%,1);
	font-weight: bold;
	font-size: 1rem;
	text-decoration: unset;
	border-radius: .25rem;
	border: .0625rem solid hsla(0,0%,4%,1);
	min-height: 44px;
}

/* Checkbox */
#sepa-kontoinhaber {
	/* placeholer client definition */
}
#sepa-kontoinhaber > input {
	display: none;
}
#sepa-kontoinhaber > label:before {
	font-family: 'Font Awesome 5 Free';
	font-size: 1.5rem;
	position: relative;
	top: .2rem;
	margin-right: .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: .5rem;
	width: 100%;
}
.sepa-item label {
	/* placeholer client definition */
}
.sepa-item input, .sepa-item select {
	width: 100%;
}
.info {
	padding-top: .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 .75rem hsla(120,100%,30%,1);
	cursor: pointer;
}
/* Sonderbehandlung fuer Checkbox */
#sepa-kontoinhaber>label:hover, #sepa-kontoinhaber>label:focus {
	outline: 0;
}

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

	#zahlinfo-container table {
		font-size: 0.75rem;
	}

	header { display: flex; justify-content: space-between; }

	.zahlart-selected::before { top: 25%; }
	.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 0 0 1rem; }
}
@media screen and (min-width: 800px) {
	html {
		font-size: 0.8rem;
	}

	#zahlinfo-container table {
		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) {
	/*html { font-size: 14px; }*/
	html {
		font-size: 0.875rem;
	}

	#zahlinfo-container table {
		font-size: 0.875rem;
	}

	body { display: flex; flex-direction: column; }  /* Sticky Footer (IE) */

	.zahlart-item { display: flex; }
	.zahlart-image { margin: auto; }

	/*.zahlart-titel { width: 18.5rem; height: 30px; margin: auto; }*/
	.zahlart-titel {
		width: 18.5rem;
		height: 1.875rem;
		margin: auto;
	}
	.zahlart-beschreibung { width: 50%; font-size: 1rem; align-self: center; }
	.zahlart-selected::before { top: .05rem; }
	.zahlart-selected::after { top: .05rem; }
}
@media screen and (min-width: 1400px) {
	/*html { font-size: 15px; }*/
}
@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) {
	/*html { font-size: 16px; }*/
	html {
		font-size: 1rem;
	}

	#zahlinfo-container table {
		font-size: 1rem;
	}
}

@media screen and (max-width: 1440px) {
	#zahlinfo-container table tr td, #zahlinfo-container table tr th {
		font-size: 1.8rem;
	}

	.zahlart-beschreibung {
		font-size: 1.8rem;
	}
}

@media only screen and (max-width: 1024px) {
	#zahlinfo-container table tr td, #zahlinfo-container table tr th {
		font-size: 2rem;
	}
}

@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: .2rem solid hsla(0,0%,66%,1);
		font-size: 2rem;
		font-weight: 700;
		white-space: normal;
	}
}
