footer {
  background-color: var(--yalCyan);
  padding: 0 0 40px 0;
  font-size: 0.9rem;
  color: var(--yalBlack);
}

footer::before {
  content: "";
  display: block;
  height: 6px;
  width: 100%;
  background: var(--yalBlack);
  opacity: 0.15;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  width: 90%;
  margin: auto;
  direction: rtl;
}

@media only screen and (min-width: 800px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  border-right: none;
  padding-right: 0;
}

@media only screen and (min-width: 800px) {
  .footer-col {
    border-right: 1px solid rgba(0,0,0,0.1);
    text-align: inherit;
  }
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-col:first-child {
  border-right: none;
}

@media only screen and (min-width: 800px) {
  .footer-col:not(:first-child) {
    padding-right: 20px;
    padding-top: 40px;
  }
}

.footer-brand {
  align-items: center;
  padding-top: 40px;
}

.footer-logo img {
  max-height: 50px;
}

.footer-social img {
  max-height: 40px;
  opacity: 0.8;
  transition: opacity .2s;
}

.footer-social img:hover {
  opacity: 1;
}

footer a {
  color: var(--yalBlack);
  text-decoration: none;
  transition: opacity .2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media only screen and (min-width: 800px) {
  footer a {
    text-decoration: none;
  }
}

footer a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.divLinks {
  display: flex;
  justify-content:space-evenly;
  padding: 20px 0;
}

.divLegal {
  display: flex;
  flex-direction: row;
  column-gap: 20px;
}

.picFooterLogo {
  max-height: 50px;
}

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

.divFooterText {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  width: 90%;
  margin: auto;
}

.accessibility-panel button.active {
  background: var(--yalCyan);
  color: var(--yalWhite);
  border-color: var(--yalCyan);
}

/* Accessibility styling */
.high-contrast * {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

.high-contrast a {
  color: #00aaff !important;
  text-decoration: underline !important;
}

.high-contrast button {
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}

.high-contrast img {
  filter: grayscale(100%) contrast(150%) !important;
}

.high-contrast *:focus {
  outline: 3px solid #ff0 !important;
  outline-offset: 3px;
}

.high-contrast .secReviews::before,
.high-contrast .secReviews::after, 
.high-contrast .artReview::before,
.high-contrast .artReview::after {
  background: #000 !important;
}

.readable-font * {
  font-family: Arial, sans-serif !important;
}

html.font-level-1 {
  font-size: 112% !important;
}

html.font-level-2 {
  font-size: 124% !important;
}

html.font-level-3 {
  font-size: 136% !important;
}

html.font-xl {
  font-size: 150% !important;
}

.increase-spacing #SiteContent * {
  line-height: 1.8 !important;
  letter-spacing: 0.5px !important;
}

.highlight-headings h1,
.highlight-headings h2,
.highlight-headings h3,
.highlight-headings h4 {
  outline: 2px solid #17312c;
  background: #e6f7f4;
}

.clear-focus *:focus {
  outline: 3px solid #ffbf00 !important;
  outline-offset: 3px;
}

body.high-contrast .accessibility-panel {
  background: transparent !important;
}

body.high-contrast article {
  border: 1px solid var(--yalHCWhite) !important;
}

body.high-contrast a {
  color: var(--yalHCWhite) !important;
}

body.high-contrast .btn {
  border: 3px solid var(--yalHCWhite) !important;
}

.highlight-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 3px !important;
  text-underline-offset: 3px !important;
  font-weight: 700 !important;
}

.highlight-links a:focus {
  outline: 3px solid #ffbf00 !important;
  outline-offset: 2px;
}

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
}

.reduce-motion {
  scroll-behavior: auto !important;
}

.divAccessibilityStatement {
  margin-top: 20px;
  border-top: 1px solid var(--yalBlack);
}

.divAccessibilityStatement a {
  border: none !important;
  background-color: transparent !important;
  color: var(--yalCyan) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  font-weight: 600 !important;
}

.isHidden {
  display: none;
}