/*====================导航*********/
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background-size: cover;
}

.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 {
  height: 100px;
  position: fixed;
  background: #fff0;
  transition: 1s;
  border-bottom: 1px solid #8C8C8C;
}

.header.on {
  background: #fff;
}

.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: 800px;
  width: 100%;
  padding-left: 0;
  display: flex;
  justify-content: space-between;
}

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

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

/* ---------导航右侧图标代码 ----------------------------------------------------------------*/
/* ---------导航右侧图标代码 ----------------------------------------------------------------*/
/* ---------导航右侧图标代码 ----------------------------------------------------------------*/
.HeaderRight {
  color: #fff;
  height: 40px;
  position: relative;
  display: flex;
  justify-content: space-between;
}

.header.on .HeaderRight {
  filter: invert(1);
}

.HeaderRight img {
  width: 20px;
  margin-right: 15px;
}
.HeaderRight  a{
  color: #fff;
}

.HeaderRight>div {
  display: flex;
  align-items: center;
}

.navPhone {
  margin-right: 45px;
}

/* 搜索 */

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

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


/* 响应式代码 */
@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;
  }
}
