.publicNavTitleHidden {
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.themeWhite {
  @colordefault: rgba(24, 26, 36, 0.7);
  @colorhover: #181a24;
  @hoverBc: rgba(0, 0, 0, 0.04);
  @bc1: #ffffff;
  color: @colordefault;
  :global {
    .easyv-select-dropdown {
      top: 60px !important;
      background: none;
      color: rgba(24, 26, 36, 0.7);
      box-shadow: none;
    }
    .easyv-cascader-menu {
      padding: 0px;
      height: 100%;
      max-height: 600px;
      overflow-y: auto;
      &::-webkit-scrollbar {
        width: 8px;
        display: block;
      }
      &::-webkit-scrollbar-thumb {
        background: @hoverBc;
        border-radius: 8px;
      }
      &::-webkit-scrollbar-track {
        background: transparent;
      }
    }
    .easyv-cascader-menu-item {
      width: 190px;
      max-width: 190px;
      padding: 9px 16px;
    }
    .easyv-cascader-menus {
      background: none;
      box-shadow: none;
      .easyv-cascader-menu {
        border: none;
      }

      .easyv-cascader-menu:nth-of-type(1) {
        background: @bc1;
        border-radius: 2px 0px 0px 2px;
      }
      .easyv-cascader-menu:nth-of-type(2) {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04)), #ffffff;
      }
      .easyv-cascader-menu:nth-of-type(3) {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)), #ffffff;
      }
    }
    .easyv-cascader-menu-item:hover {
      font-weight: 600;
      background: @hoverBc;
      color: @colorhover;
    }
    .easyv-cascader-menu-item-expand .easyv-cascader-menu-item-expand-icon,
    .easyv-cascader-menu-item-loading-icon {
      color: @colorhover;
    }
    .easyv-cascader-menu-item-active:not(.easyv-cascader-menu-item-disabled),
    .easyv-cascader-menu-item-active:not(.easyv-cascader-menu-item-disabled):hover {
      background-color: @hoverBc;
      color: @colorhover;
      .easyv-cascader-menu-item-expand-icon {
        color: @colorhover;
      }
    }
  }
}

.themeBlack {
  color: rgba(255, 255, 255, 0.7);
  :global {
    .easyv-select-dropdown {
      top: 60px !important;
      background: none;
      color: rgba(255, 255, 255, 0.7);
      margin-left: -20px;
      box-shadow: none;
    }
    .easyv-cascader-menu {
      padding: 0px;
      height: 100%;
      max-height: 600px;
      overflow-y: auto;
      &::-webkit-scrollbar {
        width: 8px;
        display: block;
      }
      &::-webkit-scrollbar-thumb {
        background: #30323e;
        border-radius: 8px;
      }
      &::-webkit-scrollbar-track {
        background: transparent;
      }
    }
    .easyv-cascader-menu-item {
      width: 190px;
      max-width: 190px;
      padding: 9px 16px;
    }
    .easyv-cascader-menus {
      background: none;
      box-shadow: none;
      .easyv-cascader-menu:nth-of-type(1) {
        background: #2b2e35;
        border-radius: 2px 0px 0px 2px;
        border: none;
        .easyv-cascader-menu-item:hover {
          background: rgba(255, 255, 255, 0.08);
        }
      }
      .easyv-cascader-menu:nth-of-type(2) {
        background: linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)), #2b2e35;
        border: none;
      }
      .easyv-cascader-menu:nth-of-type(3) {
        background: linear-gradient(0deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)), #2b2e35;
        border: none;
      }
    }
    .easyv-cascader-menu-item:hover {
      font-weight: 600;
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
    }
    .easyv-cascader-menu-item-expand .easyv-cascader-menu-item-expand-icon,
    .easyv-cascader-menu-item-loading-icon {
      color: rgba(255, 255, 255, 0.7);
    }
    .easyv-cascader-menu-item-active:not(.easyv-cascader-menu-item-disabled),
    .easyv-cascader-menu-item-active:not(.easyv-cascader-menu-item-disabled):hover {
      background-color: transparent;
      color: #fff;
      .easyv-cascader-menu-item-expand-icon {
        color: #fff;
      }
    }
  }
}

.navContainerWhite {
  position: relative;
  width: 100%;
  height: 60px;
  z-index: 10;
  max-width: calc(100vw - 380px);
  white-space: nowrap;
  display: flex;
  background: linear-gradient(0deg, #ffffff, #ffffff);
  box-shadow: 0px 10px 28px rgba(0, 0, 0, 0.05);
  transition: height 1s;
  .themeWhite();
}

.navContainerBlack {
  position: relative;
  width: 100%;
  height: 60px;
  max-width: calc(100vw - 380px);
  white-space: nowrap;
  display: flex;
  z-index: 10;
  background: linear-gradient(0deg, #34373f, #34373f), linear-gradient(0deg, #151516, #151516);
  filter: drop-shadow(0px 2px 37px rgba(0, 0, 0, 0.16));
  transition: height 1s;
  .themeBlack();
}

.titleWhite {
  height: 60px;
  line-height: 60px;
  width: 164px;
  padding: 0px 20px;
  max-width: 164px;
  font-weight: 600;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  transition: height 1s;
  .publicNavTitleHidden();
}

.titleBlack {
  height: 60px;
  line-height: 60px;
  width: 164px;
  padding: 0px 20px;
  max-width: 164px;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  cursor: pointer;
  transition: height 1s;
  .publicNavTitleHidden();
}

.navContainer {
  flex: 1;
  overflow-y: hidden;
  overflow-x: scroll;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.navItemPublic {
  display: inline-block;
  position: relative;
  width: 110px;
  height: 60px;
  max-width: 110px;
  min-width: 110px;
  line-height: 60px;
  text-align: center;
  .publicNavTitleHidden();
}

.navItemBlack {
  .navItemPublic();
  &:hover {
    background: rgba(255, 255, 255, 0.12);
  }
}
.navItemWhite {
  .navItemPublic();
  &:hover {
    background: rgba(58, 137, 254, 0.12);
  }
}
.navItem {
  display: flex;
  justify-content: center;
  align-items: center;
  .icon {
    line-height: initial;
  }
}
.navTitle {
  max-width: 60px;
  display: inline-block;
  .publicNavTitleHidden();
}

.displayNavItem {
  :global {
    .easyv-cascader-menus-empty,
    .easyv-cascader-menus-hidden {
      display: block;
      left: 195px;
      top: 105px;
    }
  }
}

.cascaderContainer {
  background: #000;
}

.navItemSelectedBlack {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  :hover {
    background: none;
  }
}
.navItemSelectedWhite {
  background: rgba(58, 137, 254, 0.12);
  color: #007afc;
  font-weight: 600;
  :hover {
    background: none;
  }
}

.changeNavSidebarHeight {
  height: 0;
}
