:root {
  --color-base: #071027;
  --color-base01: #2F318B;
  --color-base02: #F7F7F7;
  --color-base03: #555556;
}

@font-face {
  font-family: 'Westhouse';
  src: url('../webfonts/Westhouse.woff2') format('woff2'),
    url('../webfonts/Westhouse.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'sBold';
  src: url('../webfonts/SBd.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'sNormal';
  src: url('../webfonts/sNormal.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.westhouse {
  font-family: 'Westhouse', sans-serif;
  font-weight: normal;
  font-style: normal;
}

.sBold {
  font-family: 'sBold', sans-serif;
  font-weight: normal;
  font-style: normal;
}

.sNormal {
  font-family: 'sNormal', sans-serif;
  font-weight: normal;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'sBold', sans-serif;
  font-weight: normal;
  font-style: normal;
  color: var(--color-base);
}

strong {
  font-family: 'sBold', sans-serif;
  font-weight: normal;
  font-style: normal;
  color: var(--color-base);
}

html,
body {
  font-size: 14px;
  font-family: 'sNormal', sans-serif !important;
}

a {
  text-decoration: none !important;
  color: var(--color-base);
}

a:hover {
  text-decoration: underline;
}

#mainMenu .logo img {
  height: 25px;
  transition: all 0.3s;
}

#mainMenu.miniMenu .logo img {
  height: 20px;
  /* 给图片添加滤镜，让其变为白色 */
  filter: brightness(0) invert(1);
}

#mainMenu.miniMenu h5.fa{
  color: #fff;
}

/*主导航*/
#mainMenu {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  position: fixed;
  height: 80px;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #fff;
  transition: all 0.3s;
}

#mainMenu a {
  color: #000;
  transition: all 0.3s;
}

#mainMenu.miniMenu {
  height: 70px;
  background-color: var(--color-base01);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
}

#mainMenu.miniMenu #langue {
  color: var(--color-base02);
}

#mainMenu.miniMenu .secondMenu {
  top: 40px;
}

#mainMenu.miniMenu a.mainLink {
  color: var(--color-base02);
}

#mainMenu.miniMenu a.mainLink:hover {
  color: #fff !important;
}

#mainMenu ul {
  list-style-type: none;
}

#mainMenu ul li {
  position: relative;
  overflow: hidden;
  z-index: 999;
  padding-left: 10px;
}

#mainMenu ul li i {
  transform: scale(0.7);
}

#mainMenu ul li:hover .secondMenu {
  /*二级导航动画*/
  opacity: 1;
  transform: scale(1) translateY(0);
  /*二级导航动画*/
}

#mainMenu ul li:hover {
  overflow: initial;
}

#mainMenu .mainLink {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'sBold', sans-serif;
}

#mainMenu .mainLink:hover {
  color: var(--color-base01);
}

/*主导航二级菜单*/
#mainMenu .secondMenu {
  display: flex;
  flex-direction: column;
  position: absolute;
  border-radius: 5px;
  left: -10px;
  top: 45px;
  background: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  /*二级导航动画*/
  opacity: 0;
  transform: scale(0.9) translateY(-10px);
  /*二级导航动画*/
}

#mainMenu .secondMenu a {
  display: block;
  text-wrap: nowrap;
}

#mainMenu .secondMenu a:hover {
  text-decoration: underline !important;
}

#langue {
  font-family: 'sBold', sans-serif;
  font-size: .9rem;
}

#pcMenu>li:nth-child(1) i,
#pcMenu>li:nth-child(5) i,
#pcMenu>li:nth-child(6) i {
  display: none;
}

.homeSwiper {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.homeSwiper .swiper-slide {
  background-size: cover;
  display: flex;
  align-items: center;
  text-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}

.homeSwiper .slide01{
  background-image: url('homelb01.jpg');
}

.homeSwiper .slide02{
  background-image: url('homelb02.jpg');
}

.homeSwiper .swiper-pagination {
  bottom: 2rem !important;
  left: 50% !important;
  transform: translateX(-50%);
  display: flex;
  justify-content: start;
}

.homeSwiper .swiper-pagination-bullet-active {
  background-color: rgba(255, 255, 255, 1) !important;
  opacity: 1;
  width: 40px !important;
  border-radius: 20px;
}

.homeSwiper .swiper-pagination-bullet {
  border: 1px solid #fff;
  background-color: rgba(255, 255, 255, 0);
  transition: all .3s;
  opacity: 1;
  width: 10px;
  height: 10px;
}

.more {
  font-family: 'sBold', sans-serif;
  display: inline-flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  border: 2px solid var(--color-base);
  border-radius: 50px;
  padding: .8rem 1.5rem;
  color: var(--color-base);
  transition: all .3s;
}

.more:hover {
  background-color: var(--color-base);
  color: #fff;
  gap: 2rem;
}

.more.moreWhite {
  background-color: #fff;
  border: 2px solid var(--color-base);
}

.more.moreWhite:hover {
  background-color: var(--color-base);
  color: #fff;
}

@property --bg-0 {
  syntax: '<color>';
  inherits: false;
  initial-value: transparent;
}

@property --bg-1 {
  syntax: '<color>';
  inherits: false;
  initial-value: transparent;
}

.homeCpSwiper .swiper-slide {
  --bg-0: #F7F7F7;
  --bg-1: #F7F7F7;
  background: linear-gradient(135deg, var(--bg-0) 0%, var(--bg-1) 100%);
  position: relative;
  overflow: hidden;
  height: 250px;
  padding: 2rem;
  color: var(--color-base);
  transition: --bg-1 .3s, --bg-2 .3s, color .3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.homeCpSwiper .swiper-slide:hover h5 {
  color: #fff !important;
  transition: all .3s;
}

.homeCpSwiper .swiper-slide span {
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s;
  text-decoration: underline;
}

.col-12.position-relative .swiper-button-next,
.col-12.position-relative .swiper-button-prev {
  color: var(--color-base);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid var(--color-base);
  top: 55%;
  transition: all .3s;
}

.col-12.position-relative .swiper-button-next:hover,
.col-12.position-relative .swiper-button-prev:hover {
  background-color: var(--color-base);
  color: #fff;
}

.col-12.position-relative .swiper-button-next::after,
.col-12.position-relative .swiper-button-prev::after {
  font-size: 12px;
  font-weight: bold;
  color: var(--color-base);
  transition: all .3s;
}

.col-12.position-relative .swiper-button-next:hover::after,
.col-12.position-relative .swiper-button-prev:hover::after {
  color: #fff;
}

.col-12.position-relative .swiper-button-prev {
  left: -5px;
}

.col-12.position-relative .swiper-button-next {
  right: -5px;
}


.homeCpSwiper .swiper-slide img {
  position: absolute;
  transition: all .3s;
}

.homeCpSwiper .swiper-slide.cp01 img {
  height: 200px;
  right: 0px;
  bottom: -19px;
}

.homeCpSwiper .swiper-slide.cp02 img {
  height: 180px;
  right: 0px;
  bottom: -19px;
}

.homeCpSwiper .swiper-slide.cp03 img {
  height: 130px;
  right: -3px;
  bottom: -10px;
}

.homeCpSwiper .swiper-slide.cp04 img {
  height: 100px;
  right: 0px;
  bottom: -4px;
}

.homeCpSwiper .swiper-slide.cp05 img {
  height: 130px;
  right: -3px;
  bottom: -10px;
}

.homeCpSwiper .swiper-slide:hover {
  --bg-0: #071027;
  --bg-1: #595F6E;
  color: #fff;
}

.homeCpSwiper .swiper-slide:hover span {
  opacity: 1;
  transform: translateY(0);
}

.homeCpSwiper .swiper-slide:hover img {
  transform: translateY(-20px) scale(1.1);
}

.ibox01 {
  background-color: var(--color-base02);
}

.chooseList>div>div {
  background-color: #fff;
  height: 100%;
}

.iNews {
  background: url(img02.png) no-repeat center center;
  background-size: cover;
  height: 70vh;
}

.newsSwiper .swiper-slide {
  height: 350px;
  color: var(--color-base);
}

.newsSwiper .swiper-pagination {
  bottom: 0;
}

.newsSwiper .swiper-pagination .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.5);
}

.newsSwiper .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #fff !important;
}

.iInquiry {
  background: linear-gradient(135deg, #071027 30%, #595F6E 100%);
}

.foot {
  background-color: var(--color-base);
}

.footBorder {
  border-bottom: 1px solid #333C52;
}

.productNav {
  background-color: var(--color-base02);
  border-top: #DCDCDC;
  color: var(--color-base03);
  margin-top: 80px;
}

.productNav a {
  color: var(--color-base03);
}

.productNav a.back {
  color: var(--color-base);
}

.cpImg {
  background-color: var(--color-base02);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
}

.cpImg img {
  max-width: 100%;
  max-height: 70%;
  object-fit: contain;
}

.smallImg .image-container {
  height: 45px;
  overflow: hidden;
  padding: .5rem 1rem;
  cursor: pointer;
  transition: all .3s;
  border: 2px solid #ededed;
  display: flex;
  justify-content: center;
  align-items: center;
}

.smallImg .image-container:hover img {
  opacity: 1;
  transition: all .3s;
}

.smallImg .image-container img {
  width: 100%;
  height: 90%;
  opacity: 0.5;
  object-fit: cover;
  /* 图片会被裁剪以填满容器 */
}

.smallImg .image-container.active {
  background-color: #fff;
  border: 2px solid var(--color-base);
}

.smallImg .image-container.active img {
  opacity: 1;
}

.cpDetails>div {
  display: flex;
  align-items: center;
  border-radius: .7rem;
  height: 450px;
  overflow: hidden;
}

.cpDetails>div img {
  height: 100%;
}

.cpDetails>div:nth-child(odd) {
  color: #fff;
  background: linear-gradient(200deg, #071027 30%, #595F6E 100%);
}

.cpDetails>div:nth-child(even) {
  color: var(--color-base);
  background-color: var(--color-base02);
  justify-content: space-between;
}

.cpDetails>div:nth-child(even)>img {
  order: 2;
}

.cpDetails>div>div {
  width: 350px;
  margin-left: 10rem;
}

.cpDetails>div>div h2 {
  margin-bottom: 2rem;
}

.pServer {
  border: 1px solid #E0E0E0;
}

.pServer a {
  color: var(--color-base);
  text-decoration: underline !important;
}

.pageBanner {
  width: 90%;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-base02);
  margin: 0px auto;
  position: relative;
}

.b01 {
  background-image: url('b01.png');
  background-size: cover;
  background-position: center;
}

.b02 {
  background-image: url('b02.png?v=1');
  background-size: cover;
  background-position: center;
}

.b03 {
  background-image: url('b03.png');
  background-size: cover;
  background-position: center;
}

.b04 {
  background-image: url('b04.png');
  background-size: cover;
  background-position: center;
}

.b05 {
  background-image: url('b05.png');
  background-size: cover;
  background-position: center;
}

.pageBanner div.pageMenu {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.pageBanner h1 {
  text-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}

.pageBanner div.pageMenu a {
  color: var(--color-base);
  font-family: 'sBold', sans-serif;
  font-weight: bold;
  text-decoration: none;
  transition: all .3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pageBanner div.pageMenu a i {
  font-size: 10px;
}

.pageBanner div.pageMenu a:hover {
  color: var(--color-base01);
}

.pageIndustry {
  background-color: var(--color-base02);
}

.cpClassList a {
  color: var(--color-base);
  display: flex;
  align-items: center;
}

.cpClassList a h6 {
  margin: 0;
}

.cpClassList a i {
  margin-left: 0.5rem;
  font-size: 12px;
}

.cpQueryItem .itemImg {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-base02);
  position: relative;
}

.cpQueryItem .itemImg img {
  max-width: 70%;
  max-height: 60%;
  object-fit: contain;
  transition: all .2s;
}

.cpQueryItem .itemImg span {
  position: absolute;
  color: var(--color-base03);
  top: 6%;
  font-size: 12px;
  opacity: 0;
  left: 8%;
  transition: opacity .2s;
}

.cpQueryItem .itemImg:hover span {
  opacity: 1;
}

.cpQueryItem .itemImg:hover img {
  transform: scale(1.1);
}

.cpQueryItem h6 {
  padding: .4rem .5rem;
  font-weight: normal !important;
  border: 1px solid var(--color-base);
  border-radius: 5px;
  margin: 1rem 0;
}

.cpQueryItem>div a {

  padding: .6rem .5rem;
}

#langueList li a {
  display: flex;
  align-items: center;
  gap: 10px;
}

#langueList li a img {
  width: 20px;
}

.newsqueryImg {
  width: 100%;
  height: 230px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.nextOrprev a {
  color: var(--color-base03);
}

.accordion-button:not(.collapsed) {
  color: var(--color-base);
  background-color: #fff;
}

.classFc a i {
  display: none;
}

.classFc a.active {
  font-weight: bold;
  font-family: 'sBold', sans-serif;
}

.darkBg {
  background: linear-gradient(200deg, #071027 30%, #595F6E 100%);
}

.whiteBg {
  background: var(--color-base02);
}

.cpDetail {
  min-height: 50vh;
  border-radius: 1rem;
  overflow: hidden;
}

.featuresList{
  width: 100%;
  aspect-ratio: 1/.9;
  background-color: var(--color-base02);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 1.5rem;
  border-radius: .8rem;
}

.active>.page-link, .page-link.active{
  color: #fff;
  background-color: var(--color-base);
  border-color: var(--color-base);
}

#socialMedia{
  position: fixed;
  bottom: 2rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10000;
}

#socialMedia a{
  width: 40px;
  height: 40px;
  background-color: var(--color-base);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all .3s;
}

#socialMedia a:hover{
  background-color: var(--color-base01);
  color: #fff;
  transform: scale(1.1);
}

.newsCon img{
    max-width: 100%;
    border-radius: 1rem;
}

@media (max-width: 768px) {
  .homeSwiper {
    height: 50vh;
  }

  .cpDetail h2 {
    font-size: 1.2rem;
  }

  .cpDetail p {
    font-size: 12px;
  }

  .cpDetail {
    border-radius: 0;
  }

  .iceCream.cpDetail{
    min-height: 40vh;
  }

  .mobileMenuList a h6{
    color: var(--color-base) !important;
  }
  #mainMenu .logo img{
    height: 20px;
  }

  .card-body a{
    display: flex;
    justify-content: space-between;
  }

  .pageBanner{
    margin: 0px;
    width: 100%;
  }
}