.swiper {
  .swiper-button-prev,
  .swiper-button-next {
    margin-top: 0;
  }

  iframe {
    &.iiif-iframe {
      width: 100%;
      height: 100%;
      border: 1px solid $lightgrey;
      border-radius: 0.25rem;
      box-shadow: $boxshadow-small;
    }
  }

  .media-player-wrapper {
    position: relative;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    min-width: 19rem;

    iframe {
      border: 0;
      border-radius: 0;
      box-shadow: none;
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      width: 100%;
      height: 100%;
    }
  }

  .html-embed {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    iframe {
      display: inline;
      margin-right: auto;
      margin-left: auto;
      border: 0;
      box-shadow: none;
    }

    .sketchfab-embed-wrapper {
      width: 100%;

      iframe {
        width: 100%;
        max-height: $swiper-height-max;
        height: $swiper-height;

        @media (max-width: $bp-medium) {
          height: 22.5rem;
        }
      }
    }
  }

  .responsive-embed-wrapper {
    height: $swiper-height;
    max-height: $swiper-height-max;
    margin: 0 auto;

    @media (max-width: $bp-medium) {
      height: 22.5rem;
    }

    .html-embed {
      display: block;
      position: relative;
      height: 0;
      overflow: hidden;

      iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-height: $swiper-height;
      }
    }
  }

  .container {
    text-align: center;
  }

  .audio-slide {
    display: flex;
    height: 100%;
    width: 300px;
    margin: 0 auto;
    justify-content: center;
    align-items: flex-end;
    background: #f2f3f4;
    border-radius: 15px;
  }

  .default-thumbnail {
    height: 290px;
    width: 290px;
  }
}

.responsive-backround-image {
  @media (max-width: $bp-small) {
    background-image: var(--bg-img-small);
  }

  @media (min-width: ($bp-small + 1px)) and (max-width: $bp-medium) {
    background-image: var(--bg-img-medium, var(--bg-img-small));
  }

  @media (min-width: ($bp-medium + 1px)) and (max-width: $bp-large) {
    background-image: var(--bg-img-large, var(--bg-img-small));
  }

  @media (min-width: ($bp-large + 1px)) and (max-width: $bp-extralarge) {
    background-image: var(--bg-img-xl, var(--bg-img-small));
  }

  @media (min-width: ($bp-extralarge + 1px)) and (max-width: $bp-xxl) {
    background-image: var(--bg-img-xxl, var(--bg-img-small));
  }

  @media (min-width: ($bp-xxl + 1px)) and (max-width: $bp-xxxl) {
    background-image: var(--bg-img-xxxl, var(--bg-img-small));
  }

  @media (min-width: ($bp-xxxl + 1px)) and (max-width: $bp-wqhd) {
    background-image: var(--bg-img-wqhd, var(--bg-img-small));
  }

  @media (min-width: ($bp-wqhd + 1px)) {
    background-image: var(--bg-img-4k, var(--bg-img-small));
  }
}
