body {
  background-color: #ffffff;
}

.header-nav {
  width: 100%;
  height: 80px;
}
.header-nav .header-main {
  max-width: 1400px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  align-items: center;
}
.header-nav .header-main .logo {
  vertical-align: top;
  transform: scale(0.8);
  transform-origin: left;
}
.header-nav .header-main .header-ul {
  text-align: right;
  height: 100%;
}
.header-nav .header-main .header-ul .ul-li {
  position: relative;
  display: inline-block;
  font-size: 16px;
  color: #505050;
  margin-left: 40px;
  vertical-align: top;
  cursor: pointer;
  height: 80px;
  line-height: 80px;
}
.header-nav .header-main .header-ul .ul-li a {
  color: #505050;
  display: block;
}
.header-nav .header-main .header-ul .ul-li:nth-child(1) {
  margin-left: 0;
}
.header-nav .header-main .header-ul .ul-li:hover::after {
  position: absolute;
  content: '';
  max-width: 64px;
  height: 2px;
  background: #1683e9;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 16px;
}
.header-nav .header-main .header-ul .ul-li.active {
  position: relative;
}
.header-nav .header-main .header-ul .ul-li.active::after {
  position: absolute;
  content: '';
  max-width: 64px;
  height: 2px;
  background: #1683e9;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0 auto;
  bottom: 16px;
}
.header-nav .header-main .header-ul .ul-li ul {
  display: none;
  position: absolute;
  z-index: 20;
  font-size: 14px;
  line-height: 1;
  color: #666666;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  background: #eff7ff;
  text-align: center;
  padding: 20px;
  min-width: 150px;
  width: max-content;
  left: 50%;
  transform: translateX(-50%);
}
.header-nav .header-main .header-ul .ul-li ul li {
  height: 40px;
  line-height: 40px;
}
.header-nav .header-main .header-ul .ul-li ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #666666;
}
.header-nav .header-main .header-ul .ul-li ul li a:hover {
  color: #1683e9;
}
.header-nav .header-main .header-ul .ul-li ul li.sub-active a {
  color: #1683e9;
}

@media screen and (max-width: 1400px) {
  .header-main {
    padding: 0 20px !important;
    box-sizing: border-box;
  }
}

@media screen and (min-width: 1100px) {
  .header-main .header-right {
    display: none;
  }
}

@media screen and (max-width: 1100px) {
  .header-main {
    line-height: 40px !important;
    padding: 0 20px;
    margin-top: 6px !important;
  }
  .header-main .header-right {
    flex: 1;
    text-align: right;
    width: 30px;
  }
  .header-main .header-right img {
    width: 30px;
    vertical-align: middle;
    cursor: pointer;
  }
  .header-main .header-ul {
    display: none;
    position: absolute;
    top: 80px;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 20;
    background: #ffffff;
    text-align: left !important;
    overflow-y: auto;
    padding-top: 20px;
  }
  .header-main .header-ul .ul-li {
    padding: 0 20px;
    box-sizing: border-box;
    display: block !important;
    margin-left: 0 !important;
    height: auto !important;
    line-height: 40px !important;
  }
  .header-main .header-ul .ul-li:hover::after {
    display: none !important;
  }
  .header-main .header-ul .ul-li.active > a,
  .header-main .header-ul .ul-li.active .sub-active {
    color: #1683e9 !important;
  }
  .header-main .header-ul .ul-li.active::after {
    display: none;
  }
  .header-main .header-ul .ul-li ul {
    position: relative !important;
    width: 100% !important;
    text-align: left !important;
    box-sizing: border-box;
    padding-left: 20px !important;
    left: 0 !important;
    transform: none !important;
  }
}
