
/*!****************************************!*\
  !*** ../src/elements/video/video.scss ***!
  \****************************************/
/*******************************
 * Buttons
 ******************************/
/*
 * Applies the complete set of button styles with all desired style variations.
 * This mixin is normally applied to form buttons or links with
 * the desired button classes eg. .button.style-xxx.
 */
/*
 * Contains styles that all of the buttons have in common.
 * Some button styles might opt out or override some of these styles.
 * One benefit of this approach is that all of the buttons will be consistently
 * configurable with the CSS variables defined below.
 */
/*******************************
 * Button Styles
 *
 * Styles should define the way the buttons look. Depending on the project,
 * you may need to optimize each style based on the section / element that
 * a button is used in. For that purpose you can use the predefined CSS
 * variables to easily overwrite the desired colors based on your need.
 ******************************/
/*******************************
 * Inputs
 ******************************/
.wp-video {
  width: min(100%, (100vh - 2 * var(--element-spacing)) * var(--aspect-ratio, 1)) !important;
  margin-block: var(--element-spacing-lg);
  margin-inline: auto;
  border-radius: var(--rounded);
  overflow: hidden;
}
.wp-video .mejs-controls {
  border-radius: var(--rounded);
  outline: 1px solid color-mix(in srgb, var(--white), transparent 80%);
  box-shadow: 0 2px 10px color-mix(in srgb, var(--black), transparent 60%);
  --margin: 10px;
  margin: var(--margin);
  width: calc(100% - 2 * var(--margin));
}
.wp-video .mejs-controls:not(.played-once *) {
  transition: opacity 100ms;
}
.wp-video .mejs-controls:not(.played-once *):not(.wp-video:hover *) {
  opacity: 0 !important;
  transition-duration: 250ms;
}
.wp-video .mejs-controls .mejs-time-rail .mejs-time-total {
  background: var(--shade-color);
  border-radius: var(--rounded);
  overflow: hidden;
}
.wp-video .mejs-controls .mejs-time-rail .mejs-time-current {
  background: var(--primary-color);
}
.wp-video .mejs-controls .mejs-time-rail .mejs-time-loaded {
  background: color-mix(in srgb, var(--primary-color), transparent 85%);
}
.wp-video:is(.force-muted > *) .mejs-volume-button {
  display: none;
}
.wp-video:is(.disable-fullscreen > *) .mejs-fullscreen-button {
  display: none;
}
.wp-video .mejs-container,
.wp-video .mejs-container .mejs-controls,
.wp-video .mejs-embed,
.wp-video .mejs-embed body {
  background: color-mix(in srgb, var(--black), transparent 50%);
  backdrop-filter: blur(10px);
}
.wp-video .mejs-time {
  font-size: 0.875rem;
}

/*# sourceMappingURL=css-wpce--video.css.map*/