.net-wrapper {
  height: 100%;
  display: flex;

  .left-content {
    width: 300px;
    position: relative;
    z-index: 1;
    background: #fff;

    .tree-wrapper {
      height: 100%;

      .tree-btn {
        height: 42px;
        line-height: 42px;
        background: #f3f3f3;
        border:1px solid rgba(234,234,234,1);
        border-right: none;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 42px;

        .add-topo {
          width: 36px;
          height: 36px;
          background: rgba(255, 255, 255, 1);
          opacity: 1;
          border-radius: 4px;
          padding: 8px;
          cursor: pointer;

          img {
            height: 20px;
          }
        }
      }

      .ant-tree {
        height: calc(100% - 42px);
        padding-left: 24px;
        border:1px solid rgba(234,234,234,1);
        border-top: none;
        padding-top: 7px;
        //overflow-x: scroll;
        .ant-tree-title {
          font-size: 16px;
          font-weight: bold;
        }

        li .ant-tree-node-content-wrapper{
          width: 82%;
          overflow: hidden;
          text-overflow: ellipsis;
        }

        li .ant-tree-node-content-wrapper.ant-tree-node-selected {
          background-color: rgba(230, 247, 255, 1);
        }
        li span.ant-tree-switcher.ant-tree-switcher_open:after {
          display: inline-block;
          width: 17px;
          height: 17px;
          content: '';
          transform: unset;
          transition: unset;
          background: url('/src/assets/bizView/netTopology/tree-folder.png');
          background-size: cover;
          vertical-align: sub;
        }

        li span.ant-tree-switcher.ant-tree-switcher_close:after {
          display: inline-block;
          width: 17px;
          height: 17px;
          content: '';
          transform: unset;
          transition: unset;
          background: url('/src/assets/bizView/netTopology/tree-folder.png');
          background-size: cover;
          vertical-align: sub;
        }
        .ant-tree-child-tree {
          .ant-tree-switcher:before {
            display: inline-block;
            width: 16px;
            height: 16px;
            content: '';
            transform: unset;
            transition: unset;
            background: url('/src/assets/bizView/netTopology/tree-floor.png');
            background-size: cover;
            vertical-align: sub;
          }

          .ant-tree-title {
            font-size: 14px;
          }
        }
      }

      .tree-right {
        .ant-menu-item:hover,
        .ant-menu-item-active,
        .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open,
        .ant-menu-submenu-active,
        .ant-menu-submenu-title:hover {
          background-color: rgba(230, 247, 255, 1);
          color: #3f3f3f;
        }

        .ant-menu-item {
          font-size: 14px;
          height: 36px;
          line-height: 36px;
          margin-left: -70px;
          background-color: white;
          .tree-add-img {
            width: 16px;
            height: 16px;
            vertical-align: sub;
            margin-right: 4px;
          }

          .tree-del-img {
            width: 16px;
            height: 16px;
            vertical-align: sub;
            margin-right: 4px;
          }
        }
      }
    }
  }

  .right-content {
    flex: 1;

    .net-topo-header {
      height: 42px;
      line-height: 42px;
      background:rgba(243,243,243,1);
      border:1px solid rgba(234,234,234,1);
      border-left: none;
      padding-right: 42px;
      text-align: right;
      padding-top: 2px;
      position: relative;
      z-index: 1;

      img {
        height: 20px;
      }

      .net-topo-save {
        display: inline-block;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 1);
        border: 1px solid rgba(234, 234, 234, 1);
        opacity: 1;
        border-radius: 4px 0px 0px 4px;
        cursor: pointer;
        padding: 8px;
      }

      .net-topo-refresh {
        display: inline-block;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 1);
        border: 1px solid rgba(234, 234, 234, 1);
        opacity: 1;
        border-radius: 0px 4px 4px 0px;
        padding: 8px;
        cursor: pointer;
      }
    }

    .net-topo-content {
      height: calc(100% - 42px);

      .topology-net {
        canvas {
          outline: none;
        }

        .tooltip-content {
          width: 251px;
          background: #345fa6;
          box-shadow: inset 0px 3px 6px rgba(0,0,0,0.16);
          opacity: 1;
          border-radius: 7px;
          padding: 22px 24px;

          .tooltip-item {
            height: 24px;
            line-height: 24px;
            font-size: 13px;
            font-weight: bold;
            color: white;

            .item-name {
              display: inline-block;
            }

            .item-value {
              display: inline-block;
              padding-left: 10px;
            }
          }
        }
      }
    }
  }
}

.amos-help-tip-pulse-second {
  border: 12px solid #f94242;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 1px 1px 20px 5px #f94242;
  -webkit-animation: amosHelpTipPulseSecond 1.5s ease-out;
  animation: amosHelpTipPulseSecond 1.5s ease-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  position: absolute;
  z-index: 0;
}

@keyframes amosHelpTipPulseSecond {
  0% {
    opacity: 0.3;
    -webkit-transform: scale(0.3);
    transform: scale(0.3);
  }
  25% {
    opacity: 0.5;
    -webkit-transform: scale(0.3);
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(0.3);
    transform: scale(0.3);
  }
  75% {
    opacity: 0.5;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }
  100% {
    opacity: 0.3;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
}
