/* header公用 */
/* 欢迎栏 */
.welcome {
  width: 100%;
  overflow: hidden;
  background-color: #404356;
  line-height: 40px;
  font-size: 13px;
  color: #fff;
}
.welcome a {
  float: left;
  color: #fff;
  margin-left: 20px;
  display: flex;
  align-items: center;
}
.welcome a>img {
  float: left;
  margin-right: 5px;
}
.welcome a:hover {
  text-decoration: underline;
}

/* 导航栏 */
.header {
  width: 100%;
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 40px;
  z-index: 12;
}
.header>.container {
  display: flex;
  justify-content: space-between;
}
.header-active {
  position: fixed;
  top: 0;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

/* logo图 */
.logo {
  padding: 14px 0;
}
.logo>a {
  width: 172px;
}
.logo img {
  width: 100%;
  display: block;
  height: auto;
}
.header-hotline {
  display: flex;
  align-items: center;
  line-height: 18px;
  font-size: 13px;
  color: #666666;
  background: url(../images/hot-line.png) no-repeat left center;
  padding-left: 48px;
}
.header-hotline>div>span {
  display: block;
  overflow: hidden;
  color: #ec5e12;
  line-height: 22px;
  font-size: 18px;
  font-weight: bold;
}

/* 导航目录 */
nav {
  width: auto;
}
.nav {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.nav>li {
  height: 100%;
  float: left;
  position: relative;
  margin: 0 23px;
}
.nav>li>a {
  width: 100%;
  float: left;
  overflow: hidden;
  height: 100%;
  text-align: center;
  font-size: 15px;
  color: #333;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.nav>li:hover>a,
.nav>li.li-active>a {
  font-weight: bold;
}

/* 导航下拉 */
.nav-child {
  display: none;
  min-width: 100%;
  float: left;
  background-color: rgba(0, 0, 0, 0.8);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  z-index: 9;
}
.nav-child>ul>li>a {
  display: block;
  overflow: hidden;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  padding: 0 10px;
}
.nav-child>ul>li:hover>a {
  background-color: #ec5e12;
  color: #fff;
}

@media (max-width: 1220px) {
  .nav>li {
    margin: 0 15px;
  }
}

@media (max-width: 991px) {
  /* 手机导航按钮 */
  .menu-button>span {
    background-color: #ec5e12;
  }
  .menu-button-active>span {
    background-color: #fff;
  }

  /* 导航目录 */
  .nav {
    background-color: #fff;
  }
  .nav>li {
    border-bottom: 1px solid #ccc;
  }
  .nav>li>a {
    height: 50px;
    color: #333;
  }
  .nav>li:hover>a,
  .nav>li.li-active>a {
    font-weight: normal;
    background-color: #ec5e12;
    color: #fff;
  }
  .drop-down {
    color: #333;
  }
  .nav>li:hover>.drop-down,
  .nav>li.li-active>.drop-down {
    color: #fff;
  }

  /* 导航下拉 */
  .nav-child {
    background-color: #fff;
  }
  .nav-child>ul>li {
    border-top: 1px solid #ccc;
  }
  .nav-child>ul>li>a {
    color: #333;
  }
}

@media (max-width: 767px) {
  .header {
    top: 0;
  }
  /* logo图 */
  .logo {
    width: 40%;
    padding: 10px 0;
  }
  .logo>a {
    width: 100%;
  }
}

/* banner大图 */
.banner {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.banner-swiper {
  width: 100%;
  height: 100%;
}
.banner-swiper img {
  width: 100%;
  display: block;
  height: auto;
}
/* 圆点 */
.banner-swiper .swiper-pagination {
  opacity: 1;
  bottom: 15px;
  display: flex;
  justify-content: center;
}
.banner-swiper .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  float: left;
  background: #ec5e12;
  opacity: 0.5;
}
.banner-swiper>.swiper-pagination-bullets .swiper-pagination-bullet,
.banner-swiper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 5px;
}
.banner-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #ec5e12;
}
.banner-swiper:hover .swiper-pagination {
  opacity: 1;
}
/* 箭头 */
.banner-swiper .banner-prev,
.banner-swiper .banner-next {
  left: 2%;
  top: 50%;
  position: absolute;
  z-index: 9;
  transform: translateY(-50%);
  font-size: 60px;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  outline: none;
  cursor: pointer;
}
.banner-swiper .banner-next {
  left: initial;
  right: 2%;
}
.banner-swiper:hover .banner-next,
.banner-swiper:hover .banner-prev {
  opacity: 1;
}

@media (max-width: 991px) {
  /*圆点*/
  .banner-swiper .swiper-pagination {
    bottom: 10px;
  }
  .banner-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 2px;
    opacity: 1;
  }
  .banner-swiper>.swiper-pagination-bullets .swiper-pagination-bullet,
  .banner-swiper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 2px;
  }
  .banner-swiper .swiper-pagination-bullet-active {
    width: 15px;
  }
}

/* 底部 */
footer {
  background: #404356;
}
.footer {
  width: 100%;
  overflow: hidden;
  padding: 45px 0;
  border-bottom: 1px solid #616373;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-box {
  float: left;
}
.footer-title {
  display: inline-block;
  overflow: hidden;
  line-height: 36px;
  border-bottom: 1px solid #fff;
  font-size: 15px;
  padding-right: 15px;
  color: #fff;
  margin-bottom: 24px;
}
.footer-title>span {
  float: left;
  border-bottom: 1px solid #fff;
}
.footer-box:first-child {
  width: 29.5%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  overflow: hidden;
}
.footer-nav>a {
  font-size: 15px;
  color: #fff;
  line-height: 40px;
  margin-right: 40px;
}
.footer-nav>a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact {
  display: block;
  overflow: hidden;
  line-height: 24px;
  font-size: 13px;
  color: #fff;
}

.footer-box:nth-child(3) {
  width: 20%;
}
.footer-wechat {
  display: flex;
  overflow: hidden;
  border: 1px solid #636574;
  padding: 9px;
}
.footer-wechat>img {
  width: 100px;
  float: left;
  height: 100px;
}
.footer-wechat>span {
  width: calc(100% - 100px);
  float: left;
  text-align: center;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
}

.link {
  display: block;
  overflow: hidden;
  line-height: 24px;
  padding: 15px 0;
  color: #fff;
  font-size: 13px;
}
.link>span {
  float: left;
  font-weight: bold;
  font-size: 15px;
}
.link>a {
  color: #fff;
  margin: 0 10px;
}
.link>a:hover {
  text-decoration: underline;
  color: #fff;
}

.copyright {
  width: 100%;
  overflow: hidden;
  background-color: #e4e3e8;
  text-align: center;
  line-height: 22px;
  padding: 15px 0;
  color: #404356;
  font-size: 14px;
}
.copyright a {
  color: #404356;
  margin: 0 5px;
}
.copyright a:hover {
  color: #ec5e12;
  text-decoration: underline;
}

@media (max-width: 1220px) {
  .footer-nav>a {
    margin-right: 30px;
  }
  .footer-box:nth-child(3) {
    width: 25%;
  }
}

@media (max-width: 991px) {
  .footer {
    padding: 30px 0;
  }
  .footer-nav>a {
    margin-right: 5px;
  }
  .footer-box:nth-child(3) {
    width: 32%;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 15px 0;
  }
  .footer-box:nth-child(1) {
    width: 100%;
  }
  .footer-nav {
    justify-content: center;
  }
  .footer-nav>a {
    margin: 0 5px;
    line-height: 22px;
    font-size: 13px;
  }

  .link {
    font-size: 12px;
    line-height: 22px;
  }
  .link>a {
    margin: 0 5px;
  }

  .copyright>div>div {
    width: 100%;
    text-align: center;
  }

}
/* END-底部 */

/* 手机底部组件 */
.root-kong {
  width: 100%;
  height: 56px;
  float: left;
  background-color: #fff;
  height: calc(56px + constant(safe-area-inset-bottom));
  height: calc(56px + env(safe-area-inset-bottom));
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}
.root {
  width: 100%;
  height: 54px;
  background-color: #ec5e12;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9;
  height: calc(54px + constant(safe-area-inset-bottom));
  height: calc(54px + env(safe-area-inset-bottom));
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}
.root>li {
  width: 25%;
  float: left;
  border-right: 1px solid #fff;
}
.root>li:last-child {
  border: none;
}
.root>li>a {
  display: flex;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 6px 0;
  color: #fff;
}
.root>li>a>div {
  width: 100%;
  float: left;
  font-size: 14px;
  line-height: 1;
  text-align: center;
}
.root>li>a>div:first-child {
  font-size: 22px;
  margin-bottom: 6px;
}
.root>li>a:hover {
  background-color: #ec5e12;
  color: #fff;
}

/* 电话 */
.root-bj {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10;
}
.root-phone {
  display: none;
  width: 100%;
  background-color: #f5f5f5;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.root-phone>a,
.root-phone>.root-off {
  display: block;
  background-color: #fff;
  line-height: 44px;
  color: #333;
  text-align: center;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
}
.root-phone .root-off {
  margin-top: 6px;
  border-top: 1px solid #ddd;
}
.root-phone .root-off:hover,
.root-phone a:hover {
  background: #ddd;
}

/* 微信号 */
.wecht-box {
  display: none;
  width: 100%;
  float: left;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
}
.wecht-box .wecht {
  width: 100%;
  float: left;
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.wecht-box .wecht .wecht-title {
  display: block;
  overflow: hidden;
  line-height: 20px;
  font-size: 14px;
  color: #333;
}
.wecht-box .wecht .wecht-title>span {
  display: block;
  overflow: hidden;
  line-height: 30px;
  font-size: 18px;
  font-weight: bold;
}
.wecht-box .wecht>img {
  display: block;
  max-width: 150px;
  margin: 10px auto;
  overflow: hidden;
}
.wecht-box .wecht .wecht-txt {
  display: block;
  overflow: hidden;
  font-size: 14px;
  line-height: 24px;
  color: #333;
  line-height: 18px;
}
.wecht-box .wecht .wecht-txt>span {
  font-family: Impact;
  font-size: 16px;
}
.wecht-box .wecht .wecht-off {
  width: 30px;
  height: 30px;
  font-size: 16px;
  color: #fff;
  position: absolute;
  left: 50%;
  bottom: -38px;
  border: 1px solid #fff;
  transform: translateX(-50%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* END-手机底部组件 */