.knowledgeMapWrapper {
  min-width: 1200px;
  height: 100%;
  // background: url("../images/bg2.png");
  background-size: cover;
  padding-top: 0px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 7px 14px 2px rgba(211, 211, 211, 0.3);
  border-radius: 10px 10px 0px 0px;


  .contextmenu,
  .contextmenu-edge,
  .contextmenu-node {
    position: fixed;
    display: none;
    width: 176px;
    padding: 20px 21px;
    border: 1px solid #E7E7E7;
    z-index: 100;
    background-color: white;
    border-radius: 10px;
    font-size: 20px;
    font-weight: Regular;
    box-sizing: border-box;

    ul {
      .contextmenu-item {
        margin-bottom: 10px;
        color: #6D6D6D;

        &:last-child {
          margin-bottom: 0px;
        }

        &:hover {
          color: #0793FF;
        }
      }
    }
  }

  .contextmenu-node,
  .contextmenu-edge {
    width: 138px;
  }

  .topbar {
    height: 78px;
    flex: 0 0 auto;
    box-sizing: border-box;
    border-bottom: 1px solid #D9D9D9;
    padding: 0px 23px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .dropdown {
      position: relative;

      .selectedData {
        flex-grow: 1;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
      }

      .selectList {
        background-color: #FFFFFF;
        top: 41px;
        position: absolute;
        display: none;
        max-height: 500px;
        min-width: 100%;
        // width: 100%;
        left: -1px;
        z-index: 10;
        border: 1px solid #E7E7E7;
        // box-sizing: border-box;

        .selectItem {
          // margin-bottom: 26px;
          padding: 13px 23px;
          white-space: nowrap;

          &:hover {
            color: #00A6F5;
          }

          &:last-child {
            padding-bottom: 26px;
          }

          &:first-child {
            padding-top: 26px;
          }
        }
      }
    }

    .topbar-left {
      display: flex;
      flex-wrap: nowrap;

      .item-box-1 {
        width: 175.6px;
        height: 40px;
        color: #333333;
        font-weight: Regular;
        font-size: 20px;
        border: 1px solid #E7E7E7;
        padding: 0px 22px;
        margin-right: 19px;
        display: flex;
        align-items: center;
        // justify-content: space-between;
        cursor: pointer;
        box-sizing: border-box;

        .icon-triangle-down {
          margin-left: auto;
        }

        &:last-child {
          margin-right: 0px;
        }
      }
    }

    .topbar-right {
      display: flex;
      flex-wrap: nowrap;

      .topbar-right-item {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;

        .label {
          line-height: 40px;
          font-weight: Regular;
          font-size: 20px;
          margin: 0px 22px;
        }

        .item-box-2 {
          width: 112.9px;
          height: 40px;
          color: #333333;
          font-weight: Regular;
          font-size: 20px;
          border: 1px solid #E7E7E7;
          padding: 0px 22px;
          margin-right: 19px;
          display: flex;
          align-items: center;
          justify-content: space-between;
          cursor: pointer;
          box-sizing: border-box;

          .icon-triangle-down {
            // margin-left: auto;
          }

          &:last-child {
            margin-right: 0px;
          }

        }

        .search {
          margin-left: 28px;
        }
      }

    }
  }



  .content {
    position: relative;
    width: 100%;
    left: 0;
    flex-grow: 1;
    // margin-left: -600px;
    cursor: default;
    white-space: nowrap;
    // border: 1px #6794A8 dotted;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .left {
    // float: left;
    background: #FFFFFF;
    height: 100% !important;
    margin: 0px;
    // position: absolute;
    // border-right: none;
    // width: calc(100% - 394px);
    box-sizing: border-box;
    flex-grow: 1;

    #main {
      // width: 796px;
      height: 100% !important;
      cursor: pointer;
      background-color: #FFFFFF;
      position: relative;
      -webkit-font-smoothing: antialiased;
      /* 开启字体平滑 */
      -moz-osx-font-smoothing: grayscale;
      /* 为 Firefox 设置字体平滑 */
    }

    .legendIcon {
      position: absolute;
      display: none;
      width: 34px;
      height: 24px;
      bottom: 0px;
      right: 379px;
      // border-top: 1px dotted black;
      /*background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);*/
    }

    .legendIconImg {
      width: 34px;
      height: 24px;
      // border-radius: 50%;
      // position: absolute;
      // right: 0px;
      // top: 0px;
      cursor: pointer;
    }

    .legendIconImg {
      background: url('./img/direct4@2x-2.png') no-repeat;
      background-size: 34px 24px;
    }

    .legendIconImg:hover {
      background: url('./img/direct4@2x-2.png') no-repeat;
      background-size: 34px 24px;
    }

    .legendSlideUp {
      background: url('./img/direct4@2x-1.png') no-repeat;
      background-size: 34px 24px;
    }

    .legendSlideUp:hover {
      background: url('./img/direct4@2x-1.png') no-repeat;
      background-size: 34px 24px;
    }



  }

  .right {
    width: 359px;
    // float: right;
    height: 100% !important;
    // position: absolute;
    right: 0px;
    border-left: 1px dotted #000;
    box-sizing: border-box;
    overflow: auto;
    padding-top: 19px;
    box-sizing: border-box;

    .content-right-box {
      max-height: 33%;
      display: flex;
      flex-direction: column;

      .box-title {
        background-color: rgb(213, 233, 254);
        width: 370.8px;
        height: 42px;
        color: #333333;
        font-family: Bold;
        font-family: PingFang-SC-Bold;
        font-size: 20px;
        padding: 0px 9px;
        line-height: 42px;
      }

      .box-content {
        padding: 14px 8px;
        font-size: 16px;
        min-height: 100px;
        max-height: 300px;
        overflow: auto;
        box-sizing: border-box;

        .text {
          padding-bottom: 11px;
          display: flex;
          flex-wrap: nowrap;

          .text-key {}

          .text-value {
            white-space: pre-wrap;
          }

        }

      }

      .box-footer {
        padding: 14px 8px;

        button {
          width: 88px;
          height: 38px;
          background: #0793FF;
          border-radius: 5px;
          border-width: 1px;
          color: #FFFFFF;
          font-size: 16px;
          font-weight: 400;
          margin-right: 13px;

          &:last-child {
            margin-right: 0px;
          }
        }
      }
    }
  }
}

.search {
  // position: absolute;
  display: inline-block;
  width: 272px;
  position: relative;

  input {
    width: 192px;
    padding: 0 10px;
    height: 40px;
    border: 1px solid rgba(230, 230, 230, 1);
    border-radius: 4px 0 0 4px;
    box-sizing: border-box;
    outline: none;
    color: #333;
    font-size: 14px;

  }

  input:focus {
    border: 1px solid #58a6e7;
    outline: 0;
    -webkit-box-shadow: #58a6e7 0px 0px 2px;
    -moz-box-shadow: #58a6e7 0px 0px 2px;
    box-shadow: #58a6e7 0px 0px 2px;
  }

  input::-ms-clear {
    display: none;
  }

  input::-webkit-input-placeholder {
    color: #aaa;
  }

  input:-moz-placeholder,
  textarea:-moz-placeholder {
    color: #aaa;
  }

  input::-moz-placeholder,
  textarea::-moz-placeholder {
    color: #aaa;
  }

  input:-ms-input-placeholder,
  textarea:-ms-input-placeholder {
    color: #aaa;
  }

  .searchBtn {
    position: absolute;
    cursor: pointer;
    display: inline-block;
    width: 60px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background: linear-gradient(270deg, #00A6F5 0%, #0071E7 100%);
    border-radius: 0px 4px 4px 0px;
    color: #fff;
  }

  .tabNameList,
  .tabNameListNoSearch {
    position: absolute;
    top: 40px;
    display: none;
    width: 192px;
    max-height: 200px;
    background: white;
    border: 1px solid #5BBBFF;
    border-radius: 4px 0 0 4px;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 2;

    li {
      height: 40px;
      line-height: 40px;
      padding: 0 10px;
      color: #000;
    }

    li:hover {
      background: #5BBBFF;
      color: white;
    }

    .nodeItem {
      cursor: pointer;

    }
  }
}

.icon {
  height: 18px;
  width: 18px;
  display: inline-block;
  background-size: cover;
  vertical-align: middle;
  background-repeat: no-repeat;
  cursor: pointer;
}

.icon-triangle-down {
  .icon();
  background-image: url("./img/rect46@2x.png");
  width: 18px;
  height: 12px;
}

.icon-rect-select {
  height: 16px;
  width: 16px;
  display: inline-block;
  background-size: cover;
  vertical-align: middle;
  background-repeat: no-repeat;
  cursor: pointer;
  border: 1px solid #ABABAB;
  // box-sizing: border-box;
}

.icon-rect-selected {
  height: 18px;
  width: 18px;
  display: inline-block;
  background-size: cover;
  vertical-align: middle;
  background-repeat: no-repeat;
  cursor: pointer;
  background-image: url("./img/group105@2x.png");
  // border: 1px solid #5BBBFF;
  // box-sizing: content-box;
}