@charset "utf-8";

/* MEDIA */
.media video.mediafootage {
  --play-pause-by-visiblearea: 0.5;
}

/* PAGE TYPES*/
.page[page-type="post"] .headermediabox,
.page[page-type="post"] .fullpagemediabox {
  height: calc(var(--initial-currentview-height) * 0.666);
}

/* PAGE CONTENT */
.pagecontent {
  min-height: var(--currentview-height);
  display: flex;
  flex-direction: column;
  width: 100%;


}

/* MAIN CENTER */
.maincenter {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  display: flex;
  flex-wrap: wrap;
  --gapw: 60px;
  column-gap: var(--gapw);
}

.maincentered,
*[layout-type="maincentered"] {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.maincentered>.subleft,
.maincentered>.subright {
  font-size: 15px;
  width: 33%;
  min-width: min(300px, 100%);
  line-height: var(--line-height);
  margin-bottom: 15px;
  column-count: 1;
  display: block;
}

.maincentered[has-subs] {
  display: flex;
  flex-wrap: wrap;
}

/* BG */
.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

.bg>* {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bg .mediafootage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MORE PLUS BUTTON */
.moreplusbutton {
  width: 40px;
  height: 40px;
  --svgicon-url: var(--swg-plus-more);
  margin: auto;
}

.moreplusbutton[is-expanded] {
  --svgicon-url:
    var(--swg-minus-more);
}

.moreplusbutton .svgicon {
  transition: background 0.3s;
}

.moreplusbutton:hover .svgicon {
  background: var(--hover-color);
}

/* MAIN TEXT BOX */
.maintextbox {
  width: max((600px - var(--gapw)), calc(100% - (375px + var(--gapw))));
  line-height: 1.3em;
  font-family: 'medium';
  overflow: visible;
  flex-grow: 2;
  margin-top: var(--margin-normal);
}

.maintextbox .subtitle {
  /* margin-top: -1.25em; */
  /* font-size: 1.25em; */
  /* line-height: 1em; */
  margin-bottom: var(--line-height);
  color: var(--em-color);
}

body[device-mode="desktop"] .maintextbox {
  font-size: 24px;
}

body[device-mode="tablet"] .maintextbox {
  font-size: 20px;
}

body[device-mode="mobile"] .maintextbox {
  font-size: 16px;
}

.maintextbox .titlewrap {
  margin-bottom: calc(1.3 * var(--font-size));
}

.maintextbox[next-is-wrapped] {
  width: auto;
  padding-right: 0;
  min-width: 128px;
}

.maintextbox h1>.inputtextautosizer {
  pointer-events: none;
}

/* MAIN SIDEBOX */
.mainsidebox {
  /* margin-left: auto; */
  margin-right: auto;
  margin-top: calc(var(--margin-normal) + 0.5em);
  width: min(100%, 375px);
  display: flex;
  flex-direction: column;
  height: fit-content;
  height: -fit-content;
}

body[is-fe] .mainsidebox {
  --check-is-empty: 1;
}

body[is-fe] .mainsidebox[is-empty] {
  margin: 0;
}
.mainsidebox .mlw_hasentriestext {
  margin-bottom: 1em;
}

.postmaininfobox .mainsidebox .mlw_sidetext  {
  margin-bottom: 1em;
}

.mainsidebox .calendarentrybox {
  margin-bottom: 15px
}

.mainsidebox .expandbox {
  /* display: flex; */
  flex-direction: column;
  row-gap: 15px;
}

/* TABLE TAB BOX */
.tabletabbox {
  margin-top: 30px;
  display: block;
  column-count: auto;
  column-width: 310px;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.tabletabsection {
  break-inside: avoid-column;
}

.tabletabsectionname,
.tabletabsectionel {
  height: -moz-fit-content;
}

.tabletabsectionel>.hint {
  display: inline-block;
  margin-left: 0.25em;
  color: var(--em-color);
  display: none;
}

.tabletabsectionel a {
  transition: color 0.3s;
}

.tabletabsectionel a:hover {
  color: var(--hover-color);
}

.tabletabsectionel a:after {
  content: " ";
  margin-left: 4px;
  margin-bottom: 0.05em;
  display: inline-block;
  transform: rotate(90deg) translateY(0px);
  --svgicon-url:
    var(--utils-icon-up);
  mask-repeat: no-repeat;
  mask-size: var(--svgicon-size);
  mask-position: var(--svgicon-position);
  mask-image: var(--svgicon-url);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: var(--svgicon-size);
  -webkit-mask-position: var(--svgicon-position);
  -webkit-mask-image: var(--svgicon-url);
  background: var(--svgicon-color);
  width: 0.5em;
  height: 0.5em;
  transition: transform 0.3s, opacity 0.3s;
}

.tabletabsectionel a:hover:after {
  transform: rotate(90deg) translateY(-5px);
  background: var(--hover-color);
}

.tabletabsectionname>span,
.tabletabsectionel>span {
  display: block;
  margin-top: 6px;
  margin-bottom: 14px;
}

.tabletabsectionname {
  color: var(--em-color);
}

.tabletabsectionname>* {
  display: inline;
}

.tabletabbox[tab-names] .tabletabsection {
  display: flex;
}

.tabletabbox[tab-names] .tabletabsection {
  display: flex;
}

.tabletabbox[tab-names] .tabletabsectionname {
  width: 60px;
  flex-shrink: 0;
}

/* CALENDERENTRY BOX */
.calendarentrybox {
  width: 100%;
  max-width: var(--max-width);
  min-width: min(calc(100vw - 30px), 360px);
  --offset-x: 50px;
  --offset-y: 8px;
  --datebox-width: 20%;
  display: flex;
  /* margin-bottom: 20px; */
  overflow: hidden;
  cursor: pointer;
  --play-pause-closestquery-on-hover: .calendarentrybox|video;
}

.calendarentrybox[no-hover] {
  pointer-events: none;
}

.calendarentrybox[hidden-by-filter] {
  opacity: 0;
  position: absolute;
  pointer-events: none !important;
  left: -90000000px;
}

.calendarentrybox .frontbox {
  min-width: calc(100% - var(--offset-x));
  max-width: calc(100% - var(--offset-x));
  margin-top: var(--offset-y);
  display: flex;
  z-index: 2;
  padding: 10px;
  padding-left: 0px;
  transition: all 0.6s;
}

.calendarentrybox .frontbox:before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  background: transparent;
  transform-origin: top left;
  transition: all 0.6s;
}

.calendarentrybox .backbox {
  position: absolute;
  top: 0;
  left: 0px;
  width: 100%;
  height: calc(100% - var(--offset-y));
  max-height: calc(100% - var(--offset-y));
  z-index: 1;
  pointer-events: none;
  transition: clip-path 0.6s;
  clip-path: polygon(0px 0px,
      100% 0px,
      100% 100%,
      calc(100% - var(--offset-x)) 100%,
      calc(100% - var(--offset-x)) var(--offset-y),
      0px var(--offset-y),
      0px 0px);
  background: black;
}

.calendarentrybox:hover .backbox {
  clip-path: polygon(0px 0px,
      100% 0px,
      100% 100%,
      calc(100% - var(--offset-x) - var(--datebox-width) + 2px) 100%,
      calc(100% - var(--offset-x) - var(--datebox-width) + 2px) var(--offset-y),
      0px var(--offset-y),
      0px 0px);
}

.calendarentrybox .backbox .media {
  height: 100%;
  width: 100%;
}

.calendarentrybox .datebox {
  max-width: var(--datebox-width);
  min-width: var(--datebox-width);
}

.calendarentrybox .datebox .dayinmonth {
  font-size: 36px;
  line-height: 1em;
}

.calendarentrybox .datebox .monthname {
  font-size: 15px;
  line-height: var(--line-height);
  letter-spacing: 0.015em;
}

.calendarentrybox .infobox {
  max-width: calc(100% - var(--datebox-width));
  min-width: calc(100% - var(--datebox-width));
}

.calendarentrybox .infobox .title {
  font-size: 24px;
  line-height: 1.1em;
  margin-bottom: 10px;
}

.calendarentrybox .infobox .infos {
  font-size: 15px;
  line-height: 1.3em;
  font-family: 'medium';
}

.calendarentrybox .ticketbox {
  position: absolute;
  left: 100%;
  top: calc(-1 * var(--offset-y));
  width: calc(var(--datebox-width) + var(--offset-x));
  height: 100%;
  display: flex;
  opacity: 0;
  transition: all 0.3s;
}

.calendarentrybox .ticketbox {
  width: calc(var(--offset-x));
  opacity: 1;
}

.calendarentrybox .ticketbox .ticketlink {
  display: block;
  text-align: center;
  margin: auto;
  /* font-size: 17px; */
  background: var(--bg-color);
  color: var(--color);
  border-radius: 45px;
  padding: 5px 10px;
  font-size: 15px;
  line-height: 1em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  transform: translate(-50%, -50%) rotate(-90deg);
  transition: transform 0.6s, background 0.6s;
}

@media (hover: hover) and (pointer: fine) {
  .calendarentrybox .ticketbox .ticketlink {
    background: transparent;
  }

}

body .calendarentrybox:hover .ticketbox {
  opacity: 1;
}

body .calendarentrybox:hover .ticketbox .ticketlink {
  display: block;
  background: var(--bg-color);
  transform: translate(0%, -50%) rotate(-0deg);
}

body .calendarentrybox:hover .frontbox {
  transform: translateX(calc(-1 * var(--datebox-width) + 2px));
  background: transparent;
}

/* Calender entry boxes*/
.calenderentryboxes {
  --gap-x: 15px;
  --gap-y: 15px;
  display: grid;
  --min-width:
    min(calc(100vw - 30px), 360px);
  --max-width: 720px;
  grid-template-columns:
    repeat(auto-fill, minmax(var(--min-width), 1fr));
  grid-column-gap:
    var(--gap-x);
  grid-row-gap: var(--gap-y);
  padding-left: var(--gap-x);
  padding-right: var(--gap-x);
  width: 100%;
}

.calenderentryboxes[by-month][hidden-by-filter] {
  display: none;
}

.calenderentryboxes[by-month] {
  margin-top: 90px;
}

.calenderentryboxes[by-month]:before {
  content: attr(month-name);
  position: relative;
  grid-column: 1 / -1;
  opacity: 0.25;
}

.calenderentryboxes>* {
  flex: 1 1;
}

body[is-cms] *[page-type="startseite"] .calenderentryboxes,
body[is-cms] *[page-type="startseite"] .calenderentryboxes *,
body[is-cms] *[page-type="startseite"] .calenderentrymorebox {
  pointer-events: none !important;
}

*[page-type="startseite"] .calenderentryboxes {
  --set-colrow-infos: true;
  margin-top: var(--margin-normal);
}

*[page-type="startseite"] .calendarentrybox[next-is-wrapped]~.calendarentrybox {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

*[page-type="startseite"] .calendarentrybox[last-row-missing-count]:not([row-index="0"]),
*[page-type="startseite"] .calendarentrybox[row-index="2"],
*[page-type="startseite"] .calendarentrybox[row-index="3"],
*[page-type="startseite"] .calendarentrybox[row-index="4"],
*[page-type="startseite"] .calendarentrybox[row-index="5"],
*[page-type="startseite"] .calendarentrybox[row-index="6"] {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

/* WERK BOX */
body[is-fe] .werkboxes {
  width: 100%;
  margin-top: 50px;
}

body[is-fe] .werkbox {
  width: 100%;
  overflow: hidden;
}

body[is-fe] .werkbox .mediawrapper {
  position: absolute;
  right: 0;
  top: 0;
  --mediabox-height:
    calc(var(--height) - 45px);
  height: var(--mediabox-height);
  width: calc((16/9) * var(--mediabox-height));
  background: black;
}

body[device-mode="mobile"][is-fe] .werkbox .mediabox {
  --mediabox-height: calc(var(--height) * 0.8);
}

body[is-fe] .werkbox .mediawrapper .media {
  position: absolute;
  right: 0;
  top: 0;
  width: calc((16/9) * var(--mediabox-height));
  height: var(--mediabox-height);
}

body[is-fe] .werkbox .textwrapper {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  --font-size: calc(70vw * 1/var(--char-count));
  font-size: var(--font-size);
  line-height: 1em;
  padding-left: 15px;
}

body[device-mode="mobile"][is-fe] .werkbox .textwrapper {
  height: 80%;
  font-size: max(20px, calc(0.6 * var(--font-size)));
}

/* SLIDER BOX */
.sliderbox {
  --topbox-aspect:
    calc(1920/720);
  --navbutton-gapx: 10px;
  --title-width: 35%;
  --textbox-padding-left-right: 10%;
  --tile-text-gapx: 5%;
  width: 100%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.3em;
}

.sliderbox .sliderels {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-y: initial;
}

.sliderbox .sliderel {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.sliderbox .overlaylink {
  z-index: 3;
}

.sliderbox .sliderel .topbox {
  padding-top: calc(100% * (1 / var(--topbox-aspect)));
  --width-height-to-closest-slug: .sliderbox|topbox;
}

.sliderbox .sliderel .topbox .media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.sliderbox .sliderel .bottombox {
  padding-top: 20px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity 0.6s 0s;
}

.sliderbox .sliderel[is-active-scrollsnap] .bottombox {
  opacity: 1;
  transition: opacity 0.6s 0.6s;
}

.sliderbox .sliderel .bottombox .titlebox {
  width: calc(var(--title-width));
  font-size: 30px;
  line-height: 1.15em;
}

.sliderbox .sliderel .bottombox .textbox {
  width: calc(100% - var(--title-width) - var(--tile-text-gapx));
  margin-left: var(--tile-text-gapx);
}

.sliderbox .sliderbutton {
  width: fit-content;
  width: -moz-fit-content;
  padding: 5px 10px;
  opacity: 1;
  transition: opacity 0.6s;
  border-radius: 100px;
  cursor: pointer;
}

.sliderbox .sliderelbutton {
  display: none;
}

.sliderbox .slidernav {
  position: absolute;
  top: var(--topbox-height);
  margin-top: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  pointer-events: none;
  width: fit-content;
  outline: solid 2px;
  outline-offset: -2px;
  border-radius: 100px;
  width:
    -moz-fit-content;
  z-index: 9;
}

.sliderbox .slidernav>* {
  pointer-events: all;
  cursor: pointer;
  margin-left: var(--navbutton-gapx);
  margin-right: var(--navbutton-gapx);
}

.sliderbox .slidernav>*:first-child {
  margin-left: auto;
}

.sliderbox .slidernav>*:last-child {
  margin-right: auto;
}

.sliderbox .slidernavbutton {
  max-width: 228px;
  margin-top: auto;
  color: white;
}

.sliderbox .slidernavbutton:empty {
  display: none;
}

.sliderbox .slidernavbutton[is-active-scrollsnap] {
  color: black;
  background: white;
}

body[device-mode="mobile"] .sliderbox {
  --topbox-aspect: calc(16/9);
}

body[device-mode="mobile"] .sliderbox .sliderel {
  margin-bottom: 40px;
}

body[device-mode="mobile"] .sliderbox .bottombox {
  display: none;
}

body[device-mode="mobile"] .sliderbox .sliderels {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

body[device-mode="mobile"] .sliderbox .sliderelbutton {
  position: absolute;
  bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  left: 50%;
  color: black;
  background: white;
  transform: translateX(-50%);
}

body[device-mode="mobile"] .sliderbox .slidernav {
  display: none;
}

/* MEIDTHEK GALLERY BOX */
.mediathekgallerybox {
  margin-top: 60px;
  margin-bottom: 210px;
}

.mediathekgallerybox .mediathekthumbs {
  display: flex;
  flex-wrap: wrap;
  column-gap: 6px;
  row-gap: 6px;
}

.mediathekgallerybox .mediathekthumb {
  overflow: hidden;
  cursor: pointer;
  flex-grow: 1;
}

.mediathekgallerybox .mediathekthumb {
  --thumb-height: calc(10vw + 100px);
  height: var(--thumb-height);
}

body[device-mode="mobile"] .mediathekgallerybox .mediathekthumb {
  width: 165px;
}

.mediathekgallerybox .mediathekthumb .media {
  overflow: hidden;
  height: 100%;
  width: auto;
  transition: transform 0.6s;
}

.mediathekgallerybox .mediathekthumb .media .mediafootage {
  transition: transform 0.6s;
}

.mediathekgallerybox .mediathekthumb:hover .mediafootage {
  transform: scale(1.2);
}

.mediathekgallerybox .mediathekthumb .playbt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  --svgicon-url:
    var(--swg-video-play);
  --btwh:
    calc(var(--thumb-height) * 0.5);
  width: var(--btwh);
  height: var(--btwh);
  pointer-events: none;
}

.mediathekgallerybox .mediathekthumb .playbt .svgicon {
  background: white;
}

/* INFO EXPAND BOX */
.infoexpandbox {
  --expanded-width: 400px;
  --padding-x: 15px;
  --padding-y: 15px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  --button-height: 0px;
  font-size: 15px;
  line-height: 1.3em;
}

.infoexpandbox>* {
  pointer-events: all;
}

.infoexpandbox .posel {
  bottom: var(--padding-x);
  left: var(--padding-y);
  width: var(--button-width);
  height: var(--button-height);
  position: absolute;
  --bg-color: white;
  --color: black;
  color: var(--color);
  background: var(--bg-color);
  transition: width 0.6s, height 0.6s;
  overflow: visible;
  border-radius: 15px;
  cursor: default;
}

.infoexpandbox .posel[is-open] {
  height: min(var(--expandbox-height, 60vh));
  width: var(--expandbox-width);
}

.infoexpandbox .expandbox {
  position: absolute;
  width: fit-content;
  /* width: min(calc(100vw - 60px), 360px); */
  bottom: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s;
  margin-right: -100vw;
}

.infoexpandbox .posel[is-open] .expandbox {
  opacity: 1;
  pointer-events: all;
}

.infoexpandbox .button {
  position: absolute;
  bottom: 0;
  display: flex;
  cursor: pointer;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.3s 0.6s;
}

.infoexpandbox .posel[is-open] .button {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0s 0s;
}

.infoexpandbox .button .buttontext {
  margin: auto;
  line-height: 1.15em;
  padding: 5px 10px;
}