#a11y-toggle {
  position: fixed;
	bottom: 20px;
	right: 70px;
	color: #fff;
  border: 1px solid #fff;
	border-radius:50%;
  width: 48px;
	height: 48px;
	font-size: 24px;
  cursor: pointer;
	z-index: 9999;
	
	background-image: url('img/toggle.svg');
  background-repeat: no-repeat;
  background-position: center;
	/*background-color: #005bbb;*/
  background-size: contain;
}

.a11y-title-big {
	font-size: 20px;
	margin-bottom: 15px;
	font-weight: 400;
	color: #005bbb;
}

.a11y-title-small {
	font-size: 16px;
	margin-top: 7px;
	margin-bottom: 7px;
	font-weight: 400;
	color: #005bbb;
	position: relative;
}

.a11y-title-small:after {
	content: '';
	position: absolute;
	height: 2px;
	width: 75px;
	background: linear-gradient(to right, #005bbb, transparent);
	bottom: 0;
	left: 0;
}

#a11y-widget { position: fixed; bottom: 80px; right: 20px; z-index:9999; }
#a11y-panel {
	background:#fff;
	border:2px solid #005bbb;
	padding:12px;
	border-radius:8px;
	box-shadow:0 2px 6px rgba(0,0,0,0.2);
	max-width:315px;
	flex-direction:column;
	gap: 2px;
	max-height: calc(80vh - 60px);
	overflow-y: auto;
}
.a11y-btn {
  padding:3px 5px; font-size:13px;
  background:#e9f1ff; border:1px solid #005bbb;
  border-radius:4px; cursor:pointer; text-align:left;
}

.a11y-btn:hover { background:#d0e6ff; }
.a11y-btn.active { background:#bbddff; font-weight:bold; }
#a11y-panel select.a11y-select {
  padding:6px; font-size:14px; border:1px solid #005bbb;
  border-radius:4px;
}

.a11y-section-content {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 4px;
}

#a11y-cursor-white i {
  color: #fff;
  text-shadow: 0px 0px 2px #000;
}

/* Color modes */
.dark-mode > *:not(#a11y-widget) * { background:#121212 !important; color:#eeeeee !important; }
.dark-mode > *:not(#a11y-widget) img { box-shadow: 0 0 10px #fff; }


.grayscale body > *:not(#a11y-widget),
.grayscale body > *:not(#a11y-widget) * {
	-webkit-filter: grayscale(100%) !important;
	-moz-filter: grayscale(100%) !important;
	-ms-filter: grayscale(100%) !important;
	-o-filter: grayscale(100%) !important;
	filter: grayscale(100%) !important;
}

.high-contrast > *:not(#a11y-widget),
.high-contrast > *:not(#a11y-widget) * { filter:contrast(200%) !important; }
.saturation-high > *:not(#a11y-widget) * { filter:saturate(200%) !important; }
.saturation-low > *:not(#a11y-widget) * { filter:saturate(30%) !important; }

/* Images, animations */
.hide-images > *:not(#a11y-widget) img { visibility:hidden !important; }
.no-animations > *:not(#a11y-widget),
.no-animations > *:not(#a11y-widget) * { animation:none !important; transition:none !important; }

/* Cursor */
.cursor-black,
.cursor-black * {
  cursor: url('img/black-cursor.svg'), default !important;
}

.cursor-black * input, 
.cursor-black * textarea, 
.cursor-black * select, 
.cursor-black * a, 
.cursor-black * button, 
.cursor-black * [role=button] {
	cursor: url('img/black-pointer.svg'), default !important;
}

.cursor-white,
.cursor-white * {
  cursor: url('img/white-cursor.svg'), default !important;
}

.cursor-white * input, 
.cursor-white * textarea, 
.cursor-white * select, 
.cursor-white * a, 
.cursor-white * button, 
.cursor-white * [role=button] {
	cursor: url('img/white-pointer.svg'), default !important;
}

/* Highlight */
.highlight-selected ::selection { background:yellow !important; color:black !important; }
.focus-highlight a:focus,
.focus-highlight a:hover,
.focus-highlight button:hover,
.focus-highlight button:focus,
.focus-highlight input:hover,
.focus-highlight input:focus { outline: 3px solid #ffcc00 !important; background:#ffffcc !important; color: #000; }

/* Reading guide: linie fixă */
.a11y-reading-guide {
  position: fixed;
  left: 0;
  width: 400px;
  height: 12px;
	border-radius: 4px;
	border: 3px solid #ffcc00;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 10001;
}

/* Reading mask */
.a11y-reading-mask {
  position: fixed;
	top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 10002;
  transition: height 0.05s linear, top 0.05s linear;
}

/* Font size... */
.a11y-font-size-80 > *:not(#a11y-widget), .a11y-font-size-80 > *:not(#a11y-widget) * {font-size: 80%;}
.a11y-font-size-82 > *:not(#a11y-widget), .a11y-font-size-82 > *:not(#a11y-widget) * {font-size: 82%;}
.a11y-font-size-84 > *:not(#a11y-widget), .a11y-font-size-84 > *:not(#a11y-widget) * {font-size: 84%;}
.a11y-font-size-86 > *:not(#a11y-widget), .a11y-font-size-86 > *:not(#a11y-widget) * {font-size: 86%;}
.a11y-font-size-88 > *:not(#a11y-widget), .a11y-font-size-88 > *:not(#a11y-widget) * {font-size: 88%;}
.a11y-font-size-90 > *:not(#a11y-widget), .a11y-font-size-90 > *:not(#a11y-widget) * {font-size: 90%;}
.a11y-font-size-92 > *:not(#a11y-widget), .a11y-font-size-92 > *:not(#a11y-widget) * {font-size: 92%;}
.a11y-font-size-94 > *:not(#a11y-widget), .a11y-font-size-94 > *:not(#a11y-widget) * {font-size: 94%;}
.a11y-font-size-96 > *:not(#a11y-widget), .a11y-font-size-96 > *:not(#a11y-widget) * {font-size: 96%;}
.a11y-font-size-98 > *:not(#a11y-widget), .a11y-font-size-98 > *:not(#a11y-widget) * {font-size: 98%;}
/*.a11y-font-size-100 * {font-size: 100%;}*/
.a11y-font-size-102 > *:not(#a11y-widget), .a11y-font-size-102 > *:not(#a11y-widget) * {font-size: 102%;}
.a11y-font-size-104 > *:not(#a11y-widget), .a11y-font-size-104 > *:not(#a11y-widget) * {font-size: 104%;}
.a11y-font-size-106 > *:not(#a11y-widget), .a11y-font-size-106 > *:not(#a11y-widget) * {font-size: 106%;}
.a11y-font-size-108 > *:not(#a11y-widget), .a11y-font-size-108 > *:not(#a11y-widget) * {font-size: 108%;}
.a11y-font-size-110 > *:not(#a11y-widget), .a11y-font-size-110 > *:not(#a11y-widget) * {font-size: 110%;}
.a11y-font-size-112 > *:not(#a11y-widget), .a11y-font-size-112 > *:not(#a11y-widget) * {font-size: 112%;}
.a11y-font-size-114 > *:not(#a11y-widget), .a11y-font-size-114 > *:not(#a11y-widget) * {font-size: 114%;}
.a11y-font-size-116 > *:not(#a11y-widget), .a11y-font-size-116 > *:not(#a11y-widget) * {font-size: 116%;}
.a11y-font-size-118 > *:not(#a11y-widget), .a11y-font-size-118 > *:not(#a11y-widget) * {font-size: 118%;}
.a11y-font-size-120 > *:not(#a11y-widget), .a11y-font-size-120 > *:not(#a11y-widget) * {font-size: 120%;}

/* color overwrite */

.a11y-color-selector {
  margin: 10px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.a11y-color-selector span {
  font-weight: bold;
  margin-right: 8px;
  min-width: 120px;
}

.a11y-color-selector div {
	width: 100%;
}

.a11y-color-swatch {
  width: 20px;
  height: 20px;
	border-radius: 4px;
  border: 1px solid #444;
  cursor: pointer;
  outline: none;
}

.a11y-btn-xs {
  padding: 3px 6px;
  cursor: pointer;
  font-size: 12px;
}

.a11y-btn-reset {
	margin-left: auto !important;
}

#a11y-btn-close {
	position: absolute;
	font-weight: bold;
  top: -5px;
  right: -5px;
  border-radius: 50%;
  height: 25px;
  width: 25px;
	padding: 2px;
  border: 2px solid #005bbb;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: #fff;
}

:root {
  --a11y-text-color: #000;
  --a11y-heading-color: #000;
  --a11y-background-color: #fff;
}

@media all and (max-width: 771px) {
	.a11y-btn.cursorBlack,
	.a11y-btn.cursorWhite {
		display: none;
	}
}