/* https://preview.linon.de/idastyles/ms-wissenschaft/msw.css */
body {
    /* default theme */
    --page-headline-font-family: clash-dp-v, sans-serif;
    --page-headline-font-size: clamp(1.8rem, 4vw, 2.8rem);
    --page-headline-padding: 18px 8px;
    --accent-foreground-color: #000000;
    --page-headline-color: var(--accent-foreground-color, inherit);
    --font-family-sans: clash-gt;
    --font-family-serif: clash-gt;
    --slider-bg: #8419ba;
    --fullscreen-player-bg: #660f93;
    --fullscreen-player-button-color: #ffffff;
    --richtext-headline-font-family: clash-dp-v, sans-serif;
    --richtext-headline-color: inherit;
    --list-item-background: #fafafa;
    --white-black: #FFF;
    --black-white: #000;
}

body.dark {
    --white-black: #000;
    --black-white: #FFF;
    --richtext-headline-color: #fff;  
    background: #161616;
    --accent-foreground-color: #FFF;
    --list-item-background: #000;
    --slider-bg: #333;
}

.map-marker {
    --marker-background: #ca25e7;
}

@media (min-width: 900px) {
    body:not(.fullscreen) .outer-main-container {
        box-shadow: 0 0 31px hsl(0deg 0% 0% / 36%);
        max-width: 900px;
    }
    body.dark .outer-main-container {
        box-shadow: 0 0 31px hsl(0deg 0% 0% / 91%);
    }
}

/* ----------------------------------------------------------------------------------------------------- */
.large-image {
    width: 100%;
    height: clamp(340px, 60vw, 580px);
}

.base ul.base-list {
    margin: 0;
}

.base .list-marker {
    display: none;
}

.hero .List-titleDiv {
    padding-left: clamp(51px, 8vw, 70px) !important;
}

[data-id="root"] .list-item:first-of-type .List-titleDiv {
    /* padding-left: 8px !important; */
}

.base .list-item:not(.inline-list-headline) .List-titleFlex {
    padding: 0;
    min-height: clamp(70px, 10vw, 100px);
}

.base .list-item {
    position: relative;
    margin-bottom: 0px;
}
.base ul div.list-item:last-of-type li.List-listItem {
    border-bottom: none;
}

.base .inline-list-headline .List-title1 {
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.2;
    letter-spacing: 1.2px;
}
.base .inline-list-headline .List-listItem {
    margin-bottom: 0px;
    background: transparent;
    background: var(--white-black);
    background-size: contain;
    background-repeat: no-repeat;
}
.list-item.inline-list-headline.inline-list-item .List-listItem .List-titleFlex {
    padding: 6px 0px;
    min-height: 75px;
}
/*
.base .inline-list-headline .List-listItem:after {
  content: '';
  background: conic-gradient(from 20deg, #c70008, #ffd300, #b60000, #47009d, #d88400, #a50000);
  background: linear-gradient(90deg, #850080, #d7560e, #ffd300,#850080);
  position: absolute;
  display: block;
  inset: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  filter: blur(40px);
  opacity: 0.8;
  background-clip: border-box;
}
*/

.base .List-listItem {
    position: relative;
}
.base .List-title1 {
    /* text-transform: uppercase; */
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    font-weight: normal;
}
.base .List-title2 {
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: 400;
}

.base .List-numCode {
  position: absolute;
  /* background: #FFF; */
  padding-inline: 6px;
  padding-block: 3px;
  left: clamp(6px, 1vw, 8px);
  width: fit-content;
  top: auto;
  bottom: auto;
  /* font-family: Roboto,'opensans', sans-serif; */
  font-size: clamp(1.35em, 3vw, 1.5em);
  font-family: 'clash-gt';
  line-height: 1.2;
  font-weight: normal;
  color: var(--font-color);
  right: unset;
  
  
  
  
  [data-id*="info"] .large-image {
      width: 100%;
      margin: 100px !important
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
    &:empty {display: none;}
}

.base .main-container .MainMenu-item {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-weight: normal;
    text-transform: none;
    color: var(--font-color);
}

.richtext h4 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
}
.richtext h2:first-of-type {
    margin-top: 0;
}
.richtext h2 {
    margin-top: 10px;
    margin-bottom: 0px;
    text-transform: none;
    font-size: clamp(1.6rem, 3vw, 1.9rem);
    line-height: 1.2;
    font-weight: 500;
}

.richtext h3 {
    color: var(--font-color)
}

.richtext a {
    color: var(--black-white);
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 4px;
}


.base .page-headline {
    text-transform: none;
    font-weight: 550;
    line-height: 1;
    letter-spacing: 1.4px;
}

.Collapsible {
    width: 98%;
    position: relative;
    margin-inline: auto;
}

.base .Collapsible__trigger {
    font-size: clamp(1.125rem, 4vw, 1.5rem);
    font-weight: 500 !important;
    text-transform: uppercase;
    position: relative;
}

.Collapsible__trigger:after {
    font-family: monospace;
    font-weight: normal;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    line-height: 0;
    top: 50%;
    content: '+';
    transform: rotate(0deg) translateY(-50%);
}

.Collapsible__trigger.is-open:after {
    transform: rotate(135deg) translateY(-50%);
    top: 50%;
}

.Collapsible__contentOuter {
    transition: height 150ms ease-out 0s !important;
}

main {
    animation: fadeup 350ms ease-out 0s 1 forwards;
    min-width: 100%;
}
.OuterMainContainer-main {
    overflow-x: clip;
}
@keyframes fadeup {
    0% {
        margin-left: 150px;
    }

    100% {
        margin-left: 0;
    }
}

#text {
    font-size: 35px;
    font-weight: bold;
}

* {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.TopBar-rightItems button {
    margin-left: 12px;
}
.imageslider-advanced .FullScreenWrapper-fullscreen .FullScreenWrapper-fullScreenButton {
    background: #fff !important;
    box-shadow: 0 1px 2px hsl(0deg 0% 0% / 50%);
}
.imageslider-advanced .FullScreenWrapper-fullscreen .FullScreenWrapper-fullScreenButton svg {
    fill: #000 !important;
    color: #000;
}
@media (hover:hover) {
  a.List-listLink:hover  {
    /* opacity:.8; */
    filter: brightness(0.98);
  }
    .MainMenu-item:hover {
        filter: brightness(0.99);
        /* color: aliceblue; */
    }
}

.outer-main-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 0 50px hsl(0deg 0% 0% / 28%);
    overflow-x: clip;
}

.MainMenu-SlideRoot {
    background-color: var(--background-color);
    position: absolute;
    z-index: 100;
    height: 100%;
    width: 100%;
    max-width: 900px;
    color: #000;
    right: 0;
    left: 0;
    margin: 0 auto;
    top: 0px;
}

#gatsby-focus-wrapper .base .MainMenu-SlideRoot .MainMenu-menu {
    width: 97%;
    background-color: var(--background-color);
    height: auto;
    position: absolute !important;
    right: unset;
    left: 0;
    top: 49px;
    z-index: 8000;
    padding: 0px 10px;
    overflow: auto;
    max-height: 90vh;
    max-width: 900px;
}



.EntityPage-root .FullScreenWrapper-fullscreen {
    max-width: 900px;
    left: auto;
    /* background-clip: content-box; */
    overflow: hidden;
}

.keypad > .MuiGrid-container {
    max-height: 450px;
    max-width: 370px !important;
}
@media (min-width: 900px) {
    .outer-main-container {
        box-shadow: 0 0 50px hsl(0deg 0% 0% / 40%);
        max-width: 900px;
    }
}








/* MARK: Menu ------------------------------------------------------------------------------------------------ */

.TopBar-appBar {
    max-width: unset;
}
@media (pointer: fine) {
    .MainContainer-main .TopBar-appBar {
        overflow-x: clip;
        overflow-y: visible;
        max-width: var(--max-page-width, 900px);
        }
    }
     /* hack for safari only. overflow clip on fixed element bug*/
    @supports (-webkit-appearance:none) and (stroke-color:transparent) {
    .MainContainer-main .TopBar-appBar {
        overflow-x: visible !important;
    }
        main {
            animation: none;
        }
    }
.TopBar-rightItems .MainMenu-SlideRoot {
    position: absolute;
    z-index: 100;
    height: 100vh;
    top: 0px;
    left: 0px;
    right: 0;
    margin: auto;
}
.TopBar-rightItems .MainMenu-SlideRoot .MainMenu-menu {
    width: 94%;
    height: auto;
    position: absolute;
    right: 0;
    top: 49px;
    z-index: 8000;
    margin: 0px 10px;
    overflow: auto;
    max-height: 90vh;
}
.MainMenu-menu .MainMenu-item {
    font-size: clamp(var(--menu-item-size), 3vw, var(--menu-item-size) * 1.25);
    border-bottom: 1px solid var(--list-border-color);
    color: var(--menu-item-color);
    text-decoration: none;
    font-weight: var(--menu-item-weight);
    text-transform: var(--menu-item-case);
}
/*  underline current text-size */
html:not(.textsize-large):not(.textsize-xl) .switch-small {
    text-decoration: underline;
    text-underline-offset: 5px;
}
html.textsize-large .switch-large {
    text-decoration: underline;
    text-underline-offset: 5px;
}
html.textsize-xl .switch-xl {
    text-decoration: underline;
    text-underline-offset: 5px;
}
/* move darkswitch to left more distance to sizeswitch */
.MainMenu-menu div > div:has(.PrivateSwitchBase-input) {
    margin-left: 0 !important;
}
.MainMenu-menu .MuiSwitch-root:has(.PrivateSwitchBase-input) {
    margin-right: 60px;
}
.TopBar-rightItems button { margin-left: 10px; }














.swiper .carousel-child .gatsby-image-wrapper img {
    background-color: transparent;
}
.swiper-zoom-container {
    position: relative;
    background: transparent;
}
.FullScreenWrapper-fullscreen .swiper-custom-buttons{
    background: transparent;
}


.richtext {
    font-size: clamp(1.125rem, 4vw, 1.4rem);
}

.base li.List-listItem.hero {
    /* background: linear-gradient(90deg, #770072, #d70e0e , #d16500, #c2910a); */
    /* color: #FFF; */
}
.base .List-playButton svg {
    /* color: #FFF; */
    font-size: clamp(24px, 4vw, 28px);
}

.base .List-listImg.hero {
    /* filter:grayscale(); */
}

.base-list a[href*="Plan"] .List-numCode  {
    display: none;
}
.base-list a[href*="Plan"] .hero .List-titleDiv {
    padding-left: 8px !important;
}

.leaflet-marker-icon.map-marker.leaflet-zoom-animated.leaflet-interactive {
    margin-left: -25px  !important;
    margin-top: -25px  !important;
    width: 50px  !important;
    height: 50px  !important;
}
/*
[data-id="Plan"] .TopBar-appBar {
    display: none !important;
}
*/

.indoor-map .leaflet-popup-content .gatsby-image-wrapper {
    min-width: var(--popup-image-size);
    max-width: var(--popup-image-size);
    object-fit: cover;
    height: unset;
    object-position: center top;
    margin-bottom: 6px;
}
html .indoor-map {
    --map-bg: var(--dark-grey);
    --map-height: 85vh;
    --popup-image-size: 120px;
    --popup-text-size: 16px;
    --popup-text-color: var(--darker);
}

.FullScreenWrapper-fullscreen .player-controls {
    position: fixed;
    bottom: 0;
    max-width: 900px;
}

.richtext h1, .richtext h2, .richtext h3, .richtext h4, .richtext h5 {
    letter-spacing: 1.4px;
    font-weight: 600;
}

img#overlay-0 {
    /* left: unset !important; */
    right: 20px;
    max-width: 450px;
}

li.List-listItem.thumbLeft {
    margin-bottom: 3px;
}

[data-id*="info"] .large-image {
    aspect-ratio: 1033 / 579;
    height: auto !important;
}