.video-title[data-component-id="amphibios:local_video_modal"] {
  text-align: center;
}
.modal[data-component-id="amphibios:local_video_modal"] {
  margin-right: 0 !important;
  .modal-content {
    background-color: transparent;
    border-radius: 5px;
    border: none;
    box-shadow: none;
    .modal-header {
      justify-content: end;
      .btn-close:hover,
      .btn-close:focus,
      .btn-close:checked,
      .btn-close:active,
      .btn-close {
        background-image: url("./images/close.svg") !important;
        background-size: contain;
        height: 25px;
        width: 25px;
        padding: 0;
        opacity: 1;
        box-shadow: none;
        margin: 0;
      }

      .btn-close:focus-visible {
        box-shadow: none;
        outline: 1px solid var(--amphibios-white);
        outline-offset: 4px;
        opacity: 1;
      }
      padding: 0 0 32px;
      border: none;
    }
    .modal-body {
      padding: 0 !important;
      .video-title {text-align: center;}
      .video-wrapper {
        video:focus-visible {
          box-shadow: none;
          outline: 1px solid var(--amphibios-white);
          outline-offset: 4px;
          opacity: 1;
        }
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        * {width: 100%;height: auto;aspect-ratio: 16/9;}
      }
    }
    padding: 0;
    position: absolute;
  }
}
.fixModal {
  padding-right: 0 !important;
  margin-right: 0 !important;
}

.video-modal-trigger[data-component-id="amphibios:local_video_modal"] {
  cursor: pointer;
  width: 100%;
  height: auto;
  background: transparent;
  border: none;
  padding: 0;
  .video-overlay {
    position: relative;
    img.video-preview-image {height: auto;display: block}
    .video-overlay-button {
      background-image: url("./images/play.svg");
      transition: background-image 0.15s ease-in-out;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center center;
      position: absolute;
      width: 200px;
      height: 200px;
      top: 50%;
      left: 50%;
      display: block;
      transform: translate(-50%, -50%);
    }
  }
  .video-overlay:hover {
    .video-overlay-button {
      background-image: url("./images/play_hover.svg");
      transition: background-image 0.15s ease-in-out;
    }
  }
}
.video-modal-trigger[data-component-id="amphibios:local_video_modal"]:focus-visible {
  box-shadow: none;
  outline: 1px solid var(--amphibios-dark-blue);
  outline-offset: 4px;
  opacity: 1;
}

@media only screen and (max-width: 1200px) {
  .video-modal-trigger[data-component-id="amphibios:local_video_modal"] {
    .video-overlay {
      .video-overlay-button {
        background-image: url("./images/play_mobile.svg");
        transition: background-image 0.15s ease-in-out;
        width: 100px;
        height: 100px;
      }
    }
    .video-overlay:hover {
      .video-overlay-button {
        background-image: url("./images/play_hover_mobile.svg");
        transition: background-image 0.15s ease-in-out;
        width: 100px;
        height: 100px;
      }
    }
  }
}
