@font-face {
  font-family: 'Graebenbach';
  src: url('/_Resources/Static/Packages/Hellerau.Econcess/Fonts/Graebenbach-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graebenbach';
  src: url('/_Resources/Static/Packages/Hellerau.Econcess/Fonts/Graebenbach-RegularItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Graebenbach';
  src: url('/_Resources/Static/Packages/Hellerau.Econcess/Fonts/Graebenbach-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graebenbach';
  src: url('/_Resources/Static/Packages/Hellerau.Econcess/Fonts/Graebenbach-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Graebenbach';
  src: url('/_Resources/Static/Packages/Hellerau.Econcess/Fonts/Graebenbach-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graebenbach';
  src: url('/_Resources/Static/Packages/Hellerau.Econcess/Fonts/Graebenbach-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Graebenbach';
  src: url('/_Resources/Static/Packages/Hellerau.Econcess/Fonts/Graebenbach-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graebenbach';
  src: url('/_Resources/Static/Packages/Hellerau.Econcess/Fonts/Graebenbach-BlackItalic.woff') format('woff');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}


body {
  font-family: 'Graebenbach', system-ui, sans-serif;
  font-weight: 500;
}

[x-cloak] {
  display: none !important;
}

body button:hover {
  cursor: pointer;
}

.textContainer ul {
  display: flex;
  padding-bottom: 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  list-style: revert;
  padding-left: 27.37px;
}

.textContainer h2 {
  padding-bottom: 20px;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
}
.mapContainer h2,
.castBlock-Text h2,
.custom-row h2,
.bioBlock-Text h2,
.logoGroup-Text h2,
.logoGroup-Text h2 {
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
}

.textContainer h3 {
  padding-bottom: 10px;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
}
.mapContainer h3,
.castBlock-Text h3,
.custom-row h3,
.bioBlock-Text h3,
.logoGroup-Text h3,
.logoGroup-Text h3 {
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
}

.castBlock-Text h4,
.custom-row h4,
.bioBlock-Text h4,
.logoGroup-Text h4,
.logoGroup-Text h4 {
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

.textContainer p {
  padding-bottom: 20px;
  font-weight: 500;
  font-size: 20px;
  font-style: normal;
  line-height: 24px;
}

.mapContainer p,
.castBlock-Text p,
.custom-row p,
.bioBlock-Text p,
.logoGroup-Text p,
.logoGroup-Text p {
  font-weight: 500;
  font-size: 20px;
  font-style: normal;
  line-height: 24px;
}

li::marker {
  font-size: 1.5em;
}

/* Cast Block*/
.castBlock table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.castBlock .table {
  width: 100%;
}

.castBlock td {
  width: auto;
  vertical-align: top;
  padding-top: 10px;
  padding-bottom: 30px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  border-top: 2px solid #121212;
}

.castBlock td p:first-child{
  padding-bottom: 10px;
}

@media screen and (max-width: 680px) {
  .castBlock table,
  .castBlock thead,
  .castBlock tbody,
  .castBlock tr,
  .castBlock td {
    display: block;
    width: 100%;
  }

  .castBlock tr {
    border-top: 2px solid #121212;
    padding-bottom: 20px;
  }

  .castBlock td {
    border-top: none;
    padding: 10px 0;
  }
}

/* Dark Mode Overrides */
.dark .castBlock td {
  border-top: 2px solid #F0F0F0;
  color: #F0F0F0;
}

/* Dark Mode */
@media screen and (max-width: 680px) {
  .dark .castBlock tr {
    border-top: 2px solid #F0F0F0;
  }

  .dark .castBlock td {
    border-top: none;
  }
}

html .splide__pagination__page {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

html .splide__pagination__page.is-active {
  width: 20px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 6px;
  background: #ffffff;
  transform: none;
}

/*This Section needs to be updated for all content blocks*/
.accordion-body .bioBlock,
.accordion-body .castBlock,
.accordion-body .programBlock,
.accordion-body .logoGroup,
.accordion-body .textContainer,
.accordion-body .linkGroup,
.accordion-body .peopleGroup,
.accordion-body .custom-row {
  padding-left: 20px;
  padding-right: 20px;
}

.accordion-body .peopleGroup {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Above Fold*/
.bullet-anchors {
  background-color: #121212 !important;
}

.dark .bullet-anchors {
  background-color: #F0F0F0 !important;
}

.accordion-item {
  position: relative;
  overflow: hidden;
}

.accordion-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.05);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.accordion-item:hover::before {
  opacity: 1;
}

.bioBlock .external-link {
  margin-top: 8px;
}

/*Parallex Interactions*/
[data-reveal]{
  opacity: 0;
  transform: translateY(24px);
  transition:
    transform 1000ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity   1000ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0ms);
}
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
}

/*Parallex Interactions*/

/* ==== Solid background helpers ==== */
.purpleBG:hover { background-color: #7425E6; transition: background-color 200ms ease;}
.blueBG:hover   { background-color: #204DD6; transition: background-color 200ms ease;}
.orangeBG:hover { background-color: #F05A15; transition: background-color 200ms ease;}
.greyBG:hover   { background-color: #D5D5D5; transition: background-color 200ms ease;}
.blackBG:hover  { background-color: #121212; transition: background-color 200ms ease;}


.dark .greyBGDark:hover  { background-color: #D5D5D5; transition: transform 200ms ease}
.dark .blackBGDark:hover { background-color: #121212; transition: transform 200ms ease}
.dark .BGDark:hover { background-color: #242424; border-radius: 9999px;}
.dark .orangeBG:hover { background-color: #FF6219; transition: transform 200ms ease}


.scalingButton {
  transform: translateZ(0);
  transition: transform 200ms ease;
  will-change: transform;
}
.scalingButton:hover {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .scalingButton { transition: none; }
  .scalingButton:hover { transform: none; }
}

.underlineHover {
  text-decoration: none;
  text-underline-offset: 2px;
}
.underlineHover:hover {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
}

.bgHover { transition: background-color 200ms ease; }
.bgHover:hover { background-color: rgba(213, 213, 213, 0.5); border-radius: 5px }

.headerBGHover {
  border-radius: 9999px;
  transition: background-color 200ms ease;
}

.headerBGHover:hover {
  background-color: #7425E6;
}


/* Cookie-Banner Override */
#klaro .cookie-modal .cm-modal {
  background-color: #F0F0F0;
}

.dark #klaro .cookie-modal .cm-modal {
  background-color: #121212;
  color: #F0F0F0;
}

#klaro .cookie-modal h1,
#klaro .cookie-modal span,
#klaro .cm-body .cm-purposes span {
  color: #121212 !important;
  font-size: 14px;
  padding: 0;
  text-align: center;
}

#klaro .cookie-modal .cm-modal .cm-header{
  padding: 20px;
  border: none;
}

#klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose:first-child {
  border-top: 1px solid #B8B8B8
}

#klaro .cm-modal .cm-footer,
#klaro .cookie-modal .cm-modal .cm-body {
  padding: 0px 20px 20px 20px;
  border: none;
}

#klaro .cm-footer-buttons .cm-btn {
  color: #121212;
  padding: 6px 10px;
  border-radius: 9999px;
  border: none;
  font-size: 14px;
}

#klaro .cm-footer-buttons .cm-btn-info,
#klaro .cm-footer-buttons .cn-decline{
  background-color: #D5D5D5;
}

#klaro .cm-footer-buttons .cm-btn-accept:only-child {
  background-color: #8F21F3;
  color: #F0F0F0;
}

#klaro .cm-footer-buttons .cm-btn-accept-all {
  background-color: #8F21F3;
  color: #F0F0F0;
}

#klaro .cm-footer-buttons .cm-btn-accept-all:hover {
  background-color: #7425E6;
  transform: scale(1.04);
  transition: scale 300ms ease;
}

.dark #klaro .cm-footer-buttons .cm-btn-accept {
  background-color: #7425E6;
}

#klaro .cookie-modal .cm-modal .cm-footer-buttons {
  justify-content: center;
  border-top: 1px solid #B8B8B8;
  padding-top: 20px;
}

#klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose.cm-toggle-all,
#klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose,
#klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-service:first-child,
#klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-service {
  border: none;
  padding-top: 20px;
  margin-top: 0;
}

#klaro .cookie-modal a {
  color: #121212;
}

#klaro .cm-purpose input.cm-list-input.half-checked + label .cm-switch .slider.round {
  background-color: #B8B8B8 !important;
}

#klaro .cm-switch .slider.round.active {
  background-color: #41E43E;
}

#klaro .cm-service input.cm-list-input + label .cm-switch .slider.round {
  background-color: #B8B8B8;
}

#klaro .cm-service input.cm-list-input:checked + label .cm-switch .slider.round {
  background-color: #41E43E;
}

#klaro .cookie-modal .slider {
  box-shadow: none;
}

#klaro .cm-switch .slider.round::before {
  background-color: #121212;
}

#klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-service p.purposes,
#klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-purpose p.purposes,
#klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-service p.purposes,
#klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose p.purposes {
  display: none;
}

#klaro .cookie-modal .cm-modal .cm-footer .cm-powered-by {
  display: none;
}

#klaro .cookie-modal .cm-header p {
  display: none;
}

.dark #klaro .cm-modal span,
.dark #klaro .cm-modal .cm-header span,
.dark #klaro .cm-modal .cm-body span,
.dark #klaro .cm-modal .cm-body a{
  color: #F0F0F0 !important;
}

#klaro .cm-modal .cm-header {
  text-align: center;
}

#klaro .cm-footer .cm-custom-legal {
  margin-top: 20px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

#klaro .cm-footer .cm-custom-legal a {
  color: #121212;
}

.dark #klaro .cm-footer .cm-custom-legal a {
  color: #F0F0F0;
}

#klaro a { transition: background-color 200ms ease; }
#klaro a:hover { background-color: rgba(213, 213, 213, 0.5); border-radius: 5px }
