/* Accessibility helpers */

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	padding: 0.75rem 1.25rem;
	background: var(--uoedark-color, #003c3c);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
	left: 0.75rem;
	top: 0.75rem;
	outline: 3px solid var(--uoehighlight-color, #00dca5);
	outline-offset: 2px;
}

:focus {
	outline: none;
}

:focus-visible {
	outline: 3px solid var(--uoedark-color, #003c3c);
	outline-offset: 2px;
}

.dark :focus-visible,
.menu-1 :focus-visible,
.back-to-top:focus-visible,
.menu-toggle:focus-visible {
	outline-color: var(--uoehighlight-color, #00dca5);
}

.menu-1 a:focus-visible {
	outline: 3px solid var(--uoehighlight-color, #00dca5);
	outline-offset: 2px;
}

.back-to-top {
	display: none;
	position: fixed;
	bottom: 14px;
	right: 20px;
	z-index: 99;
	border: none;
	color: white;
	cursor: pointer;
	padding: 12px 16px;
	min-width: 44px;
	min-height: 44px;
	border-radius: 0;
	font-size: 17px;
	opacity: 0.5;
	background: var(--uoedark-color, #003c3c);
}

.back-to-top.is-visible {
	display: block;
}

.back-to-top:hover,
.back-to-top:focus-visible {
	opacity: 1;
}

.menu-toggle {
	min-width: 44px;
	min-height: 44px;
}

.overlay[hidden] {
	display: none !important;
}

.overlay .closebtn {
	border: 0;
	background: transparent;
	cursor: pointer;
	font: inherit;
	color: inherit;
	min-width: 44px;
	min-height: 44px;
}

.visually-hidden,
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	.fade-in {
		opacity: 1;
		transform: none;
		transition: none;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
