@font-face {
	font-family: Graviola;
	src: url("../../resources/fonts/Harbor Type - Graviola-Regular.otf") format("opentype");
}

@font-face {
	font-family: Graviola;
	font-weight: bold;
	src: url("../../resources/fonts/Harbor Type - Graviola-Heavy.otf") format("opentype");
}

@font-face {
	font-family: Graviola;
	font-style: italic;
	src: url("../../resources/fonts/Harbor Type - Graviola Italic.otf") format("opentype");
}

@font-face {
	font-family: Graviola;
	font-style: italic;
	font-weight: bold;
	src: url("../../resources/fonts/Harbor Type - Graviola Heavy Italic.otf") format("opentype");
}

:root {
	--default-shadow: 0 0 0.3em rgba(0, 0, 0, 0.25);
	--default-shadow: 0 0 0.756em rgba(0, 0, 0, 0.4);
	--large-shadow: 0 0 1.89em rgba(0, 0, 0, 0.5);
}

* {
	font-family: Graviola;
}

body {
	margin: 0;
	padding: 0;
	font-size: 1em;
	height: 100%;
}

h1 {
	font-weight: normal;
}

input:not([type="radio"]), button, select, a.button, textarea {
	padding: 0.7rem;
	font-size: 1em;
	border-radius: 0.7rem;
	border: none;
	box-shadow: var(--default-shadow);
	background-color: #FFFFFF;
	box-sizing: border-box;
	margin: 0;
	vertical-align: middle;
	-webkit-appearance: none;
	text-decoration: none;
	color: #000000;
	cursor: default;
}

input:not([type="radio"]), select {
	width: 15em;
}

textarea {
	width: 100%;
}

button:active, a.button:active {
	background-color: #EAEAEA;
	color: #000000;
}

select, input[list] {
	border-right: 2em solid #777777;
}

input[type="date"] {
	font-size: 0.8em;
}

.header {
	background-color: #FFFFFF;
	box-shadow: var(--default-shadow);
}

.header .motd-box {
	text-align: right;
	padding-right: 1em;
}

.header .motd-label {
	font-size: 1.89em;
	font-style: italic;
	display: block;
}

.header .date-label {
	display: block;
}

.header a {
	font-size: 1.89em;
	color: inherit;
	display: inline-block;
	padding: 0.2em;
	border-radius: 0.3em;
	text-decoration: none;
}

.header a:hover {
	background-color: rgba(0, 0, 0, 0.1);
}

.header a:active {
	background-color: rgba(0, 0, 0, 0.2);
}

.footer {
	box-shadow: var(--default-shadow);
}

.footer .news-container {
	border-top: 0.05em solid rgba(0, 0, 0, 0.5);
}

.with-background {
	background-color: rgba(245, 245, 245, 1);
	box-shadow: var(--default-shadow);
}

.embed-container img {
	box-shadow: var(--default-shadow);
}

.embed-container .page-label {
	position: absolute;
	bottom: 2em;
	left: 2em;
	padding: 0.5em;
}

.embed-thumbnail-container img {
	height: 5em;
	box-sizing: border-box;
	border: 0.5em solid rgba(245, 245, 245, 1);
	border-radius: 0.5em;
	box-shadow: var(--default-shadow);
}

.embed-thumbnail-container img:not(:last-child) {
	margin-right: 2%;
}

.embed-thumbnail-container img.active {
	border-color: #FFED00;
}

.message-overlay {
	padding: 1.5em;
	text-align: center;
	box-sizing: border-box;
	border-bottom: 0.05em solid rgba(0, 0, 0, 0.5);
	background-color: rgba(245, 245, 245, 1);
	box-shadow: var(--small-shadow);
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

.message-overlay h1 {
	font-size: 3.5em;
}

.message-overlay p, .message-overlay #custom-welcome-message {
	font-size: 2.1em;
}

.group-container {
	margin-bottom: 2.52em;
	text-align: center;
}

.group-container > label {
	font-size: 1.26em;
	border-bottom: 0.138em solid #D02D26;
	padding-bottom: 0.151em;
	display: inline-block;
	margin-bottom: 0.567em;
	text-shadow: 0 0 0.8em rgba(255, 255, 255, 1);
}

.list-entry {
	padding: 0.441em;
	border-radius: 0.63em;
	background-color: #FFFFFF;
	box-shadow: var(--default-shadow);
	margin-top: 1em;
	font-size: 1.25em;
	text-align: left;
}

.list-entry > table {
	width: 100%;
}

.list-entry .title-cell {
	width: 17%;
}

.list-entry .detail-cell {
	width: 23%;
}

.list-entry td label {
	font-style: italic;
	opacity: 0.5;
	font-size: 0.95em;
	display: block;
	margin-bottom: 0.2em;
}

.list-entry td .title-label {
	font-weight: bold;
	display: block;
	margin-bottom: 0.2em;
}

.list-entry td label:not(:first-child) {
	margin-top: 0.315em;
}

.list-entry .room-cell {
	width: 15%;
}

.list-entry .time-cell {
	text-align: center;
	width: 10%;
}

.list-entry .time-cell span {
	display: block;
	font-size: 1.1em;
}

.list-entry .time-cell .time-line {
	width: 0.05em;
	background-color: rgba(0, 0, 0, 0.5);
	height: 0.63em;
	margin-left: 50%;
}

.error-message {
	padding: 1em;
	background-color: rgba(255, 100, 100, 0.7);
	backdrop-filter: blur(1em);
	-webkit-backdrop-filter: blur(1em);
}

.hint {
	font-style: italic;
	color: rgba(0, 0, 0, 0.5);
	font-size: 0.7em;
}