.header {
  position: relative;
  height: 354px;
}
.header .bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 809px;
  background: url(bg1.png) no-repeat center top / 1920px auto;
  z-index: -1;
}
.header.index {
  height: 530px;
}
.header.index .bg {
  background: url(bg2.png) no-repeat center top / 1920px auto;
}
.header .site {
  width: 168px;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 48px;
  letter-spacing: 0px;
}
.header .sitea {
  width: 84px;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 48px;
  letter-spacing: 0px;
}
.header .header-bar {
  height: 48px;
  background: rgba(255, 255, 255, 0.8);
}
.header .nav {
  margin-left: 70px;
}
.header .nav .item {
  line-height: 48px;
  width: 120px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  font-stretch: normal;
  letter-spacing: 0px;
  color: #333333;
  margin-left: 14px;
  cursor: pointer;
  position: relative;
}
.header .nav .link {
  display: inline-block;
  width: 100%;
  height: 100%;
}
.header .nav .item:hover a {
  color: #4e7df3;
}
.header .sign a {
  float: left;
  font-size: 14px;
  line-height: 48px;
  color: #4e7df3;
}
.header .logo-link {
  width: 433px;
  height: 76px;
  display: block;
  margin: 77px auto 0;
}
.header .logo {
  display: block;
  width: 100%;
  height: 100%;
}
.header .logo-m {
  display: none;
}
.header .side-menu,
.header .menu-btn {
  display: none;
}
.header .search {
  height: 50px;
  width: 651px;
  margin: 28px auto 0;
  text-align: center;
}
.header .a-btn,
.header .adv-btn,
.header .icon,
.header .input {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.header .input {
  width: 520px;
  background-color: #ffffff;
  opacity: 0.98;
  text-align: left;
  float: left;
}
.header .a-btn {
  width: 80px;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  background-color: #4e7df3;
  cursor: pointer;
  float: left;
}
.header .adv-btn {
  width: 40px;
  background-color: #f3a74e;
  box-shadow: 0px 4px 7px 0px rgba(16, 79, 154, 0.1);
  opacity: 0.9;
  font-size: 12px;
  line-height: 16px;
  padding: 9px 5px;
  color: #ffffff;
  cursor: pointer;
  box-sizing: border-box;
  float: right;
}
.header .icon {
  width: 18px;
  height: 18px;
  margin-left: 19px;
  float: left;
  margin-top: 18px;
  background: url(search-btn.png) no-repeat center center / 100% auto;
}
.header .key-words {
  float: left;
  width: 460px;
  height: 100%;
  margin-left: 9px;
  line-height: 50px;
  font-size: 14px;
  color: #666;
}
.header .search-key {
  width: 651px;
  height: 68px;
  overflow: auto;
  margin: 10px auto;
}
.header .label {
  float: left;
  background-color: #4e7df3;
  box-shadow: 0px 4px 7px 0px rgba(16, 79, 154, 0.1);
}
.header .key-text {
  padding: 0 12px;
  text-align: center;
  font-size: 12px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 24px;
  letter-spacing: 0px;
  color: #ffffff;
}
.header .keys {
  width: 560px;
  height: 100%;
  overflow: auto;
  float: right;
}
.header .key-item {
  line-height: 24px;
  background-color: rgba(0, 0, 0, 0.5);
  float: left;
  margin: 0 10px 10px 0;
  cursor: pointer;
}
.nav .active {
  background-color: rgba(78, 125, 243, 0.2);
}
.nav .active a {
  color: #4e7df3;
}
.nav .active.item::after {
  position: absolute;
  display: block;
  content: '';
  left: 20px;
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #4e7df3;
  border-radius: 2px;
}
@media screen and (max-width: 765px) {
  .nav .active {
    background-color: rgba(78, 125, 243, 0.2);
  }
  .nav .active a {
    color: #4e7df3 !important;
    font-weight: bold !important;
  }
  .nav .active.item::after {
    position: absolute;
    display: block;
    content: '';
    left: 50%;
    bottom: 0;
    margin-left: -0.82rem;
    width: 1.64rem;
    height: 0.03rem;
    background-color: #4e7df3;
    border-radius: 2px;
  }
  .header {
    height: 4.55rem !important;
    position: relative;
    overflow: hidden;
  }
  .header .bg {
    height: 100%;
    background: url(bg2.png) no-repeat center -1.7rem / auto 4.55rem !important;
  }
  .header .site {
    display: none;
  }
  .header .sitea {
    display: none;
  }
  .header .logo {
    position: absolute;
    left: 0.22rem;
    top: 0.35rem;
    width: 5.23rem;
    height: 0.88rem;
    margin: 0;
  }
  .header .logo-link {
    display: none;
  }
  .header .logo-m {
    display: inline-block;
  }
  .header .side-menu {
    display: block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 100;
    transition: 0.3s;
  }
  .header .side-menu.active {
    left: calc(100vw - 3.2rem);
  }
  .header .side-menu.active .cover {
    display: block;
  }
  .header .side-menu .cover {
    display: none;
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .header .side-menu .con {
    position: absolute;
    left: 0;
    top: 0;
    width: 3.2rem;
    height: 100%;
    padding: 0.24rem;
    box-sizing: border-box;
    background-color: rgba(78, 125, 243, 0.9);
  }
  .header .side-menu .sign-m {
    display: flex;
    align-items: center;
    height: 0.88rem;
    margin-bottom: 0.24rem;
    background-color: rgba(255, 255, 255, 0.2);
  }
  .header .side-menu .sign-m .line {
    width: 1px;
    height: 100%;
    background-color: #fff;
    opacity: 0.2;
  }
  .header .side-menu .sign-m a {
    flex: 1;
    font-size: 0.32rem;
    color: #ffffff;
    text-align: center;
  }
  .header .side-menu .box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1rem;
    margin-bottom: 1px;
    background-color: rgba(255, 255, 255, 0.2);
  }
  .header .side-menu .box:last-child {
    margin: 0;
  }
  .header .side-menu .box .name {
    margin-left: 0.16rem;
    font-size: 0.32rem;
    color: #ffffff;
  }
  .header .side-menu .share {
    margin-bottom: 0.24rem;
  }
  .header .side-menu .share .icon {
    width: 0.48rem;
    height: 0.4rem;
    background: url(weibo.png) no-repeat center center / 0.48rem auto;
  }
  .header .side-menu .share .wechat .icon {
    background-image: url(wechat.png);
  }
  .header .menu-btn {
    position: absolute;
    right: 0.24rem;
    top: 0.48rem;
    display: block;
    width: 0.56rem;
    height: 0.56rem;
    transition: 0.3s;
    background: url(menu-btn.png) no-repeat center center / 100% auto;
    z-index: 101;
  }
  .header .menu-btn.active {
    right: 3.43rem;
  }
  .header .header-bar {
    position: absolute;
    left: 0;
    top: 2.8rem;
    height: auto;
  }
  .header .search {
    position: absolute;
    top: 1.6rem;
    left: 0.24rem;
    margin: 0;
    height: 0.72rem;
    width: auto;
  }
  .header .search-key {
    display: none;
  }
  .header .input {
    width: 3.58rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .header .icon {
    width: 0.34rem;
    height: 0.34rem;
    margin-left: 0.2rem;
    margin-top: 0;
  }
  .header .key-words {
    width: 2.76rem;
    margin-left: 0.12rem;
    line-height: 0.72rem;
    font-size: 0.28rem;
  }
  .header .a-btn {
    width: 1.6rem;
    font-size: 0.28rem;
    font-weight: 400;
  }
  .header .adv-btn {
    width: 1.6rem;
    height: 0.72rem;
    line-height: 0.72rem;
    padding: 0;
    margin-left: 0.24rem;
    font-size: 0.28rem;
  }
  .header .sign {
    display: none;
  }
  .header .nav {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100vw;
    background-color: #fff;
  }
  .header .nav .item {
    margin: 0;
    width: 33.33%;
    font-size: 0.36rem;
    line-height: 0.88rem;
    font-weight: 400;
    color: #222222;
    box-sizing: border-box;
  }
  .header .nav .item:nth-child(-n+3) {
    border-bottom: 1px solid #d2e4f1;
  }
  .header .nav .item:not(:nth-child(3n)) {
    border-right: 1px solid #d2e4f1;
  }
}
