.playview-box {
  position: relative;
  overflow: visible;
  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;
  }
  .play-Box-msg {
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 30px;
    right: 30px;
    .bpx-player-volume-hint {
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      background: hsla(0, 0%, 100%, 0.8);
      border-radius: 4px;
      color: #000;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      font-size: 20px;
      height: 48px;
      line-height: 48px;
      left: 50%;
      min-width: 84px;
      padding: 8px;
      position: absolute;
      top: 50%;
      -webkit-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      transition: opacity 0.3s;
      z-index: 77;
      opacity: 0;
      &.volumeShow {
        opacity: 1;
      }
      .lm-player-iconfont {
        color: #000;
        font-size: 24px;
        line-height: 32px;
        height: 32px;
        display: flex;
        align-items: center;
      }
    }
    .volume-box {
      position: absolute;
    }
  }
  img{
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    left: 0;
    width: 100%;
    height: 100%;
    right: 0;
  }
  .bpx-player-animation{
    // position: absolute;
    z-index: 111;
    display: none; 
    // width: 100%;
    // height: 100%;
    // border: 9px solid #EEE;
    overflow: hidden;
    background-color: red;
    border-radius: 5px;
    animation: moveAnimation 1.5s 1 alternate cubic-bezier(0.68, -0.55, 0.27, 1.55);
    // --distance-x: 100px;
    // --distance-y: 50px; , top 1s ease-in
    
  } 
  .bpx-player-animation-mask{
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    left: 0;
    width: 100%;
    height: 100%;
    right: 0;
    display: flex;
    z-index: 11111;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    background-color: rgba(0,0,0,0.7);
    .bpx-player-animation-mask-text{
      color: #fff;
      text-align: center;
    }
    i,span{
      color: rgb(18, 122, 255);
    }
    i{
      margin-right: 5px;
    }
    
  }
 
}

.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 {
    position: relative;
    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;
}
@keyframes moveAnimation {
  0% {
    transform: translate(0, 0) scale(1);
  }
  // 25% {
  //   transform: translate(var(--distance-x) , -var(--distance-y)) scale(0.6)
  // }
  // 50% {
  //   transform: translate(var(--distance-x) - 50px, -var(--distance-y));
  // }
  100% {
    transform: translate(var(--distance-x) ,  var(--distance-y)) scale(0);
  }
}