
.media {

  .field--name-thumbnail {
    margin: 1em auto!important;
  }

  &.media--view-mode-thumbnail {
    display: inline-flex;
    justify-content: center;
  }
}

.media-video-content--cover {
    object-fit: cover;
    width: 120vw;
    height: 100vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wrapper-media--fixed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.js-lpb-component .wrapper-media--fixed {
 z-index: 0;
}


.media--type-image {

   &.is-rounded {
      img {
         border-radius: var(--bulma-radius-rounded);    
      }
    }
}


.media--view-mode-thumbnail-to-modal {
  position: relative;
  
  .play-icon {
        font-size: 3em;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: hsl(188.18deg 84.62% 25.49% / 55%);
        width: auto !important;;
     &.is-shadow {
      filter: drop-shadow(3px 6px 7px #aa633378);
     }
  }

   &:hover .play-icon {
       color: #0a6978;
    }

}

.field--name-field-resource-remote-video {
  border-radius: var(--bulma-radius-large);
  clip-path: margin-box;
}

