/* Fonts */
@font-face {
	font-family: "Noto Sans";
	src: url('/static/NotoSans-VariableFont_wdth,wght.ttf') format("truetype");
}

@font-face {
	font-family: "Noto Serif";
	src: url('/static/NotoSerif-VariableFont_wdth,wght.ttf') format("truetype");
}

@font-face {
	font-family: "Jacquard 12";
	src: url('/static/Jacquard12-Regular.ttf') format("truetype");
}

body {
	font-family: 'Noto Sans', 'Segoe UI Emoji', ' Apple Color Emoji', sans-serif;
	margin: 0;
}

main {
	margin: 0px;
	max-width: 60rem;
	margin: 2rem auto;
	padding: 1rem;
	background-color: white;
	border: 1px solid black;
	box-shadow: 2px 2px #ccc;
}

h1,
h2,
h3,
h4 {
	font-family: 'Noto Serif';
}

header h1 {
	margin: 0px;
}

.logo {
	text-decoration: none;
	color: inherit;
	font-family: "Jacquard 12";
	font-weight: 400;
	font-style: normal;
}

header ul {
	display: flex;
	justify-content: space-between;
	list-style: none;
	padding: 0px;
}

header ul li {
	width: 15%;
	text-align: center;
}

header ul li a {
	width: 100%;
	text-decoration: none;
	color: inherit;
}

.flash {
	width: calc(100% - 3em);
	display: inline-block;
	background-color: #ff000080;
	border: 1px solid black;
	box-shadow: 2px 2px #ccc;
	padding: 0.25em;
	margin: 1em;
}

.btn {
	display: inline-block;
	border: 1px solid black;
	box-shadow: 2px 2px #ccc;
	padding: 0.1em;
}

.btn:hover {
	background-color: black;
	color: white;
}

.search-container {
	position: relative;
}

.search-container .suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1000;
	background-color: white;
}

a.search-suggestion {
	text-decoration: none;
}

a.search-suggestion .search-desc {
	color: grey;
}

table {
	/* width: 100%; */
	border: 1px solid black;
	border-collapse: collapse;
	box-shadow: 2px 2px #ccc;
}

table th {
	padding: 0.5em;
}

table td {
	border: 1px dashed black;
	padding: 0.5em;
}

table td.action:hover {
	background-color: black;
	color: white;
}

input[type="text" i] {
	border: 1px solid black;
	box-shadow: 2px 2px #ccc inset;
	padding: 0.5em;
}

select {
	border: 1px solid black;
	box-shadow: 2px 2px #ccc;
	padding: 0.1em;
	margin-left: 1em;
	margin-right: 1em;
}

.tabs {
	border-bottom: 1px solid black;
	align-content: center;
	height: 3em;
}

.tabs .tab_btn {
	padding: 1em 1em;
}

.tabs .tab_btn:hover {
	background-color: lightgray;
}

.tabs .tab_btn.active {
	font-weight: bold;
}

.sidebar {
	width: 20em;
	position: fixed;
	top: 5em;
	right: calc(100% / 2 + 30em + 1em);
	/* z-index: -1; */
	background-color: white;
	border: 1px solid black;
	box-shadow: 2px 4px 0px -2px #ccc;
	padding: 1em;
}

.sidebar img {
	max-width: 64px;
	max-height: 64px;
	aspect-ratio: 1;
	/* margin-left: 10px; */
}

.sidebar ul {
	list-style: none;
	/* font-size: 1.5em; */
	margin: 0;
	padding: 0;
}

.sidebar ul li {
	margin: 0;
	padding: 0.5em 0;
}

.sidebar ul li a {
	text-decoration: none;
	color: inherit;
}

.sidebar ul li a:hover {
	text-decoration: underline;
}