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

.ant-layout {
  overflow: auto;

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

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

.siteManageContainer {
  .ant-card-body {
    padding: 15px;
  }

  .ant-spin-container {
    // overflow-y: scroll;
    // height: calc(100vh - 410px);
  }

  .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;
    }
  }

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

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

      .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: 45%;
        right: 2px;
        transform: translate(0%, -50%);
        z-index: 1;
      }
    }

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

    .userContainer {
      height: 100%;
      z-index: 999;
      min-width: 800px;
      background: white;
      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);
        border-right: white;
        overflow: auto !important;
      }

      .clickRowStyle {
        background: #cfe7fd;
      }

      .ant-pagination {
        z-index: 999;
        border: none;
      }
    }
  }
}

//机构编辑面板
.boxR {
  width: 100%;
  height: 100%;
  position: relative;
  transition: width 2s;

  .ant-spin-nested-loading {
    height: calc(100% - 50px);
  }

  .ant-card-body {
    height: 100%;
  }
}

.cardBoxR {
  // min-height: calc(100vh - 210px);
  // max-height: calc(100vh - 210px);
  height: 100%;
  min-width: 600px;
}

.siteCheckbox .ant-collapse-content>.ant-collapse-content-box {
  padding: 16px 16px 0;
}

.siteList {
  width: 199px;
  // margin:0 0 15px 0;
  padding: 0 0 15px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.siteListTitle {
  width: 199px;
  // margin:0 0 15px 0;
  padding: 0 0 0 15px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sitePanel {
  margin: 0 0 10px 0;
}

.sitePanelHead {
  background-color: #f5f5f5;
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-direction: row;
}

.sitePanelHead p {
  margin: 0;
  margin-right: 0.6rem;
}

.sitePanelCon {
  border: 1px solid #f5f5f5;
  padding: 20px;
  padding-bottom: 0;
  border-top: 0;
  max-height: 200px;
  overflow: auto;
}

.sitePanel .ant-checkbox-wrapper+.ant-checkbox-wrapper {
  margin: 0;
}

.siteIcon {
  color: #ccc;
  margin: 4px 10px 0 0;
}

.siteAll {
  margin: 0 0 10px 0;
}

.siteColor {
  color: #f00;
}

.siteCommit {
  margin: 10px 0;
}

.siteSelectList {
  border: 1px solid #f5f5f5;

  overflow: auto;

  .siteSelectUl {
    margin: 0;
    padding: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    li {
      height: 35px;
      line-height: 35px;
      background: rgba(24, 144, 255, 0.16) url('../../../assets/images/icons/close.png') no-repeat 170px;
      background-size: 20px;
      background-position: center right;
      margin: 0 10px 10px 0;
      cursor: pointer;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      padding: 0 40px 0 10px;
    }
  }
}

.siteline {}

.siteBtn {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
  justify-content: flex-end;
}

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

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

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

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

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

.tip {
  display: none;
}

.title:hover {
  .tip {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 40%;
  }
}

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

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

.titleTop {
  width: 12rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}