:root {
	--clr-portal: rgba(24, 129, 137, 1);
}
* {
	margin: 0;
	padding: 0;
	outline: none;
	box-sizing: border-box;
	font-family: arial;
}
h2 {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
body,
html {
	min-height: 100vh;
}
body {
	font-size: 16px;
	font-family: 'Arial';
	margin: 0;
	padding: 1em;
}

nav {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	padding: 1.5em;
	background-color: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border-bottom: 1px solid var(--clr-portal);
}
nav a {
	margin-right: 2em;
}
nav a.active {
	background-color: var(--clr-portal);
	color: white;
	padding: 1em;
}

table {
	margin: 0;
	padding: 0;
	width: 100%;
	border: 1px solid var(--clr-portal);
}

th,
td {
	text-align: left;
	font-size: inherit;
	font-weight: normal;
	padding: 0.5em;
}
tr th {
	background-color: var(--clr-portal);
	color: white;
	white-space: nowrap;
}

tr:nth-of-type(odd) td {
	background-color: rgba(0, 0, 0, 0.1);
}

tr.odd td {
	background-color: rgba(0, 0, 0, 0.1);
}
tr.cancelled td {
	text-decoration: line-through;
	color: red;
}
tr.total td {
	background-color: black;
	color: white;
	font-size: 1.1em;
}

td.day > div {
	color: white;
	padding: 0.25em;
	border-radius: 5px;
	text-align: center;
}
td.day.mo > div {
	background-color: color-mix(in srgb, red 90%, black 10%) !important;
}
td.day.tu > div {
	background-color: color-mix(in srgb, blue 90%, black 10%) !important;
}
td.day.we > div {
	background-color: color-mix(in srgb, green 90%, black 10%) !important;
}
td.day.th > div {
	background-color: color-mix(in srgb, orange 90%, black 10%) !important;
}
td.day.fr > div {
	background-color: color-mix(in srgb, magenta 90%, black 10%) !important;
}

tr:not(.total):hover td {
	background-color: color-mix(in srgb, var(--clr-portal) 25%, white 75%);
}

a {
	position: relative;
	top: 0;
	left: 0;
	text-decoration: none;
	color: var(--clr-portal);
}
a::before {
	content: '\203A';
	margin-right: 0.25em;
}
a:hover {
	color: black;
	border-bottom: 1px solid var(--clr-portal);
}
a:visited {
	color: color-mix(in srgb, var(--clr-portal) 50%, black 50%);
}
a:visited::before {
	color: var(--clr-portal);
}
a.noicon::before {
	content: '';
	display: none;
}

input {
	font-size: inherit;
	padding: 0.25em;
	border: 1px solid var(--clr-portal);
}

button {
	font-size: inherit;
	padding: 0.25em;
	outline: none;
	border: 1px solid transparent;
	background-color: var(--clr-portal);
	color: white;
	margin-left: 0.25em;
}
button.check {
	background-color: green;
}
button.cancel {
	background-color: darkred;
}

.switch {
	width: 1.25em;
	height: 1.25em;
	border-radius: 50%;
	background-color: blue;
	display: inline-block;
}
.switch.yes {
	background-color: green;
}
.switch.no {
	background-color: red;
}

.qty {
	display: inline-block;
	width: 50px;
}

.omapost {
	display: none;
	font-size: 1em;
	line-height: 1em;
	padding-top: 0;
	padding-bottom: 0;
	margin: 0;
}

.total a {
	color: white;
}
.total a:hover {
	color: color-mix(in srgb, var(--clr-portal) 50%, white 50%);
}

.comments {
	margin-top: 0.5em;
	background-color: rgba(0, 0, 0, 0.15);
	font-size: 0.8em;
	line-height: 1.25rem;
	padding: 0.5em;
	border-radius: 0.5em;
	max-width: 550px;
}

a:has(.icon)::before {
	content: '';
	display: none;
}
a:has(.icon) {
	background-color: white;
	border: 1px solid var(--clr-portal);
	vertical-align: center;
	padding: 0.25em;
	padding-bottom: 0px;
	margin-right: 0.25em;
	border-radius: 0.25em;
}
a:has(.icon):hover {
	background-color: var(--clr-portal);
	color: white;
}
.icon {
	display: inline-block;
}
.icon::before {
	content: attr(icon);
	font-family: 'Material Icons';
	line-height: inherit;
	vertical-align: center;
	display: inline-block;
	margin: 0;
	padding: 0;
}

select {
	font-size: inherit;
	padding: 0.5em;
}

button {
	cursor: pointer;
}
button:hover {
	background-color: color-mix(in srgb, var(--clr-portal) 75%, white 25%);
}

.message {
	border: 1px solid green;
	background-color: lightgreen;
	color: black;
	padding: 1em;
	margin-bottom: 1em;
}

.error {
	border: 1px solid red;
	background-color: pink;
	color: black;
	padding: 1em;
	margin-bottom: 1em;
}

button {
	padding: 0.5em;
	border-radius: 0.5em;
}

div.center {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	display: grid;
	place-content: center;
}
div.center h1 {
	font-weight: 100;
}
div.center input,
div.center button {
	width: 350px;
}
div.center input {
	font-size: inherit;
	padding: 0.5em;
	margin-top: 1em;
	margin-bottom: 1em;
}
