*,
::after,
::before,
::backdrop,
::file-selector-button {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html,
:host {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: 'Source Han Sans SC', 'Source Han Sans SC VF',
    'Source Han Sans CN', 'Source Han Sans CN VF', 'Noto Sans CJK SC',
    'HanHei SC', 'HarmonyOS Sans SC', '方正兰亭黑Pro Global', ui-sans-serif,
    sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji', emoji;
  line-height: 1.5;
  color: rgb(0 0 0 / 0.88);

  @media (prefers-reduced-motion: no-preference) {
    /* scroll-behavior: smooth; */
  }
}
body {
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: inherit;
}
/* 文字样式 */
@font-face {
  font-family: 'Bebas';
  src: url(/fonts/BEBAS-REGULAR.TTF) format('truetype');
  font-weight: normal;
  font-style: normal;
}
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
}

img,
video {
  max-width: 100%;
  height: auto;
}
img {
  display: inline-block !important;
}


/* 公共样式 */
.container-x {
  padding-left: 13.54vw;
  padding-right: 13.54vw;
}
.container-left {
  padding-left: 13.54vw;
}
.container-right {
  padding-right: 13.54vw;
}

@media (max-width: 1536px) {
  .container-x {
    padding-left: 8vw;
    padding-right: 8vw;
  }
  .container-left {
    padding-left: 8vw;
  }
  .container-right {
    padding-right: 8vw;
  }
}
@media (max-width: 1280px) {
  .container-x {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .container-left {
    padding-left: 5vw;
  }
  .container-right {
    padding-right: 5vw;
  }
}

@media (max-width: 768px) {
  .container-x {
    padding-left: 20px;
    padding-right: 20px;
  }
  .container-left {
    padding-left: 20px;
  }
  .container-right {
    padding-right: 20px;
  }
}

/* header 开始 */
header .nav-title {
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}
header .nav-title::after{
  position: absolute;
  bottom: 0px;
  width: 0%;
  left: 0;
  height: 2px;
  content: '';
  background: #0053A3;
  transition: all 0.5s ease;
}
header .nav-title.active::after{
  position: absolute;
  bottom: 0px;
  width: 100%;
  left: 0;
  height: 2px;
  content: '';
  background: #0053A3;
}
header .nav-title .nav-img {
  filter: grayscale(100%);
  transition: all 0.5s ease;
}
header .nav-title:hover .nav-img {
  transform: rotate(180deg);
  filter: grayscale(0%);
}
header .nav-title:hover::after{
  position: absolute;
  bottom: 0px;
  width: 100%;
  left: 0;
  height: 2px;
  content: '';
  background: #0053A3;
}
header .nav-title:hover {
  color: #0053A3 !important;
}
header .nav-title.active{
  color: #0053A3 !important;
  font-weight: 800;
}
header .nav-title.active .nav-img{
  filter: grayscale(0%);
}
/* header 结束 */


/* 手机菜单按钮 -开始 */
.menu-icon {
  display: none;
  position: relative;
  width: 32px;
  height: 32px;
  /* background: rgb(0, 0, 0); */
  padding: 5px;
  cursor: pointer;
}
.menu-icon input {
  display: none;
}
.menu-icon span {
  display: block;
  position: relative;
  height: 2px;
  width: 100%;
  background: #1D3C7C;
  border-radius: 10px;
  opacity: 1;
  left: 0;
  margin-bottom: 24%;
  transition: 0.3s ease-in-out;
}
.menu-icon span {
  transform-origin: left center;
}
.menu-icon input:checked ~ span {
  background: #1D3C7C;
  left: 4px;
  margin-bottom: 25%;
}
.menu-icon input:checked ~ span:nth-of-type(1) {
  transform: rotate(45deg);
}
.menu-icon input:checked ~ span:nth-of-type(2) {
  opacity: 0;
}
.menu-icon input:checked ~ span:nth-of-type(3) {
  transform: rotate(-45deg);
}
@media (max-width: 1024px) {
  .menu-icon {
    display: block;
    padding-top: 7px;
  }
}

/* 搜索 */
.search-box {
  backdrop-filter: blur(16px) brightness(90%);
  background-color: rgba(255, 255, 255, 0.5);
}
.search-box .input-group {
  display: flex;
  gap: 10px;
  position: relative;
  width: 30%;
  margin-bottom: 10px;
  margin-top: 2px;
}

.search-box .input-text {
  font-family: inherit;
  width: 100%;
  border: none;
  border-bottom: 2px solid #fff;
  border-radius: 0 !important;
  outline: 0;
  font-size: 17px;
  color: #fff;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
}

.search-box .input-text::placeholder {
  color: transparent;
}

.search-box .input-text:placeholder-shown ~ .input-text-label {
  font-size: 17px;
  cursor: text;
}

.search-box .input-text-label {
  position: absolute;
  display: block;
  transition: 0.2s;
  font-size: 17px;
  color: #fff;
  pointer-events: none;
}

.search-box .input-text:focus {
  padding-bottom: 6px;
  border-width: 3px;
  border-image: linear-gradient(to right, #1D3C7C, rgba(255, 255, 255, 0));
  border-image-slice: 1;
}

.search-box .input-text:focus ~ .input-text-label {
  color: #1D3C7C;
}

.search-box .input-text:not(:placeholder-shown) ~ .input-text-label,
.search-box .input-text:focus ~ .input-text-label {
  position: absolute;
  display: block;
  transition: 0.2s;
  font-size: 15px;
  font-weight: 700;
  top: -17px;
}

.search-box .input-text:required,
.search-box .input-text:invalid {
  box-shadow: none;
}
/* 手机菜单结束 */

header .header-nav .nav-wap-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #fffffff5;
  color: #333;
  text-align: center;
  font-size: 16px;
  display: none;
  padding-top: 60px;
}
header .header-nav .nav-wap-content .nav-wap-box {
  overflow-y: auto;
  height: 100%;
}
header .header-nav .nav-wap-content .box-ul {
  padding-top: 40px;
}
header .header-nav .nav-wap-content .box-ul .box-li {
  opacity: 0;
  transform: translateY(-50%);
  padding: 15px 0;
}
header .header-nav .nav-wap-content .box-ul .box-li .box-li-title {
  cursor: pointer;
}

/* banner 开始 */
.banner-swiper {
  /* --swiper-pagination-top:20px; */
  --swiper-pagination-color: #fff;
  --swiper-pagination-bullet-inactive-color:#fff;
  --swiper-pagination-bullet-inactive-opacity:1;
  --swiper-pagination-bullet-width:6px;
  --swiper-pagination-bullet-height:6px;
  --swiper-pagination-bullet-horizontal-gap: 0px;
  --swiper-pagination-bullet-circle-width:30px;
  --swiper-pagination-bullet-circle-height:30px;
  /* left: 60px; */
}
.banner-swiper .swiper-horizontal>.swiper-scrollbar, .swiper-scrollbar.swiper-scrollbar-horizontal{
  width:145px !important;
  bottom: 28%;
  left:13.54vw;
  background: #0053A3;
}
.banner-swiper .swiper-scrollbar-drag {
  background: #fff;
}
.banner-swiper .swiper-slide-active .banner-title{
  transform: translateY(0);
  opacity: 1;
}
.banner-swiper .swiper-slide-active .banner-title2{
  transform: translateY(0);
  opacity: 1;
}
.banner-swiper .swiper-slide-active .banner-content{
  transform: translateY(0);
  opacity: 1;
}
.banner-swiper .swiper-slide img{
  width:100%;
  height:auto;
  min-height:100%;
  transition:1s linear 2s;
  transform:scale(1.1,1.1);
  }
.banner-swiper .swiper-slide-active img,.swiper-slide-duplicate-active img{
  transition:6s linear;
  transform:scale(1,1);
  }
  @media (max-width: 1536px) {
    .banner-swiper .swiper-horizontal>.swiper-scrollbar, .swiper-scrollbar.swiper-scrollbar-horizontal{
      bottom: 30%;
      left:8vw;
    }
  }
  @media (max-width: 1280px) {
    .banner-swiper {
      --swiper-pagination-bullet-width:4px;
      --swiper-pagination-bullet-height:4px;
    }
    .banner-swiper .swiper-pagination {
      gap: 40px;
      right: 30px !important;
      left: auto !important;
    }
    .banner-swiper .swiper-horizontal>.swiper-scrollbar, .swiper-scrollbar.swiper-scrollbar-horizontal{
      bottom: 30%;
      left:5vw;
    }
  }
  @media (max-width: 768px) {
    .banner-swiper .swiper-slide img{
      height: 350px;
    }
    .banner-swiper {
      --swiper-pagination-bullet-width:3px;
      --swiper-pagination-bullet-height:3px;
    }
    .banner-swiper .swiper-pagination {
      gap: 30px;
      right: 20px !important;
      left: auto !important;
    }
  }
/* banner 结束 */

/* 新闻 开始 */
.news-title p.active{
  background: #1D3C7C;
  color: #fff;
}
.news-page .active{
  background: #C7161C;
}
/* 新闻 结束 */

.member-box .swiper-wrapper{
  -webkit-transition-timing-function: linear; /*之前是ease-out*/
  -moz-transition-timing-function: linear;
  -ms-transition-timing-function: linear;
  -o-transition-timing-function: linear;
  transition-timing-function: linear;
}
.menu-box li {
  transition: all 0.5s ease;
}
.menu-box li.active img,.menu-box li:hover img {
  filter: brightness(0) invert(1);
}
.menu-box .active,.menu-box li:hover {
  background: #3B5998;
}
.menu-box .active span,.menu-box li:hover span {
  color: #fff;
}
.list-box li::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  content: '';
  background: #1D3C7C;
  transition: all 0.5s ease;
}
.list-box li:hover::after {
  width: 100%;
}
.slider-swiper .active {
  border-bottom: 1px solid #1D3C7C;
}
.slider-swiper .active a{
  color: #1D3C7C;
}
/* 分页 -开始 */
.page .page-box {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.page .page-box .inner {
  width: 50px;
  height: 50px;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  background: #ffffff;
  text-align: center;
  line-height: 50px;
  font-size: clamp(14px,0.8854vw,17px);
  color: #999999;
  cursor: pointer;
}
.page .page-box .inner:hover {
  background: #1D3C7C;
  color: #fff;
  border: unset;
}
.page .page-box .inner.active {
  background: #1D3C7C;
  color: #fff;
  border: unset;
}
.page .page-box .dot {
  width: 50px;
  height: 50px;
  border-radius: 2px;
  background: #ffffff;
  text-align: center;
  font-size: 22px;
  color: #999999;
  cursor: pointer;
}
.page .page-box .page-pre {
  margin-right: 0.09rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  width: 70px;
}
.page .page-box .page-pre:hover {
  background: #1D3C7C;
}
.page .page-box .page-pre:hover img {
  filter: brightness(0) invert(1);
}
.page .page-box .page-next {
  margin-right: 0.09rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
}
.page .page-box .page-next img {
  transform: rotate(180deg);
}
.page .page-box .page-next:hover {
  background: #1D3C7C;
}
.page .page-box .page-next:hover img {
  filter: brightness(0) invert(1);
}
@media (max-width: 768px) {
  .page .page-box .inner {
    width: 30px;
    height: 30px;
    font-size: 13px;
    line-height: 30px;
  }
  .page .page-box .dot {
    width: 30px;
    height: 30px;
    font-size: 13px;
    line-height: 30px;
  }
  .page .page-box .page-pre ,
  .page .page-box .page-next  {
    display: none;
  }
  .page .page-box .page-pre img,
  .page .page-box .page-next img {
    width: 7px;
  }
  .page .page-box .dot {
    font-size: 13px;
    line-height: 20px;
  }
}
/* 分页 -结束 */
@media (max-width: 768px) {
  .yaotu {
    object-position: -70px;
  }
}


/* 飘窗 */
#floating-popup {
  position: absolute;
  width: 187px;
  height: 80px;
  cursor: pointer;
  /* cursor: grab; */
  z-index: 99;
}
#floating-popup:hover {
  /* transform: scale(1.02); */
}
#popup-header {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
}
#close-btn {
  color: #666;
  cursor: pointer;
  font-size: 16px;
  position: absolute;
  right: 5px;
  top: 5px;
  background: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
}
