/**
 * TO TURN OFF 3D-Flip DO THIS:
 * - Enable block comment by removing "//" from this line '  // /* // 3D-Flip-Animation'
 * - Comment out those 4 lines in client.js:
 *   var $cardWrap = jQuery('<div id="client-card-wrap"></div>');
 *    $cardFront.parent().prepend($cardWrap);
 *    $cardBack.prependTo($cardWrap);
 *    $cardFront.prependTo($cardWrap);
 */
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
 */
body[class*="path-portfolio-industry-partners-"] {
  /* // DESIGN 2 (CENTER)

  #client-card-toggle-wrap {
    position: absolute;
    width: $clientTogglerSize;
    height: $clientTogglerSize;
    top: calc(50%);
    left: 50%;
    margin-top: calc(-1 * calc( calc(100vw / 5 - 20px) * 3/5) / 2);
    margin-left: calc(-1 * calc( calc(100vw / 5 - 20px) * 3/5) / 2);
    z-index: 20;

    span {
      display: none;
    }

    a {
      cursor: pointer;
      display: inline-block;
      width: 100%;
      height: 100%;
      position: relative;
      background: transparent url("/themes/custom/fla/img/icons/flip.png") center right no-repeat;
      background-size: contain;
      filter: grayscale(100%);
      mix-blend-mode: screen;
      opacity: 0.5;
    }

  }

  // */
}

body[class*="path-portfolio-industry-partners-"] #block-fla-content {
  padding: 0 !important;
}

body[class*="path-portfolio-industry-partners-"] #block-industry-partners {
  box-sizing: border-box;
  padding: 0 10px;
  background-color: #1c1c1c;
  height: calc(100% - 100vw - 40px + 41px);
  border-bottom: 1px solid black;
  position: relative;
}

body[class*="path-portfolio-industry-partners-"] #block-industry-partners:after, body[class*="path-portfolio-industry-partners-"] #block-industry-partners:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 20px;
  z-index: 10;
  pointer-events: none;
}

body[class*="path-portfolio-industry-partners-"] #block-industry-partners:before {
  top: 0px;
  background: linear-gradient(180deg, #1a1a1a 0%, rgba(26, 26, 26, 0) 100%);
}

body[class*="path-portfolio-industry-partners-"] #block-industry-partners:after {
  bottom: -2px;
  background: linear-gradient(0deg, #1a1a1a 0%, rgba(26, 26, 26, 0) 100%);
}

body[class*="path-portfolio-industry-partners-"] #block-industry-partners > div, body[class*="path-portfolio-industry-partners-"] #block-industry-partners > div > .view {
  height: 100%;
}

body[class*="path-portfolio-industry-partners-"] #block-industry-partners .view {
  overflow: auto;
}

body[class*="path-portfolio-industry-partners-"] #block-industry-partners .views-row:first-of-type {
  margin-top: 5px;
}

body[class*="path-portfolio-industry-partners-"] #block-industry-partners .views-row:last-of-type {
  margin-bottom: 5px;
}

body[class*="path-portfolio-industry-partners-"] #block-industry-partners .views-row a {
  font-size: 1rem;
  font-weight: 200;
  color: #7c7c7c;
}

@media screen and (min-height: 620px) {
  body[class*="path-portfolio-industry-partners-"] #block-industry-partners .views-row a {
    font-size: 1.25rem;
  }
}

body[class*="path-portfolio-industry-partners-"] #block-industry-partners .views-row.active a {
  color: #669900;
}

body.client-nlib .views-row.active a {
  color: #ba5912 !important;
}

body[class*="path-portfolio-industry-partners-"] .node__content {
  width: 100vw;
  height: calc(100vw - 41px);
  position: relative;
  perspective: 600px;
  background-color: #282828 !important;
}

@media screen and (max-width: 10768px) {
  body[class*="path-portfolio-industry-partners-"] .node__content > .field:not(.field--name-field-client-card-front):not(.field--name-field-client-card-back) {
    display: none;
  }
  body[class*="path-portfolio-industry-partners-"] .node__content .field[class*="field-client-card"] {
    position: absolute;
    margin: auto;
    width: 100%;
    height: 100%;
  }
  body[class*="path-portfolio-industry-partners-"] .node__content .field[class*="field-client-card"] img {
    object-position: center center;
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
}

body[class*="path-portfolio-industry-partners-"] #client-card-toggle-wrap {
  transform: rotate(0);
  transition-property: transform, opacity;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

body[class*="path-portfolio-industry-partners-"] #client-card-toggle-wrap.view-back-side {
  transform: scaleX(-1);
}

body[class*="path-portfolio-industry-partners-"] #client-card-toggle-wrap + .field--name-field-client-card-front + .field--name-field-client-card-back {
  display: none;
}

body[class*="path-portfolio-industry-partners-"] #client-card-toggle-wrap.view-back-side + .field--name-field-client-card-front {
  display: none;
}

body[class*="path-portfolio-industry-partners-"] #client-card-toggle-wrap.view-back-side + .field--name-field-client-card-front + .field--name-field-client-card-back {
  display: block;
}

body[class*="path-portfolio-industry-partners-"] #client-card-toggle-wrap {
  position: absolute;
  right: calc( (calc(100vw / 5 - 20px) / 5 ) + 10px);
  bottom: calc( (calc(100vw / 5 - 20px) / 5 ) + 10px);
  z-index: 20;
  height: calc( calc(100vw / 5 - 20px) * 3/5);
  width: calc( calc(100vw / 5 - 20px) * 3/5);
}

body[class*="path-portfolio-industry-partners-"] #client-card-toggle-wrap a {
  color: #7c7c7c;
  display: inline-block;
  position: relative;
  height: 100%;
  width: 100%;
  background: transparent url("/themes/custom/fla/img/icons/flip-h.png") center center no-repeat;
  background-size: calc( calc(100vw / 5 - 20px) * 3/5) auto;
}

body[class*="path-portfolio-industry-partners-"] #client-card-toggle-wrap a span {
  display: none;
}

body[class*="path-portfolio-industry-partners-"] #client-card-wrap {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: right center;
  transition: transform 1s;
}

body[class*="path-portfolio-industry-partners-"] #client-card-wrap.card-is-flipped {
  transform: translateX(-100%) rotateY(-180deg);
}

body[class*="path-portfolio-industry-partners-"] #client-card-wrap [class*="field--name-field-client-card"] {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  position: absolute;
  background-color: transparent;
}

body[class*="path-portfolio-industry-partners-"] #client-card-wrap .field--name-field-client-card-back {
  transform: rotateY(180deg);
}

body[class*="path-portfolio-industry-partners-"] article.client-nlib .node__content .field--name-field-client-nlib ~ #client-card-wrap .field--name-field-client-card-front:before, body[class*="path-portfolio-industry-partners-"] article.client-nlib .node__content .field--name-field-client-nlib ~ #client-card-wrap .field--name-field-client-card-back:before {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  content: " ";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1) url("/themes/custom/fla/img/client-nlib3.png") center center no-repeat;
  background-size: cover;
  position: absolute;
  mix-blend-mode: multiply;
}

/*# sourceMappingURL=fla-portfolio-clients.css.map */