.a1 {
  padding-top: initial;
}

.cd-popup {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background: url('grayBg.png');
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
  z-index: 910;
  opacity: 0;
  visibility: hidden;
}

.cd-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-popup-container {
  position: relative;
  height: 116px;
  padding: 40px;
  width: 1200px;
  max-width: 90%;
  margin: -58px auto 0;
  top: 50%;
  background: #fff;
  border-radius: 0.4rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  transform: scale(1.2);
  transition-property: transform;
  transition-duration: 0.3s;
  box-sizing: border-box;
}
.cd-popup-container input {
  box-sizing: border-box;
}

.is-visible .cd-popup-container {
  transform: scale(1);
}

.hidden_search .search_wrap {
  border: 1px solid #e4eaec;
  border-radius: 20px;
  position: relative;
  padding-right: 56px;
  padding-left: 20px;
  height: 36px;
}

.hidden_search .text {
  width: 100%;
  height: 36px;
  padding: 8px 0;
  font-size: 14px;
  color: #444;
  background: 0 0;
  border: none;
  font-family: 'Microsoft Yahei';
}

.hidden_search .btn {
  display: block;
  background: url('search_icon.jpg') center center no-repeat;
  position: absolute;
  right: 0;
  top: 0;
  height: 36px;
  width: 36px;
  text-indent: -999em;
  border: none;
  cursor: pointer;
}

.hidden_search .close_btn {
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px;
  width: 42px;
  height: 42px;
  transition: 0.5s;
  box-sizing: border-box;
}

.hidden_search .close_btn::after,
.hidden_search .close_btn::before {
  background: #ccc;
  width: 20px;
  height: 3px;
  display: block;
  transition: all 0.3s ease 0s;
  position: absolute;
  left: 10px;
  top: 11px;
}

.hidden_search .close_btn::before {
  transform-origin: left bottom;
  transform: rotate(45deg);
}

.hidden_search .close_btn::after {
  transform-origin: left top;
  transform: rotate(-45deg);
  top: 26px;
}

.hidden_search .close_btn:hover::after,
.hidden_search .close_btn:hover::before {
  background: #004d24;
}

.load {
  display: none !important;
  z-index: 600;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  font-size: calc(16px + 8 * (100vw - 320px) / 960);
  background: #1f1f1f;
  place-items: center;
}

.bodyhid,
.bodyhid2 {
  overflow: hidden !important;
  width: 100%;
}

.bodyhid {
  height: 100vh !important;
}

.pageTitleCon,
.pageTitleRight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* flex-wrap: wrap; */
}

.pageTitle {
  width: 100%;
  min-width: 1460px;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 50;
  position: absolute;
}

.pageTitleLeft p {
  font-size: 14px;
  line-height: 48px;
  color: #555;
}

.pageTitleRight > * {
  float: left;
}

.pageTitleRight .sou {
  cursor: pointer;
  margin-left: 25px;
}

.pageTitleRight .sou img {
  display: block;
}

@keyframes and_none1 {
  from {
    transform: scale3d(1.1, 1.1, 1);
  }

  to {
    transform: scale3d(1, 1, 1);
  }
}

.banner {
  width: 100%;
  height: 390px;
  position: relative;
}
.swiper-container {
  height: 100%;
}
.banner .swiper-container .swiper-slide {
  position: relative;
}

.banner .swiper-container .swiper-slide-active > img {
  animation: and_none1 10s linear 0s both;
}
.banner .swiper-container .swiper-slide > img {
  transition: all 0.5s;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}
.banner .swiper-container .swiper-slide .ban > a,
.banner .swiper-container .swiper-slide .ban > img {
  position: absolute;
  opacity: 0;
}

.banner .swiper-container .swiper-slide .ban {
  max-width: 1400px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
}

.banner .swiper-container .swiper-slide .ban .logo {
  display: block;
  left: 0;
  top: 88px;
  z-index: 10;
  transition-delay: 1s !important;
  transform: translate(0, -200%) scale(1, 1);
}
.logo img,
.nav > li > a {
  transition: all 0.3s;
}
.logo:hover img {
  transform: scale(0.9);
  filter: drop-shadow(0 0 10px rgba(189, 26, 45, 0.4));
}

.banner .swiper-container .swiper-slide-active .ban > a,
.banner .swiper-container .swiper-slide-active .ban > img {
  opacity: 1;
  transition-duration: 1s;
  transform: translate(0, 0) scale(1, 1) !important;
}
.banner .swiper-container .swiper-slide .ban .tit {
  left: 50%;
  top: 50%;
  width: auto;
  margin-left: -208.5px;
  margin-top: -71.5px;
  z-index: 10;
  transition-delay: 2s !important;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
  transform: translate(0, 0) scale(1.5, 1.5);
  image-rendering: pixelated;
}
.banner .swiper-container .swiper-slide .ban .txt {
  right: 0;
  bottom: 25px;
  z-index: 10;
  transition-delay: 1s !important;
  transform: translate(0, 200%) scale(1, 1);
  max-width: 100%;
}

.banner .swiper-pagination span:first-child:last-child {
  display: none;
}

nav {
  width: 100%;
  background: #bd1a2d;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav > li {
  flex: auto;
  position: relative;
}

.nav > li > a {
  width: 100%;
  line-height: 72px;
  font-size: 26px;
  color: #fff;
  text-align: center;
  display: inline-block;
}
.nav > li.on,
.nav > li:hover {
  background-color: rgba(0, 0, 0, 0.2);
}
.nav > li:hover > a {
  font-size: 24px;
}
.nav > li:hover > a {
  font-weight: 700;
}

footer {
  width: 100%;
  background: #bd1a2d;
}

.link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.linkCon {
  display: flex;
  justify-content: flex-start;
  font-size: 22px;
  color: #fff;
  height: 62px;
  align-items: center;
}
.linkCon > span {
  display: inline-block;
  margin: 0 70px 0 50px;
}

.linkCon .item {
  margin-right: 7vw;
  position: relative;
  z-index: 25;
}

.linkCon .item .txt {
  padding-right: 28px;
  line-height: 60px;
  position: relative;
  cursor: pointer;
}

.linkCon .item .txt::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-top: 6px solid #fff;
  border-bottom: 0;
  transition: all 0.3s;
}

.linkCon .item .down {
  display: none;
  position: absolute;
  width: 250px;
  bottom: calc(100% + 15px);
  height: 300px;
  background: #fff8e8;
  padding: 10px;
  border-radius: 5px;
  left: 50%;
  margin-left: -125px;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.3);
}

.linkCon .item .down::after {
  width: 0;
  height: 0;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: 6px solid #fff8e8;
  border-bottom: 0;
}

.linkCon .item .down ul {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding-right: 5px;
}

.linkCon .item .down ul li {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}

.linkCon .item .down ul li a {
  display: block;
  font-size: 13px;
  color: #333;
  line-height: 2.5;
}

.linkCon .item .down ul li a:hover {
  color: #bd1a2d;
}

.linkCon .item.on .txt::after {
  transform: translateY(-50%) rotate(180deg);
}

.linkCon .item.on .down {
  display: block;
  animation: fadeInDown 0.5s;
}

.footCon {
  padding-top: 32px;
  padding-bottom: 50px;
}

.footCon p {
  font-size: 16px;
  line-height: 36px;
  color: #fff;
}

.footCon span {
  display: inline-block;
  margin: 0 10px;
}
.footCon p {
  text-align: center;
}
.footCon a {
  color: inherit;
}

.footCon a:hover {
  text-decoration: underline;
}

.insideContent {
  background: url(bg7.png) center top no-repeat fixed;
  background-size: cover;
  padding: 20px 0 80px;
}

.page {
  clear: both;
  text-align: center;
  padding: 30px 0;
}
.page a,
.page span {
  line-height: 40px;
  min-width: 40px;
  font-size: 14px;
  border: 1px solid #dcdcdc;
  background-color: #fff;
  transition: all 0.3s;
  display: inline-block;
  box-sizing: border-box;
  margin: 0 3px;
  padding: 0 15px;
}

.page a:hover,
.page a:active {
  background-color: #bd1a2d;
  color: #fff;
  border-color: #bd1a2d;
}

.page span.strong {
  color: #fff;
  background-color: #bd1a2d;
}

.hidden_search .close_btn {
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px;
  width: 42px;
  height: 42px;
  transition: 0.5s;
}

.hidden_search .close_btn::after,
.hidden_search .close_btn::before {
  content: '';
  background: #ccc;
  width: 20px;
  height: 3px;
  display: block;
  transition: all 0.3s ease 0s;
  position: absolute;
  left: 10px;
  top: 11px;
}

.hidden_search .close_btn::before {
  transform-origin: left bottom;
  transform: rotate(45deg);
}

.hidden_search .close_btn::after {
  transform-origin: left top;
  transform: rotate(-45deg);
  top: 26px;
}

.hidden_search .close_btn:hover::after,
.hidden_search .close_btn:hover::before {
  background: #004d24;
}

@media (max-width: 1420px) {
  .banner .swiper-container .swiper-slide .ban {
    max-width: calc(100% - 20px);
  }
}

@media screen and (max-width: 768px) {
  /* h5 菜单图标样式 */
  #daohang {
    height: 0.8rem;
  }
  .menu-icon {
    font-size: 0.38rem;
    color: #fff;
    cursor: pointer;
    display: block;
    float: right;
    padding: 0.1rem;
  }

  /* 侧边导航栏样式 */
  .h5-sidebar {
    width: 4rem;
    background-color: #fff;
    color: white;
    position: fixed;
    top: 0;
    left: -4rem; /* 初始状态侧边栏在屏幕外 */
    height: 100vh; /* 设置高度为视口高度 */
    padding-top: 0.2rem;
    transition: left 0.3s ease, width 0.3s ease; /* 动画效果 */
    z-index: 9999999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto; /* 允许垂直滚动 */
    overflow-x: hidden; /* 防止水平滚动 */
    box-sizing: border-box;
  }

  .h5-sidebar.open {
    left: 0; /* 侧边栏打开时，位置调整为显示 */
  }

  .h5-sidebar ul {
    list-style: none;
    padding: 0;
  }

  .h5-sidebar ul li {
    padding: 10px;
  }

  .h5-sidebar a {
    color: black;
    text-decoration: none;
    display: block;
    font-size: 0.28rem;
  }

  .h5-sidebar .submenu {
    display: none; /* 默认隐藏二级菜单 */
    margin-left: 20px;
    padding-top: 10px;
  }

  .h5-sidebar .submenu li {
    padding: 5px 0;
  }

  .h5-sidebar .submenu a {
    font-size: 0.28rem;
  }

  /* 箭头样式 */
  .menu-item > a:after {
    content: ''; /* 默认箭头 */
    color: black;
    float: right;
    width: 0.38rem;
    height: 0.38rem;
    background: url(arrow-right-bold.png) center center no-repeat;
    background-size: contain;
    transition: transform 0.3s ease; /* 翻转动画 */
  }

  /* 二级菜单展开时箭头翻转 */
  .menu-item.open > a:after {
    transform: rotate(90deg); /* 旋转90度 */
  }

  /* 去掉没有二级菜单的项的箭头 */
  .menu-item.no-submenu > a:after {
    content: none; /* 没有二级菜单的项不显示箭头 */
  }
  /* 蒙层样式 */
  .h5-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
    z-index: 1000; /* 在侧边栏之下 */
    display: none; /* 默认隐藏 */
    overflow: hidden;
  }
  nav {
    display: inline-block;
  }
  .pageTitle {
    min-width: auto;
  }
  .pageTitleCon {
    flex-direction: column;
    align-items: flex-end;
    justify-content: end;
    padding: 5px 0;
  }
  .pageTitleRight .sou {
    margin-left: 0;
  }
  .pageTitleLeft {
    flex: none;
  }
  .pageTitleLeft p {
    line-height: 20px;
  }
  .pageTitleRight {
    height: 30px;
  }
  .banner .swiper-container .swiper-slide .ban .logo img {
    width: 200px;
  }
  .banner .swiper-container .swiper-slide .ban .tit {
    width: 300px;
    transform: translate(-50%, -20%) !important;
    margin: 0;
  }
  .linkCon {
    font-size: 0.28rem;
    flex-wrap: wrap;
    height: auto;
  }
  .linkCon .item,
  .linkCon span {
    width: 33.33%;
    display: flex;
  }
  .linkCon > span,
  .linkCon .item,
  .linkCon .item .txt {
    margin: 0;
  }
  .linkCon .item .txt {
    padding-right: 20px;
    line-height: 0.7rem;
  }
  .linkCon > * {
    flex: none;
  }
  .linkCon .item .down {
    bottom: 100%;
  }
  .linkCon .item:nth-child(3) .down {
    margin-left: -200px;
  }
  .linkCon .item:nth-child(4) .down {
    margin-left: -60px;
  }
  .footCon p:first-child {
    margin-left: 10px;
  }
  .foot .centerWidth {
    margin: 0 -10px;
  }

  .page a,
  .page span {
    line-height: 0.5rem;
    min-width: 0.5rem;
    padding: 0 0.1rem;
    margin: 0 0.02rem;
    font-size: 0.2rem;
  }
}
