.elx-videobox-dialog {
  width: 820px;

  :deep(.el-badge) {
    vertical-align: bottom;
  }

}

.elx-videobox-dialog {
  $bg: #f6f6f6;
  // top: 100px;

  .elx-foot {
    padding: 15px 0 0 10px;
  }

  .file-group {
    .upload-btn {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 10px;
      margin-bottom: 15px;
    }
    .file-group-box {
      display: flex;
      // 左侧栏
      .left-sidebar {
        display: block;
        max-height: 400px !important;
        font-size: 13px;
        color: #666;
        .group-list {
          height: 100%;
          border-right: 1px solid #f2f3f5;
          overflow-y: auto;
          overflow-x: hidden;
          .group-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 190px;
            padding: 0 10px;
            height: 38px;
            line-height: 38px;
            text-align: left;
            box-sizing: border-box;
            padding-left: 15px;
            .group-name {
              margin-right: 6px;
              min-width: 100px;
              max-width: 118px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              cursor: pointer;
            }
          }
          .group-item:hover,
          .group-item.active {
            background: #f2f3f5;
          }
        }
      }
      // 视频列表
      .pick-block {
        position: relative;
        width: 100%;
        max-height: 620px !important;
        .elx-img-list-loading {
          position: absolute;
          // top: 60px;
          left: 0;
          right: 0;
          z-index: 9;
          width: 100%;
          height: 450px;
          // 加载层高度
          background: #fff;
          text-align: center;

          .el-icon-loading {
            font-size: 50px;
            color: #409eff;
            line-height: 460px;
          }
        }

        .elx-img-list {
          padding: 10px;
          // 视频列表高度
          height: 450px;
          .img-item {
            $imgSize: 175px;
            $imgHeight: 100px;
            $imgMiniSize: 50px;
            $size: 180px;
            float: left;
            margin: 10px;
            width: $imgSize;
            cursor: pointer;
            position: relative;
            font-size: 12px;
            .thumb-wp {
              width: $imgSize;
              height: $imgHeight;
              line-height: 50px;
              display: block;
              // border: 1px solid #f6f6f6;
              text-align: center;
              box-sizing: border-box;
              video {
                display: block;
                width: 100%;
                height: 100%;
              }
            }

            .title {
              line-height: 24px;
              height: 24px;
              display: block;
              background: $bg;
              padding: 0 5px;
              overflow: hidden;
              text-overflow:ellipsis;
              white-space: nowrap;
            }

            .selected {
              position: absolute;
              right: -3px;
              top: -2px;
              width: $size;
              height: 126px;
              border: 3px solid #409eff;
              border-radius: 3px;
              text-align: right;
              .icon {
                background: #409eff;
                text-align: center;
                height: 24px;
                width: 24px;
                line-height: 30px;
                display: inline-block;
                font-size: 16px;
                color: #fff;
                border-radius: 0 0 0 3px;
                position: absolute;
                right: 0;
                top: 0;
              }
            }
          }

          &::after {
            content: " ";
            display: table;
            height: 0;
            clear: both;
            visibility: hidden;
          }

          .empty {
            display: block;
            width: 100%;
            margin-top: 150px;
            color: #bbb;
            text-align: center;
          }
        }
      }
    }
  }

  .upload-block {
    .upload-img-preview {
      padding: 10px 20px 20px;

      /* 上传视频预览改为使用背景视频按比例缩放方式 */
      :deep(.el-upload-list--picture-card .el-upload-list__item .wp) {
        width: 90px;
        height: 90px;
        line-height: 98px;
        background-size: cover;
        background-position: 50% 50%;
      }

      .el-upload-list--picture-card .el-upload-list__item-status-label i {
        margin-top: 12px;
        vertical-align: top;
      }
    }

    .upload-tip {
      padding: 0 20px;
      font-size: 13px;
      color: #999;
    }

    .upload-title {
      font-size: 15px;
      color: #666;
      padding: 20px 0 0 20px;
    }

    .file-gropu-btn {
      padding: 0 20px;
      margin-bottom: 0;
      margin-top: 10px;
      .sel-group-name {
        margin-right: 15px;
      }
    }
  }
}

.form {
  // padding: 15px 0px 0px 20px;
  margin-left: 50px;
}

// 新增多个视频预览
.preview-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 12px;
  .video-preview {
    width: 175px;
    height: 100px;
    display: block;
    text-align: center;
    box-sizing: border-box;
    margin-right: 8px;
    margin-bottom: 5px;
    margin-top: 20px;
  }
}
.avatar-uploader-popup{
  width: 100%;
  background: #f6f6f6;
  height: 18px;
}
.el-icon-delete {
  cursor: pointer;
}
.video-preview-left {
  margin-left: 20px;
}

.el-pagination {
  margin-top: 20px;
}
