#drawer-container {
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  pointer-events: none;
  transition-property: bottom, opacity;
  transition-duration: 0.5s;
  z-index: var(--z-index-normal);
}

#drawer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  color: #fff;
  pointer-events: all;
  transition-duration: 0.5s;
  transition-property: height, bottom;

  &.playing {
    bottom: 20px;
  }
  &.open {
    height: 130px;

    &.noScroll {
      height: 110px;
    }
    &.fadeOut {
      pointer-events: none;
    }
  }
}

#thumb-container {
  .thumbImg {
    cursor: pointer;

    img {
      height: 90px;
    }
  }
}

.fullWidth .frame-container {
  width: 100%;
}
.frame-container {
  float: left;
  width: calc(100% - 58px);
  height: 100%;
}

.frame {
  width: calc(100% - 20px);
  height: 90px;
  margin: 10px;
  float: left;
}

.frame .slidee {
  display: flex;
  height: 100%;
  list-style: none;
}

.frame .slidee li {
  width: 136px;
  margin: 0 12px 0 0;
  position: relative;
}

.frame .slidee li .overlay {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 20px;
  padding: 6px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 100;
  text-align: center;
  line-height: 4px;
  z-index: 100;
}

.frame .slidee li .mark360View,
.frame .slidee li .markInsideView {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 50px;
  max-height: 25px;
  color: #fff;
  background-color: rgba(0, 0, 0, 1);
  z-index: 100;
  transform: translate3d(0, 0, 0);
}

.frame .slidee li img {
  width: inherit;
  border: 2px solid transparent;
  transition: all 0.5s;
}

.frame .slidee li.thumbImg.hasHover > img:hover {
  opacity: 1;
  border-color: #fff;
}

.playing .frame .slidee li.thumbImg.hasHover > img:hover {
  opacity: 0.6;
  border-color: transparent;
}

.frame .slidee li.thumbImg.hasHover.recent > img:hover,
.frame .slidee li.thumbImg.recent > img {
  opacity: 0.6;
  border-color: #a0a0a0;
}

.frame .slidee li.thumbImg.hasHover.upcoming > img:hover,
.frame .slidee li.thumbImg.upcoming > img {
  opacity: 1;
  border-color: #bfaf1e;
}

.frame .slidee li.thumbImg.active > img,
.frame .slidee li.thumbImg.hasHover.active > img:hover {
  opacity: 1;
  border-color: var(--el-color-primary);
}

.scrollbar {
  width: calc(100% - 10px);
  margin: 0 5px;
  height: 8px;
  float: left;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.75);
}

.scrollbar .handle {
  width: 100px;
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 5px;
}

#progressBar,
#status {
  display: table-cell;
  height: 0;
  vertical-align: middle;
}

#playHead {
  display: table;
  position: absolute;
  bottom: -20px;
  left: 0;
  height: 20px;
  width: 100%;
  transition-property: bottom;
  transition-duration: 0.5s;
  background-color: #000;

  &.playing {
    bottom: 0;
  }
}

#status {
  width: 65px;
  color: #fff;
  font-family: OpenSans, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding-left: 10px;
}

#progressBar {
  padding: 0 10px;
  pointer-events: all;

  .step {
    height: 6px;
    float: left;

    &::before {
      content: '';
      display: block;
      width: 100%;
      height: 100%;
      background-color: #575757;
    }
    &.active::before {
      background-color: var(--el-color-primary);
    }
  }
}

@media only screen and (max-width: 487px), (max-height: 487px) {
  #thumb-container .thumbImg img,
  .frame {
    height: 70px;
  }
  .frame .slidee li {
    width: 103px;
  }
  #drawer.open.noScroll,
  #drawer.open.noScroll.playing {
    height: 90px;
  }
}
