/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
	blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn,
	em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
	b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
	table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas,
	details, embed, figure, figcaption, footer, header, hgroup, menu, nav,
	output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup,
	menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

header, footer {
	background-color: #03071e;
	color: white;
}

header {
	height: 5rem;
	width: 100%;
	z-index: 100;
	flex-shrink: 0;
	display: flex;
}

body, html {
	box-sizing: border-box;
	height: 100%;
	z-index: 0;
	background-color: #14213d;
	color: white;
}

body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	overflow: hidden;
}

main {
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	align-items: center;
	background-color: inherit;
	overflow: hidden;
	height: 100%;
}

section {
	height: 100%;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	background-color: inherit;
}

section>div {
	display: flex;
	justify-content: space-around;
}

h1 {
	position: sticky;
	top: 0;
	flex-shrink: 0;
	font-size: 2em;
	text-align: center;
	margin: 0 auto;
	margin-top: 1.5rem;
	padding-bottom: 1.5em;
	background-color: inherit;
	height: 2em;
}

.centerNav {
	flex-shrink: 0;
	flex-grow: 0;
	font-size: 1.2em;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 10rem;
	height: 100%;
	z-index: 90;
}

.centerNav>ul>li {
	font-size: 1rem;
	margin: 0;
	margin-top: 1rem;
	padding: 0;
	list-style: none;
	position: relative;
	transition: all 300ms;
}

.centerNav ul li:hover>a {
	background: #6e7daf;
}

.centerNav ul li ul {
	overflow: hidden;
	position: relative;
	top: 100%;
	left: 0;
	width: 100%;
	transition: 300ms all;
	max-height: 0;
}

.centerNav ul li ul li {
	border: none;
	border-bottom: 1px solid #ff8080;
}

.centerNav ul li ul li:last-child {
	border-bottom: none;
}

.centerNav ul li:hover>ul {
	max-height: 700px;
	left: 8rem;
}

.centerNav ul li a {
	border: 1px solid #114488;
	border-radius: 0.2em;
	display: inline-block;
	width: 20em;
	padding: 1em;
	text-align: center;
	font-size: 1em;
	color: #fff;
	margin: 0 1px 0 0;
	text-decoration: none;
	background-color: #114488;
	font-weight: 300;
	transition: all 300ms;
	font-family: verdana, arial, sans-serif;
}

h2 {
	margin-top: 4em;
	font-weight: bold;
}

.klasse {
	flex-direction: column;
	background-color: inherit;
	margin: 2em auto;
	width: 100%;
	height: 100%;
	overflow: scroll;
	background-color: inherit;
	justify-content: flex-start;
	overflow: auto;
}

.klasse table {
	text-align: center;
	background-color: inherit;
	margin: auto;
}

.klasse th {
	font-size: 1.5em;
	font-weight: bold;
	padding: 0 1em;
	padding-bottom: 1em;
	padding-left: 0;
	text-align: left;
}

.klasse thead {
	position: sticky;
	top: 6em;
	padding-top: 0.5em;
	background-color: inherit;
}

.klasse tbody tr:nth-child(even) {
	background: #cdb88a;
	color: black;
}

.klasse td {
	font-size: 1.2em;
	font-weight: lighter;
	padding: 0 0.5em;
	padding-bottom: 0.5em;
	text-align: left;
	padding-left: 0;
}

h3 {
	font-weight: bold;
	font-size: 1.5em;
	text-align: center;
	position: sticky;
	top: 3em;
	margin: 0 auto;
	margin-top: 1em;
	margin-bottom: 1.5em;
	z-index: 80;
	background-color: inherit;
	color: white;
	width: 100%
}

footer {
	flex-shrink: 0;
	display: flex;
	width: 100%;
	bottom: 0;
	height: 1.2rem;
	justify-content: space-between;
	align-items: center;
	z-index: 98;
}

footer a {
	color: lightgray;
	text-decoration: none;
	margin: 1rem;
}

@media ( min-width : 768px) {
	#mobile {
		display: none;
	}
}

@media ( max-width : 768px) {
	body html{
		font-size: 10px;
	}
	.klasse table {
		border: none;
		padding: 0.5em;
		margin: auto;
	}
	.relay table{
		margin: 0.5em;
}
	main {
		top: 0;
		left: 0;
		max-height: 100%;
		flex-direction: column;
	}
	section {
		margin-top: 1em;
		height: 100%;
		flex: 1;
	}
	h1{
		flex-shrink: 1;
	}
	.MainNav{
		display: flex;
		flex-direction: column;
		text-align: center;
	}
	.MainNav div{
		margin: auto;
		background: #114488;
		padding: 0.5em 2em;
	}
	.MainNav ul{
		display: none;
		max-height: 0;
	}
	
}

@media ( max-width : 670px) {
	body, html {
		font-size: 15px;
	}
	.klasse th {
		padding-left: 0;
		font-size: 1.2em;
		padding-right: 0.5em;
	}
	.klasse td {
		font-size: 0.8em;
		padding-left: 0;
		padding-right: 0.5em;
		padding-top: 0.5em;
		padding-bottom: 0.5em;
		
	}
	th:last-child {
		padding-right: 0;
	}
	td:last-child {
		padding-right: 0;
	}
}

@media ( max-width : 470px) {
	body, html {
		font-size: 10px;
	}
	.klasse th {
		padding-left: 0;
		font-size: 1.3em;
		margin: 0;
		padding: 0;
		vertical-align: middle;
		padding-right: 0.5em;
	}
	.klasse td {
		font-size: 1em;
		padding-right: 0.5em;
		vertical-align: middle;
	}
	th:last-child {
		padding-right: 0;
	}
	td:last-child {
		padding-right: 0;
	}
}