/* Questo file viene utilizzato come foglio di stile per i modal di anteprima dei vod */
/* Si può selezionare la scelta di modal di anteprima dal modal di impostazioni personalizzabili dal portale admin */

.li_metadatati_preview {
  color: white;
  padding: 5px;
  list-style: none;
}

#imgElementInfoVideoCover {
  max-height: 100%;
  /* object-fit: cover; */
  object-position: 100% 20%;
}

#imgElementInfoVideoCover {
  /* max-height:      30vh; */
  /* object-fit:      cover;
    object-position: 100% 20%; */
  aspect-ratio: 16 / 9;
}

#imgElementInfoVideoCover {
  /* min-width:               100%;
    max-width:               100%; */
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  width: 100%;
}

.info_video_element_list_value {
  display: inline-block;
}

.div_tag_description_preview {
  font-size: medium;
  color: #fff;
  text-transform: uppercase;
  word-break: break-word;
  overflow-y: scroll;
  max-height: 9vw;
}

.div_title_preview {
  font-size: xx-large;
  color: var(--main-text-color-video, white);
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.desc_preview {
  padding: 0;
  color: var(--main-text-color-video, white);
  font-size: 16px;
  display: -webkit-box;
  overflow-wrap: break-word;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  position: inherit;
}

.div_title_preview {
  text-align: center;
  font-size: 24px;
  color: var(--main-text-color-video, white);
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.div_subtitle_preview {
  /* text-align: center; */
  font-size: 20px;
  color: var(--main-text-color-video, white);
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.li_metadatati_preview {
  width: 25% !important;
  overflow: hidden;
  text-overflow: ellipsis;
  list-style-type: none;
  color: var(--main-text-color-video, white);
  text-align: center;
  font-size: 13px;
}

#metadati_row {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
}

#previewVodSelected .container-fluid {
  height: inherit;
  color: var(--main-text-color-video, white);
}

#previewVodSelected {
  height: inherit;
}

#previewVodSelected li:first-child {
  width: 100%;
}

#previewVodSelected ::-webkit-scrollbar-track {
  background: var(--complementary-background-primary-color-video, white);
  margin-top: 5px;
}

#previewVodSelected ::-webkit-scrollbar {
  height: 5px !important;
}

#previewVodSelected .close_button_modal {
  border-radius: 100%;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#previewVodModalOpenIDTitle:hover {
  background-color: #929aab;
  color: #d3d5fd;
}

#previewVodModalOpen .modal-body {
  height: 100%;
}

#previewVodModalOpen .modal-dialog {
  max-height: 90vh !important;
  height: fit-content !important;
}

#previewVodModalOpen .modal-body {
  height: 100%;
}

#previewComingSoonMediaModalOpen .modal-dialog {
  width: 85vw;
}

.close_button_video_info_modal {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.image-overlay-container {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
}

#imgElementInfoVideoCover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* gradient overlay */
.image-overlay-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 35%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0) 100%
  );

  pointer-events: none;
}

.image-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;

  padding: 45px;

  color: white;
  z-index: 2;
}

.image-overlay-countdown {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-direction: column;
  padding: 45px;
  color: white;
  z-index: 2;
}

.image-overlay-live-watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  flex-direction: column;
  padding: 45px;
  color: white;
  z-index: 2;
}

.live-big-watermark {
  background: red;
  color: white;
  font-weight: bold;
  font-size: x-large;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.countdownPreviewText {
  color: var(--main-text-color-video, white);
  display: grid;
  grid-template-columns: repeat(7, auto);
  gap: 10px;
  text-align: center;
  text-shadow: 0px 0px 15px var(--background-primary-color-video);
}

.time {
  display: grid;
  grid-template-rows: auto auto;
  position: relative;
}

.num {
  color: var(--main-text-color-video, white);
  font-size: 70px;
  font-weight: bold;
  text-shadow: 0px 0px 15px var(--background-primary-color-video);
}

.separator {
  color: var(--main-text-color-video, white);
  font-size: 60px;
  font-weight: bold;
  bottom: 15px;
  text-shadow: 0px 0px 4px var(--background-primary-color-video);
}

.label {
  color: var(--main-text-color-video, white);
  font-size: 16px !important;
  opacity: 1;
  text-transform: uppercase;
  text-shadow: 0px 0px 4px var(--background-primary-color-video);
}

.comingInText {
  color: var(--main-text-color-video, white);
  font-size: 24px;
  padding-right: 10px;
  text-transform: uppercase;
  text-shadow: 0px 0px 4px var(--background-primary-color-video);
}

@media (orientation: portrait) {
  #previewComingSoonMediaModalOpen .modal-dialog {
    width: 95vw;
  }

  .image-overlay-countdown {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: column;
    padding: 20px;
    color: white;
    z-index: 2;
  }

  .countdownPreviewText {
    display: grid;
    grid-template-columns: repeat(7, auto);
    gap: 5px;
    text-align: center;
  }

  .time {
    display: grid;
    grid-template-rows: auto auto;
    position: relative;
  }

  .num {
    font-size: 35px;
    font-weight: bold;
  }

  .separator {
    font-size: 24px;
    bottom: -6px;
    position: relative;
  }

  .label {
    font-size: 10px !important;
    text-transform: uppercase;
  }

  .comingInText {
    font-size: 15px;
    padding-right: 10px;
    text-transform: uppercase;
  }

  .live_description_p {
    max-height: 42px;
  }
}

/* header row */
.preview-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

/* logo */
.preview-logo {
  width: 200px;
  object-fit: contain;
}

/* title */
.div_title_preview {
  font-size: 26px;
  font-weight: bold;
}

/* subtitle */
.div_subtitle_preview {
  font-size: 18px;
  margin-bottom: 15px;
  opacity: 0.9;
}

/* tags */
.li_tag_list_preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

/* metadata */
#metadati_row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

/* description */
.desc_preview {
  max-width: 70%;
  line-height: 1.4;
  opacity: 0.95;
}

#InfoVodPreviewModalContainer .list_no_style {
  margin-left: 0;
}

#InfoVodPreviewModalContainer ul.list_no_style li {
  margin-bottom: 10px;
}

.tagOneLine {
  border: 1px solid var(--main-text-color-video, white);
  border-radius: 5px;
}

@media screen and (max-width: 990px) {
  .div_tag_description_preview {
    max-height: 45vh;
  }

  /* .modal_preview_video_thumb_container
    {
        height: 28vh;
    } */
}

@media screen and (max-width: 767px) {
  .div_tag_description_preview {
    font-size: 10px !important;
    max-height: 41vh !important;
  }

  .div_title_preview {
    font-size: 18px !important;
  }

  /* .modal_preview_video_thumb_container
    {
        height: 25vh !important;
    } */
}

@media screen and (max-width: 767px) and (orientation: landscape) {
  .modal_preview_vod_content {
    width: 60vw;
    margin: 10px auto;
  }
}
