/* ---------------------------------
-----  dimension variables --------
---------------------------------- */
/* ------  standard elements padding & margin  ------- */
/* spacing */
/**
**  Official Font sizes
------------------------------- */
/**
** Line-heights
------------------------------- */
/*
  Mixin to progressively-enhance :focus-visible, keeping :focus where not supported
  Add an arbitrary list of selectors into the arguments, and the styling in the block.
  I you pass no selectors to the mixin the parent ("ampersand") operator is used instead.

  There are two mixins:
  - focus-visible: a generic focus-visible, giving you "slots" to decide what to render for :focus, :focus reset, and :focus-visible
  - focus-visible-outline: a focus-visible, which only resets the outline. If you don't need more custom resets, use this one!

  Use focus-visible:
  The key thing here is checking which slot is being rendered.
  For example, you can reset box-shadow here, or anything else.

  @include focus-visible using ($slot) {
      @if $slot == focus {
          outline: 2px solid transparent;
          box-shadow: 0 0 0 4px blue;
      }
      @if $slot == focusReset {
          box-shadow: none;
      }
      @if $slot == focusVisible {
          box-shadow: 0 0 0 4px blue;
      }
  }

  Use focus-visible-outline:
  @include focus-visible-outline("button", "a[href]") {
      outline: 2px solid blue;
  }

  Resulting CSS (compressed):

  button:focus,
  a[href]:focus {
      outline: 2px solid blue;
  }

  button:focus:not(:focus-visible),
  a[href]:focus:not(:focus-visible) {
      outline: none;
  }
  button:focus-visible,
  a[href]:focus-visible {
      outline: 2px solid blue;
  }
*/
:host {
  position: relative;
  display: block;
}

.ux-video__play-button {
  background-color: rgba(255, 255, 255, 0.7);
  border: 0;
  border-radius: 40px;
  cursor: pointer;
  height: 80px;
  left: 50%;
  margin: auto;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 500ms ease;
  width: 80px;
  z-index: 1;
}
@media only screen and (width <= 767px) {
  .ux-video__play-button {
    height: 60px;
    top: 47%;
    width: 60px;
  }
}
@media only screen and (width <= 567px) {
  .ux-video__play-button {
    height: 48px;
    top: 48%;
    width: 48px;
  }
}
.ux-video__play-button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}
.ux-video__play-button--inactive {
  opacity: 0;
  pointer-events: none;
}
.ux-video__play-button--controls-active {
  transition-delay: top 500ms;
}
@media only screen and (width <= 567px) {
  .ux-video__play-button--controls-active {
    top: 40%;
  }
}
.ux-video__play-icon {
  fill: #131313;
  font-size: 26px;
  left: calc(50% + 3px);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
@media only screen and (width <= 767px) {
  .ux-video__play-icon {
    font-size: 22px;
  }
}
@media only screen and (width <= 567px) {
  .ux-video__play-icon {
    font-size: 18px;
    left: calc(50% + 2px);
  }
}
.ux-video__play-icon[name=reset] {
  font-size: 24px;
  left: 50%;
  top: 51%;
}
@media only screen and (width >= 568px) {
  .ux-video__play-icon[name=reset] {
    font-size: 30px;
  }
}
@media only screen and (width >= 768px) {
  .ux-video__play-icon[name=reset] {
    font-size: 35px;
  }
}

::slotted(video) {
  display: block;
  max-width: 100%;
  width: 100%;
}
::slotted(video):focus {
  outline: none;
}
::slotted(video)::-webkit-media-controls-overlay-play-button {
  opacity: 0;
}