/* ---------- Média de type Document ----------- */

.media-video {
  margin: 20px;
  width: 395px;
  height: 522px;
  position: relative;
  outline: none;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
}

.media-video img.image-style-vignette-simple {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 15px;
  transition: transform 400ms ease-out;
}

.channel-mini .media-video img.image-style-vignette-simple {
  height: 246px !important;
  width: 186px !important;
  min-width: 186px;
}

.media-video img.play-icon {
  position: absolute;
  margin: auto !important;
  text-align: center;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: transform 400ms ease-out;
}

.media-video:hover img.image-style-vignette-simple {
  transform: scale(1.15);
}

.media-video:hover img.play-icon {
  transform: scale(1.15);
}

.media-video .media-video--title {
  font-size: 26px;
  font-weight: 800;
  font-style: normal;
  line-height: 1.31;
  letter-spacing: normal;
  color: #ffffff;
  margin: 13px 0;
  text-decoration: none;
  z-index: 1;
  position: relative;
}

.media-video .media-video-info {
  position: absolute;
  padding: 25px 20px;
  bottom: 0;
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  border-radius: 0 0 10px 10px;
  left: 0;
  right: 0;
  border: none;
}

.media-video .media-video-info .media-video-type {
  float: left;
  width: 70%;
  text-align: left;
  text-transform: uppercase;
  font-size: 13px;
  font-family: NunitoSans;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #ffffff;
  text-transform: uppercase;
  flex: 0 0 70%;
  max-width: 70%;
  opacity: 0.8;
}

.popup-background {
  background-color: rgb(16, 24, 29, 0.5) !important;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
}

.popup-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.popup-video.large {
    height: 500px;
    width: 800px;
}

.popup-video.large .exit {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
}

.highlighted aside .alert-wrapper .alert-danger {
  display: none;
}

@media only screen and (max-width: 767px) {
  .media-video {
    padding: 0;
    max-width: none;
    margin: var(--rte-vignette-margin-mobile);
    width: var(--rte-vignette-width-mobile);
    height: var(--rte-vignette-height-mobile);
  }

  .media-video .media-video-title {
    font-size: 21.8px;
  }

  .popup-video.large {
    height: 250px;
    padding-top: 30px;
  }
}
