/*!**************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/@wordpress/scripts/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[3]!./packages/module-library/image-hover-reveal/style.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************/
/* Recommended styles for Splitting */
.et-db #et-boc .et-l .splitting .word, .et-db #et-boc .et-l .splitting .char {
  display: inline-block;
}

/* Psuedo-element chars */
.et-db #et-boc .et-l .splitting .char {
  position: relative;
}

/**
 * Populate the psuedo elements with the character to allow for expanded effects
 * Set to `display: none` by default; just add `display: block` when you want
 * to use the psuedo elements
 */
.et-db #et-boc .et-l .splitting .char::before, .et-db #et-boc .et-l .splitting .char::after {
  content: attr(data-char);
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  transition: inherit;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* Expanded CSS Variables */
.et-db #et-boc .et-l .splitting {
  /* The center word index */
  --word-center: calc((var(--word-total) - 1) / 2);
  /* The center character index */
  --char-center: calc((var(--char-total) - 1) / 2);
  /* The center character index */
  --line-center: calc((var(--line-total) - 1) / 2);
}

.et-db #et-boc .et-l .splitting .word {
  /* Pecent (0-1) of the word's position */
  --word-percent: calc(var(--word-index) / var(--word-total));
  /* Pecent (0-1) of the line's position */
  --line-percent: calc(var(--line-index) / var(--line-total));
}

.et-db #et-boc .et-l .splitting .char {
  /* Percent (0-1) of the char's position */
  --char-percent: calc(var(--char-index) / var(--char-total));
  /* Offset from center, positive & negative */
  --char-offset: calc(var(--char-index) - var(--char-center));
  /* Absolute distance from center, only positive */
  --distance: calc((var(--char-offset) * var(--char-offset)) / var(--char-center));
  /* Distance from center where -1 is the far left, 0 is center, 1 is far right */
  --distance-sine: calc(var(--char-offset) / var(--char-center));
  /* Distance from center where 1 is far left/far right, 0 is center */
  --distance-percent: calc((var(--distance) / var(--char-center)));
}

.et-db #et-boc .et-l .splitting.cells img {
  width: 100%;
  display: block;
}

@supports (display: grid) {
  .et-db #et-boc .et-l .splitting.cells {
    position: relative;
    overflow: hidden;
    background-size: cover;
    visibility: hidden;
  }
  .et-db #et-boc .et-l .splitting .cell-grid {
    background: inherit;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template: repeat(var(--row-total), 1fr)/repeat(var(--col-total), 1fr);
  }
  .et-db #et-boc .et-l .splitting .cell {
    background: inherit;
    position: relative;
    overflow: hidden;
  }
  .et-db #et-boc .et-l .splitting .cell-inner {
    background: inherit;
    position: absolute;
    visibility: visible;
    /* Size to fit the whole container size */
    width: calc(100% * var(--col-total));
    height: calc(100% * var(--row-total));
    /* Position properly */
    left: calc(-100% * var(--col-index));
    top: calc(-100% * var(--row-index));
  }
  /* Helper variables for advanced effects */
  .et-db #et-boc .et-l .splitting .cell {
    --center-x: calc((var(--col-total) - 1) / 2);
    --center-y: calc((var(--row-total) - 1) / 2);
    /* Offset from center, positive & negative */
    --offset-x: calc(var(--col-index) - var(--center-x));
    --offset-y: calc(var(--row-index) - var(--center-y));
    /* Absolute distance from center, only positive */
    --distance-x: calc((var(--offset-x) * var(--offset-x)) / var(--center-x));
    /* Absolute distance from center, only positive */
    --distance-y: calc((var(--offset-y) * var(--offset-y)) / var(--center-y));
  }
}
.et-db #et-boc .et-l .dsm_image_hover_reveal {
  line-height: 0;
}

.et-db #et-boc .et-l .dsm_image_hover_reveal .et_pb_image_wrap {
  display: inline-block;
  position: relative;
  max-width: 100%;
  width: 100%;
}

.et-db #et-boc .et-l .vert-slide-down:hover .cell {
  transform: translateY(100%);
}

.et-db #et-boc .et-l .vert-slide-up:hover .cell {
  transform: translateY(-100%);
}

.et-db #et-boc .et-l .horiz-slide-right:hover .cell {
  transform: translateX(100%);
}

.et-db #et-boc .et-l .horiz-slide-left:hover .cell {
  transform: translateX(-100%);
}

.et-db #et-boc .et-l .dsm_image_hover_reveal .dsm-image-reveal .splitting {
  height: 260px;
}

.et-db #et-boc .et-l .dsm_image_hover_reveal .dsm-image-wrapper {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.et-db #et-boc .et-l .dsm_image_hover_reveal .dsm-image-reveal-back {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
  top: 0;
  left: 0;
}

.et-db #et-boc .et-l .dsm_image_hover_reveal .splitting .cell, .et-db #et-boc .et-l .dsm_image_hover_reveal .splitting .cell__inner, .et-db #et-boc .et-l .dsm_image_hover_reveal .splitting img, .et-db #et-boc .et-l .dsm_image_hover_reveal .dsm-image-reveal-back {
  transition: transform var(--dsm-ihr-duration, 1s) var(--dsm-ihr-ease, cubic-bezier(0.63, 0.01, 0.07, 0.99)), opacity var(--dsm-ihr-duration, 1s) linear;
  transition-delay: calc(var(--dsm-ihr-stagger, 100ms) * (var(--cell-total) - var(--cell-index)));
}

.et-db #et-boc .et-l .dsm_image_hover_reveal .splitting img, .et-db #et-boc .et-l .dsm_image_hover_reveal .dsm-image-reveal-back {
  transform: scale(var(--dsm-ihr-scale-start, 0.8));
  transition-delay: 0s;
  visibility: visible;
  opacity: 0;
}

.et-db #et-boc .et-l .dsm_image_hover_reveal:hover .splitting .cell, .et-db #et-boc .et-l .dsm_image_hover_reveal:hover .splitting .cell__inner {
  transition-delay: calc(var(--dsm-ihr-stagger, 100ms) * var(--cell-index));
}

.et-db #et-boc .et-l .dsm_image_hover_reveal:hover .splitting img, .et-db #et-boc .et-l .dsm_image_hover_reveal:hover .dsm-image-reveal-back {
  opacity: 1;
  transform: scale(var(--dsm-ihr-scale-end, 1));
  transition-delay: calc(var(--dsm-ihr-stagger, 100ms) * var(--cell-total));
}
