/* header公用 */
/* 导航栏 */
.header {
  width: 100%;
  background-color: #fff;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 12;
}
.header>.container {
  display: flex;
  justify-content: space-between;
}
.header-active {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* logo图 */
.logo {
  padding: 20px 0;
}
.logo>a {
  width: 144px;
}
.logo img {
  width: 100%;
  display: block;
  height: auto;
}

/* 导航目录 */
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 35px;
}
.nav>li>a {
  width: 100%;
  float: left;
  overflow: hidden;
  height: 100%;
  text-align: center;
  font-size: 16px;
  color: #1f1f1f;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.nav>li>a::after {
  content: "";
  width: 0;
  float: left;
  height: 4px;
  background-color: #ec0913;
  overflow: hidden;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 2;
  transition: all 0.4s;
}
.nav>li:hover>a,
.nav>li.li-active>a {
  color: #ec0913;
}
.nav>li:hover>a::after,
.nav>li.li-active>a::after {
  width: 100%;
}

/* 导航下拉 */
.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: #ec0913;
  color: #fff;
}

/* 中英版本切换 */
.header-nav {
  float: left;
  font-size: 14px;
  color: #727272;
  display: flex;
  align-items: center;
  align-content: center;
  padding-left: 25px;
  background: url(../images/header-icon.png) no-repeat left center;
}
.header-nav>a {
  color: #727272;
  margin: 0 3px;
}
.header-nav>a:hover {
  color: #da0912;
}

/* 搜索 */
.search {
  float: right;
  position: relative;
  display: flex;
  align-items: center;
  align-content: center;
}
.search-btn {
  width: 18px;
  float: left;
  height: 18px;
  background: url(../images/search-btn.png) no-repeat center center;
  background-size: 100% 100%;
  cursor: pointer;
}
.search-form {
  display: none;
  width: 300px;
  float: left;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.search-form>input {
  width: calc(100% - 60px);
  float: left;
  height: 40px;
  line-height: 40px;
  padding: 0 15px;
  font-size: 14px;
  color: #333;
}
.search-form>button {
  width: 60px;
  float: left;
  height: 40px;
  background-color: #da0912;
  font-size: 16px;
  color: #fff;
}

@media (max-width: 1240px) {
  .nav>li {
    margin: 0 25px;
  }
}

@media (max-width: 991px) {
  /* 手机导航按钮 */
  .menu-button>span {
    background-color: #da0912;
  }
  .menu-button-active>span {
    background-color: #fff;
  }

  /* 导航目录 */
  .nav {
    background-color: #fff;
  }
  .nav>li {
    border-bottom: 1px solid #ccc;
  }
  .nav>li>a {
    height: 50px;
  }
  .nav>li>a::after {
    display: none;
  }
  .nav>li:hover>a,
  .nav>li.li-active>a {
    background-color: #ec0913;
    color: #fff;
  }

  .drop-down {
    color: #1f1f1f;
  }
  .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) {
  /* logo图 */
  .logo {
    width: 30%;
    padding: 15px 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: #da0912;
  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: #da0912;
}
.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: #f3f3f3;
}
.footer {
  width: 100%;
  overflow: hidden;
  padding: 60px 0;
  border-bottom: 1px solid #fefefe;
}
.footer>.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-left {
  width: 31.25%;
  float: left;
}
.footer-logo {
  display: block;
  overflow: hidden;
}
.footer-logo>img {
  display: block;
  max-width: 100%;
  height: auto;
}
.footer-text {
  display: block;
  overflow: hidden;
  line-height: 24px;
  margin-top: 20px;
  font-size: 14px;
  color: #2c2c2c;
}

.footer-about {
  width: 17.5%;
  float: left;
  border-left: 1px solid #d5d5d5;
  padding: 10px 0 10px 70px;
}
.footer-title {
  display: block;
  overflow: hidden;
  line-height: 30px;
  font-size: 18px;
  color: #202020;
  font-family: "Source Han Sans CN";
  margin-bottom: 10px;
}
.footer-about>ul {
  display: block;
  overflow: hidden;
}
.footer-about>ul>li {
  display: block;
  overflow: hidden;
  line-height: 30px;
  font-size: 15px;
  color: #1b1b1b;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.8;
}
.footer-about>ul>li>a {
  color: #1b1b1b;
}
.footer-about>ul>li>a>span {
  float: left;
  font-family: SimSun;
  margin-right: 8px;
}
.footer-about>ul>li>a:hover {
  color: #ec0913;
  text-decoration: underline;
}

.footer-product {
  width: 33.5%;
  float: left;
  border-left: 1px solid #d5d5d5;
  border-right: 1px solid #d5d5d5;
  padding: 10px 60px;
}
.footer-product>ul {
  display: block;
  overflow: hidden;
}
.footer-product>ul>li {
  width: 50%;
  float: left;
  overflow: hidden;
  line-height: 30px;
  font-size: 15px;
  color: #1b1b1b;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.8;
}
.footer-product>ul>li>a {
  color: #1b1b1b;
}
.footer-product>ul>li>a>span {
  float: left;
  font-family: SimSun;
  margin-right: 8px;
}
.footer-product>ul>li>a:hover {
  color: #ec0913;
  text-decoration: underline;
}

.footer-right {
  width: 94px;
  float: left;
  padding-top: 15px;
}
.footer-right>img {
  width: 100%;
  display: block;
  height: auto;
}
.footer-right>span {
  display: block;
  overflow: hidden;
  line-height: 20px;
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: #8d8d8d;
}

.copyright {
  width: 100%;
  overflow: hidden;
  background-color: #e5e5e5;
  text-align: center;
  line-height: 22px;
  padding: 25px 0;
  color: #6b6b6b;
  font-size: 14px;
}
.copyright a {
  color: #6b6b6b;
  margin: 0 5px;
}
.copyright a:hover {
  color: #ec0913;
  text-decoration: underline;
}

@media (max-width: 1240px) {
  .footer {
    padding: 50px 0;
  }
  .footer-about {
    padding: 10px 0 10px 50px;
  }
  .footer-product {
    padding: 10px 40px;
  }
}

@media (max-width: 991px) {
  .footer {
    padding: 30px 0;
  }
  .footer-about {
    padding: 10px 0 10px 30px;
  }
  .footer-product {
    padding: 10px 20px;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 15px 0;
  }
  .copyright {
    padding: 15px;
  }
}
/* 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: #da0912;
  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: #da0912;
  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-手机底部组件 */