/* 全局基础样式 */
header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  padding: 0 5%;
  box-sizing: border-box;
  z-index: 10001;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.header-wrap {
  color: #fff;
}

.logo img {
  max-width: 100%;
  height: 0.52rem;
}

.logo2 {
  display: none;
}

.m-none {
  display: none !important;
}

/* 桌面端样式（≥12rem） */
@media (min-width:1200px) {

  .navlist li {
    margin: 0 1vw;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navlist li .a1 {
    font-size:0.2rem;
    color: #fff;
    position: relative;
  }

  .navlist li .a1::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 0.04rem;
    background: #e40113;
    transition: 0.5s;
    display:none;
  }
  .navlist li.cur .a1,
  .navlist li:hover .a1 {
    color: #e40113 !important;
    font-weight: bold;
  }
  .navlist li.cur .a1::after,
  .navlist li:hover .a1::after {
    width: 100%;
  }

  .nav-item {
    position: absolute;
    top: 1rem;
    left: 50%;
    width: 2.68rem;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    box-shadow: 0 0.04rem 0.06rem rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    transform: translateX(-50%);
    padding: 0.2rem 0;

  }

  .nav-item a {
    display: block;
    font-size: 0.16rem;
    line-height: 0.42rem;
    white-space: nowrap;
    text-align: center;
    color: #3E3E3E;

  }

  .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;
  }

  .icon-search {
    font-size: 0.3rem !important;
    margin-right: 0.3rem;
    cursor: pointer;
  }

  .lang {
    width: 1.08rem;
    height: 0.4rem;
    background: transparent;
    border: 0.01rem solid #d8d8d8;
    border-radius: 0.5rem;
    transition: 0.5s;
  }

  .lang:hover {
    border-color: #365ea3;
    background: #365ea3;
    color: #fff !important;
  }

  .lang-qh {
    line-height: 0.4rem;
    padding: 0 0.1rem;
    cursor: pointer;
    box-sizing: border-box;
  }

  .lang-qh .txt {
    font-size: 0.16rem;
  }

  .icon-yuyan {
    font-size: 0.24rem !important;
  }

  .icon-right {
    font-size: 0.2rem !important;
    transition: 0.5s;
  }

  .lang:hover .icon-right {
    transform: rotate(90deg);
  }

  .subLan {
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 100%;
    padding: 0.1rem;
    color: #fff;
    border-radius: 0.1rem;
    background: #365ea3;
    visibility: hidden;
    transition: 0.2s;
    box-sizing: border-box;
  }

  .subLan a {
    display: block;
    font-size: 0.16rem;
    line-height: 0.36rem;
    text-align: center;
    color: #fff;
  }

  .subLan a:hover {
    background: #fff;
    color: #000;
  }

  .lang:hover .subLan {
    top: 0.5rem;
    visibility: visible;
  }

  header.on1,
  header.on,
  header:hover {
    background: #fff;
    border-bottom: 0.01rem solid #eeeeee;
  }

  header.on1 .logo1,
  header:hover .logo1,
  header.on .logo1 {
    display: none;
  }

  header.on1 .logo2,
  header:hover .logo2,
  header.on .logo2 {
    display: block;
  }

  header.on1 .a1,
  header.on .a1,
  header.on1 .header-wrap ,header.on .header-wrap,
  header:hover .header-wrap,
  header:hover .a1 {
    color: #333;
  }
}

/* 移动端样式（≤1200px） */
@media (max-width: 1200px) {
  .m-none {
    display: block !important;
  }


  .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 15px 15px;
  overflow: hidden;
  margin: 0 auto;
}

.search.on {
  top: 0;
}

.search-close {
  height: 32px;
  cursor: pointer;
}

.search-close img {
  height: 32px;
  width: 100%;
}

.search-sjk{
  width: calc(100% - 60px);
}

.search-sjk .input {
  width: calc(100% - 120px);
  border: 1px solid #ddd;
  background: #fff;
  padding: 0 15px;
  box-sizing: border-box;
  border-radius: 5px;
}

.search-sjk .input input {
  height: 32px;
  width: 90%;
  font-size: 18px;
}

.search-ss a {
  width: 100px;
  text-align: center;
  display: block;
  background: #f8f8f8;
  line-height: 36px;
  border-radius: 5px;
  font-size: 18px;
}

.search-ss a:hover {
  color: #fff;
  background: #1c1f88;
}

/* 搜索模块移动端适配 */
@media (max-width: 1200px) {
  .search .box {
    max-width: 94%;
  }
}