.wcag-control-egi-floatbtn {
  display: block;
  position: fixed;
  bottom:205px;
  left: 15px;
  z-index: 99;
  background-color: #5B54D6;
  border-radius: 30px;
  padding: 0 3px;
}

.wcag-control-egi-floatbtn button {
  background: transparent;
  border:0;
}

.wcag-control-egi-floatbtn i {
  font-size: 30px;
  color: #fff;
}

.wcag-control-egi-floatbtn.hide {
  display: none !important;
}

.wcag-control-egi {
  min-width: 175px;
  display: block;
  position: fixed;
  left: 10px;
  bottom: 220px;  
  background: #F2F2F4;
  border-radius: 0;
  z-index: 9;  
box-shadow: 0px 0px 11px 1px rgba(0,0,0,0.3);
-webkit-box-shadow: 0px 0px 11px 1px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 11px 1px rgba(0,0,0,0.3);
}

.wcag-control-egi.hide {
  display: none !important;
}

.wcag-control-egi .wcag-close-btn {
  border: 0;
  background: transparent;  
}

.wcag-control-egi .wcag-close {
  background: #3C3C94;
  color: #fff;
  border-radius: 20px;
  padding: 0px 2px;  
  cursor: pointer;
  font-size: 18px;
}

.wcag-control-egi .header {
    color: #fff;
    background: #5A55D5;
    padding:6px;
}

.wcag-control-egi .list-group {
  list-style-type: none;
}

.wcag-control-egi .control-button.list-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 12px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 12px;
  padding:8px;
}

.wcag-control-egi .control-button.list-group li {
  padding:5px 10px;
  margin: 5px 0;
  background-color: #fff;
  border:1px solid #e7e7e7;
  border-radius: 10px;
  width: 100%;
}

.wcag-control-egi .control-button.list-group button {
  border: 1px solid transparent;
}

.wcag-control-egi .control-button.list-group button:hover {
  border-color: #5B54D6;
}

.wcag-control-egi .control-button .button-container {
  /* border-right: 2px solid #a2a1a1; */
  float: left;
  position: relative;
}

.wcag-control-egi .control-button.list-group,
.wcag-control-egi .control-button.list-group button {
  color: #434d56;
}

.wcag-control-egi .control-button .button-container:last-child {
}

.wcag-control-egi .control-button button {
  border: none;
  background: transparent;
}

.wcag-control-egi #mobile-control-button {
  background: #5a5c5a;
}

.wcag-control-egi #mobile-control-button .change-font-size {
  color: #fff;
}


.wcag-control-egi .control-button .high-contrast-container .high-contrast {
  font-size: 14px;
  padding: 6px 8px;
}

.wcag-control-egi .control-button .high-contrast-container .high-contrast:nth-of-type(1) {
  background: #000;
  color: #fff;
}

.wcag-control-egi .control-button .high-contrast-container .high-contrast:nth-of-type(2) {
  background: #000;
  color: #ffde00;
}



.wcag-control-egi .control-button .high-contrast-container .high-contrast:nth-child(3) {
  color: #ffde00;
}

.wcag-control-egi .control-button .high-contrast-container .high-contrast:nth-child(4) {
  color: #494949;
  background: #ffde00;
}

.wcag-control-egi .control-button
  > li.button-container.high-contrast-container
  > button.high-contrast.ms-2 {
  background-color: #fff;
  color: #205681;
}

.wcag-control-egi .control-button
  > li.button-container.high-contrast-container
  > button:nth-child(3) {
  background-color: #205681;
}

.wcag-control-egi .control-button .button-container:nth-child(5) {
  padding: 1px 15px;
}

.wcag-control-egi .control-button .wide {
  /* border: 1px solid #8d8c8c !important; */
  padding: 6px 8px;
}

.wcag-control-egi .control-button .button-container .change-font-size {
  font-size: 14px;
}

.wide .container {
  width: 95% !important;
  max-width: 95% !important;
}

.wcag-control-egi .fixed {
  border: 1px solid transparent;
  padding: 6px 3px;
}

.wcag-control-egi .fixed > i,
.wcag-control-egi .wide > i {
  font-size: 24px;
}



.high-contrast-1:not(.wcag-control-egi-floatbtn):not(.wcag-control-egi-floatbtn *):not(.wcag-control-egi):not(.wcag-control-egi *),
.high-contrast-1 *:not(.wcag-control-egi-floatbtn):not(.wcag-control-egi-floatbtn *):not(.wcag-control-egi):not(.wcag-control-egi *) {
  background: #000 !important;
  color: #fff !important;
}

.high-contrast-1 *:not(.wcag-control-egi-floatbtn):not(.wcag-control-egi-floatbtn *):not(.wcag-control-egi):not(.wcag-control-egi *):not(a):not(i) {
  border-bottom: 1px solid #fff;;
}

/* body[class*="high-contrast"] .wcag-control-egi-floatbtn {
  background: #5B54D6 !important;
}
body[class*="high-contrast"] .wcag-control-egi-floatbtn button {
  background: transparent !important;
}
body[class*="high-contrast"] .wcag-control-egi-floatbtn i
 {
  background: #5B54D6 !important;
  color: #fff !important;
} */



.high-contrast-1 a,
.high-contrast-1 h1,
.high-contrast-1 h2,
.high-contrast-1 h3,
.high-contrast-1 h4,
.high-contrast-1 h5,
.high-contrast-1 h6,
.high-contrast-1 p,
.high-contrast-1 label,
.high-contrast-1 #show-left-push {
  color: #fff !important;
}


.high-contrast-1 .light-gray-bg,
.high-contrast-1 .gray-bg {
  border: 1px solid #fff;
}

.high-contrast-1 .form-control {
  background: #000 !important;
  border-color: #fff !important;
  color: #fff !important;
}

.high-contrast-1 .form-control:focus,
.high-contrast-2 .form-control:focus {
  border-color: #8bfffb !important;
}

.high-contrast-1 .btn {
  background: #fff !important;
  border-color: #fff !important;
  color: #000 !important;
}

.high-contrast-1 .btn:hover {
  background: #000 !important;
  color: #fff !important;
}

.high-contrast-1 a:hover {
  background: #fff !important;
  color: #000 !important;
  text-decoration: none !important;
}

.high-contrast-2:not(.wcag-control-egi-floatbtn):not(.wcag-control-egi-floatbtn *):not(.wcag-control-egi):not(.wcag-control-egi *),
.high-contrast-2 *:not(.wcag-control-egi-floatbtn):not(.wcag-control-egi-floatbtn *):not(.wcag-control-egi):not(.wcag-control-egi *) {
  background: #000 !important;
  color: #ff0 !important;
}


.high-contrast-2 *:not(.wcag-control-egi-floatbtn):not(.wcag-control-egi-floatbtn *):not(.wcag-control-egi):not(.wcag-control-egi *):not(a):not(i) {
  border-bottom: 1px solid #ff0 !important;;
}

.high-contrast-2 a,
.high-contrast-2 h1,
.high-contrast-2 h2,
.high-contrast-2 h3,
.high-contrast-2 h4,
.high-contrast-2 h5,
.high-contrast-2 h6,
.high-contrast-2 p,
.high-contrast-2 label {
  color: #ff0 !important;
}

.high-contrast-1 a,
.high-contrast-2 a,
.high-contrast-3 a {
  text-decoration: underline !important;
}

.high-contrast-2 a:hover {
  background: #ff0 !important;
  color: #000 !important;
  text-decoration: none !important;
}

.high-contrast-2 .header-icon {
  background: url("part-wcag-icons.png") -148px -197px;
}

.high-contrast-2 .search-icon {
  background: url("part-wcag-icons.png") -204px -200px;
}

.high-contrast-2 .light-gray-bg,
.high-contrast-2 .gray-bg {
  border: 1px solid #ff0;
}

.high-contrast-2 .form-control {
  background: #000 !important;
  border-color: #ff0 !important;
  color: #ff0 !important;
}

.high-contrast-2 .btn {
  background: #ff0 !important;
  border-color: #ff0 !important;
  color: #000 !important;
}

.high-contrast-2 .btn:hover {
  background: #000 !important;
  color: #ff0 !important;
}

.high-contrast-3,
.high-contrast-3 #menu,
.high-contrast-3 #header-menu,
.high-contrast-3 header nav.navbar,
.high-contrast-3 #top-header,
.high-contrast-3 .light-gray-bg,
.high-contrast-3 .gray-bg {
  background: #ff0 !important;
  color: #000 !important;
}

.high-contrast-3 .light-gray-bg,
.high-contrast-3 .gray-bg {
  border: 1px solid #000;
}

.high-contrast-3 a,
.high-contrast-3 h1,
.high-contrast-3 h2,
.high-contrast-3 h3,
.high-contrast-3 h4,
.high-contrast-3 h5,
.high-contrast-3 h6,
.high-contrast-3 p,
.high-contrast-3 label {
  color: #000 !important;
}

.high-contrast-3 a:hover {
  background: #000 !important;
  color: #ff0 !important;
  text-decoration: none !important;
}

.high-contrast-3 .form-control {
  background: #ff0 !important;
  border-color: #000 !important;
  color: #000 !important;
}

.high-contrast-3 .form-control:focus {
  border-color: #00f !important;
}

.high-contrast-3 .btn {
  background: #000 !important;
  border-color: #000 !important;
  color: #ff0 !important;
}

.high-contrast-3 .btn:hover {
  background: #ff0 !important;
  color: #000 !important;
}

/* theme specific elements  */

.high-contrast-1 .grid-list.row time,
.high-contrast-1 article time,
.high-contrast-2 .grid-list.row time,
.high-contrast-2 article time,
.high-contrast-3 .grid-list.row time,
.high-contrast-3 article time {
  color: inherit !important;
}

body:not(.home).high-contrast-1 main h1.entry-title,
body:not(.home) main h2.entry-title,
.search main h1.page-title,
body:not(.home).high-contrast-2 main h1.entry-title,
body:not(.home) main h2.entry-title,
.search main h1.page-title,
body:not(.home).high-contrast-3 main h1.entry-title,
body:not(.home) main h2.entry-title,
.search main h1.page-title {
  border-color: inherit;
}

body:not(.home).high-contrast-1 main h1.entry-title:after,
body:not(.home) main h2.entry-title:after,
.search main h1.page-title:after,
body:not(.home).high-contrast-2 main h1.entry-title:after,
body:not(.home) main h2.entry-title:after,
.search main h1.page-title:after,
body:not(.home).high-contrast-3 main h1.entry-title:after,
body:not(.home) main h2.entry-title:after,
.search main h1.page-title:after {
  background-color: inherit;
}

.high-contrast-1 .navbar-light .navbar-nav .contact .nav-link,
.high-contrast-2 .navbar-light .navbar-nav .contact .nav-link,
.high-contrast-3 .navbar-light .navbar-nav .contact .nav-link {
  background-color: inherit;
  border: 1px solid gray;
}

.high-contrast-3 footer#footer p {
  color: #ffffff !important;
}

/* theme specific elements end  */

.night,
.night #menu,
.night #header-menu,
.night .light-gray-bg {
  background: var(--bs-gray-800) !important;
}

.night .navbar.bg-light {
  background: var(--bs-gray-900) !important;
}

.high-contrast-3 .swiper-container a,
.high-contrast-3 .swiper-container h1,
.high-contrast-3 .swiper-container h2,
.high-contrast-3 .swiper-container h3,
.high-contrast-3 .swiper-container h4,
.high-contrast-3 .swiper-container h5,
.high-contrast-3 .swiper-container h6,
.high-contrast-3 .swiper-container p,
.high-contrast-3 .swiper-container label {
  color: #fff !important;
}
