/* 全局基础样式 */
header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  padding: 0 5%;
  box-sizing: border-box;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.6);
}

.header-wrap {
  color: #fff;
}

.logo img {
  max-width: 100%;
  height:.3594rem;
}

.logo2 {
  display: none;
}

.m-none {
  display: none;
}

/* 桌面端样式（≥1200px） */
@media (min-width:1200px) {

  .navlist li {
    margin: 0 1.4vw;
  }

  .navlist li .a1 {
    font-size: .0938rem;
    color: #fff;
    line-height: .5208rem;
    position: relative;
  }

  .navlist li .a1::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: .0208rem;
    background: #e40113;
    transition: 0.5s;
  }

  .navlist li:hover .a1 {
    font-weight: bold;
  }

  .navlist li:hover .a1::after {
    width: 100%;
  }

  .nav-item {
    position: absolute;
    top: .5208rem;
    left: 50%;
    width: 1.3958rem;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    box-shadow: 0 .0208rem .0313rem rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    transform: translateX(-50%);
    padding: .1042rem 0;

  }

  .nav-item a {
    display: block;
    font-size: .0833rem;
    line-height: .2188rem;
    white-space: nowrap;
    text-align: center;


  }

  .nav-item a:last-child {
    border-bottom: none;
  }

  .nav-item a:hover {
    color: #e40113;
    font-weight: bold;
  }

  .navBox ul li:hover .nav-item {
    opacity: 1;
    visibility: visible;
  }

  .searchBtn {
    font-size: .1563rem !important;
    margin-right: .1563rem;
    cursor: pointer;
  }

  .lang {
    width: .7625rem;
    height: .2083rem;
    background: transparent;
    border: .0052rem solid #d8d8d8;
    border-radius: .2604rem;
    transition: 0.5s;
  }

  .lang:hover {
    border-color: rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.6);
    color: #fff !important;
  }

  .lang-qh {
    line-height: .2083rem;
    padding: 0 .0521rem;
    cursor: pointer;
    box-sizing: border-box;
  }

  .lang-qh .txt {
    font-size: .0833rem;
  }

  .icon-yuyan {
    font-size: .125rem !important;
  }

  .icon-right {
    font-size: .1042rem !important;
    transition: 0.5s;
  }

  .lang:hover .icon-right {
    transform: rotate(90deg);
  }

  .subLan {
    position: absolute;
    left: 0;
    top: .3125rem;
    width: 100%;
    padding: .0521rem;
    color: #fff;
    border-radius: .0521rem;
    background: rgba(0, 0, 0, 0.6);
    visibility: hidden;
    transition: 0.2s;
    box-sizing: border-box;
  }

  .subLan a {
    display: block;
    font-size: .0833rem;
    line-height: .1875rem;
    text-align: center;
    color: #fff;
  }

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

  .lang:hover .subLan {
    top: .2604rem;
    visibility: visible;
  }

  header:hover,
  header.on1,
  header.on {
    border-bottom: 1px solid #C1C1C1;
    background: #fff;
    box-sizing: border-box;
  }

  header:hover .header-wrap,
  header:hover .a1,
  header.on1 .header-wrap,
  header.on1 .a1,
  header.on .header-wrap,
  header.on .a1 {
    color: #333;
  }

  header:hover .logo2,
  header.on1 .logo2,
  header.on .logo2 {
    display: block;
  }

  header:hover .logo1,
  header.on1 .logo1,
  header.on .logo1 {
    display: none;
  }

  header:hover .icon-search,
  header.on1 .icon-search,
  header.on .icon-search {
    color: #333;
  }
}

/* 移动端样式（≤1200px） */
@media (max-width: 1200px) {
  .m-none {
    display: block;
  }


  .logo1 {
    display: none;
  }

  .logo2 {
    display: block;
  }


  header {
    height: 60px;
    background: #fff;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .header-wrap {
    max-width: 96%;
    margin: 0 auto;
    width: 100%;
  }

  .logo img {
    height: 30px;
  }

  .icon-search {
    font-size: 28px !important;
    color: #333;
  }

  .lang {
    display: none;
  }

  .mob-nav {
    display: block;
  }

  .navBox {
    position: absolute;
    height: calc(100vh - 60px);
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    top: 60px;
    left: -100%;
    transition: 0.5s;
  }

  .navBox.on {
    left: 0;
  }

  .navBox ul {
    background: #f8f8f8;
    display: block;
    height: 100%;
    max-width: 100%;
    padding: 15px 30px;
    box-sizing: border-box;
  }

  .navBox ul li>a {
    padding: 0;
    line-height: 48px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
  }

  .nav-item {
    background: #fff;
    padding: 10px 20px;
  }

  .nav-item a {
    font-size: 14px;
    line-height: 48px;
  }
}

/* 搜索模块样式 */
.search {
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  transition: 0.5s;
  background: #365ea3;
}

.search .box {
  box-sizing: border-box;
  max-width: 80%;
  width: 100%;
  height: 100%;
  border-radius: 0 0 14.9952px 14.9952px;
  overflow: hidden;
  margin: 0 auto;
}

.search.on {
  top: 0;
}

.search-close {
  height: 32.0064px;
  cursor: pointer;
}

.search-close img {
  height: 32.0064px;
  width: 100%;
}

.search-input {
  width: calc(100% - 60px);
}

.search-input .input {
  width: calc(100% - 120px);
  border: .9984px solid #ddd;
  background: #fff;
  padding: 0 14.9952px;
  box-sizing: border-box;
  border-radius: 4.992px;
}

.search-input .input input {
  height: 32.0064px;
  width: 90%;
  font-size: 18.0096px;
}

.search-btn a {
  width: 99.9936px;
  text-align: center;
  display: block;
  background: #f8f8f8;
  line-height: 36px;
  border-radius: 4.992px;
  font-size: 18.0096px;
}

.search-btn a:hover {
  color: #fff;
  background: #1c1f88;
}

/* 搜索模块移动端适配 */
@media (max-width: 1200px) {
  .search .box {
    max-width: 94%;
  }
}