@font-face {
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: 300;
	src: local(''), url('roboto-condensed-v25-latin/roboto-condensed-v25-latin-300.woff2') format('woff2'), url('roboto-condensed-v25-latin/roboto-condensed-v25-latin-300.woff') format('woff');
}
@font-face {
	font-family: 'Roboto Condensed';
	font-style: italic;
	font-weight: 300;
	src: local(''), url('roboto-condensed-v25-latin/roboto-condensed-v25-latin-300italic.woff2') format('woff2'), url('roboto-condensed-v25-latin/roboto-condensed-v25-latin-300italic.woff') format('woff');
}
@font-face {
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: 400;
	src: local(''), url('roboto-condensed-v25-latin/roboto-condensed-v25-latin-regular.woff2') format('woff2'), url('roboto-condensed-v25-latin/roboto-condensed-v25-latin-regular.woff') format('woff');
}
@font-face {
	font-family: 'Roboto Condensed';
	font-style: italic;
	font-weight: 400;
	src: local(''), url('roboto-condensed-v25-latin/roboto-condensed-v25-latin-italic.woff2') format('woff2'), url('roboto-condensed-v25-latin/roboto-condensed-v25-latin-italic.woff') format('woff');
}
@font-face {
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: 700;
	src: local(''), url('roboto-condensed-v25-latin/roboto-condensed-v25-latin-700.woff2') format('woff2'), url('roboto-condensed-v25-latin/roboto-condensed-v25-latin-700.woff') format('woff');
}
@font-face {
	font-family: 'Roboto Condensed';
	font-style: italic;
	font-weight: 700;
	src: local(''), url('roboto-condensed-v25-latin/roboto-condensed-v25-latin-700italic.woff2') format('woff2'), url('roboto-condensed-v25-latin/roboto-condensed-v25-latin-700italic.woff') format('woff');
}
:root {
	--green: rgb(121, 181, 28);
	--lightgreen: rgb(188, 218, 142);
	--grey: rgb(164, 170, 160);
	--lightgrey: rgb(209, 213, 207);
	--dark: rgb(5,10,20);
	--link: rgb(0, 96, 192);
	--error: rgb(192, 0, 0);
}
* {
	color: inherit;
	padding: 0;
	margin: 0;
	outline: none;
	box-sizing: border-box;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}
.noselect {
	user-select: none;
}
body {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	overflow-x: hidden;
	width: 100vw;
	padding-bottom: 0;/*5vh;*/
}
strong {
	font-weight: 700;
}
#nfo {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 20px;
}
#nfo:empty {
	display: none;
}
#header {
	text-align: center;
	margin: 0 0 1cm 0;
}
#header img[src*="logo.svg"] {
	width: 10vw;
	min-width: 6cm;
	margin: 1cm;
	display: inline-block;
}
#header ul.menu {
	background-color: var(--grey);
	color: white;
	list-style-type: none;
	display: flex;
	justify-content: center;
	border-bottom: 2px solid white;
}
#header ul.menu > li {
	display: inline-block;
}
#header ul.menu > li:first-child > a {
	border-left: 2px solid white;
}
#header ul.menu > li:last-child > a {
	border-right: 2px solid white;
}
#header ul.menu > li ~ li > a {
	border-left: 2px solid white;
}
#header ul.menu > li > a {
	display: block;
	padding: 2px 5px;
	text-decoration: none;
}
#header ul.menu a {
	transition: background-color 0.2s ease-out 0s;
	background-color: var(--grey);
}
#header ul.menu a:hover, #header ul.menu a.active, #header ul.menu a:focus {
	background-color: var(--green);
}
#header .image {
	overflow: hidden;
	width: 100vw;
	height: 60vh;
	position: relative;
}
#header .image > div {
	background-color: black;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 0;
	width: 100%;
	height: 80vh;
	transition: background 0.5s ease-out 0s;
}
#header .image > div > .img {
	transition: opacity 0.5s ease-out 0s;
	position: absolute;
	width: 100%;
	height: 80vh;
	left: 0;
	bottom: 0;
	opacity: 1;
	background-position: center bottom;
	background-size: cover;
	background-repeat: no-repeat;
}
#header .image > div > .img.hidden {
	opacity: 0;
}
#header .image > h1 {
	font-weight: 400;
	color: white;
	text-shadow: 2px 2px 50px black;
	padding: 1cm 20vw;
	background-color: rgba(0, 0, 0, 0.5);
	background-image: url("grid.png");
	margin-bottom: 1cm;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 99;
	font-size: 2em;
	line-height: 1.5em;
	width: 100%;
}
#header .image > h1:empty {
	display: none;
}
#footer {
	width: 60vw;
	margin: 1cm 20vw 0 20vw;
	background-color: var(--dark);
	padding-top: 1em;
	padding-bottom: 2em;
}
#footer ul.menu {
	color: white;
	list-style-type: none;
	display: flex;
	justify-content: center;
}
#footer ul.menu > li > a {
	display: block;
	padding: 2px 5px;
	text-decoration: none;
	opacity: 0.5;
}
#footer ul.menu a:hover, #footer ul.menu a.active, #footer ul.menu a:focus {
	opacity: 1;
}
#footer > div {
	padding: 0.2em;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
}
#footer > div img {
	margin: 0 1em;
}
#footer > div img[src*="logo.svg"] {
	width:100px;
}
#footer > div img[src*="MVV-Logo.png"] {
	width:60px;
}
/*
#footer ul.menu > li:first-child > a {
	border-left: 2px solid white;
}
#footer ul.menu > li ~ li > a {
	border-left: 2px solid white;
}
#footer ul.menu a {
	transition: background-color 0.2s ease-out 0s;
}
#footer ul.menu a:hover, #footer ul.menu a.active, #footer ul.menu a:focus {
	background-color: var(--green);
}
*/
#ticker {
	margin: 0 20vw;
	padding: 5px 0;
	white-space: nowrap;
	overflow: hidden;
	width: 60vw;
	background-color: var(--lightgrey);
	position: relative;
}
#ticker > span {
	padding-left: 100%;
	position: relative;
	top: 0;
	left: 0;
	font-weight: 400;
}
#ticker > div {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-image: url("gradient.png");
	background-size: 100% 100%;
	pointer-events: none;
}
#teaser {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
#teaser > div {
	background-color: var(--lightgrey);
	width: 19%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 200px;
	margin-bottom: 0.5cm;
	cursor: pointer;
}
#teaser > div > h3 {
	background-color: var(--green);
	color: white;
}
#teaser > div > * {
	padding: 5px 10px;
}
#teaser > div > img {
	padding: 0;
	border-top: 2px solid white;
	border-bottom: 2px solid white;
}
#content {
	width: 60vw;
	margin: 1cm 20vw;
}
#content a {
	color: var(--link);
}
#content h1, #content h2, #content h3 {
	font-weight: 400;
}
#content p {
	margin-bottom: 1em;
	line-height: 1.75em;
}
#content p + ul, #content p + .box {
	margin-top: -0.5em;
}
#content ul {
	list-style-type: none;
	padding-left: 1em;
	margin-bottom: 1em;
}
#content ul > li {
	position: relative;
	line-height: 1.5em;
}
#content ul > li:before {
	content: '';
	display: block;
	width: 0.5em;
	height: 1em;
	background-color: var(--green);
	position: absolute;
	top: 0.125em;
	left: -1em;
}
#content > h3 {
	margin-bottom: 0.25em;
}
#content > h3:before {
	content: '';
	display: inline-block;
	margin-right: 0.25em;
	width: 0.5em;
	height: 0.5em;
	background-color: var(--green);
}
#content > h2 {
	margin-bottom: 0.5em;
}
#content > h1 {
	font-size: 1.5em;
	margin-bottom: 0.75em;
	padding: 0.1em 0.5em;
	display: inline-block;
	position: relative;
	background-color: var(--green);
	color: white;
}
#content > .gallery {
	margin-bottom: 0.5em;
}
#content > .gallery > img {
	outline: 2px solid white;
}
.box {
	padding: 0.5em 0.5em 1em 0.5em;
	background-color: var(--lightgreen);
	font-weight: 400;
	margin: 1em 0;
}
.box > *:last-child {
	margin-bottom: 0 !important;
}
form input:not([type="submit"]):not([type=file]), form textarea {
	border: 0 none;
	padding: 5px;
	margin-bottom: 5px;
	background-color: var(--lightgrey);
	border-bottom: 2px solid var(--green);
	opacity: 0.6;
	transition: opacity 0.2s ease-out 0s;
}
form input:not([type="submit"]):not([type=date]):not([type=file]), form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
}
form table.smallInputs input:not([type="submit"]):not([type=date]):not([type=file]) {
	display: inline-block;
	width: calc(100% - 10ch);
	max-width: calc(100% - 10ch);
}
form table.smallInputs input:not([type="submit"]) {
	margin-right: 5px;
}
form input[type="submit"] {
	cursor: pointer;
	display: block;
	border: 0 none;
	padding: 5px;
	margin-bottom: 5px;
	background-color: var(--green);
	color: white;
	transition: box-shadow 0.2s ease-out 0s;
}
form input[type="submit"]:not([disabled]):hover, form input[type="submit"]:not([disabled]):focus {
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
form input[type="submit"][disabled] {
	cursor: default;
	opacity: 0.3;
}
form input:focus, form textarea:focus {
	opacity: 1;
}
form input.error, form textarea.error {
	border-bottom: 2px solid var(--error) !important;
}
form label {
	display: inline-block;
	margin-right: 0.5em;
	width: 17ch;
}
form input[type=date] {
	display: inline-block;
}
hr.partial {
	border: 0 none;
	margin: 0.5cm auto 0.75cm auto;
	display: block;
	width: 40vw;
	background-color: var(--green);
	height: 1px;
}
table {
	width: 100%;
	border-collapse: collapse;
	margin: 10px 0;
}
tr.empty td {
	padding: 10px;
}
th {
	vertical-align: top;
	text-align: left;
	padding: 5px 0;
	font-weight: 700;
}
td {
	padding: 5px 0;
}
p > a.green {
	display: inline-block;
	padding: 2px 5px;
	background-color: var(--green);
	text-decoration: none !important;
	color: white !important;
	font-weight: 400;
}
p > a.green:hover {
	box-shadow: 10px 10px 5px rgba(0,0,0,0.1);
}
.clear {
	clear: both;
}
/* Selectbox zur Textauswahl für Eingabefelder */
.selectbox {
	position: relative
}
.selectbox > input + div {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
}
.selectbox:hover > input:not(:focus) + div {
	display: block;
	z-index: 99;
	background-color: white;
	box-shadow: 10px 10px 5px rgba(0,0,0,0.1);
	border: 2px solid var(--green);
}
.selectbox:hover > input:not(:focus) {
	opacity: 0.3;
}
.selectbox > input + div > span {
	cursor: pointer;
	display: block;
	padding: 5px 10px;
	background-color: var(--lightgrey);
	opacity: 0.6;
	transition: opacity 0.2s ease-out 0s;
}
.selectbox > input + div > span:hover {
	opacity: 1;
}
.selectbox > input + div > span.selected {
	font-weight: 700;
	background-color: var(--green);
	opacity: 1;
}

/* Popup */
.popup {
	cursor: default;
	display: inline;
	position: relative;
	margin-left: 5px;
	user-select: none;
}
.popup > .fa {
	color: var(--green);
}
.popup > div {
	position: absolute;
	top: 50%;
	left: 50%;
	padding: 10px;
	min-width: 23ch;
	background-color: var(--green);
	color: white;
	font-weight: 400;
	z-index: 99;
	box-shadow: 10px 10px 5px rgba(0,0,0,0.1);
	border: 2px solid var(--green);
	transform: translate(-50%, -50%)
}
.popup:not(:hover) > div {
	display: none;
}

/* */
.fa.add, .fa.remove, .fa.delete {
	cursor: pointer;
	transition: color 0.2s ease-out 0s;
}
.fa.add, .fa.remove {
	margin-left: 5px;
}
.fa.delete {
	margin-right: 5px;
}
.fa.add:hover {
	color: var(--green);
}
.fa.remove:hover, .fa.delete:hover {
	color: var(--error);
}
#uploader {
	display: flex;
	background-color: var(--lightgrey);
	padding: 5px;
	align-items: center;
}
button, .button {
	border-radius: 5px;
	padding: 5px;
	background-color: white;
	color: black !important;
	text-decoration: none !important;
	font-weight: 700;
	border: 0 none;
	cursor: pointer;
	transition: color 0.2s ease-out 0s;
}
button:hover, .button:hover {
	color: var(--green) !important;
}
#files {
	padding: 10px 0;
}
#files > span {
	display: block;
}

tbody.colored:nth-child(even) {
	background-color: rgba(0,0,0,0.05);
}
tbody.colored:nth-child(even) td:first-child, tbody.colored:nth-child(even) th:first-child {
	padding-left: 10px;
}
tbody.colored:nth-child(even) tr:first-child td {
	padding-top: 0;
}
#up {
	position: fixed;
	font-size: 1cm;
	line-height: 1cm;
	color: var(--grey);
	cursor: pointer;
	right: 12vw;
	bottom: -2cm;
	border-radius: 100%;
	transition: bottom 0.2s ease-out 0s, color 0.2s ease-out 0s;
}
#up.visible {
	bottom: 1cm;
}
#up:hover {
	color: var(--green);
}

.big {
	transform: scale(2) translateY(-0.1em);
	display: inline-block;
	font-weight: 700;
}
.big.l {
	margin-right: 5px;
}
.big.r {
	margin-left: 5px;
}
.boxpic {
	width: 12vw;
	margin-right: 1vw;
}
/* mobile */
@media screen and (max-width: 700px) and (orientation: portrait) {
	#header {
		margin: 0 0 0.5cm 0;
	}
	#header > .image > h1 {
		font-size: 5vw;
		padding: 0.5em;
	}
	#ticker {
		width: 100%;
		margin: 0;
	}
	#content {
		width: 90vw;
		margin: 0.5cm 0.5em;
	}
	body {
		padding-bottom: 0;
	}
	#footer {
		background-color: var(--dark);
		width: 100vw;
		margin: 1cm 0 0 0;
		padding: 0.5cm 0vw;
	}
	#footer ul.menu > li {
		border-bottom: 0 none;
	}
	.mtoggle {
		width: 100vw;
		margin-top: -0.5cm;
		margin-bottom: 0.5cm;
		cursor: pointer;
		display: flex;
		justify-content: center;
		align-items: center;
		position: relative;
		height: 1cm;
	}
	.mtoggle.active {
		margin-bottom: 0.15cm;
	}
	.mtoggle > div {
		width: 1cm;
		position: absolute;
		top: 0.5cm;
	}
	.mtoggle > div > div {
		width: 1cm;
		height: 6px;
		border-radius: 3px;
		background-color: var(--grey);
		position: absolute;
		transition: all 0.2s ease-out;
	}
	.mtoggle > div > div:nth-child(1) {
		top: -10px;
	}
	.mtoggle > div > div:nth-child(3) {
		top: 10px;
	}
	.mtoggle:hover > div > div {
		background-color: var(--green);
	}
	.mtoggle:not(.active) + .menu {
		display: none !important;
	}
	.mtoggle.active > div > div:first-child {
		transform: rotate(45deg);
	}
	.mtoggle.active > div > div:last-child {
		transform: rotate(-45deg);
	}
	.mtoggle.active > div > div:nth-child(1) {
		top: 0;
	}
	.mtoggle.active > div > div:nth-child(2) {
		opacity: 0;
	}
	.mtoggle.active > div > div:nth-child(3) {
		top: 0;
	}
	ul.menu {
		flex-direction: column;
	}
	ul.menu li:not(:last-child) {
		border-bottom: 2px solid white;
	}
	ul.menu li > a {
		border: 0 none !important;
		text-align: center;
	}
	#teaser {
		flex-direction: column;
	}
	#teaser > div {
		margin: 0 10% 0.5em 10%;
		width: 90%;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
	}
	table {
		width: 90vw !important;
		max-width: 90vw !important;
		margin:1em 0 !important;
	}
	td, th {
		width: 90vw !important;
		max-width: 90vw !important;
		display: block;
	}
	input {
		width: 90vw !important;
		max-width: 90vw !important;
		display:block !important;
	}
	.boxpic {
		width: 70vw;
		margin-right: 1vw;
	}
}