@charset "utf-8";

/* 阿里妈妈数黑体 */
@font-face {
  font-family: "Alimama ShuHeiTi";
  src: url("../font/AlimamaShuHeiTi-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "微软雅黑", "Microsoft YaHei", Arial, sans-serif;
  color: #333333;
  padding: 0;
  margin: 0;
}

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  /* Firefox */
  -webkit-box-sizing: border-box;
  /* Safari */
  border: none;
  outline: none;
}

h1, h2, h3, h4, h5, h6, ul, li, dl, dt, dd, hr, input, p, a, span, div, label {
  font-size: 0.16rem;
}

h1, h2, h3, h4, h5, h6, ul, li, dl, dt, dd, hr, input, p {
  padding: 0;
  margin: 0;
  list-style: none;
  outline: none;
}

a, :before, :after {
  color: inherit;
  font: inherit;
  text-decoration: none;
  outline: none;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  font-size: 16px;
}

a:hover {
  text-decoration: none;
}

a:focus {
  border: none;
  outline: none;
  text-decoration: none;
}

.clearfix {
  zoom: 1;
}

.clearfix:after {
  clear: both;
  content: "";
  display: block;
  width: 0;
  height: 0;
  visibility: hidden;
}

img {
  max-width: 100%;
  border: none;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.flex-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mult-ellipsis {
  line-height: 24px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* header start */
.mobile-nav-btn {
  display: none;
}

.header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 998;
}

.header .header-top {
  height: 1.2rem;
  background: #9c1420 url(../img/bj2.png) no-repeat center center;
  background-size: cover;
}

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

.header .site-title {
  font-family: "Alimama ShuHeiTi", "Microsoft YaHei", sans-serif;
  font-size: 0.46rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02rem;
}

.header .search {
  width: 3.8rem;
  height: 0.46rem;
  display: flex;
  align-items: center;
}

.header .search form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 23px;
  padding: 0 0.16rem;
  position: relative;
}

.header .search input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: none;
  padding: 0 0.1rem;
  font-size: 0.16rem;
  color: #000000;
}

.header .search input::placeholder {
  color: #999999;
}

.header .search form .search-submit {
  width: 0.26rem;
  height: 0.26rem;
  background: url(../img/sous.png) no-repeat center center;
  background-size: contain;
  border: none;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
}

.header .nav-bar {
  height: 0.5rem;
  background: #8F000B;
}

.header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 0.5rem;
  width: 100%;
}

.header .nav > li {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header .nav > li > a {
  font-size: 0.18rem;
  color: #FFFFFF;
  padding: 0 0.3rem;
  line-height: 0.5rem;
  display: block;
}

.header .nav > li:hover > a {
  color: #fff;
  font-weight: bold;
}

.header .nav > li.active > a,
.header .nav > li:hover > a {
  background: #FFFFFF;
  color: #8F000B;
  font-weight: bold;
}

/* 二级导航 start */
.header .nav > li.has-child > a {
  position: relative;
  padding-right: 0.44rem;
}

.header .nav > li.has-child > a::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #FFFFFF;
  position: absolute;
  right: 0.22rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.header .nav > li.has-child:hover > a::after {
  border-top-color: #8F000B;
}

.header .nav > li .child-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  padding: 0.06rem 0;
  background: #FFFFFF;
  box-shadow: 0 0.06rem 0.16rem rgba(0, 0, 0, 0.18);
  z-index: 999;
}

.header .nav > li:hover > .child-nav {
  display: block;
}

.header .nav > li .child-nav li {
  width: 100%;
  height: auto;
  display: block;
}

.header .nav > li .child-nav li a {
  display: block;
  white-space: nowrap;
  text-align: center;
  font-size: 0.16rem;
  line-height: 0.42rem;
  color: #333333;
  padding: 0 0.18rem;
}

.header .nav > li .child-nav li a:hover {
  background: #f5f5f5;
  color: #8F000B;
}

/* 二级导航 end */

/* footer start */
.footer {
  width: 100%;
  background: #9c1420;
  color: #fff;
  padding: 0.28rem 0 0.3rem;
}

.footer .footer-logo {
  display: block;
  width: 6.06rem;
  height: 0.61rem;
  margin: 0 auto 0.18rem;
  object-fit: fill;
}

.footer .content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.footer .content span {
  font-size: 0.14rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0.15rem;
}

/* footer end */

@media (max-width: 800px) {
  .mobile-body .banner .banner-info {
    display: none;
  }

  .header .header-top {
    height: 56px;
    background: #9c1420;
  }

  .header .site-title {
    font-size: 20px;
  }

  /* 移动端搜索框：贴在展开菜单的下方，随菜单一起显示/隐藏 */
  .header.mobile-on {
    padding-bottom: 62px;
  }

  .header .search {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: auto;
    height: 62px;
    padding: 12px 16px;
    background: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
  }

  .header.mobile-on .search {
    display: flex;
  }

  .header .search form {
    height: 38px;
    padding: 0 14px;
    border: 1px solid #dddddd;
    border-radius: 19px;
  }

  .header .search input {
    font-size: 14px;
    padding: 0 8px;
  }

  .header .search form .search-submit {
    width: 18px;
    height: 18px;
  }

  .header .header-top-content {
    /* 静态定位，使 .search 以 .header 为定位参照 */
    position: static;
  }

  .header .nav-bar {
    height: auto;
    background: #fff;
    display: none;
  }

  .mobile-on .nav-bar {
    display: block;
  }

  .mobile-nav-btn {
    display: block;
    width: 30px;
    cursor: pointer;
    position: absolute;
    right: 10px;
    /* header-top-content 改为 static 后，以 56px 高的顶栏中线定位 */
    top: 28px;
    z-index: 9;
    padding-top: 0.04rem;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .mobile-nav-btn b {
    display: block;
    height: 3px;
    background-color: #fff;
    margin-bottom: 5px;
    border-radius: 2px;
    transition: 0.3s;
    -ms-transition: 0.3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    user-select: none;
  }

  .nav {
    opacity: 0;
    visibility: hidden;
    position: relative;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: none;
    background: #fff;
    z-index: 99;
    width: 100%;
    height: auto !important;
    overflow: hidden;
    left: 0;
    top: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  .nav > li {
    width: 100% !important;
    display: block;
    position: relative;
    text-align: left !important;
    padding: 0;
    height: auto;
    border-bottom: 1px solid #ccc;
    background: none !important;
  }

  .mobile-on .nav {
    opacity: 1;
    visibility: visible;
    display: block;
  }

  .mobile-on .nav li {
    width: 100%;
    height: auto;
    display: block;
  }

  .mobile-on .nav li a {
    display: inline-block;
    color: #222 !important;
    background: none !important;
    font-size: 14px !important;
    font-weight: 500;
    width: 100%;
    padding: 0 15px;
    line-height: 44px;
  }

  /* 移动端二级导航：点击一级菜单手风琴展开 */
  .mobile-on .nav > li.has-child > a {
    padding-right: 40px;
  }

  .mobile-on .nav > li.has-child > a::after {
    border-top-color: #333333;
    right: 15px;
  }

  .mobile-on .nav > li.has-child.active > a::after {
    transform: translateY(-50%) rotate(180deg);
    -webkit-transform: translateY(-50%) rotate(180deg);
  }

  .mobile-on .nav > li .child-nav,
  .mobile-on .nav > li:hover > .child-nav {
    display: none;
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0;
    box-shadow: none;
    background: #f7f7f7;
    border-top: 1px solid #e5e5e5;
  }

  .mobile-on .nav > li.active > .child-nav,
  .mobile-on .nav > li.active:hover > .child-nav {
    display: block;
  }

  .mobile-on .nav > li .child-nav li a {
    text-align: left;
    padding: 0 15px 0 32px;
    line-height: 40px;
    border-bottom: 1px solid #e5e5e5;
    color: #555 !important;
    font-weight: 400;
  }

  .mobile-on .nav > li .child-nav li:last-child a {
    border-bottom: none;
  }

  .mobile-on .mobile-nav-btn b {
    margin: 0;
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    display: none;
  }

  .mobile-on .mobile-nav-btn b:first-child {
    display: block;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
  }

  .mobile-on .mobile-nav-btn b:last-child {
    display: block !important;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
  }

  .footer .footer-logo {
    width: 70%;
    height: auto;
    margin-bottom: 10px;
  }

  .footer .content {
    flex-direction: column;
  }

  .footer .content span {
    font-size: 12px;
    line-height: 22px;
    margin: 0;
  }
}

.mobile-body .banner,
.mobile-body .main,
.mobile-body .footer {
  display: none;
}


/* ===== IE 提示 ===== */

.pageTips {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
}
.pageTips .container {
  color: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 630px;
  margin-left: -315px;
  margin-top: -160px;
}
.pageTips .container a.close {
  display: block;
  width: 50px;
  height: 50px;
  position: fixed;
  z-index: 1;
  left: auto;
  right: 20px;
  top: 20px;
  bottom: auto;
  background: url("../img/close.png") center no-repeat;
}
.pageTips .container .msg {
  font-size: 18px;
  line-height: 36px;
  padding-top: 30px;
}
.pageTips .container a {
  color: #fff;
  text-decoration: underline;
}