.bright-background {
  background-color: white !important;
  color: black !important;
}

.bright-background .btn button {
  background-color: white !important;
  border: 1px solid black !important;
  color: black !important;
}

.bright-background .accessibility-panel button {
  background-color: white !important;
  border: 1px solid black !important;
  color: black !important;
}

.bright-background .carousel-caption {
  background-color: white !important;
  color: black !important;
}

.bright-background .footer {
  background-color: white !important;
  color: black !important;
}

.bright-background .nav {
  background-color: white !important;
}

.bright-background a {
  background-color: white !important;
  color: black !important;
}

.bright-background .navTrigger i {
  color: #000 !important;
  background-color: #000;
}

.bright-background .navlinks {
  background-color: #fff !important;
}

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

.high-contrast .text-body-secondary {
  color: #fff !important;
}

.high-contrast .text-muted {
  color: #fff !important;
}

.high-contrast footer {
  background-color: #000 !important;
  color: #fff !important;
}

.high-contrast a {
  color: #00ff00 !important;
}

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

.high-contrast .accessibility-panel button {
  background-color: #000 !important;
  color: #00ff00 !important;
}
.high-contrast .carousel-caption {
  background-color: #000 !important;
}

.font-small {
  font-size: 90% !important;
}

.font-large {
  font-size: 120% !important;
}

.accessibility-panel {
  position: fixed;
  top: 50%;
  left: 0;
  font-size: 0rem;
  transform: translateY(-50%);
  background-color: #fff;
  border: 1px solid #ccc;
  z-index: 2000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0 5px 5px 0;
  width: 60px;
  height: auto;
  transition: font-size 0.4s ease;
  overflow: hidden;
}

.accessibility-panel:hover {
  width: 200px;
  font-size: 1rem;
}

.panel-buttons {
  display: none;
}

.accessibility-panel:hover .panel-buttons {
  display: block;
}

.panel-icon {
  display: block;
  text-align: center;
  padding: 4px;
}

.accessibility-panel:hover .panel-icon {
  display: none;
}

.accessibility-panel button {
  margin: 5px 0;
  padding: 8px;
  cursor: pointer;
  border: none;
  background-color: #007bff;
  color: #fff;
  border-radius: 3px;
  width: 90%;
  transition: background-color 0.3s;
}

.accessibility-panel button:hover {
  background-color: #0056b3;
}

.panel-icon img {
  width: 40px;
  height: auto;
}

.carousel-item img {
  width: 100%;
  min-height: 165px;
  height: auto;
  object-fit: cover;
}

.nav-fixed {
  width: 100%;
  height: 65px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  background-color: #000; /* Black background */
  z-index: 1001; /* Keep navbar above other content */
  line-height: 65px;
  text-align: center;
  transition: none; /* Disable animation */
  padding-top: 0 !important; /* No padding at the top */
  padding-bottom: 0 !important; /* No padding at the bottom */
}

.nav-fixed div.logo a {
  color: #fff;
}

.nav-fixed div.main_list ul li a {
  color: #fff;
}

.nav {
  width: 100%;
  height: 65px;
  position: fixed;
  line-height: 65px;
  text-align: center;
}

.nav img {
  max-height: 50px;
}

.nav div.logo {
  float: left;
  width: auto;
  height: auto;
  padding-left: 3rem;
}

.nav div.logo a {
  text-decoration: none;
  color: #fff;
  font-size: 2rem;
}

.nav div.logo a:hover {
  color: #e2e600;
}

.nav div.main_list {
  height: 65px;
  float: right;
}

.nav div.main_list ul {
  width: 100%;
  height: 65px;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav div.main_list ul li {
  width: auto;
  height: 65px;
  padding: 0;
  padding-right: 3rem;
}

.nav div.main_list ul li a {
  text-decoration: none;
  color: #fff;
  line-height: 65px;
  font-size: 2rem;
}

.nav div.main_list ul li a:hover {
  color: #e2e600;
}

.navTrigger {
  display: none;
}

.nav {
  padding-top: 20px;
  padding-bottom: 20px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  z-index: 1001;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 1000;
}

.featurette img {
  width: 500px;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.fadeToRightClass {
  opacity: 0;
  animation: fade-to-right 1s forwards;
}

@media (prefers-reduced-motion: no-preference) {
  .featurette-right img,
  .featurette-left img {
    scale: 0.8;
    opacity: 0;
    animation: fade-in linear forwards;
    animation-timeline: view();
    animation-range: entry 30px;
  }
  .featurette-right h2,
  .featurette-right p {
    animation: fadeInRight linear forwards;
    animation-timeline: view();
    animation-range: 0px 570px;
  }
  .featurette-left h2,
  .featurette-left p {
    animation: fadeInLeft linear forwards;
    animation-timeline: view();
    animation-range: 0px 570px;
  }
}

@keyframes fade-in {
  to {
    scale: 1;
    opacity: 1;
  }
}

@keyframes fadeInRight {
  from {
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes fadeInLeft {
  from {
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .container {
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  .nav {
    padding-top: 0px;
    line-height: 59px;
  }
  .navTrigger {
    display: block;
  }
  .nav div.logo {
    margin-left: 10px;
  }
  .nav div.main_list {
    width: 100%;
    height: 0;
    overflow: hidden;
  }
  .nav div.show_list {
    height: auto;
    display: none;
  }
  .nav div.main_list ul {
    flex-direction: column;
    width: 100%;
    height: auto;
    right: 0;
    left: 0;
    bottom: 0;
    padding-left: 15px;
    background-color: #111;
  }
  .nav div.main_list ul li {
    width: 100%;
    text-align: left;
  }
  .nav div.main_list ul li a {
    text-align: center;
    width: 100%;
    font-size: 1.6rem;
    padding: 2px;
  }
  .nav div.media_button {
    display: block;
  }

  #navbar-container {
    padding-left: 0 !important;
    padding-right: 0px !important;
  }
}

/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
  cursor: pointer;
  width: 30px;
  height: 25px;
  margin: auto;
  position: absolute;
  right: 30px;
  top: 0;
  bottom: 0;
}

.navTrigger i {
  background-color: #fff;
  border-radius: 2px;
  content: "";
  display: block;
  width: 100%;
  height: 4px;
}

.navTrigger i:nth-child(1) {
  -webkit-animation: outT 0.8s backwards;
  animation: outT 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
  margin: 5px 0;
  -webkit-animation: outM 0.8s backwards;
  animation: outM 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
  -webkit-animation: outBtm 0.8s backwards;
  animation: outBtm 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
  -webkit-animation: inT 0.8s forwards;
  animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
  -webkit-animation: inM 0.8s forwards;
  animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
  -webkit-animation: inBtm 0.8s forwards;
  animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
  50% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes inM {
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes outM {
  50% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes outM {
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes inT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes inT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(9px) rotate(0deg);
  }
  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes outT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes outT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(9px) rotate(0deg);
  }
  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes inBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes inBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(0deg);
  }
  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

@-webkit-keyframes outBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes outBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(0deg);
  }
  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

.affix {
  padding: 0;
  background-color: #111;
}

@keyframes fade-to-right {
  0% {
    opacity: 0;
    transform: translateX(-180px) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: translateX(0px) scale(1);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  .carousel-caption h1 {
    font-size: 15px;
  }
  .carousel-item img {
    min-height: 230px;
  }
  .carousel-indicators {
    scale: 0.7;
  }
  .featurette img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    object-position: center;
  }
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 1em 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  max-height: 2.7em;
  margin: 0 2em;
}
