.salaryItemOptWrapper {
  :global {
    .ant-menu-item-selected {
      background: #FFF !important;
      color: #333;
    }

    .ant-menu-item {
      height: 26px !important;
      line-height: 26px !important;
    }

    .ant-menu-title-content {
      font-size: 12px;
    }
  }
}

:global {
  .relation-graph .rel-toolbar-h {
    width: auto !important;
  }
}

.rootNode {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0, 154, 73);
  color: #FFF;
  font-size: 14px;
  font-weight: bold;
  border-radius: 25px;
  padding: 10px;
}

.levelNode {
  background: rgb(170, 212, 179) !important;
}

.commonNode {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  color: #333;

  & > span {
    display: inline-block;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
  }
}

.c-right-menu-panel {
  z-index: 999;
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(238, 238, 238);
  box-shadow: rgb(204, 204, 204) 0px 0px 8px;
  position: absolute;
  border-radius: 10px;

  .c-node-menu-item {
    line-height: 30px;
    padding: 5px 8px;
    cursor: pointer;
    color: rgb(68, 68, 68);
    font-size: 12px;
  }

  .c-node-menu-item:first-child {
    border-bottom: 1px solid rgb(239, 239, 239);
  }
}
