/* 基础导航样式 */
.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;
  width: 320px;
  height: 100%;
}

.header .logo a {
  width: 100%;
  height: 100%;
  padding: 15px 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 {
  width: 100%;
  padding-left: 0;
  display: flex;
  justify-content: space-around;
}

.header .navbar_nav li>a {
  font-size: 16px;
  line-height: 100px;
  color: #000;
  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;
  display: block;
}

.header .navbar_nav li.dropdown .dropdown_menu .menu_2:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
}

.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;
  }
}

/* 新加 - 模块 */
/* 导航更新代码 */
.headerLogo {
  position: absolute;
  z-index: 2;
  left: var(--container);
  top: 0;
  height: 150px;
  padding: 30px 0;
}

.header .logo {
  display: none;
}

.header {
  position: absolute;
  margin: 0 auto;
  transition: 0s;
  height: 110px;
  width: 90vw;
  left: 5vw;
  top: calc(43vw - 75px);
  background: #FFF;
}

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

.header .nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.header .nav .navbar_nav {
  width: calc(100% - 340px);
  display: flex;
  justify-content: flex-start;
}

.header .navbar_nav li>a {
  line-height: 110px;
  padding: 0 35px;
}

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

.header .navbar_nav li.dropdown .dropdown_menu {
  width: 200px;
  left: calc((100% - 200px) / 2);
}



.header.on {
  position: fixed;
  top: 0;
}

/* 搜索 */
.HeaderRight {
  width: 340px;
  padding-right: 45px;
  display: flex;
  align-items: center;
}

.ss {
  width: 100%;
  height: 45px;
  background: #E9E9E9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss input {
  width: calc(100% - 45px);
  height: 45px;
  padding-left: 15px;
  background: #fff0;
  outline: none;
}

.ss button {
  background: #fff0;
  width: 45px;
  height: 45px;
  padding: 10px;
}

.ss button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* 响应式代码 */
@media screen and (max-width: 1440px) {
  .header .navbar_nav li>a {
    padding: 0 20px;
  }

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

  .HeaderRight {
    width: 250px;
    padding-right: 30px;
    display: flex;
    align-items: center;
  }
}

@media screen and (max-width: 992px) {
  .headerLogo {
    display: none;
  }

  .header .logo {
    display: flex;
    height: 60px;
  }

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

  .header {
    position: fixed;
    padding: 0 15px;
    top: 0;
    width: 100vw;
    left: 0;
  }

  .header #navToggle {
    float: none;
    position: absolute;
    top: 0;
    right: 15px;
  }
}
