.search-bar {
  width: 376px;
    height: 40px;
    margin: 5px 200px 0 0;

  .ant-checkbox-wrapper {
    border: 1px dashed #BCBCBC;
    margin-top: 5px;
    border-radius: 5px;
    padding: 0 0 2px 4px;
  }

  .search-input {
    width: 100%;
    text-align: left;
    display: inline-block;

    .ant-input-affix-wrapper {
      width: 50%;
    }

    .ant-input {
      font-size: 14px;
      height: 30px;
      width: 80%;
      z-index: 101;
      border-radius: 10px 0 0 10px;
    }

    .ant-input-search-icon {
      font-size: 40px;
    }

    .ant-btn {
      width: 20%;
      font-size: 14px;
      height: 30px;
      z-index: 101;
      padding: 0;
      margin: 0;
      border-radius: 0 10px 10px 0;
      background-image: linear-gradient(to top,#32679a,#1789bc);
    }

    .select-filter-btn {
      display: inline-block;
      background-color: #7A67EE;
      border-radius: 5px;
      margin: 5px 0 0 5px;
      padding: 0 6px;
      cursor: pointer;
    }

    .all-filter-btn {
      display: inline-block;
      background-color: #FFFFFF;
      border-radius: 5px;
      margin: 5px 0 0 5px;
      padding: 0 6px;
      cursor: pointer;
    }

    .selected-btn {
      background-color: #4570FD;
    }
  }

  .search-filter {
    // width: 100%;
    // text-align: center;
    border: 1px solid #ddd;
    position: absolute;
    z-index: 101;
    width: 302px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 0 0 5px 5px;
    padding: 10px;

    .ant-checkbox-group {
      display: inline-block;
    }
  }
}

.modal-box {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
}

/* 通用 - 列表内容底层样式 */
.table-container {
  height: 65em;
  overflow-y: auto;
  display: inline-block;
  width: 100%;
  background:white;
  padding: 20px 70px 0;

  /* 通用 - 列表内容为卡片形式展示，每一个卡片的样式 */
  .table-card {
    float: left;
    padding: 20px 0 0 0.9px;
    cursor: pointer;

    .index-add-img {
      text-align: center;
      padding-top: 15px;

      .device-lib-icon {
        font-size: 5rem;
        color: black;
      }

      .protocol-lib-icon {
        font-size: 5rem;
        color: black;
      }

      .interface-lib-icon {
        font-size: 5rem;
        color: black;
      }
    }

    /* 通用 - 卡片样式 */
    .ant-card {
      width: 278px;
      height: 172px;
      border-radius: 10px 10px 0 0;
      // box-shadow: 0 0 6px 0 #bdbdbd;
      border: 1px solid #e7e7e7;
      background: #dbdbdb;

      .ant-card-head {
        .ant-card-head-title {
          margin-top: 7px;
          margin-bottom: 3px;
        }
      }

      .ant-card-extra{
        position: absolute;
        top: 4px;
        left: 2px;
        color: white;
      }

      &:not(.ant-card-no-hovering):hover {
        box-shadow: 0 0 5px 3px #b4b4b4;
        border-color: transparent;
      }
    }

    .plus-style {
      display: list-item;
      font-size: 6rem;
      font-weight: 800;
      color: #1e1cec;
      line-height: 10rem;
      cursor: pointer;
    }

    p {
      padding-left: 1.2rem;
      padding-top: 0.3rem;
      font-size: 1.2rem;
      color: #585555;
    }

    .ant-card-body {
      padding: 5px !important;
      height: 100px !important;
      background: #dbdbdb;
    }

    .ant-card-head {
      height:30px;
      line-height: 20px;
      border-radius: 10px 10px 0 0;
      background: linear-gradient(180deg,#2572b3,#2572b3 2%,#40509d 100%,#40509d 0);

      h3 {
        margin-top: 0.7rem;
        margin-bottom: 1rem;
        color: #fff;
      }
    }
  }

  /* 通用 - 列表左侧标题样式 */
  .title-left {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 220px;
    line-height: 16px;
    text-align: center;
    vertical-align: middle;

    img {
      margin-top: 3px;
      margin-left: 3px;
    }
  }
}

.filter-btn {
  cursor: pointer;
}

/* 通用 - 接口和协议增加按钮底层div样式 */
.basic-info-add {
  position: absolute;
  right: -22px;
  font-size: 1.6rem;
  color: white;

  &:hover {
    color: red;
  }
}

.interface-add-select + div {
  > div {
    max-height: 240px;

    .ant-select-dropdown {
      max-height: 240px !important;
      > div {
        .ant-select-dropdown-menu {
          max-height: 240px !important;
        }
      }
    }
  }
}
