/* https://preview.linon.de/idastyles/blm-reichenau/blm.css */

body,
html {
    --list-item-background: #fff;
    --list-border-color: var(--font-color);
    --list-border-width: 2px;
    --list-bg: transparent;
    --page-headline-color: #a88a49;
    --page-headline-bg: transparent;
    --slider-bg: #f3f3f3;
    --fullscreen-slider-bg: #333333;
    --image-height-no-fullscreen: 45vh !important;
    --font-family-serif: 'Pfeffer Mediaeval';

    --font-color: #333;
    --page-headline-size: clamp(1.9rem, 1.25rem + 2vw, 2.375rem);

    --thumb-border-color: #f5f5f5;
    --page-margin: 8px;

    --popup-image-size: 130px;
    -webkit-tap-highlight-color: transparent;
    --link-font-color: #796230;
}

/* reset */
h1,
h2,
h3 {
    font-weight: normal;
}

.dark {
    --slider-bg: #222222;
    --list-border-color: #777;
    --link-font-color: #bda36b;
    --page-headline-color: #c2a972;
}

.dark hr {
    background: #777;
}

html .indoor-map {
    --popup-image-size: 130px;
}


/* ------------------------------------------------------------ */

.EntityPage-root {
    margin: 0 var(--page-margin);
}

.ComponentsWrapper-padding .richtext {
    padding-left: calc(8px - var(--page-margin)) !important;
    padding-right: calc(8px - var(--page-margin)) !important;
}

.page-headline {
    padding: 12px calc(8px - var(--page-margin));
    margin: 0;
    line-height: 1;
    font-size: var(--page-headline-size);
    font-family: var(--font-family-serif);
    font-weight: normal;
    color: var(--page-headline-color, #a88a49);
    background-color: var(--page-headline-bg);
}

/* ------------------------------------------------------- list settings */
.base ul.base-list {
    margin: 0;
}

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

.base .List-listItem {
    text-decoration: none;
    padding: 0;
    color: var(--font-color);
    background: var(--list-item-background);
    border: 0px;
    border-color: var(--list-border-color);
    border-bottom-width: var(--list-border-width);
    border-style: solid;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin: 0;
    margin-bottom: 0px;
    overflow: hidden;
    align-items: center;
    margin-top: -1px;
}

.base .List-listImg.hero+.List-listItem {
    border: none !important;
    border-color: transparent !important;
    border-style: none;
}

.base .inline-list-headline h2 {
    color: unset;
}

.base .list-item.inline-list-headline .List-titleFlex {
    min-height: unset;
}

.base .inline-list-headline .List-listItem {
    padding: 5px 0;
    margin-bottom: 0;
    border: 0;
}

.base .inline-list-headline .List-title1 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.15rem;
}

.base .List-listImg.hero {
    margin-top: 8px;
    height: clamp(210px, 55vw, 550px);
}

a.List-listLink:has(.hero) .list-marker {
    display: none;
}

a.List-listLink:has(.hero) .List-titleFlex {
    min-height: 40px;
}

.base .List-listImg:not(.hero):not(.svg) {
    border: 1px solid;
    margin: 6px 0;
    margin-right: 0;
    border-color: var(--thumb-border-color);
}

.base .icon .List-listImg:not(.hero):not(.svg) {
    width: 50px;
    min-width: 50px;
    height: 50px;
}

.base .list-marker {
    display: block;
    width: 4px;
    position: absolute;
    bottom: 8px;
    top: 7px;
    left: 0;
    height: auto;
}

/* list-marker flacher in maplist */
.EntityPage-root:has(.ida-map) .list-marker.inline-list-marker {
    top: 7px;
    bottom: 9px;
}
.base .EntityPage-root:has(.ida-map) .list-item:not(.inline-list-headline) .List-titleFlex {
    padding: 0;
    min-height: 0px !important;
}


/* thumb macht platz fÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼r marker */
.list-marker+.List-listImg:not(.hero):not(.svg),
.list-marker+.List-listImg.icon {
    margin-left: 8px;
}

.List-listImg.svg.icon {
    margin-bottom: 8px;
    margin-top: 8px;
}

/* small thumb in map list */
.EntityPage-root:has(.ida-map) .List-listImg:not(.hero):not(.icon) {
    height: 50px;
    width: 50px;
    min-width: 50px;
}
/* listmarker abstand fÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼r mapicon in maplist */
.inline-list-marker + .List-listImg.svg {
    margin-left: 8px;
    margin-top: 9px;
}

.base .list-item:not(.inline-list-headline) .List-titleDiv {
    padding-top: .5em;
    padding-bottom: .5em;
}

.base .inline-list-headline .List-title2 {
    display: none;
}

.base .list-item:not(.next-link):last-of-type .List-listItem {
    border: 0px !important;
}

[data-id="startpage"] .list-item:not(.next-link):last-of-type .List-listItem {
    border: 1px solid #ffffffa6 !important;
}



/* ------------------------------------------------------- Startpage settings */
[data-id="startpage"] .EntityPage-root {
    margin: 0;
}

[data-id="startpage"] .List-listImg.hero+.List-listItem {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 0px;
    background: hsl(0deg 0% 0% / 30%);
    width: fit-content !important;
    max-width: unset;
    border-radius: 0;
    backdrop-filter: blur(3px);
    margin: 0;
    padding: 2px;
    border: 1px solid !important;
    border-color: #ffffff8f !important;
    border-style: solid !important;
}

[data-id="startpage"] .List-listItem * {
    color: #fff !important;
}

[data-id="startpage"] .List-title3{
    font-size: 1em;
}

[data-id="startpage"] .EntityPage-root {
    margin: 0;
}

[data-id="startpage"] .large-image {
    height: clamp(350px, 60vw, 550px);
}

[data-id="startpage"] a.List-listLink {
    position: relative;
    display: block;
    height: 50vh;
}

[data-id="startpage"] .List-listImg.hero {
    height: 100% !important;
    margin: 0 !important;
}

[data-id="startpage"] .List-listItem .List-title1 {
    font-size: 1rem;
    font-weight: 700;
}

[data-id="startpage"] .List-listItem .List-title2 {
    font-size: 1rem;
    text-wrap: balance;
}

[data-id="startpage"] .List-playButton {
    display: block;
}

[data-id="startpage"] .list-item:not(.inline-list-headline) .List-titleDiv {
    padding: 5px;
    padding-right: 15px;
}

/* xxxxxxx */


/* ------------------------------------------------------- page animation */
main {
    animation: fadeup 350ms ease-out 0s 1 forwards;
    position: relative;
    z-index: 0;
}

@keyframes fadeup {
    0% {
        opacity: 0;
        margin-top: 300px;
    }

    100% {
        opacity: 1;
        margin-top: 0;
    }
}

[data-id="root"] main {
    animation: none;
}

/* xxxxxxxxxxxxxxxx */

.FullScreenWrapper-fullscreen .swiper .carousel-child .gatsby-image-wrapper img {
    background-color: var(--fullscreen-slider-bg);
}

.FullScreenWrapper-fullscreen {
    background-color: var(--fullscreen-slider-bg) !important;
}

.imageslider-advanced+.ComponentsWrapper-padding {
    margin-top: 1em;
}

.base .richtext h6 {
    font-family: var(--font-family-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: #a38034;
    text-transform: none;
    word-spacing: -4px;
    margin: 0
}

.base .richtext h6+h3 {
    margin-top: 0;
}

[data-id="3000_Fam-ALM"] .inline-list-headline {
    max-height: 8px;
}

.large-image+.page-headline {
    margin-top: 8px;
}

/* linie unter ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼berschrift */
.base .richtext h2+hr,
.base .richtext h3+hr {
    height: 2px;
    margin-top: 12px;
    margin-bottom: 0;
}

.base .richtext:has(hr) h2 {
    font-size: 2.2rem;
    word-spacing: -7px;
}

.base .richtext:has(hr) h2+h3 {
    margin-top: 0px !important;
}

.base .ComponentsWrapper-padding:has(hr):has(h2) .richtext {
    padding: 8px 0 !important;
}

.base .richtext h2,
.base .richtext h2 span {
    font-family: var(--font-family-serif);
    font-size: 30px;
    font-weight: 400;
    color: #a38034;
    text-transform: none;
    word-spacing: 0px;
}

span {
    font-family: inherit;
}

.imageslider-advanced.swiper.single {
    margin-bottom: 10px;
}

.base .ComponentsWrapper-padding .richtext {
    padding-left: calc(8px - var(--page-margin)) !important;
    padding-right: calc(8px - var(--page-margin)) !important;
}

[data-id="2000_Erw"] .page-headline {
    font-size: 2.2rem;
    margin: .5em 0;
}


/* ------------------------------------------------------- root settings  */
.entity-overlays {
    position: absolute !important;
    inset: 0;
    background: transparent;
    z-index: 1;
}

/* claim */
img#overlay-0 {
    animation: fadein 1100ms ease-out 200ms 1 forwards;
    visibility: hidden;
    overflow: clip;
}

/* arc */
img#overlay-1 {
    animation: fadein 2200ms ease-out 1500ms 1 forwards;
    visibility: hidden;
}

/* iglesia */
img#overlay-2 {
    animation: circle 1500ms ease-out .8s 1 forwards;
    visibility: hidden;
    /* max-width: 500px; */
}

/* wimpel */
img#overlay-4 {
    animation: fadein 1100ms ease-out 1500ms 1 forwards;
    visibility: hidden;
    overflow: clip;
    right: 0;
}

/* wuerth */
img#overlay-3 {
    opacity: 0;
    overflow: clip;
    animation: comedown 500ms ease-out 2000ms 1 forwards;
    right: 18px;
}

@keyframes fadein {
    0% {
        opacity: 0;
        visibility: hidden;
    }
10% {visibility: visible;}
    100% {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes circle {
    0% {
        clip-path: circle(0% at 33% 36%);
        visibility: hidden;
    }

    100% {
        clip-path: circle(100% at 33% 36%);
        visibility: visible;
    }
}

@keyframes comeup {
    2% {
        transform: translateY(300px);
        visibility: visible;
    }

    100% {
        transform: translateY(0px)
    }
}

@keyframes comedown {
    2% {
        transform: translateY(-300px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.homepage-linklist-wrapper {
    position: absolute;
    bottom: 50px;
    left: 20px;
    width: fit-content;
    z-index: 100;
    animation: comeup 600ms ease-out 2200ms 1 forwards;
    min-height: unset;
    margin: 0;
    /* visibility: hidden; */
    transform: translateY(300px);
}

@media only screen and (min-height: 730px) {
    img#overlay-0 {
        margin-top: 10vh !important;
    }
}

@media only screen and (max-height: 670px) {
    img#overlay-2 {
        width: 95% !important;
    }
}

a.childlink {
    background: linear-gradient(175deg, #f7c26e, #a57f50);
    color: #000000;
    font-family: 'Pfeffer Mediaeval';
    font-size: 2em;
    line-height: 1;
    text-transform: none;
    padding: 7px 30px;
    margin: 0;
    /* border: 1px solid #ffd70078; */
    box-shadow: 0px 2px 9px #00000073;
}

/*  ------------------------------------------------------- slidehow settings  */
[data-id*="_slideshow"] .swiper .carousel-child .gatsby-image-wrapper img {
   
}

[data-id*="_slideshow"] .page-headline {
    margin: 15px 8px
}

[data-id*="_slideshow"] .imageslider-advanced.swiper img {
    max-width: 100%;
    /* aspect-ratio: 359/560; */
    /* min-height: 560px; */
    max-height: 62vh !important;
    /* max-width: 359px; */
    min-width: 100%;
    margin: 0 auto;
     /* background: linear-gradient(-45deg, black, #535353, black); */
    background: #FFF;
}
.dark [data-id*="_slideshow"] .imageslider-advanced.swiper img {
    background: #333;
}

[data-id*="_slideshow"] swiper-container::part(container) {
    padding-bottom: 26px;
}

[data-id*="_slideshow"] .EntityPage-root {
    margin: 0px !important;
}

[data-id*="_slideshow"] .richtext h3 {
    font-weight: bold;
    font-size: 1.0625em;
}



[data-id*="_slideshow"] .gatsby-image-wrapper {
    display: flex;
    justify-content: center;
}
/*
[data-id*="_slideshow"] swiper-container::part(button-prev) {
    left: 0px;
    top: 90%;
}
[data-id*="_slideshow"] swiper-container::part(button-next) {
    right: 0px;
    top: 90%;
}
*/'
[data-id*="_slideshow"] .FullScreenWrapper-fullscreen swiper-container::part(button-next),
[data-id*="_slideshow"] .FullScreenWrapper-fullscreen swiper-container::part(button-prev)
{

    top: 50%;
}

[data-id*="_slideshow"] swiper-container::part(pagination) {
    bottom: 0px;
}

[data-id*="_slideshow"] .FullScreenWrapper-fullscreen swiper-container::part(pagination) {
    bottom: 35px;
}

[data-id*="slid"] .imageslider-advanced .caption-inline {
    font-size: 1em;
    line-height: 1.5;
    text-align: left;
    font-weight: 400;
    padding: 8px;
    padding-bottom: 1.5em;
}

[data-id*="slid"] .imageslider-advanced .caption-inline p {
    line-height: 1.4;
    padding: 0;
}

[data-id*="slid"] .imageslider-advanced .caption-inline h2 {
    margin-top: 10px !important;
    margin-bottom: 10px
}

@media only screen and (max-height: 667px) {
    [data-id*="_slideshow"] .imageslider-advanced.swiper img {
        /* object-fit: cover !important; */
        max-height: 72vh !important;
    }

    [data-id*="_slideshow"] swiper-container::part(button-prev) {
    left: 10px;}
    [data-id*="_slideshow"] swiper-container::part(button-next) {
    right: 10px;}
}

/* xxxx */


/* ------------------------------------------------------- leaflet pop Styles */


.base .leaflet-popup-content-wrapper {
    padding: 1px;
    text-align: left;
    border-radius: 8px;
}

.base .leaflet-popup-content {
    line-height: 1.1;
    font-size: 13px;
    font-size: 1.08333em;
    min-height: 1px;
    width: fit-content !important;
    margin: 5px;
    text-align: center;
}

.base .leaflet-popup-content .gatsby-image-wrapper {
    min-width: var(--popup-image-size);
    max-width: var(--popup-image-size);
    width: var(--popup-image-size);
    height: unset;
    margin-bottom: 8px;
    aspect-ratio: 4/3;
}

.base .leaflet-popup-content .label {
    font-size: 15px;
    font-weight: bold;
    padding-bottom: 8px;
}

.base a.leaflet-popup-close-button {
    display: none;
}

/* xxx */

/* ------------------------------------------------------- player-settings */
.player-controls {
    margin: 1em 0;
    margin-left: 0;
    height: 56px;
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    width: 100%;
}

.dark .player-controls {
    border: none;
}
.dark input.search-box-input {
    filter: invert(1);
}
.inline-player .player-controls {
    margin: 0 !important;
    /* filter: brightness(.98); */
    width: 100%;
    height: 35px;
    border: 0;
}

.inline-player {
    color: var(--font-color);
    background: var(--player-bg);
    border-color: var(--list-border-color);
    /* margin: 20px 0; */
}

.inline-player .thumb .gatsby-image-wrapper {
    width: 100%;
    height: 100%;
    padding: 0 !important;
}

.inline-player .title .title1 {
    font-size: var(--font-size-default);
    font-weight: bold;
    font-family: var(--font-family-sans);
    line-height: 1.1;
}

/* keine extra margin wenn mehrere inline-player hintereinander */
.ComponentsWrapper-padding+.ComponentsWrapper-padding .inline-player-container {
    margin: 8px 0;
}

/* xxx */


/* ------------------------------------------------------- nextlink settings */
.list-item.next-link {
    margin-top: 25px;
    margin-bottom: 0;
    border: 0px;
}

.list-item.next-link .List-listItem {
    margin: 0px;
    border: none !important;
}

.next-link svg {
    fill: var(--font-color);
}

.list-item.next-link {
    margin-top: 25px;
    margin-bottom: 0;
    width: 100%;
}

.list-item.next-link .List-title1 {
    font-weight: 700;
    font-size: var(--font-size-default);
    text-transform: uppercase;
}

.dark .list-item.next-link * {
    color: #FFF;
    fill: #fff
}

.base .list-item.next-link .List-titleFlex {
    min-height: unset;
    padding: 0;
}

/* xxx */

/* richtext settings */
.base .richtext h2:first-of-type {
    margin-top: 0px;
}

.base h2+h3 {
    margin-top: 8px !important;
    font-size: var(--font-size-default);
}

.base .richtext h2 {
    font-family: var(--font-family-serif);
    font-size: 30px;
    font-weight: 400;
    color: #a38034;
    text-transform: none;
    word-spacing: 0px;
}

.base .dark .richtext h2 {
    color: #d4b46e;
}

.base h2+h3 {
    margin-top: 8px !important;
    font-size: var(--font-size-default);
}

.richtext a {
    text-underline-offset: 4px;
}

/* xxx */



/* Styles for main Branch ---------------------------------------------------- */

/* kein extra padding fÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼r player-slider on mobile */
@media (pointer: coarse) {
    .player-controls .MuiSlider-root {
        padding: 4px 0;
    }
}

swiper-container::part(button-prev) {
    filter: drop-shadow(-2px 0px 0px #00000050);
}

swiper-container::part(button-next) {
    filter: drop-shadow(2px 0px 0px #00000050);
}


.Collapsible__trigger {
    font-weight: 700 !important;
    padding-left: calc(8px - var(--page-margin));
}
.Collapsible__contentInner {
    padding: 0 calc(8px - var(--page-margin));
    padding-bottom: 1em;
}

.TopBar-appBar button {
    background-color: transparent !important;
}

.caption-inline:empty {
    display: none;
}

/* keine border wenn nur ein listchild */
.base ul.base-list .list-item:only-child .List-listItem {
    border: 0;
    background: var(--player-bg);
}

[data-id="root"] {
    background: #53070a;
}

/* [data-placeholder-image] {
    opacity: 0 !important;
    visibility: hidden !important;
    clip-path: inset(50% 50% 50% 50%);
    background-color: hotpink !important;
    transition: all 0s !important;
    transform: translateX(500vw);
    inset: unset !important;
} */

.ComponentsWrapper-padding:has(.inline-player) {
     padding: 0;
}

.inline-player-container {
    margin: 20px 0;
    border-radius: 6px;
    overflow: clip;
    border: 1px solid #e9e9e9;
    cursor: pointer;
}



[data-id*="textbilder"] .swiper .carousel-child .gatsby-image-wrapper img {
    background: #fff;
    min-height: 79vh;
    min-width: 375px;
}

[data-id*="textbilder"] swiper-container::part(container) {
    padding-bottom: 20px;
}

[data-id*="textbilder"] swiper-container::part(pagination) {
    bottom: 0px;
}

[data-id="Tour03_hist"] .list-marker {
    display: none;
}
.rm-action-button-container button {
    border: none;
    background: none;
    font-size: .875rem;
    font-weight: 700;
    color: #a88a49;
    padding-top: 8px;
}

.rm-action-button-container {
    margin-bottom: 1em;
}
.Collapsible__trigger {
    font-weight: 700 !important;
    padding-left: calc(8px - var(--page-margin))
}
.Collapsible__trigger:after {
    font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: normal;
    font-family: inherit;
    font-size: 30px;
    line-height: 1;
    top: 12px;
    content: '+';
    transform: rotate(0deg);
}
.Collapsible__trigger.is-open:after {
    transform: rotateZ(135deg);
    top: 12px;
    font-size: 32px;
}
.Collapsible__contentOuter {
    transition: height 150ms ease-out 0s !important;
}

.EntityPage-root:not(:has(.Collapsible:nth-child(2))) .Collapsible {
   border-bottom-style: dotted;
}

:where(h1,h2,h3,h4,.List-title1,.List-title2) {
    text-wrap: balance;
}

.Collapsible:first-of-type:last-of-type {
    border-bottom-style: dotted;
    background: red;
}

.rm-text-container {
    max-height: 6rem;
}


.richtext .rm-typography p {
    display: inline-block;
}

/* popup time indicator beim player sliden */
.MuiSlider-valueLabelOpen {
    background: white;
}

[aria-hidden="true"] {
    background-color: transparent !important;
}

.overlay-image:has(#overlay-2) {
    max-width: 577px;
}

.overlay-image:has(#overlay-0) {
    max-width: 700px;
}

.FullScreenWrapper-fullscreen video {
    max-height: calc(100% - 56px);
    position: fixed;
    z-index: 80;
}

/*
.next-link-container {
     position: fixed; 
    bottom: 0;
    left: 0;
    right: 0;
}
.EntityPage-root:has(.next-link-container) {
    padding-bottom: 80px;
}
*/

.dark input:focus-visible {
    border: 2px solid #777777;
    outline: 0px;
}

[data-id*="show-p"] .imageslider-advanced .caption-inline {
    text-align: center;
    margin-top: 10px;
}

@media (max-height: 667px) {
    
    [data-id*="show-p"] .imageslider-advanced {
        --imageslider-image-height: 40vh !important;
    }

    [data-id*="show-p"] .imageslider-advanced:has(.FullScreenWrapper-fullscreen) {
        --imageslider-image-height: auto !important;
    }
}











/* Gradient for Headlines 
.base .inline-list-headline .List-listItem {
    padding: 10px 0;
    margin-bottom: 0;
    border: 0;
    background: linear-gradient(90deg, #000000d4, 20%, #ffffff29, 90%, #000000);
    background-blend-mode: soft-light;
}
.List-listItem.hero {
    background-image: linear-gradient(90deg, #0000009c, 20%, #ffffff30, 85%, #000);
    background-blend-mode: soft-light;
  }
.list-item.next-link .List-listItem {
background-image: linear-gradient(90deg, #0000009c, 20%, #ffffff5e, 85%, #000);
    background-blend-mode: soft-light;
} 

[data-id*="_Med"] .inline-list-headline .List-listItem {
    background: unset;
}
[data-id*="5000a"] .List-listItem.hero {
    background: unset;
}*/



[data-id="Info"] .richtext a {
    color: var(--font-color);
    border: 1px solid var(--font-color);
    padding: 8px;
    text-decoration: none;
    display: block;
    width: max-content;
    margin: 16px 0;
}

.ComponentsWrapper-padding:has(h2) + .imageslider-advanced {
    margin-top: 1em;
}

