:root {
	/* define theme color for the selected site */
	--main-color: #d01c1f;
	--hover-color: #b0dbed;
}

@font-face {
	font-family: "adys";
	src: url(../accessibility/ADYS-Regular-V5-4.ttf);
	font-weight: normal;
	font-style: normal;
}

html.accessibility-yellow *:not(.a11y-tools *) {
	background-color: #f7f3d6 !important;
	color: #000066 !important;
}

html.accessibility-dark *:not(.a11y-tools *) {
	background-color: #3a3a3a !important;
	color: #00ffe8 !important;
}

html.accessibility-blue *:not(.a11y-tools *) {
	background-color: #cfe5fc !important;
	color: #000066 !important;
}

html.accessibility-textOnly svg,
html.accessibility-textOnly iframe {
	display: none !important;
}

.font-resize {
	font-size: 135%;
}

@media (max-width: 480px) {
	.font-resize {
		font-size: 110%;
	}
}

@media (max-width: 675px) {
	.font-resize {
		font-size: 115%;
	}
}

@media (max-width: 726px) {
	.font-resize {
		font-size: 120%;
	}
}

@media (max-width: 992px) {
	.font-resize {
		font-size: 125%;
	}
}

@media (max-width: 1280px) {
	body.font-resize {
		font-size: 130%;
	}
}

.a11y-tools {
	position: fixed;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	right: 0px;
	z-index: 1000;
	font-family: inherit;
	transition: all 0.3s;
}

.a11y-tools:focus .a11y-tools__nav,
.a11y-tools:focus-within .a11y-tools__nav,
.a11y-tools__nav:focus-within {
	width: auto;
	height: auto;
	margin-right: 0;
}

.a11y-tools__button {
	position: absolute;
	width: 50px;
	height: 50px;
	bottom: 0;
	right: 0px;
	left: -60px;
	background: url(./man-accessibility.svg) center no-repeat;
	background-color: var(--main-color);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	border: 5px solid var(--main-color);
	transition: all 0.3s;
	border-radius: 50%;
}

.accessibility-controls,
.a11y-tools {
	z-index: 9999;
}

.a11y-tools__button:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	z-index: -1;
	border-radius: 50% 0px 0px 50%;
	background: var(--main-color);
	display: block;
	width: 70px;
	height: 50px;
	margin-top: -5px;
	margin-left: -5px;
}

.a11y-tools__colors:not(:last-child) {
	margin-right: 5px;
}

.a11y-tools__colors--yellow {
	background-color: #f7f3d6 !important;
	color: #000066 !important;
	outline: 2px solid #000066;
}

.a11y-tools__colors--cyan {
	outline: 2px solid #00ffe8;
	background-color: #3a3a3a !important;
	color: #00ffe8 !important;
}

.a11y-tools__colors--blue {
	outline: 2px solid #000066;
	background-color: #cfe5fc !important;
	color: #000066 !important;
}

.a11y-tools__colors--normal {
	background-color: white !important;
	outline: 2px solid black;
	color: black !important;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.a11y__btn--c {
		margin: 0 auto;
		width: 40px;
	}
	.a11y__btn--c a {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		width: 50px;
	}
}

.accessibility-content {
	box-sizing: border-box;
	max-width: 300px;
	width: 100%;
	position: absolute;
	border-radius: 5px;
	top: 30px;
	left: -300px;
	/* background-color: #bfc4c3; */
	z-index: 1000;
	-webkit-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	overflow: hidden;
}

.accessibility-content:focus,
.accessibility-content:focus-within {
	left: 20px;
}

.accessibility-content ul {
	list-style: none;
}

.accessibility-content > ul {
	margin-bottom: 0;
}

.accessibility-content > ul > li {
	padding: 10px;
}

.accessibility-content > ul > li > a {
	font-family: inherit;
	font-weight: 700;
	font-size: 18px;
	line-height: 22px;
	letter-spacing: 0.45px;
	text-decoration: none;
	display: block;
	padding: 20px 15px;
	color: #000000;
}

.accessibility-content a:hover,
.accessibility-content a:focus {
	background-color: #00130f;
	outline: 1px dashed #00130f;
	outline-offset: 2px;
	color: white !important;
}

.accessibility-content > ul > li > a::after {
	content: "";
	width: 20px;
	height: 20px;
	color: red;
	position: absolute;
	right: 20px;
	background: url("./goto.svg");
}

.accessibility-content ul:not(:last-child),
.accessibility-content > ul > li:not(:last-child) {
	border-bottom: 1px solid white;
}

.accessibility-content > ul li {
	padding: 10px;
}

.accessibility-content > ul a {
	font-family: inherit;
	font-weight: normal;
	font-size: 18px;
	letter-spacing: 0.45px;
	display: block;
	padding: 10px 20px;
	text-decoration: none;
	color: #00130f;
}

.accessibility-content > ul a:hover,
.accessibility-content > ul a:focus {
	background-color: #00130f;
	outline: 1px dashed #00130f;
	outline-offset: 2px;
	color: white;
}

.a11y-tools__title {
	position: relative;
	color: black;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	font-size: 20px;
	margin: 0;
	padding: 8px;
}

.a11y-tools__title:before {
	content: "";
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 25px;
	top: 0;
	left: 0;
	background: url(../accessibility/contrast.svg) center no-repeat;
	margin-right: 10px;
}

.a11y-tools__contrast {
	padding: 16px 8px;
	font-size: 20px;
}

.a11y__item:hover button,
.a11y__item button:focus {
	/* -webkit-filter: invert(1);
    filter: invert(1); */
	background-color: var(--hover-color);
}

.a11y__item button {
	width: 100%;
	text-align: left;
	padding: 16px 8px;
	transition: all ease-in 0.3s;
}

.a11y__item span {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
}

.a11y__item--increase button,
.a11y__item--dyslexic button,
.a11y__item--textonly button,
.a11y__item--clear button {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	height: 100%;
}

.a11y__item--increase button:before,
.a11y__item--dyslexic button:before,
.a11y__item--textonly button:before,
.a11y__item--clear button:before {
	content: "";
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 25px;
	height: 25px;
	background-size: 25px 25px;
	margin-right: 10px;
}

.a11y__item--increase button:before {
	background: url(../accessibility/fontscale-up.svg) center no-repeat;
}

.a11y__item--dyslexic button:before {
	background: url(../accessibility/dyslexia.svg) center no-repeat;
}

.a11y__item--textonly button:before {
	background: url(../accessibility/text-version.svg) center no-repeat;
}

.a11y__item--clear button:before {
	background: url(../accessibility/reset.svg) center no-repeat;
}

.a11y__item--credits {
	padding: 0;
	display: flex;
	justify-content: flex-start;
	color: #313736;
	background-color: var(--main-color);
	padding: 0 10px !important;
	height: 50px;
}

.a11y__item--credits p {
	margin: 0;
	color: #fff;
	padding-bottom: 0;
	margin-bottom: 0;
	font-size: 14px;
	padding: 14px 8px;
}

.a11y-tools__list {
	margin-bottom: 0;
}

.a11y-tools__list li:not(:last-child) {
	border-bottom: 1px solid white;
}

.a11y-tools__list button {
	background-color: transparent;
	border-color: transparent;
}

.a11y-tools__button:hover + .a11y-tools__nav,
.a11y-tools__button:focus + .a11y-tools__nav {
	margin-right: 0;
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.a11y-tools__nav {
	width: 300px !important;
	margin-right: -300px;
	background-color: #efefef;
	color: white;
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.a11y-tools__nav:hover {
	margin-right: 0;
}
.a11y-tools__nav nav {
	outline: none;
	border: none;
}

.a11y-tools__nav ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	top: auto;
	padding: 0;
	list-style: none;
}

.a11y-tools__nav ul:focus,
.a11y-tools__nav ul:focus-within {
	left: 0px;
	height: auto;
}

.a11y-tools__nav ul li {
	/* padding: 12px; */
}

.a11y-tools__nav ul li:first-child {
	padding-bottom: 0;
}

.a11y-tools__nav a {
	display: inline-block;
	padding: 3.2px 8px;
	color: white;
	text-decoration: none;
	border-bottom: 2px solid white;
}

.a11y-tools__nav a:focus,
.a11y-tools__nav a:hover {
	width: auto;
	height: auto;
	background-color: white;
	color: black;
}

.a11y__btn {
	padding: 8px 16px;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	font-size: 16px;
}

.a11y__btn--toggle {
	height: 36px;
	width: 36px;
	padding: 4px;
	position: absolute;
	top: 0px;
	right: 0px;
}

.a11y__btn--toggle img {
	width: 24px;
	height: 24px;
}

.a11y__btn--c {
	font-weight: 800;
	outline-offset: -5px;
	margin-left: 5px;
	-ms-flex-item-align: center;
	-ms-grid-row-align: center;
	align-self: center;

	border: 1px solid transparent;
}

.a11y__btn--c:first-child {
	margin-left: 0;
}

.a11y__btn--c:focus,
.a11y__btn--c:hover {
	outline-offset: -5px;
	outline: 8px solid black;
	border: 1px solid white;
}

.a11y__btn--clear {
	outline: 2px solid black;
}

.a11y__btn--yellow {
	background-color: #f7f3d6 !important;
	color: #000066 !important;
	outline: 2px solid #000066;
}

.a11y__btn--dark {
	outline: 2px solid #00ffe8;
	background-color: #3a3a3a !important;
	color: #00ffe8 !important;
}

.a11y__btn--blue {
	outline: 2px solid #000066;
	background-color: #cfe5fc !important;
	color: #000066 !important;
}

.a11y__btn--normal {
	background-color: white !important;
	outline: 2px solid black;
	color: black !important;
}

.a11y__btn--toggle:hover,
.a11y__btn--toggle:focus {
	border-color: transparent;
	background-color: white;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.dyslectic-font * {
	font-family: "adys" !important;
}

.accessibility-controls,
.a11y-tools {
	z-index: 9999;
}
