/*====================导航*********/
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  height: 100px;
  transition: 0.3s;
  background: #fff0;
  border-bottom: 1px solid #0000001a
}

/*logo样式*/
.header .logo {
  display: flex;
  transition: 1s;
  width: 320px;
  height: 100px;
}

.header .logo a {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

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

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

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

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


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

.header .nav {
  width: calc(100% - 350px);
  display: flex;
  justify-content: space-between;
}

.header .nav .navbar_nav {
  max-width: 620px;
  width: 100%;
  padding-left: 0;
  display: flex;
}

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

.header .navbar_nav li.dropdown {
  width: 100%;
}

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

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

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


/* ---------导航右侧 ----------------------------------------------------------------*/
/* ---------导航右侧 ----------------------------------------------------------------*/
/* ---------导航右侧 ----------------------------------------------------------------*/

.navRight {
  display: flex;
}

.ss {
  padding-right: 30px;
  display: flex;
  position: relative;
  align-items: center;
}

.ss span {
  display: flex;
  color: #FFF;
  font-size: 16px;
  line-height: 1;
  height: 100%;
  align-items: center;

}

.ss span img {
  width: 18px;
  margin-right: 15px;
}

.search {
  display: none;
  align-items: center;
  width: 200px;
  border-radius: 0;
  background: #fff;
  height: 40px;
  position: absolute;
  right: 0;
  top: 100%;
}

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

.search input {
  background: #fff0;
  outline: aliceblue;
  padding-left: 15px;
  height: 40px;
  width: 160px;
  position: relative;
}

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

.search button img {
  width: 20px;
}

.yy {

  color: #FFF;
  font-size: 16px;
  line-height: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.yy img {
  width: 48px;
  padding-left: 30px;
  border-left: 1px solid #000;
  margin-right: 15px;
}



/* 下拉导航高度调整 */
.header.on {
  height: 100px;
  background: #fff;
}

.header.on .logo {
  height: 100px;
}

.header.on a {
  color: #000 !important;
}

.header.on .navRight span {
  color: #000;
}

.header.on .navRight img {
  filter: invert(0) !important;
}

/* 响应式代码 */




@media screen and (max-width: 1440px){
  .header .nav .navbar_nav {
      max-width: calc(100% - 200px);
    }
}








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