.tx-hmbighistory {
  --year-column-size: 120px;
  /* yeal column size is also the width of the biggest btn*/
  --show-btn-small-width: 100px;
  --show-btn-very-small-width: 80px;
  --trimmed-btn-width: 40px;
  --bh-wrapper-padding: 40px;
  --main-column-gap: 180px;
  --gap-between-year-btns-v: 25px;
  --bh-gallery-gap: 75px;
  /* Fontsizes */
  --bh-p-fs: 16px;
  --bh-subheadline-fs: 18px;
  --bh-headline-fs: 28px;
  --bh-content-year-fs: 70px;
  /* just in case border-radius for round btns */
  --bh-btn-border-radius: var(--year-column-size);
  --btnboxshadow: 0 0 10px rgba(0,0,0,.5);
  --btnboxshadow_inset: inset 0 0 10px rgba(0,0,0,.5);
}
@media (max-width: 1599px) {
  .tx-hmbighistory {
    --main-column-gap: 10vw;
  }
}
@media (max-width: 991px) {
  .tx-hmbighistory {
    --bh-gallery-gap: 25px;
  }
}
@media (max-width: 767px) {
  .tx-hmbighistory {
    --year-column-size: 60px;
    --show-btn-small-width: 40px;
    --show-btn-very-small-width: 40px;
    /* Fontsizes */
    --bh-p-fs: 16px;
    --bh-subheadline-fs: 18px;
    --bh-headline-fs: 24px;
    --bh-content-year-fs: 30px;
  }
}
.tx-hmbighistory .nav-item:before {
  display: none;
}
.tx-hmbighistory .nav-item {
  padding-bottom: 0px;
  padding-left: 0px;
}
.tx-hmbighistory .nav-item button {
  /* wie bei hmdm (hm downloads) */
  padding: 10px 30px;
  /* hm bighistory specific */
  margin-right: 1px;
}
@media (min-width: 768px) {
  .tx-hmbighistory .nav-item button {
    background-color: var(--light-color);
  }
  .tx-hmbighistory .nav-item button.active {
    background-color: var(--first-color);
    color: var(--brightest);
  }
}

.bighistory-wrapper {
  display: grid;
  grid-template-columns: var(--year-column-size) auto;
  gap: var(--main-column-gap);
  padding: var(--bh-wrapper-padding) 0;
}

.bighistory-contentdata {
  color: var(--font-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.bighistory-contentdata:not(.show) {
  display: none;
}

.bighistory-years {
  display: flex;
  flex-direction: column;
  gap: var(--gap-between-year-btns-v);
  align-items: center;
  position: relative;
}
.bighistory-years:after {
  content: "";
  position: absolute;
  width: 1px;
  border-right: 1px dashed var(--brightest);
  height: 100%;
  left: 50%;
  top: 0;
}

.bighistory-tab-content-wrapper {
  background-color: var(--light-color);
  position: relative;
}
.bighistory-tab-content-wrapper .container {
  position: relative;
  z-index: 100;
}
.bighistory-tab-content-wrapper .bighistory-backgroundimg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 50;
}
.bighistory-tab-content-wrapper .bighistory-backgroundimg-wrapper:before {
  content: "";
  position: absolute;
  z-index: 75;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.66);
}
.bighistory-tab-content-wrapper .bighistory-backgroundimg-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: grayscale(1);
}

.bighistory-year-btn {
  width: var(--trimmed-btn-width);
  border-radius: var(--bh-btn-border-radius);
  aspect-ratio: 1;
  border: none;
  transition: width 0.4s ease;
  position: relative;
  z-index: 100;
  overflow: hidden;
  padding: 0px;
}
.bighistory-year-btn .year-title:not(.trimmed) {
  display: none;
}
.bighistory-year-btn .bg-color-delayed {
  border-radius: var(--bh-btn-border-radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: background-color 0.4s ease;
}
.bighistory-year-btn.year-active .bg-color-delayed, .bighistory-year-btn:hover .bg-color-delayed, .bighistory-year-btn.show-btn .bg-color-delayed {
  box-shadow: var(--btnboxshadow_inset);
  font-weight: 600;
}
.bighistory-year-btn.year-active .year-title:not(.trimmed), .bighistory-year-btn:hover .year-title:not(.trimmed), .bighistory-year-btn.show-btn .year-title:not(.trimmed) {
  display: block;
}
.bighistory-year-btn.year-active .year-title.trimmed, .bighistory-year-btn:hover .year-title.trimmed, .bighistory-year-btn.show-btn .year-title.trimmed {
  display: none;
}
.bighistory-year-btn.year-active {
  box-shadow: var(--btnboxshadow);
  width: 60px;
  overflow: hidden;
  background-color: var(--first-color);
}
.bighistory-year-btn.year-active .bg-color-delayed {
  padding-top: 6px;
  background-color: var(--first-color);
  color: var(--brightest);
  width: 100%;
  height: 100%;
}
.bighistory-year-btn.year-active .year-arrow-icon {
  margin-top: -6px;
}
.bighistory-year-btn.year-active .year-arrow-icon.d-none {
  display: block !important;
}
.bighistory-year-btn:hover, .bighistory-year-btn.show-btn {
  width: var(--year-column-size);
  box-shadow: var(--btnboxshadow);
}
.bighistory-year-btn.show-btn-small {
  width: var(--show-btn-small-width);
}
@media (min-width: 768px) {
  .bighistory-year-btn.show-btn-small .year-title:not(.trimmed) {
    display: block;
  }
  .bighistory-year-btn.show-btn-small .year-title.trimmed {
    display: none;
  }
}
.bighistory-year-btn.show-btn-very-small {
  width: var(--show-btn-very-small-width);
}
@media (min-width: 768px) {
  .bighistory-year-btn.show-btn-very-small .year-title:not(.trimmed) {
    display: block;
  }
  .bighistory-year-btn.show-btn-very-small .year-title.trimmed {
    display: none;
  }
}

.bighistory-content a[data-fslightbox] {
  display: inline-block;
}
.bighistory-content .bighistory-content__bodytext-wrapper p {
  font-size: var(--bh-p-fs);
}
.bighistory-content .bighistory-content__subheadline {
  font-size: var(--bh-subheadline-fs);
}
.bighistory-content .bighistory-content__year {
  font-size: var(--bh-content-year-fs);
}
.bighistory-content .bighistory-content__headline {
  font-size: var(--bh-headline-fs);
}

.bighistory-content__gallery {
  display: grid;
  gap: var(--bh-gallery-gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}
.bighistory-content__gallery a {
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 1;
  padding: 15px;
  background-color: var(--brightest);
}
.bighistory-content__gallery a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Respo Tabs Styling */
@media (min-width: 768px) {
  .nav-tabs-respo-menu {
    display: none;
  }
}
@media (max-width: 767px) {
  .nav-tabs-respo-menu + .nav-tabs {
    display: none;
  }
}

.nav-tabs-respo-btn {
  background-color: var(--light-color) !important;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom: transparent;
  color: var(--font-color);
  border-color: #dee2e6 !important;
}
.nav-tabs-respo-btn:hover, .nav-tabs-respo-btn:active, .nav-tabs-respo-btn:focus, .nav-tabs-respo-btn:target, .nav-tabs-respo-btn:focus-visible, .nav-tabs-respo-btn:focus-within {
  color: var(--font-color) !important;
}

.close-open-as-menu-wrapper {
  display: none;
}
.close-open-as-menu-wrapper .close-open-as-menu {
  width: auto;
  margin-left: auto;
  padding: 10px 16px;
}

.nav-tabs.open-as-menu {
  display: block;
  position: fixed;
  background-color: var(--light-color);
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
  padding: 30px;
  flex-direction: column;
}
.nav-tabs.open-as-menu .nav-item + .nav-item {
  border-top: 1px solid rgba(0, 0, 0, 0.0941176471);
}
.nav-tabs.open-as-menu .nav-link {
  width: 100%;
  border: none;
  background-color: transparent;
}
.nav-tabs.open-as-menu .close-open-as-menu-wrapper {
  display: flex;
}
