@font-face {
	font-family: 'Comfortaa';
	src: url('../fonts/Comfortaa_Regular.ttf');
}

body {
	background-color: #e5e5e5;
	/* min-width: 1300px; */
	font-family: Comfortaa !important;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	font-size: 0.87rem;
}

/* Content */
div.content {
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	margin: 0px 0px 0px 0px;
	padding-top: 62px;
	z-index: 10;
	overflow-y: scroll;
	overflow-x: scroll;
}
div.large[class~='contentbox'] {
	width: 875px;
}
div.medium[class~='contentbox'] {
	width: 417px;
}
div.small[class~='contentbox'] {
	width: 265px;
}
div.filter {
	position: relative;
	margin: 25px 25px 0px 25px;
	padding: 0px;
	width: 875px;
	float: left;
}
div.contentbox {
	position: relative;
	margin: 20px 20px 20px 20px;
	min-width: 250px;
	max-width: 875px;
	float: left;
	background-color: #fbfbfb;
	box-shadow: 0px 0px 3px darkgray;
}
div.contentbox div.content-title {
	position: relative;
	padding: 10px 10px 0px 10px;
	border: solid #187db3;
	border-width: 0px 0px 1px 0px;
	color: #187db3;
	font-size: 1.3em;
}
div.contentbox div.content-subtitle {
	position: relative;
	border: solid #187db3;
	border-width: 0px 0px 1px 0px;
	color: darkred;
}
div.contentbox div.content-body {
	padding: 0px 10px 10px 10px;
	position: relative;
	word-wrap: break-word;
}
div.contentbox div.content-body div.title {
	color: darkred;
	font-weight: normal;
	border-color: #187db3;
	border-style: solid;
	border-width: 0px 0px 1px 0px;
	padding: 10px 5px 2px 0px;
	clear: both;
}
div.contentbox div.content-footer {
	padding: 5px 10px 5px 10px;
	border-color: #187db3;
	border-style: solid;
	border-width: 1px 0px 0px 0px;
}
a.active[class~='paginator'] {
	color: darkred;
}
div.dashboard {
	position: relative;
	margin: 20px;
	float: left;
}
div.dashboard h2 {
	margin: 0px;
	padding: 0px;
	clear: both;
}
div.linkbox {
	position: relative;
	margin: 10px 15px 10px 0px;
	float: left;
	border: 1px solid darkgray;
	box-shadow: 0px 0px 3px darkgray;
}
div.linkbox.alarm {
	border: 1px solid darkred;
}
div.linkbox:hover {
	box-shadow: 0px 0px 3px #187db3;
	cursor: pointer;
}
div.linkbox div.img {
	position: relative;
	height: 100px;
	width: 150px;
	padding: 10px;
	text-align: center;
	background-color: #fbfbfb;
}
div.linkbox > div.img > i.alarm {
	color: darkred;
}
div.linkbox div.img img {
	max-width: 80px;
	max-height: 80px;
}
div.linkbox div.text {
	position: relative;
	min-height: 40px;
	width: 150px;
	padding: 10px;
	text-align: center;
	background-color: white;
	border: solid darkgray;
	border-width: 1px 0px 0px 0px;
}
table.listing th {
	font-weight: normal;
	padding: 2px 5px 2px 5px;
}
table.listing td {
	background-color: #d2edfc;
	padding: 2px 5px 2px 5px;
}
tbody.childlist {
	border-color: black;
	border-style: solid;
	border-width: 1px 0px 0px 0px;
}
tbody.childlist tr:nth-child(even) td {
	background-color: #f5ebeb !important;
}
tbody.childlist tr:nth-child(odd) td {
	background-color: #e6d8d8 !important;
}
table.list th {
	color: darkred;
	font-weight: normal;
	border-color: #187db3;
	border-style: solid;
	border-width: 0px 0px 1px 0px;
	padding: 2px 5px 2px 5px;
}
table.list td {
	border-color: #d1d1d1;
	border-style: dotted;
	border-width: 0px 1px 0px 0px;
	padding: 2px 5px 2px 5px;
}
table.list tr:nth-child(even) td {
	background-color: #d2edfc;
}
table.list td:last-of-type {
	border-width: 0px 0px 0px 0px;
	padding: 2px 5px 2px 5px;
}
table.list tr.even td {
	background-color: #d2edfc;
}
table.list tr.odd td {
	background-color: white;
}
table.list td.searchfind {
	background-color: red !important;
}
img.smallicon {
	height: 15px;
	width: 15px;
	margin: 0px 10px 0px 0px;
}
img.mediumicon {
	height: 30px;
	width: 30px;
	margin: 0px 10px 0px 0px;
}
div.half {
	width: 50%;
}
div.left {
	float: left;
	padding: 0px 10px 0px 0px;
}
div.right {
	float: right;
	padding: 0px 0px 0px 10px;
}
/* Navigation */
i.icon {
	color: #808080;
	padding: 0px 5px 0px 5px;
}
i.icon-action {
	color: #808080;
	padding: 0px 2px 0px 2px;
}
i.dbicon {
	color: #808080;
}
ul.nav li a i.icon {
	font-size: 1.3em !important;
}
i.hinticon {
	color: darkred;
	padding: 0px 2px 0px 0px;
}
.filter_selected {
	font-weight: bold;
	color: darkred;
}
.activity_dot {
	width: 1.8em;
	height: 1.8em;
	color: white;
	float: left;
	border-radius: 1em;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0.1em;
}
.activity_bar {
	width: auto;
	height: 1.8em;
	color: white;
	float: left;
	border-radius: 1em;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.1em 1em 0.1em 1em;
}
.activity_dot.present,
.activity_bar.present {
	background-color: green;
}
.activity_dot.excused,
.activity_bar.excused {
	background-color: orange;
}
.activity_dot.absent,
.activity_bar.absent {
	background-color: red;
}
/* Header */
div#header {
	position: relative;
	display: table;
	background-color: #ffffff;
	height: 60px;
	box-shadow: 0 0 5px darkgray;
	padding: 5px;
	color: #2c3e7b;
	width: 100%;
	z-index: 20;
}
div#header:after {
	clear: both;
}

div#header div.title {
	float: left;
	font-size: 1.1em;
	padding: 2px 0px;
	font-weight: bold;
}

div#header div.oscar_logo {
	position: absolute;
	height: 100px;
	width: 60px;
	top: 10px;
	right: 10px;
	background-image: url('../images/oscar_logo_small.png');
	z-index: 1;
}
div#header div.usertext {
	position: relative;
	float: right;
	text-align: right;
	color: gray;
	padding: 5px;
}
div#header div.signout {
	position: relative;
	float: right;
	text-align: right;
	padding: 10px 5px;
}

/* Menu */
div#menuButton {
	display: table;
	padding: 10px 5px;
	float: left;
}

/* Login */
div#login-frame {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 100px 0px;
	padding: 20px;
}

/* Debug Windows */
button#debug_toggle {
	position: fixed;
	bottom: 5px;
	right: 5px;
}
div#messages {
	margin: 25px 0px 25px 25px;
	padding: 0px 25px;
}
div#messages:after {
	clear: both;
}
pre.log_append {
	width: 80%;
}
a.active {
	color: green;
}
a.inactive {
	color: red;
}
th.timerow {
	border-width: 0px !important;
	text-align: center;
	background-color: #fbeff2;
}
div.object {
	position: relative;
	min-width: 200px;
	background-color: #ececec;
	border-color: #cdcdcd;
	border-style: solid;
	border-width: 1px;
	border-radius: 4px;
	float: left;
	text-align: center;
	vertical-align: middle;
	margin: 5px;
}
a div.object {
	color: #000000;
}
div.paginator {
	margin: 20px;
}

div#navigation {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 300px;
	min-height: 100%;
	padding: 62px 0px 0px 0px;
	background-color: #192a67;
	float: left;
	display: none;
	z-index: 15;
}
div.navigation {
	position: relative;
}
div#navigation > div.datetime > div.time,
div#navigation > div.datetime > div.date {
	position: relative;
	text-align: center;
	color: white;
	float: none;
	margin: 5px 10px;
	font-size: 2em;
}
div#navigation > div.interventionCounter {
	color: white;
	text-align: center;
	margin: 5px 10px;
	font-size: 1.1em;
}
div.navigation div.title {
	position: relative;
	padding: 5px 20px;
	background-color: #193d67;
	color: white;
	font-size: 1.1em;
}
div.navigation > ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}
div.navigation > ul > li {
	color: white;
	margin: 0px 0px;
	padding: 5px 25px;
	border-style: solid;
	border-width: 0px 0px 1px 0px;
	border-color: #193d67;
}
div.navigation > ul > li:hover {
	background-color: #193d67;
}
div.navigation > ul > li > a > i {
	color: white;
	padding-right: 15px;
}
div.navigation > ul > li > a {
	color: white;
	text-decoration: none;
}
div.navigation > ul > li > a:hover {
	text-decoration: none;
}
div#userButton {
	display: table;
	padding: 11px 5px;
	float: right;
	text-align: right;
}
div#userframe {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 300px;
	padding: 62px 0px 0px 0px;
	background-color: #192a67;
	float: right;
	display: none;
	z-index: 15;
}
div.startscreen {
	margin: 15px 10px 0px 10px;
	width: 100%;
	text-align: center;
	color: darkred !important;
	font-size: 1.3em !important;
}
nav.navbar {
	/* background-color: #192a67; */
}
div.shift,
div.element {
	background-color: #ffffff;
	border-radius: 4px;
	box-shadow: 0 0 5px #a2c3e5;
	margin: 0px 0px 15px 0px;
	padding: 0px;
	display: table;
	float: left;
	width: 100%;
}
div.shift > div.block.blockHeight,
div.shift > div.block > div.time.blockHeight {
	min-height: 51px;
}
div.shift > div.block > div.time {
	padding: 5px;
	width: 110px;
}
div.shift > div.block > div.position {
	padding: 5px;
	/* height: 50px; */
	width: 100%;
	display: inline;
}
div.shift > div.block > div.position.empty,
div.shift > div.block.actualyShift > div.position.empty {
	display: none;
}
div.shift > div.block.afterShift {
	display: none;
}
div.shift > div.block.afterShift:nth-child(odd) {
	background-color: #dfdfdf;
}
div.shift > div.block.afterShift:nth-child(even) {
	background-color: #cdcdcd;
}
div.shift > div.block.afterShift.dontHide {
	display: table-row;
}
div.shift > div.block.actualyShift > div.position > div.emploi {
	padding: 0px;
	display: inline;
}
div.shift > div.block > div.position > div.name {
	padding: 0px;
}
div.shift > div.block.actualyShift > div.time > span.shiftstatus {
	display: inline;
}
div.shift > div.block > div.time > span.shiftstatus {
	display: none;
}
div.shift.alarmInfo {
	width: 345px;
}
.shiftstatus {
	width: 5px;
}
.COMPLETE {
	background-color: rgba(6, 214, 160, 0.8);
}
.PARTIAL {
	background-color: #009fe3;
}
.DEGRADED {
	background-color: rgba(89, 109, 255, 0.8);
}
.INCOMPLETE {
	background-color: rgba(255, 89, 100, 0.8);
}
.EMPTY {
	background-color: rgba(193, 0, 46, 0.8);
}
div.element > div.block {
	display: table-row;
	margin: 0px;
	padding: 5px;
	float: left;
	width: 100%;
}
div.stichwort {
	text-align: center;
	font-size: 3em;
	background-color: #2c3e7b;
	color: white;
	border-radius: 10px;
	overflow: hidden;
}
div.adresse {
	font-size: 1.7em;
	color: #2c3e7b;
	text-align: left;
}
div.sachverhalt {
	font-size: 1.5em;
	color: #2c3e7b;
	text-align: left;
}
div#firstMap,
div#secondMap {
	width: 100%;
	height: 400px;
}
div.row-striped:nth-of-type(even) {
	background-color: #a1b7d1;
}
div.row.thead {
	font-size: 1.2rem;
}
.small-hidden {
	display: none;
}
div.container {
	margin-left: unset;
	margin-right: unset;
}
div#debugmsg {
	z-index: 999;
	position: absolute;
	top: 100px;
	left: 100px;
	width: 50%;
	height: 50%;
	background-color: white;
}

.green {
	color: green;
}
.red {
	color: darkred;
}
.own-shift {
	font-weight: bold;
	font-size: 1em;
	color: blue;
}
h3 {
	clear: both;
}
i.weather {
	font-size: 5em;
}
.weather_warning {
	text-align: center;
	font-size: 1.5em;
	color: red;
}
.weather_warning_date {
	text-align: center;
	color: red;
}
.weather_warning_description {
	text-align: center;
	color: red;
	max-width: fit-content;
}
.event > .date {
	display: inline-block;
	background-color: #aaaaaa;
	color: #fbfcfb;
	padding: 5px 0px;
	font-size: 2em;
	border-radius: 5px;
	width: 50px;
}
.event > .summary {
	font-size: 1.2em;
	font-weight: bolder;
}
.event > .text > i:nth-of-type(2) {
	margin-left: 10px;
}
div.dataTables_paginate ul.pagination {
	justify-content: center !important;
}
/*div.element {
	background-color: #ffffff;
	border-radius: 4px;
	box-shadow: 0 0 5px #a2c3e5;
	margin: 0px 0px 25px 0px;
	display: table;
	float: left;
} */
div.element div.title {
	background-color: #2c3e7b;
	color: #ffffff;
	border-radius: 4px 4px 0px 0px;
	padding: 5px 15px 5px 15px;
	margin: 0px;
	text-align: left;
}
div.element .name {
	font-size: 1.2em;
	margin: 10px 0px;
	text-align: center;
}
div.element .number {
	text-align: center;
}

div.element#weather,
div.element#hospital {
	max-width: 370px;
}

/*
	*	Enrollment
	*/
table.enroll tbody tr {
	border-width: 0px;
}
a.enroll {
	border: 1px solid darkgray;
	box-shadow: 0px 0px 3px darkgray;
	padding: 5px 0px;
	margin: 5px 0px;
	text-align: center;
	text-decoration: none;
	color: black;
}
a.enroll.enroll_yes {
	background-color: rgba(0, 251, 0, 0.02);
}
a.enroll.enroll_no {
	background-color: rgba(251, 0, 0, 0.02);
}
a.enroll.enroll_check,
a.enroll:hover {
	border-width: 1px;
	font-weight: bold;
}
a.enroll.enroll_check.enroll_yes {
	background-color: rgba(0, 251, 0, 0.05);
	font-weight: bolder;
}
a.enroll.enroll_check.enroll_no {
	background-color: rgba(251, 0, 0, 0.05);
	font-weight: bolder;
}

#popup {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(86, 86, 86, 0.667);
	z-index: 50;
	display: none;
	align-items: center;
	justify-content: center;
}
#popup_container {
	border: 1px solid darkgray;
	box-shadow: 0 0 5px darkgray;
	background-color: white;
	min-width: 250px;
	border-radius: 5px;
}
#popup_header {
	width: 100%;
	font-size: 1.2em;
	border-width: 0px 0px 1px 0px;
	border-style: solid;
	border-color: darkgray;
	text-align: right;
	padding: 5px 10px;
	display: flex;
	justify-content: space-between;
}

/*
	* BREAKPOINT @ 768px
	*/

@media only screen and (min-width: 768px) {
	div#login-frame,
	div.container-register {
		margin-left: -300px;
	}
	div#navigation {
		display: block;
	}
	div#menuButton {
		display: none;
	}
	div.content {
		padding-left: 300px;
	}
	div.shift,
	div.element {
		width: auto;
		margin: 0px 15px 15px 0px;
	}
	div.shift > div.block {
		display: table;
		max-width: 560px;
	}
	div.shift > div.block.afterShift {
		display: table-row; /* UPDATE */
	}
	div.shift > div.block > div.time {
		max-width: 110px;
		border-top-width: 0px;
	}
	div.shift > div.block > div.time.section {
		/* height: 100px; */
	}
	div.shift > div.block > div.position {
		max-width: 150px;
	}
	div.shift > div.block > div.position.empty,
	div.shift > div.block.actualyShift > div.position.empty {
		display: inline;
	}
	div.shift > div.block > div.position.shift_COMPLETE,
	div.position.shift_INCOMPLETE,
	div.position.shift_DEGRADED,
	div.position.shift_PARTIAL,
	div.position.shift_EMPTY {
		border-width: 0px;
	}
	div.element,
	div.element > div.block,
	div.shift {
		min-width: 260px; /* 235 */
	}
	div.adresse {
		font-size: 2.5em;
	}
	div.sachverhalt {
		font-size: 1.7em;
	}
	div#firstMap {
		margin: 25px 0px;
		width: 70%;
		float: left;
	}
	div#secondMap {
		margin: 25px 0px;
		width: 30%;
		float: left;
	}
	.small-hidden {
		display: block;
	}
	th.small-hidden,
	td.small-hidden {
		display: table-cell;
	}
}

/*
	* BREAKPOINT @ 768px
	*/

@media only screen and (min-width: 1340px) {
	div.shift > div.block {
		display: table;
		/* max-width: 1015px; */ /*UPDATE*/
	}
	div.shift > div.block > div.time.section {
		/* height: 50px; */
	}
}

::-webkit-scrollbar {
	width: 0; /* Remove scrollbar space */
	background: transparent; /* Optional: just make scrollbar invisible */
}
