

.video-lightbox-modal {
  transition: all 0.25s cubic-bezier(0.104, 0.204, 0.492, 1); }

.video-lightbox-modal__content, .background-video--full-width-false {
  isolation: isolate;
  border-radius: var(--block-border-radius, 16px); }

.background-video {
  box-shadow: var(--block-shadows); }


.video-lightbox-modal__content, .background-video__controls button, .video-lightbox-modal[open] .video-lightbox-modal__content {
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.08); }


.video-lightbox-modal {
  box-sizing: border-box;
  opacity: 0;
  position: fixed;
  visibility: hidden;
  z-index: -1;
  margin: 0 auto;
  top: 0;
  left: 0;
  width: 100%;
  padding: 70px 30px;
  background: rgba(var(--color-overlay-rgb), 0.4);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  height: 100%; }
  .video-lightbox-modal[open] {
    opacity: 1;
    visibility: visible;
    z-index: 101; }

.video-lightbox-modal__content {
  overflow: auto;
  max-height: 80vh;
  max-width: clamp(300px, 90vw, 800px);
  margin: 0 auto;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 100%;
  position: absolute;
  top: 50%;
  display: flex;
  flex-direction: column;
  background: var(--color-drawer-bg, #fff);
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.25); }

.background-video {
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden; }
  .background-video__fallback-img, .background-video__iframe, .background-video__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none; }
  .background-video__fallback-img {
    z-index: -1; }
    .background-video__fallback-img img {
      width: 100%;
      height: 100%;
      object-fit: cover; }
  .background-video__iframe {
    z-index: 0; }
    .background-video__iframe > video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
      pointer-events: none; }
    .background-video__iframe iframe {
      position: absolute;
      z-index: 1;
      width: 300%;
      height: 100%;
      left: -100%; }
      @media only screen and (min-width: 768px) {
        .background-video__iframe iframe {
          width: 200%;
          height: 200%;
          left: -50%;
          top: -50%; } }
      @media only screen and (min-width: 1068px) {
        .background-video__iframe iframe {
          width: 100%;
          height: 300%;
          left: 0;
          top: -100%; } }
  .background-video__overlay {
    z-index: 3;
    background: rgba(var(--overlay-color-rgb), var(--overlay-opacity)); }
  .background-video__content-wrap {
    display: flex;
    padding: 0 15px;
    width: 100%;
    position: relative;
    z-index: 5;
    max-width: var(--grid-width-row, 1380px);
    margin: 0 auto; }
    @media only screen and (min-width: 768px) {
      .background-video__content-wrap {
        padding: 0 50px; } }
  .background-video__content {
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
    color: #fff; }
    .background-video__content h3 {
      color: #fff; }
    @media only screen and (min-width: 1068px) {
      .background-video__content .rte.description-size--medium {
        font-size: 1.25rem; } }
    @media only screen and (min-width: 1068px) {
      .background-video__content .rte.description-size--large {
        font-size: 1.5rem; } }
    .background-video__content .rte p {
      display: block;
      font-size: inherit; }
      .animations-true .background-video__content .rte p {
        visibility: hidden;
        will-change: visibility; }
      .background-video__content .rte p a {
        display: inline-block; }
    .background-video__content .rte a {
      color: #fff; }
  .background-video__controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 40; }
    .background-video__controls button {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      line-height: 0;
      background: var(--color-drawer-bg, #fff); }
      .background-video__controls button.paused .background-video__controls-pause {
        display: none; }
      .background-video__controls button.paused .background-video__controls-play {
        display: block; }
    .background-video__controls-play {
      display: none;
      margin-left: 2px; }

.video-lightbox-modal[open] .video-lightbox-modal__content {
  display: flex; }

.video-lightbox-modal__opener {
  display: inline-block;
  margin-top: 20px; }

.video-lightbox-modal__button {
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  line-height: 0;
  background: var(--color-drawer-bg, #fff);
  transition: none; }
  .video-lightbox-modal__button svg {
    width: 20px;
    height: 20px;
    margin-left: 3px; }
  .video-lightbox-modal__button.no-js {
    display: none; }
    .no-js .video-lightbox-modal__button.no-js {
      display: inline-flex; }

.video-lightbox-modal__toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 5px;
  right: 5px; }
  .video-lightbox-modal__toggle svg {
    width: 12px;
    height: 12px; }

.video-lightbox-modal__content {
  max-height: none;
  padding: 20px; }
  @media only screen and (min-width: 768px) {
    .video-lightbox-modal__content {
      padding: 40px; } }
  .video-lightbox-modal__content-info {
    position: relative;
    padding-bottom: 56.25%; }
    .video-lightbox-modal__content-info iframe,
    .video-lightbox-modal__content-info video {
      position: absolute;
      width: 100%;
      height: 100%;
      border: 0; }
