header {
  width: 100%;
  height: 0.73rem;
  transition: background .3s;
}

header.act,
header.active{
  background: #fff;
}

header,
.headerWrap {
  position: fixed;
  top: 0;
  z-index: 999;
}

header .main {
  height: 0.73rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.headLogo {
  width: 2.3rem;
  height: .41rem;
}

header.act .headLogo,
header.active .headLogo{
  filter: invert(1);
}

.headR {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.headNav {
  display: flex;
  gap: .45rem;
}

header.act .headNav {
  display: none;
}

.navItem {
  padding: .14rem 0 .11rem;
  position: relative;
  height: .73rem;
  display: flex;
  align-items: center;
}

.navItem a {
  font-weight: 500;
  font-size: 0.16rem;
  color: #FFFFFF;
}


header.active .navItem >a {
    color: #000;
}

.navBox {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 100%;
  width: fit-content;
  background: rgba(58, 58, 58, .49);
  background: rgba(58, 58, 58, .8);
  padding: .22rem 0rem .18rem 0rem;
  display: none;
}

.navBox a {
  font-weight: 400;
  font-size: 0.14rem;
  color: #878787;
  line-height: 0.3rem;
  white-space: nowrap;
  padding: 0 .25rem 0 .29rem;
}

.searchBox {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding-right: 1rem;
  gap: 1.6rem;
  display: none;
}

header.act .searchBox {
  display: flex;
}

.searchBox form {
  display: flex;
  align-items: center;
  width: 4.78rem;
  height: 0.37rem;
  border-radius: 0.16rem;
  border: .01rem solid #B6B6B6;
  padding: 0 .09rem;
  gap: .1rem;
}

header.act .searchBox form img {
  filter: invert(1);
  width: .25rem;
}

.searchBox form input {
  font-weight: 400;
  font-size: 0.24rem;
  color: #333;
}

.searchBox form input::-webkit-input-placeholder {
  font-weight: 400;
  font-size: 0.24rem;
  color: #BEBEBE;
}

.navBox a:hover {
  color: #fff;
  background: #000;
}

.other {
  display: flex;
  align-items: center;
  gap: .24rem;
  margin-top: .08rem;
}

header.act .other {
  display: none;
}

.toSearch {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  /*border: .01rem solid #FFFFFF;*/
  display: flex;
  align-items: center;
  justify-content: center;
  filter: invert(1);
}

header.active .toSearch{
    filter: invert(0);
}

/*.toSearch img {*/
/*  width: .15rem;*/
/*  height: .15rem;*/
/*}*/

.lang {
  font-weight: 400;
  font-size: 0.13rem;
  color: #FFFFFF;
}

header.active .lang{
    color: #000;
}

.common-phone-header,
.side-wrap {
  display: none !important;
}

@media only screen and (max-width: 1024px) {
  header {
    display: none;
  }

  .common-phone-header {
    display: block !important;
  }

  .side-wrap {
    display: block !important;
  }

  .common-phone-header {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    background: #434343;
  }

  .common-phone-header-inner {
    display: flex;
    height: 50px;
    border-bottom: 1px solid #eee;
    padding: 0 15px;
    justify-content: space-between;
    align-items: center;
  }

  .header-menu-phone {
    height: 30px;
    width: auto;
    display: block;
  }

  .header-logo-phone {
    height: 30px;
    width: auto;
    display: block;
  }

  .header-search-phone {
    height: 30px;
    width: auto;
    display: block;
  }

  .header-search-box-phone {
    display: none;
  }

  .header-search-input-phone {
    border-radius: 20px;
    height: 35px;
    border-width: 1px;
    border: 1px solid #333;
    padding: 0 10px;
    font-size: 14px;
  }

  .side-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, .5);
  }

  .side-container {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    height: 100vh;
    width: 6.4rem;
    background-color: #434343;
    color: #000;
    /* border-left: 1px solid #eee; */
    animation: ani_side 1s;
  }

  .side-container.shown {
    display: block;
  }

  @keyframes ani_side {
    from {
      display: none;
      width: 3rem;
    }

    to {
      display: block;
      width: 6.4rem;
    }
  }

  .side-wrap {
    width: 100%;
  }

  .side-top {
    display: flex;
    height: 60px;
    padding: 0 20px 0 30px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
  }

  .side-logo {
    height: 30px;
    width: auto;
  }

  .side-close {
    width: .48rem;
  }

  .side-bottom {
    padding: 0 .48rem 0 .72rem;
  }

  .nav-item-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .27rem 0 .27rem 0;
    border-bottom: 1px solid #eee;
  }

  .nav-item-inner span {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #fff;
  }

  .nav-item-inner img {
    width: .4rem;
  }

  .side-nav-list .nav-item a {
    color: #000;
    font-size: .26rem;
    width: 100%;
    display: flex !important;
  }

  .side-nav-list .side-local-img {
    width: .3rem;
    margin-right: .2rem;
    vertical-align: text-bottom;
  }

  .side-nav-list-sub {
    display: none;
  }

  .side-nav-list-sub .side-back-img {
    width: .3rem;
    margin-right: .2rem;
    vertical-align: text-bottom;
  }
}
