html {
  --fla-heading-font-family: "CenturyGothicStd", "Inter", sans-serif;
  --fla-subheading-font-family: "Poppins";
  --fla-body-font-family: "Inter", "Helvetica Neue", "Arial", "Helvetica", "sans-serif";
  --fla-text-color-light: rgba(255,255,255,0.618);
}

body {
  --fla-dock-height: 0px;
}

body[data-fla-state*="do:1"] {
  --fla-dock-height: var(--fla-footer-height);
}

/**
 * TO BE INCLUDED WITHIN THE CONTENT CONTAINING ELEMENT
 * (WHERE THE SCOLLING DOES HAPPEN)
 */
/**
 * Must be applied not to the block element but the h1/h2/h3 directly
 * block must be display: contents
 */
/**
  NOTE: THIS IS SPECIFIC TO FONTS
  ARIAL: 0.318/2
 */
/**
 * What this does, is:
 * Given a Text like "First, Last and Always" we have the descender "y"
 * this mixin calculates the space that is taken by descenders and subtracts it
 * from the height of the element via negative margin bottom. By the way:
 * the descender space is also taken if we have text that does NOT have a descender!
 * When to use:
 * - The text block needs to sit bottom align with a specific design line or element
 *
 * When NOT to use:
 * - If another text block is placed below this one. in that case we need to use another mixin "centuryGothicDescendantEqualizer"
 *
 * Get the UnitsPerEM via "ttx -t head CenturyGothicStd.ttf" (fonttools)
 * Get the sTypoDescender via `ttx -t OS/2 CenturyGothicStd.ttf` (fonttools)
 * Calculate the Descener Ratio: Descender Ratio = |sTypoDescender| / unitsPerEm
 * Translate into CSS: margin-bottom: calc(-1*<DescenderRatio>)
 *
 * @see https://stackoverflow.com/questions/27631736/meaning-of-top-ascent-baseline-descent-bottom-and-leading-in-androids-font
 */
/**
 What we do here is:
 Based on this graphic: https://i.sstatic.net/LwZJF.png we cut off the
 distance from the bottom to the Descent
 */
/**
 * @deprecated Moved to a SDC component
 */
/**
 * Meant to glue the menu image before and after the content area so it can be used as glass background..
 */
/**
 * Use the content's image as a background below the content area to prevent boring grey areas
 */
/*
 * Use this for sections where the main content area must start below the header (not overlayed by the glass header)
 * to look fine u need to define a backkground image either for the body element or the layout container
 */
html.page-node-type-fps-page {
  overflow: hidden;
}

#block-fla-content {
  overflow: hidden;
}

#block-fla-content .menu-image--background.top {
  position: fixed;
  display: block !important;
  height: 100% !important;
  z-index: -1;
  /**
     * Specific Image positioning
     * @formatter:off
     */
}

#block-fla-content .menu-image--background.top img {
  object-position: bottom center !important;
}

#block-fla-content .menu-image--background.top img[src*="advantage_full"] {
  object-position: 25% top !important;
}

#block-fla-content .menu-image--background.top img[src$="finishing-floors-in-place-edit-LB.jpg"] {
  object-position: bottom left !important;
}

.outer_embla__container {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

article.no-story .outer_embla__container {
  display: block;
}

.outer_embla__container .v-slide {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 100%;
}

.outer_embla__container .v-slide:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.read-more, .read-less {
  font-weight: 300;
  font-size: 1.125rem;
  z-index: 100;
}

#facts .content-wrapper {
  font-size: 1.125rem;
  position: absolute;
  right: 1em;
  left: 1em;
  bottom: calc(1em + var(--fla-dock-height));
  z-index: 4;
  transition: opacity 0.4s ease-in;
}

#facts .content-wrapper ul li {
  hyphens: auto;
  -webkit-hyphens: auto;
}

#facts .content-wrapper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

#facts .content-wrapper:before {
  z-index: -2;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  backdrop-filter: grayscale(20%) blur(3px) brightness(60%);
}

body[data-fla-state*="fpsm:1"] #facts .content-wrapper {
  opacity: 0;
}

@media screen and (min-width: 768px) {
  #facts .content-wrapper {
    left: 40%;
  }
}

@media screen and (min-width: 960px) {
  #facts .content-wrapper {
    left: 50%;
  }
}

@media screen and (min-width: 1024px) {
  #facts .content-wrapper {
    left: 60%;
  }
}

@media screen and (min-width: 1600px) {
  #facts .content-wrapper {
    left: 75%;
  }
}

#facts .content-wrapper ul {
  padding-right: 1rem;
  padding-left: 1rem !important;
}

#facts ul li {
  list-style-image: none !important;
}

#facts ul li:last-of-type(2) {
  margin-bottom: 0 !important;
}

@media screen and (max-width: 375px) and (max-height: 667px) {
  #facts ul li {
    hyphens: auto;
  }
}

@media screen and (min-width: 600px) and (min-height: 800px) {
  #facts ul li {
    padding-left: 50px !important;
  }
  #facts ul li:not(.button) {
    background: transparent url("/themes/custom/fla/img/circle-gray-outline.svg") left center no-repeat;
    background-size: 30px auto;
    background: transparent url("/themes/custom/fla/img/circle-gray.svg") 0 calc(50%) no-repeat;
    background-size: 25px auto;
  }
}

#facts a.read-more {
  padding: 1rem;
  display: inline-block;
  float: right;
}

.photos-stories {
  position: relative;
  max-height: calc(100dvh - var(--fla-header-height));
}

article.no-story .photos-stories {
  max-height: 100dvh;
  height: 100dvh;
}

#photos {
  height: 100%;
  max-height: calc(50dvh - var(--fla-header-height));
  position: relative;
  font-size: 0;
}

#block-fla-content article.node--type-fps-page.no-story #photos {
  max-height: 100dvh;
}

#photos .embla__prev, #photos .embla__next {
  display: none;
}

@media screen and (min-width: 1024px) {
  #photos .embla__prev, #photos .embla__next {
    display: contents;
  }
}

@media screen and (min-width: 1600px) and (min-aspect-ratio: 1) {
  #photos figure:not(.is-snapped) {
    filter: grayscale(0.382) saturate(0.618) brightness(0.418);
  }
  #photos figure.is-snapped {
    display: block;
    position: relative;
  }
  #photos figure.is-snapped:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
  }
  #photos figure.is-snapped:after {
    left: auto;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
  }
  #photos figure {
    flex-basis: 33.33% !important;
  }
  article.no-story #photos figure {
    flex-basis: 50% !important;
  }
  #photos .embla__controls {
    width: 50%;
    bottom: calc(2rem + var(--fla-dock-height));
  }
}

#photos .embla__dots {
  display: none;
}

#photos .read-less {
  position: absolute;
  bottom: 1em;
  right: 1em;
  z-index: 5;
}

#story {
  --story-text-padding: 2rem;
  height: 50dvh;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

#story.no-story {
  height: 6rem;
  left: calc(100vw - 7.5rem);
  display: none !important;
}

#story:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

#story:before {
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 0;
  backdrop-filter: grayscale(20%) blur(3px) brightness(60%);
}

#story > h1, #story .content-wrapper > h1 {
  display: none;
}

@media screen and (min-width: 1600px) and (min-aspect-ratio: 1) {
  #story > h1, #story .content-wrapper > h1 {
    display: block;
    position: absolute;
    top: -2.3ch;
    left: calc( var(--story-text-padding));
    line-height: 1;
    margin-block-start: 0;
    text-shadow: 0 0 10px black;
  }
}

#story .content-wrapper {
  container-name: body;
  container-type: size;
  overflow-y: auto;
  overflow-x: hidden;
  position: absolute;
  z-index: 7;
  top: var(--story-text-padding);
  right: var(--story-text-padding);
  bottom: var(--story-text-padding);
  left: var(--story-text-padding);
  box-sizing: content-box;
}

#story .content-wrapper .field--name-field-story {
  font-size: 1.125rem;
  column-gap: var(--story-text-padding);
}

#story .content-wrapper .field--name-field-story h1, #story .content-wrapper .field--name-field-story h2, #story .content-wrapper .field--name-field-story h3, #story .content-wrapper .field--name-field-story h4, #story .content-wrapper .field--name-field-story h5, #story .content-wrapper .field--name-field-story h6 {
  break-inside: avoid;
}

#story .content-wrapper .field--name-field-story p {
  margin-block-start: 0;
}

#story .content-wrapper .field--name-field-story p::first-letter {
  font-size: 168%;
  font-weight: bold;
  margin-right: 0.25ch;
  line-height: calc(100/168);
  vertical-align: top;
}

#story .content-wrapper .field--name-field-story p a {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: auto;
  text-decoration-skip-box: all;
  text-decoration-skip-self: skip-underline;
  text-decoration-skip-spaces: all;
}

@container body (min-width:700px) {
  #story .content-wrapper .field--name-field-story {
    column-count: 2;
  }
}

@container body (min-width:1000px) {
  #story .content-wrapper .field--name-field-story {
    column-count: 3;
  }
}

#story .read-less {
  float: right;
}

/* ================================
  UP/Down Arrows to toggle v slides
================================ */
#facts .toggle-vslide, #photos .toggle-vslide {
  --toggle-vslide-width: 60px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: var(--toggle-vslide-width);
  aspect-ratio: 1;
  left: 50%;
  margin: 0;
  line-height: 1;
  margin-left: calc(-0.5 * var(--toggle-vslide-width));
  z-index: 10;
  text-align: center;
  font-size: var(--toggle-vslide-width);
  padding: 0 !important;
  float: none !important;
  transition: all 0.4s ease-in-out;
  outline: none;
}

@media screen and (min-width: 1140px) {
  #facts .toggle-vslide, #photos .toggle-vslide {
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    backdrop-filter: grayscale(20%) blur(3px) brightness(60%);
  }
}

#facts .toggle-vslide.arrow-up, #photos .toggle-vslide.arrow-up {
  top: calc(0.75rem);
  bottom: auto;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  backdrop-filter: grayscale(20%) blur(3px) brightness(60%);
}

body[data-fla-state*="fpsm:0"] #facts .toggle-vslide.arrow-up, body[data-fla-state*="fpsm:0"] #photos .toggle-vslide.arrow-up {
  opacity: 0;
}

@media screen and (min-width: 1140px) {
  #facts .toggle-vslide.arrow-up, #photos .toggle-vslide.arrow-up {
    bottom: unset;
    top: 1rem;
  }
}

#facts .toggle-vslide.arrow-down, #photos .toggle-vslide.arrow-down {
  bottom: calc(1rem + var(--fla-dock-height));
}

body[data-fla-state*="fpsm:1"] #facts .toggle-vslide.arrow-down, body[data-fla-state*="fpsm:1"] #photos .toggle-vslide.arrow-down {
  opacity: 0;
}

#facts .toggle-vslide i, #photos .toggle-vslide i {
  filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.4));
}

#facts .toggle-vslide.arrow-down {
  display: none;
}

@media screen and (min-width: 1600px) {
  #facts .toggle-vslide.arrow-down {
    display: inline-block;
  }
}

/**
 * Include facts only mode
 */
/**
 * @see https://tickets.freeunited.de/issue/FLA-3285/Polish-FPS-DESKTOP-XXL
 * DONT FORGET TO CHANGE THE carousels flex alignment to "start" in "carousel" component
 */
html {
  --fla-heading-font-family: "CenturyGothicStd", "Inter", sans-serif;
  --fla-subheading-font-family: "Poppins";
  --fla-body-font-family: "Inter", "Helvetica Neue", "Arial", "Helvetica", "sans-serif";
  --fla-text-color-light: rgba(255,255,255,0.618);
}

body {
  --fla-dock-height: 0px;
}

body[data-fla-state*="do:1"] {
  --fla-dock-height: var(--fla-footer-height);
}

/**
 * TO BE INCLUDED WITHIN THE CONTENT CONTAINING ELEMENT
 * (WHERE THE SCOLLING DOES HAPPEN)
 */
/**
 * Must be applied not to the block element but the h1/h2/h3 directly
 * block must be display: contents
 */
/**
  NOTE: THIS IS SPECIFIC TO FONTS
  ARIAL: 0.318/2
 */
/**
 * What this does, is:
 * Given a Text like "First, Last and Always" we have the descender "y"
 * this mixin calculates the space that is taken by descenders and subtracts it
 * from the height of the element via negative margin bottom. By the way:
 * the descender space is also taken if we have text that does NOT have a descender!
 * When to use:
 * - The text block needs to sit bottom align with a specific design line or element
 *
 * When NOT to use:
 * - If another text block is placed below this one. in that case we need to use another mixin "centuryGothicDescendantEqualizer"
 *
 * Get the UnitsPerEM via "ttx -t head CenturyGothicStd.ttf" (fonttools)
 * Get the sTypoDescender via `ttx -t OS/2 CenturyGothicStd.ttf` (fonttools)
 * Calculate the Descener Ratio: Descender Ratio = |sTypoDescender| / unitsPerEm
 * Translate into CSS: margin-bottom: calc(-1*<DescenderRatio>)
 *
 * @see https://stackoverflow.com/questions/27631736/meaning-of-top-ascent-baseline-descent-bottom-and-leading-in-androids-font
 */
/**
 What we do here is:
 Based on this graphic: https://i.sstatic.net/LwZJF.png we cut off the
 distance from the bottom to the Descent
 */
/**
 * @deprecated Moved to a SDC component
 */
/**
 * Meant to glue the menu image before and after the content area so it can be used as glass background..
 */
/**
 * Use the content's image as a background below the content area to prevent boring grey areas
 */
/*
 * Use this for sections where the main content area must start below the header (not overlayed by the glass header)
 * to look fine u need to define a backkground image either for the body element or the layout container
 */
article.facts-only #facts .content-wrapper {
  padding: 0.5rem 1rem;
  margin-block-start: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

article.facts-only #facts .content-wrapper p:first-of-type {
  margin-block-start: 0;
}

article.facts-only #facts .content-wrapper p:last-of-type {
  margin-block-end: 0;
}

@media screen and (min-width: 1600px) and (min-aspect-ratio: 1) {
  article.facts-only #facts .content-wrapper {
    left: calc(75dvw + 1em);
  }
}

article.facts-only #facts .read-more {
  display: none !important;
}

/**
 * USE this if we have better images
 */

/*# sourceMappingURL=fla-fps3-page.css.map */