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

  #drawer.playing {
    bottom: 20px;
  }
}

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

  &.open {
    height: 150px;
  }
}

#drawer.open.fadeOut {
  pointer-events: none;
}

.fullWidth .frame-container {
  width: 100%;
}
.frame-container {
  display: flex;
  align-items: center;
  width: calc(100% - 58px);
  height: 100%;
  background: rgba(157, 34, 45, 0.9);
}

.frame {
  margin: 0 20px;
  width: calc(100% - 40px);
}

.frame.noScroll {
  margin: 17px 10px;
}

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

.frame .slidee li {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  width: 180px;
  height: 110px;
  cursor: pointer;
  box-sizing: border-box;

  img {
    border-radius: 10px;
    overflow: hidden;
  }
  &.active {
    img {
      border: 2px solid #f5dd8c;
    }
  }
}

.frame .slidee li .overlay {
  margin-top: 5px;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  text-align: center;
}

.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: 100%;
  height: 100%;
  object-fit: cover;
}

#playHead {
  display: table;
  position: absolute;
  bottom: -20px;
  left: 0;
  height: 20px;
  display: flex;
  align-items: center;
  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;
  flex: 1;
  pointer-events: all;

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

    &::before {
      content: '';
      display: block;
      width: 100%;
      height: 100%;
      background-color: #575757;
    }
    &.active::before {
      background-color: #00b4ed;
    }
  }
}

@media only screen and (max-width: 487px), (max-height: 487px) {
  #drawer.open {
    height: 100px;
  }
  .frame {
    margin: 0 7px;
    width: calc(100% - 14px);
  }
  .frame .slidee {
    gap: 0;

    li {
      margin: 0 4px;
      width: auto;
      height: auto;
      gap: 3px;

      img {
        width: 100px !important;
        height: 60px !important;
        border: none;
        border-radius: 7px;
      }
      .overlay {
        margin-top: unset;
        font-size: 12px;
      }
    }
  }
}
