/* stylelint-disable no-descending-specificity */

button.jw-settings-content-item {
  background: inherit !important;
  text-align: left !important;
  z-index: 1;
}

.video-picker {
  background: #000;
}

.video-picker .content .header {
  min-height: 80px;
  display: flex;
  align-items: center;
  position: relative;
}

.video-picker .content .header h2 {
  margin: 0;
  line-height: 1.3;
  font-size: 1.5rem;
  text-transform: uppercase!important;
  font-family: 'Akzidenz-Grotesk Pro Bold', var(--body-font-family);
  color: #fff;
}

.video-picker .content .header h1 {
  margin-block: 1.5rem;
  line-height: 1.3;
  font-size: 2rem;
  text-transform: uppercase!important;
  font-family: 'Akzidenz-Grotesk Pro Bold', var(--body-font-family);
  color: #fff;
}

.video-picker .content .header a {
  position: absolute;
  right: 0;
  top: 55px;
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
  font-weight: 400;
  text-transform: uppercase!important;
  font-family: 'Akzidenz-Grotesk Pro Bold', var(--body-font-family);
  font-size: 1rem;
  line-height: 1.25rem;
  letter-spacing: .05em;
}

/* arrow */
.video-picker .content .header a::after {
  border-color: #fff;
  width: 0.48rem;
  height: 0.48rem;
  margin-bottom: 1px;
}

.video-picker .active-video  {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 16/9;
}

.video-picker .loading-skeleton > picture > img{
  position: absolute;
  top: 0;
  left: 0;
  object-fit: contain;
  width: 100%;
  z-index: 1;
}


.video-picker .active-video .loading-spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  z-index: 3;
}

@keyframes rotation {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

.video-picker .loading-skeleton .loading {
  opacity: .5;
}

.video-picker .active-video-info {
  width: 100%;
  margin-top: 30px;
}

.video-picker .active-heading {
  display: none;
}

.video-picker .active-video-info .img {
  width: 152px;
  height: 85px;
  float: left;
  margin: 0 30px 30px 0;
}

.video-picker .active-video-info h3.loading,
.video-picker .active-video-info p.loading {
  width: 50%;
}


.video-picker aside {
  max-width: 327px;
  background: #161616;
}

.video-picker aside .header {
  display: block;
  line-height: 80px;
  text-align: center;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase!important;
  font-family: 'Akzidenz-Grotesk Pro Bold', var(--body-font-family);
  font-size: .875rem;
  letter-spacing: .05em;
}

.video-picker aside .video-list {
  height: min(50vw, 706px);
  overflow-x: hidden;
  overflow-y: auto;
}

/* scroll bar styles */
.video-picker aside .video-list::-webkit-scrollbar { width:.25rem }

.video-picker aside .video-list::-webkit-scrollbar-thumb { background: rgb(167 167 167 / 75%) }

.video-picker aside .video {
  display: block;
  cursor: pointer;
  margin: 0 20px;
  text-decoration: none;
}

.video-picker aside .video .img {
  width: auto;
  aspect-ratio: 16/9;
}

.video-picker aside .video h3,
.video-picker .content .active-video-info h3 {
  font-weight: 400;
  font-family: 'Akzidenz-Grotesk Pro Bold', var(--body-font-family);
  font-size: 1rem;
  line-height: 1.25rem;
  min-height: 1.25rem;
  margin: 12px 0;
  color: #fff !important;
}

.video-picker aside .video .duration,
.video-picker .content .active-video-info .duration {
  font-weight: 400;
  font-family: 'Akzidenz-Grotesk Pro Regular', var(--body-font-family);
  color: #d7d7d7;
  font-size: .875rem;
  line-height: 1.125rem;
  min-height: 1.25rem;
  margin-bottom: 26px;
}

.video-picker aside .video .duration.loading {
  width: 80px;
}

@media (max-width: 920px) {
  .video-picker aside {
    max-width: 249px;
  }
}

/* sidebar horozontal view */
@media (max-width: 820px) {
  .video-picker .active-video-info .img {
    display: none;
  }

  .video-picker .active-heading {
    display: block;
    font-family: 'Akzidenz-Grotesk Pro Regular', var(--body-font-family);
    color: #D93c29;
    margin-bottom: .5rem;
    font-size: .75rem;
    line-height: .9375rem;
    letter-spacing: .05em;
  }

  .video-picker aside {
    max-width: 100%;
    max-height:208px;
  }

  .video-picker aside .header {
    text-align: left;
    padding: 0 0 0 20px;
    line-height: 48px;
    border-top: 1px solid var(--color-dark-gray);
    border-bottom: 1px solid var(--color-dark-gray);
  }

  .video-picker aside .video-list {
    display: flex;
    flex-direction: row;
    height:152px;
    width: inherit;
    overflow-y: hidden;
    overflow-x: auto;
  }

  .video-picker aside .video-list::-webkit-scrollbar { height:.25rem }

  .video-picker aside .video {
    min-width: 350px;
    margin: 0 20px 0 0;
    padding: 20px 0 0 20px;
  }

  .video-picker aside .video .img {
    width: 128px;
    float: left;
    margin: 0 16px 0 0;
  }

  .video-picker aside .video h3 {
    font-size: .875rem;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Number of lines to display */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 820px) {
  .video-picker .content .header h2 {
    font-size: 1rem;
  }

  @media (max-width: 768px) {
    .video-picker .content .header h1 {
      font-size: 1.125rem;
    }
  }

  .video-picker .content .header a {
    display: none;
  }
}
