:root {
	--firstColor: #27374D;
	--secondaryColor: #526D82;
	--tertiaryColor: #9DB2BF;
	--quarternaryColor: #DDE6ED;

	--focusOne: #610C9F;
	--focusTwo: #940B92;
	--focusThree: #DA0C81;
	--focusFour: #E95793;

	--lighterFirst: #468c84;
	--rgbFirst: 24, 111, 101;
	--rgbSecondary: 181, 203, 153;
  }

html {
	padding: 0;
	margin: 0;
	scroll-behavior: smooth;
}

body {
	background-color: var(--firstColor, #222831);
	font-family: Helvetica, Verdana, Arial, Geneva, sans-serif;
	/* font-size: big; */
	color: var(--quarternaryColor, #dddddd);
	min-height: 100vh;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

h1 {
	font-size: 2em;
	margin-bottom: 30px;
	margin-top: 20px;
	color: var(--focusThree, #00adb5);
}

h2 {
	font-size: 1.3em;
	margin-bottom: 20px;
	margin-top: 80px;
}

h3 {
	font-size: 1.2em;
	margin: 40 0 20 0;
}

p {
	margin-bottom: 20px;
}

a { color: var(--focusThree, #00adb5); }
a:hover { color: var(--focusFour, #00adb5); }

#MainContent {
	/* border: 1px solid green; */
	position: relative;
	left: 3%;
	width: 94%;
	margin-bottom: 60px;
}
#MainContent input[type=text], #MainContent textarea {
	font-size: 1.5em;
	width: 100%;
	/* background-color: #dddddd; */
	color: var(--firstColor);
	margin-bottom: 2%;
	padding: 8px 12px;
}
#MainContent textarea { height: 6lh; }
#MainContent input[type=number], #MainContent input[type=datetime-local], #MainContent select {
	font-size: 1.5em;
	width: auto;
	/* background-color: #dddddd; */
	/* color: #222831; */
	color: var(--firstColor);
	margin-bottom: 2%;
	padding: 8px 12px;
}
#MainContent input[type=number]{
	width: 7em;
}
#MainContent fieldset {
	border: none;
	font-size: 1.5em;
	background-color: var(--quarternaryColor, #0004);
	color: var(--firstColor, #222831);
	padding: 70px 30px 0 30px;
	margin-bottom: 30;
}
#MainContent fieldset.noBorder {
	padding: 0 30px;
}
#MainContent fieldset .moveDownInP {
	position: relative;
	top: 18px;
}
#MainContent fieldset ul {
	list-style: none;
	background-color: var(--tertiaryColor);
	padding: 7px 25px;
}
#MainContent fieldset li {
	margin: 10px 0;
}

#MainContent legend {
	position: relative;
	top: 40px;
}

#MainContent label, #MainContent .labelErsatz {
	font-size: 0.9em;
}

#navigation {
	position: relative;
}
#navigation ul {
	list-style: none;
	display: inline-flex;
	flex-direction: row;
	flex-wrap: nowrap;
	margin: 0;
	padding: 0;
}
#navigation li {
	float: left;
	margin: 0;
	padding: 0;
}
#navigation li a {
	text-decoration: none;
}
/* #navigation li a:hover { text-decoration: underline; } */
#navigation .menu {
	padding: 10px 20px 14px 20px;
	border-radius: 10px 10px 0 0;
	font-weight: bold;
}
#navigation .menu.active:hover {
	color: var(--focusFour);
}
#navigation .menu:hover {
	background-color: var(--secondaryColor);
	border-bottom: 8px solid var(--secondaryColor);
	/* background-color: rgba(var(--rgbSecondary), 0.4); */
	/* color: var(--firstColor); */
	/* background-color: #fff2; */
}
#navigation .active {
	color: var(--firstColor);
	background-color: var(--quarternaryColor) !important ;
}

#maincontainer {
	position: relative;
	background-color: var(--quarternaryColor, #444);
	color: var(--firstColor);
	margin-top: 13px;
	margin-bottom: 50px;
	border-radius: 10px;
	overflow-y: auto;
	/* overflow-y auto disables the fixed header of the table */
}
#maincontainer.firstFocussed {
	border-radius: 0 10px 10px 10px;
}
#maincontainer fieldset {
	background-color: #fff0;
}

em {
	font-weight: bold;
	/* font-style: normal; */
}


button {
	font-size: 0.9em;
	background-color: #001;
	color: #fff;
	border-radius: 300px;
	padding: 2%;
	margin: 0 10 30 0;
}

input[type=submit] {
	font-size: 2em;
	background-color: var(--focusThree);
	color: var(--quarternaryColor);
	border-radius: 300px;
	padding: 2% 3%;
	margin: -40px 30px 30px 30px;
	float: right;
}

p input[type=radio], p input[type=checkbox] {
	margin-right: 10px;
}

#ergebnistabelle {
	padding: 25px 17px;
}
table {
	width: 100%;
	margin: 0 0 30 0;
}
td, th {
	/* width: 3%; */
	text-align: center;
	vertical-align: top;
	padding: 10px;
}
th {
	background-color: var(--secondaryColor);
	color: var(--quarternaryColor);
}
th a:hover { color: var(--secondaryColor); }
td {
	color: var(--firstColor);
	background-color: var(--tertiaryColor);
}
td label.unsichtbar {
	color: #ffffff00;
}
td.min {
	width: 1%;
}
tr:nth-child(even) {background-color: rgba(var(--rgbFirst),0.1);}
tr:nth-child(odd) {background-color: rgba(var(--rgbSecondary, 0.2));}
tr:hover {background-color: var(--tertiaryColor);}
table p {
	margin: 0;
}
#ergebnistabelle td ul {
	margin-bottom: 0px;
}

.ergebnisbox {
	position: relative;
	top: 30px;
	font-size: 1.2em;
	background-color: #0001;
	padding: 30px 30px 20px 30px;
	margin: 0 25px 30px 25px;
}
.ergebnisbox h1 {
	text-align: center;
}
.ergebnisbox h2 {
	font-size: 1.3em;
	margin: 0 0 30 0;
}
.ergebnisbox .location {
	position: relative;
	top: -20px;
	text-align: center;
	opacity: 0.5;
	font-style: italic;
}
.ergebnisbox .location:hover {
	opacity: 1;
}
.ergebnisbox .zeilenName {
	text-decoration: underline;
	display: inline-flex;
	width: 11em;
	height: 0px;
}
.ergebnisbox ul {
	position: relative;
	top: -20px;
	margin-left: 10em;
	margin-bottom: -20px;
}
.ergebnisboxLevelIndent {
	padding-left: 30px;
}

.untenRechts {
	position: absolute;
	right: 40px;
	margin-block: -10px;
	font-size: 0.9em;
	color: #999;
}
.obenRechts {
	position: absolute;
	top: 7px;
	right: 7px;
}
.obenRechts a {
	text-decoration: none;
	color: var(--firstColor);
}
.obenRechts a:hover {
	color: var(--focusThree);
}
.obenRechtsOverlay {
	position: absolute;
	top: 4px;
	right: 4px;
	background-color: var(--tertiaryColor);
	padding: 10px;
}
.obenRechtsOverlay a {
	padding: 4px 10px;
	border-radius: 6px;
	margin: 5px;
	text-decoration: none;
}
.entryDelCancelButton {
	background-color: var(--quarternaryColor);
	color: var(--firstColor);
}
.entryDelButton {
	background-color: #f00;
	color: var(--quarternaryColor);
}
.untenRechtsImFeldsatz {
	position: relative;
	bottom: 20px;
	text-align: right;
}
.untenRechtsImFeldsatz a {
	text-decoration: none;
	color: var(--firstColor);
}
.untenRechtsImFeldsatz a:hover { color: var(--focusThree); }

.header {
	/* background-color: #001; */
	position: sticky;
	top: 0;
	/* the fixed header of the table is currently disabled by overflow-y for maincontainer */
}

.skalenAnzeige {
	/* border: 1px solid #fff2; */
	/* display: inline-block; */
	text-align: center;
	padding: 2px 15px;
	background-color: var(--quarternaryColor);
}
.skalenAnzeigeKlein {
	/* border: 1px solid #fff2; */
	/* display: inline-block; */
	background-color: var(--quarternaryColor);
}
.skalenZeile {
	white-space: nowrap;
	text-align: center;
}
.skalenZeileFullscreen {
	white-space: nowrap;
	text-align: left;
	margin-left: 11em;
	position: relative;
	top: -25px;
	margin-bottom: -25px;
}

.aktivesErgebnis {
	background-color: var(--focusThree);
	color: var(--quarternaryColor);
}

.neCheckbox {
	vertical-align: sub
}

.iconRechts {
	position: absolute;
	right: 20px;
}

.singleCharButton {
	display: inline-block;
	font-size: 2em;
	text-decoration: none;
	background-color: var(--focusThree);
	color: var(--quarternaryColor);
	border-radius: 1000px;
	height: 1.15em;
	width: 1.15em;
	text-align: center;
	vertical-align: middle;
	padding: 0 5px 10px 5px;
}
.singleCharButton:hover {
	color: var(--firstColor);
}

#ddnstz {
	position: absolute;
	width: 94%;
	left: 2%;
	background-color: #222831;
	padding: 10px;
	margin: 15px 15px 15px 0px;
}

#ddnstz h2 {
	margin-bottom: 1%;
	margin-top: 2%;
}

#ddnstz li {
	margin-left: 20px;
}

#kontakt {
	position: fixed;
	bottom: 0px;
	right: 0px;
	width: 100%;
	z-index: 5000;
	text-align: right;
	background-color: #112;
	/* background-color: #222831; */
	padding: 10px;
}

#kontaktdetails {
	position: absolute;
	bottom: 0px;
	right: 0px;
	width: 700px;
	background-color: #112;
	/* background-color: #222831; */
	padding: 3000px 10px 10px 3000px;
}

#InhaltLoeschen {
	position: fixed;
	bottom: 0px;
	left: 0px;
	z-index: 5100;
	text-align: left;
	/* background-color: #222831; */
	/* border-top: 1px solid black; */
	/* background-color: #222; */
	/* background-color: rgba(0, 0, 0, 0.2); */
	/* background-color: rgb(27, 33, 39); */
	padding: 10px;
}

#InhaltLoeschenDetails {
	position: absolute;
	bottom: 0px;
	left: 0px;
	background-color: black;
	border: 15px solid red;
	color: red;
	padding: 50px;
	white-space: nowrap;
}

#InhaltLoeschenDetails p {
	margin-top: 20px;
	font-size: 2em;
}

#InhaltLoeschenDetails a {
	color: red;
}

.infobox {
	background-color: #fff1;
	padding: 6px 30px;
}

.grueneKlasse {
	color: greenyellow !important;
}

.nichtunterstrichen {
	text-decoration: none;
}

.versteckterlink {
	text-decoration: none;
	color: #dddddd;
}





#csvExportDetails {
	position: absolute;
	bottom: 0px;
	left: 0px;
	background-color: black;
	/* border: 15px solid red; */
	color: #ddd;
	padding: 5000px 5000px 50px 50px;
	white-space: nowrap;
}
#csvExportDetails input[type=submit] {
	font-size: 1.5em;
	background-color: #00adb5;
	color: #222831;
	border-radius: 300px;
	padding: 4%;
	margin-bottom: 50px;
	position: fixed;
	right: 0;
	bottom: 0;
}
