/* 基础导航样式 */
.header {
  width: 100%;
  height: 100px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: #fff0;
  transition: 1s;
}

/* .header.on {
  height: 100px;
  background: #fff;
} */

.navBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*logo样式*/
.header .logo {
  width: auto;
  display: flex;
  transition: 1s;
}

.header .logo a {
  display: flex;
  align-items: center;
}

.header.on .logo .img2 {
  display: flex;
}

.header.on .logo .img1 {
  display: none;
}

.header .logo .img2 {
  display: none;
}


.header .logo {
  transition: 1s;
  max-width: 320px;
  max-height: 100px;
}

.header .logo a {
  padding: 10px 0;
}

.header .logo a img {
  max-width: 100%;
  max-height: 100%;
}

.header .nav {
  width: calc(100% - 320px);
  max-width: 900px;
  display: flex;
  justify-content: flex-end;
}

.header .nav .navbar_nav {
  max-width: 900px;
  padding-left: 0;
  display: flex;
  justify-content: space-around;
}

.header .navbar_nav li>a {
  font-size: 16px;
  line-height: 100px;
  color: #fff;
  position: relative;
}

.header .navbar_nav li.dropdown {
  width: auto;
}

.header .navbar_nav li.dropdown .dropdown_menu {
  position: absolute;
  top: 100%;
  width: 200px;
  left: calc(50% - 100px);
  background: #fff;
}

.header .navbar_nav li.dropdown .dropdown_menu a {
  font-size: 14px;
  padding: 10px 0;
  text-align: center;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid #fff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  word-break: break-all;
}

.header .navbar_nav li.dropdown .dropdown_menu a:hover {
  color: #fff;
  background: var(--color);
}

.header.on .navbar_nav li a {
  color: #000;
}

/* 响应式代码 */
@media screen and (max-width: 992px) {

  .header.on #navToggle span,
  .header.on #navToggle span:before,
  .header.on #navToggle span:after {
    background: #000 !important;
  }

  .header #navToggle span,
  .header #navToggle span:before,
  .header #navToggle span:after {
    background: #000 !important;
  }

  .header .logo .img2 {
    display: flex;
  }

  .header .logo .img1 {
    display: none;
  }

  .header {
    background: #fff;
  }

  .bannerbigbox {
    margin-top: 60px;
  }
}

/* 新加 - 模块 */
/* 导航更新代码 */
.header {
  top: 30px;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  background: #FFF;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
  transition: 0.5s;
}

.header.on {
  width: 100%;
  left: 0;
  top: 0;
  border-radius: 0;
}

.header .container {
  padding: 0 30px;
}

@media screen and (min-width: 1600px) {
  .header {
    width: 1600px;
    left: calc((100% - 1600px) / 2);
  }
}

@media screen and (max-width: 1600px) {
  .header {
    width: 1440px;
    left: calc((100% - 1440px) / 2);
  }
}

@media screen and (max-width: 1440px) {
  .header {
    width: 1200px;
    left: calc((100% - 1200px) / 2);
  }
}

@media screen and (max-width: 1200px) {
  .header {
    width: 100%;
    padding-left: 2%;
    padding-right: 2%;
    left: 0;
  }
}

@media screen and (max-width: 992px) {
  .header {
    top: 0;
  }
}

.header .nav {
  max-width: initial;
}

.header .nav .navbar_nav {
  width: calc(100% - 20px);
}

.header .navbar_nav li>a {
  font-size: 18px;
  color: #000;
  line-height: 20px;
  padding-top: 45px;
  padding-bottom: 35px;
}

.header .navbar_nav li.dropdown:hover a {
  color: var(--color);
  font-weight: bold;
  transition: 0s;
}

.header .navbar_nav li.dropdown:hover::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color);
  position: absolute;
  left: 0;
  bottom: 0;
}

/* 导航图标代码 */
.HeaderRight {
  width: 20px;
  display: flex;
  justify-content: center;
}

.ss {
  display: flex;
  position: relative;
  align-items: center;
}

.ss span {
  padding-top: 45px;
  padding-bottom: 35px;
  color: #000;
  font-size: 16px;
  line-height: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.ss span img {
  width: 20px;
}

.search {
  display: none;
  align-items: center;
  width: 300px;
  border-radius: 0;
  position: absolute;
  right: -45px;
  top: 100%;
  padding-top: 20px;
}

.ss:hover .search {
  display: flex;
}

.search input {
  background: #fff;
  outline: aliceblue;
  padding-left: 15px;
  height: 50px;
  width: 250px;
  position: relative;
}

.search button {
  position: relative;
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: #fff;
  border-left: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search button img {
  width: 20px;
}
/* 搜索 */

/* 下拉导航高度调整 */