.playview-box {
  overflow: auto;
  background: #000000;
  width: 100%;
  height: 100%;

  .playview-box-postion {
    position: absolute !important;
    z-index: 999;
    width: 801px;
    height: 480px;
    left: calc(50% - 400px);
    top: calc(50% - 240px);
    margin: 0 -1px;
  }
}

.playview-box .lm-player-container.active {
  position: initial;
}

.lm-c-player-component {
  height: 100%;
  user-select: none;



  .player-marke {
    pointer-events: none;
  }

  .lm-c-video-title {
    background-color: rgba(29, 33, 53, 0.8);
    color: #fff;
    position: absolute;
    height: 28px;
    line-height: 28px;
    width: 100%;
    padding: 0 10px;
    top: 0;
    left: 0;
    display: flex;
    z-index: 99;
    opacity: 1;
    transition: opacity 0.3s;

    .contraller-bar-item {
      display: inline-block;
      line-height: 28px;
      width: 28px;
    }

    &.hide-video-title {
      opacity: 0;
    }

    &.hide-novideo-title {
      display: none;
    }

    span {
      &:first-child {
        flex: 1;
        overflow: hidden;
      }

      .anticon {
        font-size: 16px;
        cursor: pointer;
      }
    }
  }

  .contraller-bar-layout .contraller-bar-item {
    &.video-status {
      font-size: var(--fs-small);
      color: rgba(255, 255, 255, 0.8);
      width: auto !important;
      min-width: 40px;
      padding: 0 2px;
      background-image: linear-gradient(-180deg, #476792, #454790 98%);
      cursor: pointer;

      &.video-status-active {
        color: #fff;
        background-image: linear-gradient(-180deg, #5b7eac, #5a5ca6 98%);
        cursor: unset;
      }
    }

    &.video-loop-active {
      width: max-content;
      color: #189ddb;
    }

    &.controller-item {
      color: #fff;
      font-size: var(--fs);

      &:hover .anticon {
        color: #fa0;
      }
    }

    &.speed-item {
      color: #fff;
      min-width: 38px;
      font-size: var(--fs-samll);
    }
  }

  .pick-history-timer-layout {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .pick-history-timer {
    input {
      color: rgba(0, 0, 0, 0.85);
    }

    flex: 1;
    color: #fff;
    background-color: rgba(29, 33, 53, 0.8);
    padding: 34px 20px 10px 20px;
    position: relative;
    max-width: 450px;

    .timer-tools {
      text-align: right;

      .tools-item {
        display: inline-block;
        margin-left: 10px;
        cursor: pointer;

        &:hover {
          color: #189ddb;
        }
      }
    }

    .close-pick-btn {
      position: absolute;
      right: 5px;
      top: 5px;
      font-size: 16px;
      cursor: pointer;
    }
  }

  &.video-fill video {
    object-fit: fill;
  }

  &.video-contain video {
    object-fit: contain;
  }

  &.front-video {
    .video-time-line-layout {
      display: none !important;
    }
  }
}

//
.video-speed-popover {
  width: 60px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.5);

  .ant-popover-inner {
    background: transparent;
  }

  .ant-popover-inner-content {
    background: transparent;
    padding: 0;
  }

  .ant-popover-arrow {
    display: none;
  }

  span {
    display: block;
    color: #fff;
    text-align: center;
    font-size: 12px;
    padding: 2px 0;
    cursor: pointer;

    &:hover {
      color: #ff8800;
      background: rgba(0, 0, 0, 0.6);
    }
  }
}

.video-device-popover {
  width: 360px;
  border-radius: 3px;
  font-size: 12px;

  .ant-popover-inner {
    background: #fff;
  }

  .ant-popover-inner-content {
    background: #fff;
    padding: 0;
    padding-bottom: 8px;
  }

  .device-popup-header {
    overflow: hidden;
    border-bottom: 1px solid #ddd;
    padding: 5px;
    margin-bottom: 5px;

    .title {
      padding: 0 5px;
    }

    .close {
      padding: 0 10px;
    }
  }

  .device-popup-title {
    padding: 5px;
    background-color: rgba(218, 225, 236);
    padding-left: 32px;
    display: flex;
    margin-bottom: 5px;

    span {
      flex: 1;
    }

    &__td {
      padding-left: 26px;
    }
  }

  .device-popup-group {
    ul {
      li {
        padding-bottom: 5px;
        padding-left: 32px;
      }
    }

    .sub-item {
      li {
        display: flex;
        padding-left: 56px;

        span {
          flex: 1;
        }
      }
    }
  }

  .fl {
    float: left;
  }

  .fr {
    float: right;
  }

  .ovh {
    overflow: hidden;
  }

  .tc {
    text-align: center;
  }

  .success {
    color: #0fc484;
  }

  .dot {
    width: 14px;
    height: 14px;
    font: 12px/18px Arial;
    border-radius: 7px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
  }

  .dot:before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 6px;
    display: inline-block;
    margin: 1px 0 0 1px;
  }

  .dot-success:after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    margin: -2px 0 0 -2px;
    background: #0fc484;
  }

  .dot-warning:after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    margin: -2px 0 0 -2px;
    background: #fa0;
  }

  .dot-error:after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    margin: -2px 0 0 -2px;
    background: #ff6161;
  }
}

.collection-page-pic-detail-modal {
  .modal-content {
    height: 100% !important;
  }

  .capture-img-view-layout {
    height: 100%;

    &>.info-box-content-wrapper {
      .capture-picture-view-wrapper {
        height: calc(100% - 48px)
      }
    }
  }
}

.video-status-set-tips {
  font-size: 12px;

  div {
    cursor: pointer;
    line-height: 20px;

    &:hover {
      color: #189ddb;
    }
  }
}
.playview-box .lm-player-container .contraller-bar-layout {
  z-index: 60;
}

.playview-box .lm-c-player-component .contraller-bar-layout .contraller-bar-item.play-mode-tooltip .play-mode-tooltip-downmenu{
  background: #000;
}