/*====================导航*********/
.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 .logo .img2 {
  display: none;
}

/*右侧*/
.header .nav {
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  display: block;
  width: auto;
}

.navbar_nav {
  margin: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.header .navbar_nav li {
  position: relative;
  display: block;
}

.header .navbar_nav li>a {
  text-decoration: none;
  height: auto;
  display: block;
  font-size: 16px;
  text-align: center;
  transition: 1s;
  position: relative;
}

.header .navbar_nav li>a::after {
  content: "";
  display: block;
  position: absolute;
  width: 50px;
  left: calc(50% - 25px);
  bottom: 15px;
  height: 2px;
  background-color: #FFF;
  opacity: 0;
  transition: 0.3s;
}

.header .navbar_nav li>a:hover::after {
  opacity: 1;
}

.header .navbar_nav li.dropdown {
  display: flex;
  position: relative;
  justify-content: flex-start;
  flex-direction: column;
}


.header .navbar_nav li.dropdown .dropdown_menu {
  display: none;
  position: relative;
  min-width: 100%;
}

.header .navbar_nav li.dropdown .dropdown_menu a {
  display: block;
  font-size: 14px;
  color: #666;
  background: #fff0;
  text-align: center;
  transition: 0s;
}

.header .navbar_nav li.dropdown:hover .dropdown_menu {
  display: block;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}




/*白色背景的头部*/
.navIcon_2 a,
.navRightIcon,
.nav,
.navbar_nav {
  transition: 1s
}

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

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


#navToggle {
  display: none;
}

.m_nav {
  position: fixed;
  top: 0px;
  box-shadow: 0 15px 27px 0 rgba(167, 165, 165, 0.38);
  width: 100%;
  height: 100%;
  background: #fff;
  transition: all ease 0.5s;
  -webkit-transition: all ease 0.5s;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  margin-top: 0;
  overflow-y: auto;
  transition: all .6s cubic-bezier(.77, 0, .175, 1) 0ms;
  top: 0;
  transform: translateX(100%);
}

.m_nav.open {
  transform: translateX(0);
}

.m_nav .top {
  height: 60px;
  padding: 20px;
  box-sizing: border-box;
}

.m_nav .top .closed {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  float: right;
  cursor: pointer;
}

.m_nav .logo {
  width: 100%;
  margin: 0 auto;
}

.m_nav .logo img {
  height: 50px;
  max-width: 75vw;
  object-fit: contain;
  display: block;
  margin: 30px auto;
}

.m_nav .ul {
  margin-top: 30px;
}

.m_nav .ul li {
  padding: 0 20px;
  border-bottom: 1px solid #f5f5f5;
  transform: translateY(0);
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: all .6s cubic-bezier(.77, 0, .175, 1) 0ms;
  transition: all .6s cubic-bezier(.77, 0, .175, 1) 0ms;
  opacity: 0;
}

.m_nav.open .ul li {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.m_nav .ul li:nth-child(1) {
  -webkit-transition: all .2s cubic-bezier(.77, 0, .175, 1) 0ms;
  transition: all .2s cubic-bezier(.77, 0, .175, 1) 0ms;
}

.m_nav .ul li:nth-child(2) {
  -webkit-transition: all .4s cubic-bezier(.77, 0, .175, 1) 0ms;
  transition: all .4s cubic-bezier(.77, 0, .175, 1) 0ms;
}

.m_nav .ul li:nth-child(3) {
  -webkit-transition: all .6s cubic-bezier(.77, 0, .175, 1) 0ms;
  transition: all .6s cubic-bezier(.77, 0, .175, 1) 0ms;
}

.m_nav .ul li:nth-child(4) {
  -webkit-transition: all .8s cubic-bezier(.77, 0, .175, 1) 0ms;
  transition: all .8s cubic-bezier(.77, 0, .175, 1) 0ms;
}

.m_nav .ul li:nth-child(5) {
  -webkit-transition: all 1.0s cubic-bezier(.77, 0, .175, 1) 0ms;
  transition: all 1.0s cubic-bezier(.77, 0, .175, 1) 0ms;
}

.m_nav .ul li:nth-child(6) {
  -webkit-transition: all 1.2s cubic-bezier(.77, 0, .175, 1) 0ms;
  transition: all 1.2s cubic-bezier(.77, 0, .175, 1) 0ms;
}

.m_nav .ul li a {
  display: block;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  height: 50px;
  line-height: 50px;
  width: 100%;
}

.m_nav .ul li .dropdown_menu {
  display: none;
}

.m_nav .ul li.dropdown.active .dropdown_menu {
  display: block;
}

.m_nav .ul li .dropdown_menu a {
  font-size: 14px;
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 16px;
  box-sizing: border-box;
  border-bottom: 1px solid #f5f5f5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.m_nav .ul li .dropdown_menu a:last-child {
  border: none;
}

.banner {
  width: 100%;
}

.banner img {
  width: 100%;
}


/* ---------新加代码 ----------------------------------------------------------------*/
/* ---------新加代码 ----------------------------------------------------------------*/
/* ---------新加代码 ----------------------------------------------------------------*/
.header {
  height: 180px;
  position: relative;
  background: #fff0;
  transition: 1s;
}

.header.on {
  position: fixed;
  height: 80px;
  background: #fff0;
}

.header .logo {
  transition: 1s;
  width: auto;
  height: 80px;
  margin: 10px 0;
}

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

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

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

.header .nav .navbar_nav {
  width: 100%;
  padding-left: 0;
}

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

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

.header .navbar_nav li.dropdown:hover .dropdown_menu {
  position: absolute;
  top: 100%;
  width: auto;
  left: 0;
  background: #fff;
}

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

/* 响应式代码 */
@media screen and (max-width: 992px) {
  .header {
    position: relative;
  }

  .header.on {
    position: fixed;
  }

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

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

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

  .HeaderRight {
    display: none;
  }
}

/* 新加代码 */
.header .navBox {
  display: flex;
  flex-wrap: wrap;
}

.header .top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .top .HeaderRight span {
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

.header .top .HeaderRight h1 {
  font-size: 28px;
  color: var(--color);
  margin: 0;
}

.header .nav {
  position: relative;
}

.header .nav::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  left: -50%;
  top: 0;
  width: 200%;
  height: 100%;
  background: var(--color);
}

.header.on .top {
  display: none;
}