.nav-bar {
  // padding: 0 30px;
  padding-right: 30px;
  // background: $theme-color;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgb(0 0 0 / 5%);
  position: relative;

  .nav-bar-menu {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
  }
  .nav-bar-logo-bg {
    position: absolute;
    height: 70px;
    width: calc(100% - 549px);
    left: 476px;
    bottom: 0;
    background: url('../../../assets/images/log_right_07.png') no-repeat;
    background-position: 0 0;
    background-size: 100% 100%;
    z-index: 1;
  }
  @include clearfix;
  &-user {
    display: flex;
    margin-left: 10px;
    &-menu {
      display: flex;
      margin-left: 10px;

      &-box {
        margin: 0 10px;
        @include centerItems;
        cursor: pointer;
        i {
          font-size: 20px;
          font-weight: bold;
          color: $nav-color;
        }
        > span {
          color: #fff;
          margin-left: 5px;
          font-size: 16px;
        }
      }
      .nav-bar-user-menu-box {
        margin: 0 10px;
        @include centerItems;
        cursor: pointer;
        i {
          font-size: 20px;
          font-weight: bold;
          color: $nav-color;
        }
        span {
          color: #fff;
          margin-left: 5px;
        }
      }
    }

    &-icon {
      padding: 0 10px;
      position: relative;
    }
  }
  &-logo {
    float: left;
    color: #fff;
    padding-left: 45px;
    padding-right: 152px;
    height: 50px;
    display: flex;
    align-items: center; //纵向居中
    background: url('../../../assets/images/logo_bg.png') no-repeat;
    background-position: 0 0;
    background-size: 100% 100%;
    font-size: 22px;
    font-weight: 600;
    > img {
      height: 44px;
      display: block;
    }
    h1 {
      float: left;
      font-size: 20px;
      padding: 0;
      margin: 0;
      line-height: 50px;
    }
    > span {
      font-size: 18px;
      line-height: 50px;
      margin-left: 10px;
    }
  }
  &-menu {
    float: right;
    display: flex;
    align-items: center;
    border-bottom: none;
    .el-menu--horizontal > .el-submenu .el-submenu__icon-arrow {
      display: none !important;
    }
    .el-menu--horizontal > .el-menu-item {
      color: #fff !important;
    }
    .el-menu--horizontal > .el-submenu .el-submenu__title {
      color: #fff !important;
    }

    .el-menu--horizontal > .el-submenu .el-submenu__title,
    .el-menu--horizontal > .el-menu-item {
      height: 50px;
      width: 130px;
      line-height: 50px;
      text-align: center;
      overflow: hidden;
      > i {
        display: block;
        font-size: 36px;
        width: auto;
        margin: 0 auto;
        margin-top: 10px;
        color: #fff !important;
      }
    }
    .el-menu--horizontal > .el-submenu.is-active .el-submenu__title,
    .el-menu--horizontal > .el-menu-item {
      border-bottom: none !important;
    }
    .is-opened {
      .el-menu--horizontal > .el-submenu .el-submenu__title {
        color: #fff;
        > i {
          color: #fff;
        }
      }
    }
  }
  .el-menu.el-menu--horizontal {
    border-bottom: none;
  }
  &-dropdown {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    > span {
      margin-left: 10px;
      color: #fff;
      font-size: 16px;
    }
    &-menu {
      width: 300px;
      padding: 24px 20px !important;
      box-sizing: border-box;
      &-list {
        &-box {
          border-bottom: 1px solid $boeder-color;
          font-size: 14px;
          color: #fff;
          line-height: 46px;
          display: flex;
          justify-content: space-between;
          padding: 0 5px;
          box-sizing: border-box;

          .ellipeis-text {
            max-width: 160px;
            @include ellipsis;
          }
        }
      }
    }
  }
}
.el-menu--popup-bottom-start {
  margin: 0 !important;
  padding: 0 !important;
}
.el-menu--horizontal > .el-menu-item.is-active {
  color: #30daff !important;
  // border: 1px solid salmon;
  position: relative;
}
// .el-menu--horizontal > .el-menu-item.is-active:before {
//   position: absolute;
//   top: -25px;
//   bottom: 0;
//   content: ' ';
//   left: 20px;
//   right: 20px;
//   display: block;
//   background-color: rgb(199, 199, 199);
//   margin-right: 12px;
// }
.nav-bar-menu-submenu-open {
  width: 130px !important;
  box-sizing: border-box;
  text-align: center;
  ul {
    min-width: 130px;
    // width: 150px !important;
    background: rgb(15, 79, 99) !important;
    border-radius: 0 !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    li {
      // width: 150px !important;
      color: #fff !important;
      padding: 5px 10px !important;
      box-sizing: border-box;
      height: auto !important;
      background: transparent !important;
    }
    > li:hover {
      color: #30daff !important;
    }
    .el-menu-item.is-active {
      color: #30daff !important;
      background: rgb(26, 26, 26) !important;
    }
    .el-submenu__title {
      color: #fff !important;
      background: rgb(15, 79, 99) !important;
      .el-icon-arrow-right {
        display: none !important;
      }
    }
  }
}

.nav-bar-menu .el-menu {
  i {
    display: none !important;
  }
}
@media screen and (max-width: 1650px) {
  .nav-bar-logo h1 {
    display: none;
  }

  .nav-bar-logo span {
    display: none;
  }
}
.el-menu {
  background-color: transparent !important;
}

#app {
  background: url('../../../assets/bg.png') no-repeat;
  background-position: 0 0;
  background-size: 100% 103%;
}
.el-menu--horizontal > .el-submenu .el-submenu__title:hover {
  background-color: transparent !important;
  color: #34d9ff !important;
}
.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,
.el-menu--horizontal .el-menu-item:not(.is-disabled):hover {
  color: #34d9ff !important;
}

.el-menu--horizontal > .el-menu-item:not(.is-disabled):focus,
.el-menu--horizontal > .el-menu-item:not(.is-disabled):hover,
.el-menu--horizontal > .el-submenu .el-submenu__title:hover {
  background-color: transparent !important;
  color: #34d9ff !important;
}

.el-dropdown-menu {
  background: rgb(15, 79, 99) !important;
  border: 1px solid #185668 !important;
  border-radius: 0 !important;
}

.el-popper[x-placement^='bottom'] .popper__arrow::after {
  border-bottom-color: #185668 !important;
  top: -1px !important;
}

.el-popper .popper__arrow,
.el-popper .popper__arrow::after {
  border-bottom-color: #185668 !important;
}

// . #0f4f63
.el-table td.el-table__cell,
.el-table th.el-table__cell.is-leaf {
  border: none !important;
}

.el-table .has-gutter tr th {
  background-color: #0f4f63 !important;
}
.el-table thead {
  color: #fff !important;
}

.el-table .has-gutter > tr,
.el-table .has-gutter > tr > th {
  background-color: #0f4f63 !important;
  color: #fff !important;
}
.el-table--border,
.el-table--group {
  border: none !important;
}
.el-table,
.el-table__expanded-cell {
  background-color: transparent !important;
}
.el-table tr {
  background-color: #03171f !important;
}

.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
  background-color: #072a36 !important;
}

.el-table__body tr.current-row > td.el-table__cell {
  background-color: #072a36 !important;
}
.el-table {
  color: #fff !important;
  border: none !important;
}

.el-button--text {
  color: #34d9ff !important;
}

.el-table--border::after,
.el-table--group::after,
.el-table::before {
  background: transparent !important;
}

.el-loading-mask {
  background: rgb(15, 79, 99) !important;
}

.el-loading-spinner .path {
  stroke: #34d9ff !important;
}

.el-checkbox__inner {
  background: rgb(15, 79, 99) !important;
  border: 1px solid #367cc3 !important;
}
.el-dropdown-menu__item {
  color: #fff !important;
}
.el-dropdown-menu__item:focus,
.el-dropdown-menu__item:not(.is-disabled):hover {
  background-color: #072a36 !important;
}
