/*****************************************************************************************************
* Design Module: General CSS
******************************************************************************************************/

/*
Togglebox
---------------------------------------------------------------------------------------------------- */

/* Togglebox: General
--------------------------------------------- */

/* Defaults */

.bub-togglebox__trigger {
  cursor: pointer;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  padding: 0 1em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.bub-togglebox__trigger-child {
  background: transparent;
  border: none;
  font-weight: normal;
  margin: 0;
  outline: none;
  padding: 0;
  text-transform: none;
}

/* Button inside heading trigger children: looks like the heading text. */

.bub-togglebox__button {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  margin: 0;
  padding: 0;
  text-align: inherit;
  text-transform: inherit;
  word-spacing: inherit;
}

.bub-togglebox__indicator,
.bub-togglebox__indicator.dashicons {
  display: inline-flex;
  flex-direction: column;
  font-size: inherit;
  height: initial;
  justify-content: center;
  opacity: 0.9;
  position: relative;
  text-decoration: none;
  top: 1px;
  width: initial;
}

.bub-togglebox__indicator.dashicons-minus {
  font-weight: bold;
  top: 0;
}

.bub-togglebox__content {
  outline: none;
}

/* Tall Content Styles */

.bub-togglebox__content.tall {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
  position: relative;
}

  /* Exceptions */

  /* Lists keep their full height: the people sections, and the posts'
     "Weitere Beiträge" on phones, which a tap opens (user, 2026-10-21; it was
     a 400px box with its own scrollbar). */

.bub-rel-parties__content.tall,
.bub-product-groups__content.tall,
.bub-recent-articles .bub-togglebox__content.tall {
  max-height: none;
}


/* Togglebox: Content Box
--------------------------------------------- */

.bub-togglebox.bub-togglebox--cb {
  clear: both;
  margin: 30px 0 0;
}

.bub-togglebox--cb .bub-togglebox__trigger {
  border: 1px solid var(--body-rule-def);
  border-left: none;
  border-right: none;
  font-size: 18px;
  font-weight: normal;
  margin: 0 0 20px;
  padding: 0.4em 0 0.3em;
}

/* The section titles at 1rem, between the names they introduce and the
   buttons, so each size has one job (user, 2026-10-21; they were 1.1rem, the
   largest capitals on the title page). */

.bub-togglebox--cb .bub-togglebox__trigger-child {
  border: none;
  font-family: var(--caps-font-family);
  font-size: 1rem;
  font-weight: normal;
  line-height: 1;
  margin: 0;
  padding: 0 0 0 0.15em;
  text-transform: uppercase;
}

.bub-togglebox--cb .bub-togglebox__trigger-child span {
  margin: 0;
  padding: 0;
}

.bub-togglebox--cb .bub-togglebox__indicator {
  color: #444;
  padding: 0 0.15em 0 0;
  top: 0px;
}

.bub-togglebox--cb .bub-togglebox__indicator::before {
  font: var(--fa-font-regular);
  font-size: 0.92em;
  content: '\f078';
  position: relative;
    top: -0em;
}

.bub-togglebox--cb.open .bub-togglebox__indicator::before {
  content: '\f077';
  top: 0.1em;
}

.bub-togglebox--cb .bub-togglebox__content {
  margin-bottom: 25px;
}

.bub-togglebox--cb .bub-togglebox__more {
  margin: 0.5em 0 0;
  padding-top: 0.5em;
}

/* "Zur Seite" as the small boxes inside the sections, the Schlagworte labels
   among them (single-common.css): a tint of the dark green, stronger on
   hover, and small capitals; the filled green stays for the main actions
   above the sections (user, 2026-10-21; it was filled with the green). */

.bub-togglebox--cb .bub-togglebox__more a {
  background: var(--body-background-sh1);
  color: var(--brand1-color-def);
  display: table;
  font-family: var(--caps-font-family);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
  padding: 0.45em 0.8em 0.4em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.bub-togglebox--cb .bub-togglebox__more a:hover {
  background: var(--body-background-sh2);
}


/*
Slick Carousel
---------------------------------------------------------------------------------------------------- */

/* Disable image links: the image types the lightbox opens (design-config.js),
   case-insensitive, with or without a query string. */

:where(.slick-slider) :is(
  a[href$=".jpg" i], a[href$=".jpeg" i], a[href$=".png" i], a[href$=".gif" i],
  a[href$=".webp" i], a[href$=".avif" i],
  a[href*=".jpg?" i], a[href*=".jpeg?" i], a[href*=".png?" i], a[href*=".gif?" i],
  a[href*=".webp?" i], a[href*=".avif?" i] ) {
  pointer-events: none;
  cursor: default;
}


/*
Swipebox (jQuery Plugin)
---------------------------------------------------------------------------------------------------- */

html.swipebox-html {
  overflow: hidden !important;
}

#swipebox-container #swipebox-slider .slide {
  /* Prevent image jumps due to position inline-block. */
  font-size: 0;
}

#swipebox-container #swipebox-top-bar,
#swipebox-container #swipebox-bottom-bar { 
  height: auto;
  min-height: 50px;
  /*transition-duration: 0s;*/
}

#swipebox-container #swipebox-top-bar {
  font-size: 15px;
}

#swipebox-container #swipebox-title {
  display: inline-block;
  line-height: 1.3;
  padding: 12px 5px 8px;
  width: calc(100% - 45px);
  vertical-align: middle;
}

#swipebox-container #swipebox-close {
  right: 0;
}

/* The pause and play button of the autoplay (design-config.js), centered
between the floating arrows: two bars while playing, a triangle while paused. */

#swipebox-container #swipebox-arrows {
  text-align: center;
}

#swipebox-container .bub-swipebox-play {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  height: 50px;
  padding: 0;
  vertical-align: top;
  width: 50px;
}

#swipebox-container .bub-swipebox-play:focus-visible {
  outline: 1px dotted #fff;
  outline-offset: -8px;
}

#swipebox-container .bub-swipebox-play::before {
  border-left: 4px solid #fff;
  border-right: 4px solid #fff;
  box-sizing: content-box;
  content: '';
  display: inline-block;
  height: 16px;
  vertical-align: middle;
  width: 4px;
}

#swipebox-container .bub-swipebox-play--paused::before {
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
  border-right: none;
  border-top: 9px solid transparent;
  height: 0;
  margin-left: 4px;
  width: 0;
}
