﻿/*------------------------头部导航菜单---------------*/

/* nav--------------------------------------------------------------*/

.headerTop {
  position: relative;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: none;
}

.nav {
  position: relative;
  height: 94px;
}

.lv1_li:hover .lv2_ul {
  display: block;
}

.tel_phone {
  display: none;
  height: 0.6rem;
  text-align: center;
  line-height: 0.6rem;
  width: 100%;
  border-bottom: 1px solid #8e8e8e;
  font-size: 0.24rem;
  color: #8e8e8e;
}

.switch_phone {
  display: none;
  width: 0.37rem;
  position: absolute;
  right: 0.3rem;
  top: 0.4rem;
  vertical-align: middle;
}

.switch_phone span {
  display: block;
  width: 0.37rem;
  height: 3px;
  margin-bottom: 0.1rem;
  position: relative;
  background: #1a243c;
  border-radius: 3px;
  z-index: 1;
  -webkit-transform-origin: 0.36rem;
  transform-origin: 0.36rem;
  transition: background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease, transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), width 0.5s;
}

.switch_phone span:nth-child(2) {
  transform: rotate(0);
  transition: width 0.5s ease;
}

.switch_phone span:nth-child(3) {
  margin-bottom: 0;
}

.toggle-animate span:nth-child(1) {
  opacity: 1;
  transform: rotate(-45deg);
}

.toggle-animate span:nth-child(2) {
  width: 0;
  opacity: 0;
  transform: rotate(0);
  transition: width 0.5s;
}

.toggle-animate span:nth-child(3) {
  opacity: 1;
  transform: rotate(45deg);
}

.nav .logo {
  height: 45px;
  float: left;
  margin-top: 30px;
}

.nav .lv1_li {
  padding: 0 22px;
}

.nav .logo_site {
  display: none;
}

.nav .lv1_ul {
  height: 94px;
  line-height: 94px;
  float: right;
  margin-right: 85px;
}

.nav .lv1_li {
  float: left;
  position: relative;
}

.nav .lv1_li .lv1_tit,
.lv1_home {
  display: block;
  color: #213b52;
  height: 94px;
  line-height: 94px;
  transition: transform 0.3s ease-in-out;
  font-size: 18px;
}

.nav .lv1_li:nth-last-child(-n + 4) .lv1_tit {
  /* color: #63788BFF; */
}

.nav .lv1_li::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: 40px;
  height: 4px;
  background-color: #213b52;
  transform-origin: center;
  transform: translate(-50%, 0) scaleX(0);
  transition: transform 0.3s ease-in-out;
  border-radius: 2px;
}

.nav .lv1_li:nth-last-child(-n + 4)::after {
  /* background-color: #fff; */
}

.nav .lv1_li:hover a.lv1_tit,
.nav .lv1_li:hover a.lv1_home {
  font-weight: bold;
}

.bold {
  font-weight: bold;
}

.nav .lv1_li:hover::after {
  transform: translate(-50%, 0) scaleX(1);
}

.nav > span {
  float: right;
  height: 96px;
  line-height: 96px;
  font-size: 22px;
  color: #333;
  font-weight: bold;
}

.nav .lv1_li .lv2_ul {
  position: absolute;
  top: 96px;
  left: 50%;
  line-height: 56px;
  margin-left: -80px;
  width: 160px;
  overflow: hidden;
  background: transparent;
  /* display: none; */
  /* box-shadow: 1px 5px 35px 3px rgba(0, 0, 0, 0.28); */
  border-radius: 0 0 6px 6px;
  /* padding: 0 20px; */
  box-sizing: border-box;
  text-align: center;
  z-index: 9999;
  height: 0;
}

.nav .lv1_li .lv2_ul .lv2_li .lv2_tit:hover {
  color: #01afbb;
}

.nav .lv1_li .cur {
  height: 350px;
  /* display: block; */
  padding-top: 10px;
  -webkit-transition: all 0.2s ease-out 0s;
  -moz-transition: all 0.2s ease-out 0s;
  transition: all 0.2s ease-out 0s;
}

.nav .lv1_li .lv2_ul .lv2_li .lv2_tit {
  font-size: 16px;
  color: #666;
  /* border-bottom: 1px solid #4B4C55; */
  display: block;
  background: #fff;
  position: relative;
}

.lv2_ul .lv2_li .lv2_tit::after {
  content: '';
  width: 120px;
  height: 1px;
  background: #4b4c55;
  opacity: 0.1;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -60px;
}

.lv2_ul .lv2_li:nth-child(1) a {
  border-radius: 6px 6px 0 0;
}

.lv2_ul .lv2_li:last-child a {
  border-radius: 0 0 6px 6px;
}

.search_con {
  color: #08adba;
  font-size: 0.4rem;
  display: none;
  float: left;
  margin-left: 0.5rem;
}

.search_box {
  box-sizing: border-box;
  width: 5.2rem;
  height: 0.57rem;
  border: 2px solid #08a7b3;
  opacity: 0.8;
  border-radius: 10px;
  position: relative;
}

.search_con::after {
  background: #165837;
}

.searchtxt {
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
  border-radius: 10px;
  float: left;
  height: 0.53rem;
  padding: 0 0.5rem 0 0.2rem;
  outline: none;
  width: 100%;
  background: none;
  border: none;
  box-sizing: border-box;
  font-size: 0.2rem;
}

.searchtxt::-webkit-input-placeholder {
  color: rgba(8, 167, 179, 0.5);
}

.search_box::after {
  content: '';
  width: 1px;
  height: 22px;
  background: rgba(8, 167, 179, 0.7);
  position: absolute;
  right: 0.58rem;
  top: 50%;
  transform: translateY(-50%);
}

@media screen and (max-width: 1440px) {
  .nav {
    width: 1170px;
  }

  .nav .lv1_ul {
    right: 165px;
  }

  .nav .lv1_li {
    padding: 0 20px;
  }

  .nav > span {
    margin-right: 0px;
  }

  .nav .logo {
    margin-left: 200px;
    margin-top: 15px;
  }

  .nav .logo img {
    margin-left: 0;
  }

  .nav > span {
    font-size: 18px;
  }

  .nav .lv1_li .lv1_tit,
  .lv1_home {
    font-size: 14px;
  }

  .nav .lv1_li::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 15px;
    width: 15px;
    height: 2px;
    background-color: #333;
    transform-origin: center;
    transform: translate(-50%, 0) scaleX(0);
    transition: transform 0.3s ease-in-out;
    border-radius: 2px;
  }

  .nav .lv1_li .lv2_ul .lv2_li .lv2_tit {
    font-size: 12px;
  }

  .nav .lv1_li .lv2_ul {
    margin-left: -70px;
    width: 140px;
  }
}

@media screen and (max-width: 768px) {
  .tel_phone {
    display: block;
  }

  .tel_pc {
    display: none;
  }

  .switch_phone {
    display: block;
  }

  .nav {
    width: 100%;
    height: 1.1rem;
    line-height: 1.1rem;
    background: #fff;
  }

  .nav .lv1_ul,
  .nav .lv1_li .lv1_tit::before,
  .lv1_home::before,
  .nav .lv1_li .lv1_tit::after,
  .lv1_home::after,
  .nav .lv1_li::after {
    display: none;
  }

  .nav .logo {
    margin-left: 0;
    margin-top: 0;
    display: block;
  }

  .nav .logo img {
    margin: 0.12rem 0 0 0.4rem;
  }

  .nav .lv1_ul {
    width: 100%;
    background: #1a243c;
    height: auto;
    right: 0 !important;
    top: 1.1rem;
    z-index: 9999;
    margin-right: 0px;
    position: absolute;
  }

  .nav .lv1_li {
    float: none;
    position: relative;
    height: auto;
    padding: 0;
    width: 100%;
    border-bottom: #fff 1px solid;
  }

  .nav .lv1_li .lv1_tit,
  .lv1_home {
    display: block;
    color: #fff;
    height: 0.8rem;
    line-height: 0.8rem;
    transition: transform 0.3s ease-in-out;
    font-size: 0.2rem;
    padding: 0 0.7rem 0 0.5rem;
    width: 50%;
  }

  .Has_Children b {
    border: 2px solid #777;
    display: block;
    width: 8px;
    height: 8px;
    margin: auto;
    position: absolute;
    top: 0.3rem;
    margin-top: -4px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    border-top: none;
    border-right: none;
    right: 20px;
  }

  .Has_Children b.actived {
    top: 20px;
    border-bottom: none;
    border-left: none;
    border-right: 2px solid #777;
    border-top: 2px solid #777;
  }

  .nav .lv1_li .lv2_ul {
    position: static;
    margin-left: 0;
    width: 100%;
    line-height: 0.8rem;
    border-radius: 0;
    padding: 0;
    background: #1f2d4e;
    text-align: left;
    height: auto;
  }

  .nav .lv1_li .lv2_ul .lv2_li .lv2_tit {
    font-size: 0.2rem;
    color: #fff;
    border-bottom: 1px solid #0fa7b3;
    display: block;
    padding: 0 0.5rem;
    background: none;
  }

  .headerTop {
    position: inherit;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: none;
    background: #1a243c;
    padding-top: 0.2rem;
  }

  .search_con {
    display: block;
  }
}

@media screen and (max-width: 420px) {
  .switch_phone span {
    height: 2px;
    -webkit-transform-origin: 0.38rem;
    transform-origin: 0.38rem;
  }

  .searchbtn {
    background-size: 0.3rem;
  }
}
