:global {
  ::-webkit-scrollbar {
    height: 6px; //x轴滚动条粗细
    width: 6px; //y轴滚动条粗细
    border-bottom: 2px solid white;
  }

  //滚动条里面的小方块，能上下左右移动（取决于是垂直滚动条还是水平滚动条）
  ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    background: rgba(74, 74, 75, 0.3);
    margin-bottom: 10px;
  }

  //滚动条的轨道（里面装有thumb）滚动槽
  ::-webkit-scrollbar-track {
    box-shadow: 0;
    border-radius: 0;
    background: white; //滚动槽背景色
    border-radius: 10px; //滚动条边框半径设置
  }

  .ant-tree-node-content-wrapper {
    width: 100%;

    // overflow: hidden !important;
    .ant-tree-title {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      display: flex !important;
      justify-content: space-between;
    }
  }

  .ant-pagination-prev,
  .ant-pagination-next {
    line-height: 8px !important;
  }

  .ant-input-search-button {
    line-height: 1;
  }

  .ant-dropdown-menu-item>.anticon:first-child {
    vertical-align: 0.15em !important;
  }

  .ant-table-tbody {
    .ant-table-row:hover>td {
      background: #aed8fa !important;
    }
  }

  .ant-modal-close-icon {
    vertical-align: 0.3em;
  }

  .ant-notification-close-icon {
    vertical-align: 0.2em;
  }

  .ant-tree-switcher-icon svg {
    font-size: 14px;
    color: #767777 !important;
  }

  .ant-card-body {
    padding: 12px 24px 24px 10px;
  }
}

.redText {
  color: red;
  cursor: pointer;
}

.ant-layout {
  overflow: auto;

  .ant-layout-content {
    margin: 12px !important;
  }
}

.ant-btn>.anticon+span,
.ant-btn>span+.anticon {
  margin-left: 8px;
  vertical-align: middle;
}

.siteTitle {
  font-size: 16px;
  margin: 0 0 6px 0;
  user-select: none;
  padding: 3px;
  border-bottom: 1px solid #ccc;
}

.userManageContainer {
  height: 100%;
  .ant-modal-footer {
    border: none;
    padding: 28px 40px;
    height: 100%;
  }

  .ant-form-item {
    vertical-align: top;
  }

  .ant-form-item-label>label {
    align-items: middle;
  }

  .ant-modal-body {
    padding-bottom: 0px;
    padding-right: 40px;
    padding-left: 40px;

    .ant-form {
      width: 90%;
    }
  }

  // .anticon svg {
  //   margin-top: -3px;
  // }
  .ant-popover-message {
    position: relative;
    padding: 0px 0 0px;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
  }

  .ant-tree-treenode {
    width: 100% !important;

    .ant-tree-node-content-wrapper {
      display: inline-block;
      width: 100%;
    }

    .iconWraper1 {
      float: right;

      span {
        display: none;
      }
    }
  }

  .ant-tree-treenode:hover {
    .iconWraper1>span {
      margin-left: 12px;
      font-size: 18px;
      display: inline-block;
    }
  }

  .ant-radio-group {
    margin: 0px !important;
  }

  .contentContainer {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;

    // .ant-table.ant-table-bordered > .ant-table-container {
    //   min-width: 81%;
    // }
    .ant-tree-switcher_close .ant-tree-switcher-icon svg {
      margin: auto;
    }

    .ant-spin-container {
      height: 100%;
    }

    .orgContainer {
      // height: calc(100vh - 74px);
      height: 100%;
      width: 320px;
      padding-right: 10px;
      left: 0;
      top: 0;
      overflow-x: hidden;
      margin-right: 10px;
      position: relative;
      transition-property: width;
      transition-duration: 0.5s;
      white-space: nowrap;
      .ant-card-body {
        height: 100%;
      }
      .ant-tree {
        padding-top: 6px;

        .ant-tree-switcher {
          line-height: 1;
          margin-right: 0px !important;
          color: #1890ff;

          .ant-tree-switcher-line-icon {
            margin-left: 5px;
          }
        }
      }

      .switcher {
        display: block;
        position: absolute;
        font-size: 18px;
        color: #1890ff !important;
        top: 50%;
        right: 2px;
        transform: translate(0%, -50%);
        z-index: 1;
      }
    }

    .orgContainerHide {
      // transform: translateX(-230px);
      width: 26px;
    }

    .ant-popover-message-title {
      padding-left: 20px;
    }

    .title1 {
      display: flex;
      align-items: center;
      width: 100%;
    }

    .tip1 {
      display: none;
    }

    .fs1 {
      font-size: 18px;
      margin-left: 10px;
    }

    .listHover {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      width: 25%;
    }

    .title1:hover {
      .tip1 {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 25%;
      }
    }

    .titleText {
      width: 20rem;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .userContainerHide {
      width: 100%;
    }

    .userContainer {
      // height: calc(100vh - 74px) !important;
      height: 100%;
      z-index: 999;
      background: white;
      min-width: 800px;
      width: 100%;
      position: relative;
      transition: width 0.5s;

      .title {
        margin: 16px 0 10px 16px;
        display: inline-block;
        // width: 270px;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .ant-table-pagination {
        padding-right: 12px;
        background: white;
        margin: 1px 0;
        padding: 8px;
        padding-right: 20px;
      }

      .ant-btn {
        margin: 0px 10px;

        .ant-btn-primary {
          background: #50aefc;
        }
      }

      .ant-input-search-button {
        margin-left: 0px !important;
      }

      .ant-table-thead tr th {
        font-weight: 600;
        color: rgba(0, 0, 0, 0.85);
      }

      .ant-table-cell {
        text-align: center;
        overflow: hidden;
        // text-overflow:ellipsis;
        white-space: nowrap;
      }

      .ant-table-body {
        // height: calc(100vh - 210px);
        // height: 100%;
        border-right: white;
        // overflow: auto !important;
      }

      .clickRowStyle {
        background: #cfe7fd;
      }

      .ant-pagination {
        z-index: 999;
        border-top: 1px solid #f0eded;
      }
    }
  }

  .boxR {
    width: 100%;
    position: relative;
    transition: width 2s;
  }

  .cardBoxR {
    min-width: 800px;
  }

  .ant-modal-root {
    .ant-tree-switcher {
      line-height: 1;
      color: #1890ff;
    }

    .ant-checkbox-group .ant-checkbox-group-item {
      margin-right: 0px !important;
      min-width: 200px !important;
    }

    .ant-tree-list-holder {
      overflow: auto;
      overflow-x: hidden;
      height: 40vh;
    }

    .ant-tabs-content-holder {
      overflow: auto;
      height: 50vh;
    }
  }
}

.ant-modal-content {
  border-radius: 5px;
}

.ant-modal-header {
  border-radius: 5px 5px 0 0;
  padding: 28px 40px;
}

.ant-modal-close {
  top: 14px;
  right: 20px;
}

.ant-modal-footer .ant-btn+.ant-btn:not(.ant-dropdown-trigger) {
  margin-bottom: 0;
  margin-left: 15px;
}

// .ant-form-horizontal .ant-form-item-control {
//     margin-left: 10px;
// }

.ant-popover-inner {
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.788);
}

.ant-popover-inner-content {
  padding: 10px 10px;
}

.ant-popover-message>.anticon {
  top: 7.0005px;
}

// .ant-tree {
//     overflow-y: scroll;
//     height: calc(100vh - 150px);
// }