header {
	/* This is only for screen readers */
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	white-space: nowrap;
}
@media (min-width: 769px) {
	header {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 60px;
		max-height: 60px;
	}
}

header h1 {
	pointer-events: none;
	opacity: 0;
}

nav.header.desktop {
	background-color: var(--headercolor);
	height: var(--headerheight);
	position: absolute;
	width: 100%;
	max-height: var(--headerheight);
	z-index: 999;
}
@media (max-width: 768px) {
	nav.header.desktop {
		display: none;
	}
}
@media (min-width: 769px) {
	nav.header.desktop {
		display: block;
	}
}

nav.header.desktop ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	line-height: calc(var(--headerheight) - 4px);
	height: 50px;
}

nav.header.desktop ul li {
	margin: 0 10px;
}

nav.header.desktop ul li a {
	color: var(--navcolor);
	text-decoration: none;
	font-size: 11px;
	font-weight: 600;
	display: inline-block;
	transition: background-color 0.2s ease, color 0.2s ease;
}

nav.header.desktop ul li a:not(.home) {
	border-bottom: 3px solid #00000000;
	transition: border-bottom-color 0.2s ease, color 0.2s ease;
}

nav.header.desktop ul li a:not(.home):hover {
	border-bottom: 3px solid var(--navhilite);
	color: var(--navhilite);
}
nav.header.desktop [aria-current="page"]:not(.home) {
	border-bottom: 3px solid var(--navhilite);
}
nav.header.desktop .home {
	color: #040e1800;
	position: relative;
	line-height: 76px;
}
nav.header.desktop .home img {
	width: 36px;
	height: auto;
	transition: opacity 0.3s ease;
}
nav.header.desktop .home .home-icon {
	width: 36px;
	height: 32px;
}
nav.header.desktop .home .home-icon path {
	transition: fill 0.2s ease;
	fill: var(--navcolor);
}
nav.header.desktop .home:hover .home-icon path,
nav.header.desktop [aria-current="page"].home .home-icon path {
	fill: var(--navhilite);
}

nav.header.desktop .home .home-label {
	pointer-events: none;
	user-select: none;
	position: absolute;
	background-color: var(--navhilite);
	color: white;
	width: 80px;
	height: 24px;
	text-align: center;
	line-height: 24px;
	left: 50%;
	transform: translateX(-50%);
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	transition: opacity 0.2s ease, height 0.2s ease;
	opacity: 0;
	bottom: 5px;
}

nav.header.desktop .home:hover .home-label {
	opacity: 1;
}

.menu-toggle {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 30px;
	height: 30px;
	cursor: pointer;
	z-index: 999;
	background-color: var(--headercolor);
	padding: 4px 5px 5px 5px;
}
@media (max-width: 768px) {
	.menu-toggle {
		display: block;
	}
}
@media (min-width: 769px) {
	.menu-toggle {
		display: none;
	}
}

.menu-toggle.active .menu-toggle-icon-open {
	display: none;
}

.menu-toggle:not(.active) .menu-toggle-icon-close {
	display: none;
}

nav.header.mobile {
	height: 0;
	width: 100%;
	position: absolute;
	color: var(--navcolor);
	background-color: var(--headercolor);
	overflow: hidden;
	padding: 0 20px;
	top: 0;
	z-index: 998;
}
@media (max-width: 768px) {
	nav.header.mobile {
	}
}
@media (min-width: 769px) {
	nav.header.mobile {
		display: none !important;
	}
}

nav.header.mobile.active {
	height: unset;
	padding: 20px 20px;
}

nav.header.mobile ul {
	list-style-type: none;
}

nav.header.mobile ul li {
	margin-bottom: 0.4em;
}
nav.header.mobile ul li a {
	color: var(--navcolor);
	text-decoration: none;
	font-size: 2em;
	line-height: 10vh;
	display: inline-block;
	transition: background-color 0.3s;
}

.menu-toggle {
}
