
/* Allgemein */
@font-face { font-family: 'Dinot';
	src: url('dinot.otf') format('opentype');
	}	 
body {
	font-family: 'Dinot', Verdana, Arial, sans-serif!important;
}


/* Testmodus */
.testMode {
	padding: 8%;
}


/* Header */

.powered {
	background: #005B6E;
	color: white;

	padding-left: 1em;
	padding-right: 1em;

	display: flex;
	justify-content: center;
}
.power {
	font-size: .8em;
	white-space:nowrap;
	display: flex;
	align-items: center;
	margin-right: 2em;
	padding-left: 1em;
}

.powered > img {
	height: 2em;
	max-width: 70%;
}

.navigation {
	display: flex;
	justify-content: center;

	margin: 1em;
}

.navigation > nav {
	width: 40em;
}

.navigation img {
	border-radius: 6px;
}

.steps {
	display: flex;
	justify-content: space-between;
	align-items: center;	
}

.stepButton {
	width: 2em;
}

img.current {
	background-color: rgb(246,160,0);
}

img.active {
	background-color: rgb(192,228,237);
}

img.current:hover, 
img.active:hover {
	background-color: rgb(255,255,255);
}

/* Main */
main {
	display: flex;
	justify-content: center;
}

/* Views */
.view, .calendarview, .errorview {
	display: flex;
	justify-content: center;
	align-items: center;

	margin: 1em;
	max-width: 40em;
}

.view > .message > .message-header, 
.calendarview > .message > .message-header,
.errorview > .message > .message-header,
.view > .message > .message-body, 
.calendarview > .message > .message-body {
	min-width: 18em;
}


.view > .message > .message-header, 
.calendarview > .message > .message-header,
.errorview > .message > .message-header {
	text-transform: uppercase;
	font-weight:200;
	justify-content: center;
}

.view > .message > .message-header, 
.calendarview > .message > .message-header {
	background-color:rgb(0,91,109);
}

.view > .message > .message-body, 
.calendarview > .message > .message-body {
	background-color:rgb(192,228,237);
}

.errorview > .message > .message-header {
	background-color:rgb(246,160,0);
	color:black;
}

.button {
	text-transform: uppercase;
	font-weight:300;
	color: white;
	width: 100%;
	margin-top: 0.5em;
	margin-bottom: 1em;
}

.buttontext {
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.buttoninfo {
	white-space:normal;
	text-transform: none;
	line-height: 1.0;
	font-size: 70%;
}

button.picture {
	justify-content: start;
}

img.buttonpic {
	width: 1.9em;
	margin-right: 1em;
}

.lecture-button {
	max-width: 40em;
}

.lecture-button > .button {
	display: block;
	white-space:normal;
	height: auto;
}

.lecture-button > .button > hr {
	height: 0.5px ;
	margin: 0.5em;
}

.lecture-info  {
	font-size: 85%;
	text-transform: none;
}

lecture-time:first-child {
	margin-right: 1em;
}

lecture-place {
	display: block;
}

.lecture-text {
	text-transform: none;
}

.view > .message > .message-body .button {
	background-color:rgb(0,91,109);
	color:white;
}

.view > .message > .message-body a:hover {
	text-decoration: underline;
}

.view > .message > .message-body a:hover,
.view > .message > .message-body .button:hover {
	color:rgb(246,160,0);
}

.view > .message > .message-body a:disabled,
.view > .message > .message-body .button:disabled {
	color:white;
}

.view > .message > .message-body .button:hover hr {
	background-color:rgb(246,160,0);
}

.errorview > .message > .message-body .button {
	background-color:rgb(246,160,0);
	color:black;
}

.errorview > .message > .message-body .button:hover {
	color:white;
}

.select {
	margin-bottom: 0.8em;
}

.select select {
	min-width: 7.5em;
}

input {
	margin-bottom: 0.8em;
}

@media (min-width: 0em) {
	/* Mehrzeilige Eingabe */
	line {
		display: block;
	}
	
	field:first-of-type {
		padding-right: 0;
	}
	
	field:last-of-type {
		padding-left: 0;
	}
	printListShort {
		display: block;
	}
	printListLong {
		display: none;
	}
}

@media (min-width: 30em) {
	/* Einzeilige Eingabe */
	line {
		display: flex;
		justify-content: space-between;
	}
	
	longField:not(:first-child) {
		padding-left: 1.2em;
	}

	longField {
		width: 100%;
	}

	smallField {
		max-width: 7.5em;
	}	

	line > .button:first-child {
		margin-right: 2em;
	}
	
	line > .button:last-child {
		margin-left: 2em;
	}

	line > div {
		display: flex;
		align-items:center;
	}

	line > div > label {
		margin-right: 1em;
		white-space: nowrap;
	}

	.code {
		margin-bottom: 0em;
	}

	printListShort {
		display: none;
	}

	printListLong {
		display: block;
	}
}

codeline {
	margin-top: 0.6em;
	margin-bottom: 0.4em;
	display: block;
}

.button {
	margin-top: 1.2em;
}

buttonline {
	display: flex;
	align-items:center;
}

buttonline > .button:first-child {
	margin-right: 1.5em;
}

buttonline > .button:last-child {
	margin-left: 1.5em;
}


