/* Accessibility options panel (above the cookie notice). */
.tp-a11y-panel {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 100001;
	width: 300px;
	max-width: calc(100vw - 40px);
	max-height: calc(100vh - 40px);
	overflow: auto;
	box-sizing: border-box;
	padding: 16px;
	background: #14233b;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 4px;
	font-size: 16px;
	line-height: 1.4;
	text-align: left;
}
.tp-a11y-panel[hidden] {
	display: none;
}
.tp-a11y-panel p.tp-a11y-h {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}
.tp-a11y-panel p.tp-a11y-l {
	margin: 8px 0 6px;
	font-size: 16px;
	color: #fff;
}
.tp-a11y .tp-a11y-panel button {
	display: block;
	width: 100%;
	min-height: 44px;
	margin: 0 0 8px;
	padding: 8px 12px;
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 2px;
	box-shadow: none;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}
.tp-a11y .tp-a11y-panel button:hover {
	background: #2b3f60;
}
.tp-a11y .tp-a11y-panel button[aria-pressed="true"] {
	background: #fff;
	color: #14233b;
	font-weight: 700;
}
.tp-a11y-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 8px;
}
.tp-a11y-panel a.tp-a11y-stmt {
	display: block;
	padding: 8px 0 2px;
	color: #fff;
	font-size: 16px;
	text-decoration: underline;
}
.tp-a11y-panel :focus-visible {
	outline: 3px solid #ffff00;
	outline-offset: 2px;
}

/* Footer link: a button that reads like the links beside it. */
#footer .tp-a11y-link {
	color: #fff;
}

/* Display options chosen by the visitor. */
html.tp-t1 body { zoom: 1.1; }
html.tp-t2 body { zoom: 1.25; }
html.tp-t3 body { zoom: 1.5; }
@media (max-width: 600px) {
	html.tp-t3 body { zoom: 1.25; }
}
html.tp-ul a {
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 3px;
	font-weight: 700 !important;
}

/* High contrast: black, white text, yellow links. */
html.tp-hc,
html.tp-hc body,
html.tp-hc body *:where(:not(img, svg, path, video, iframe)) {
	background-color: #000 !important;
	color: #fff !important;
	text-shadow: none !important;
	box-shadow: none !important;
}
/* The header and menu set their backgrounds with ID selectors. */
html.tp-hc body #header,
html.tp-hc body #page #header #mega-menu-wrap-primary #mega-menu-primary,
html.tp-hc body #page #header #mega-menu-wrap-primary #mega-menu-primary li {
	background: #000 !important;
}
/* The Log In button keeps a white face without this. */
html.tp-hc body #page #header a,
html.tp-hc body #page #header a *:not(img) {
	background: #000 !important;
}
html.tp-hc body #page #header a img {
	background: transparent !important;
}
html.tp-hc body :is(input, textarea, select) {
	border: 1px solid #fff !important;
}
html.tp-hc body a,
html.tp-hc body a *,
html.tp-hc body #page #header #mega-menu-wrap-primary #mega-menu-primary a {
	color: #ffff00 !important;
	text-decoration: underline !important;
}
html.tp-hc body :is(button, input[type="submit"], .btn) {
	border: 1px solid #fff !important;
}
html.tp-hc body :is(button, input[type="submit"], .btn):hover,
html.tp-hc body :is(button, input[type="submit"], .btn):hover *,
html.tp-hc body .tp-a11y-panel button[aria-pressed="true"] {
	background-color: #fff !important;
	color: #000 !important;
}
html.tp-hc body :focus-visible {
	outline: 3px solid #ffff00 !important;
	outline-offset: 2px;
}
html.tp-hc body * {
	background-image: none !important;
}
html.tp-hc body .custom-logo-link img,
html.tp-hc body img[src*="logo" i] {
	filter: brightness(0) invert(1);
}
