* {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

li {
  list-style: none;
}

.secondary-menu-active {
  color: #0051A4 !important;
}

.ny-menu-active {
  color: #0051A4 !important;
  font-weight: 700;
}

.secondary-menu-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #0051A4;
}

a {
  cursor: pointer;
  white-space: nowrap;
}

.curent {
  font-weight: 700;
  opacity: 1 !important;
}

.elli1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.indexTitle {
  font-size: 2.5vw;
}

.indexTitleEn {
  font-size: 6.77vw;
}

.container {
  padding: 0 12.5vw;
  max-width: none !important;
}

.pr {
  padding-right: 12.5vw;
}

.pl {
  padding-left: 12.5vw;
}


.company-box .company-item {
  position: relative;
}

.company-box .company-item::after {
  content: '';
  position: absolute;
  right: 0;
  width: 1px;
  height: 100%;
  background: #DEDEDE;
}

.company-box .company-item:last-child:after {
  display: none;
}


.corporate-item::after {
  position: absolute;
  content: '';
  width: 0;
  height: 2px;
  right: 0;
  bottom: 0;
  background: #0051A4;
  transition: all 0.6s ease-in-out;
  z-index: 1;
}

.corporate-item:hover .icon {
  filter: brightness(0) invert(1);
}

.corporate-item:hover::after {
  width: 100%;
  left: 0;
}



.development .development-box .development-item::after {
  content: '';
  position: absolute;
  left: 54px;
  top: 0;
  width: 1px;
  height: 100%;
  background: #C6C6C6;
  z-index: 1;
}

.development .development-box:last-child .development-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 13px;
  height: 13px;
  left: 48px;
  border-radius: 50%;
  z-index: 2;
  background: #0051A4;
}

/* 产品三级菜单选中样式 */
.pro-menu-child-active,
.pro-menu-four-active {
  color: #0051A4 !important;
}

.pro-menu ul {
  border: 1px solid transparent;
}

.pro-menu ul.parentActive {
  border-color: #E1E0E0;
}

.pro-menu ul.parentActive li .icon {
  transform: rotate(180deg);
}



.pro-menu ul li.active,
.pro-menu ul a.active {
  background: #0051A4;
}

.pro-menu ul li.active p,
.pro-menu ul a.active p {
  color: white;
  font-weight: 700;
}

.pro-menu ul li .icon {
  background: url('/theme/TJ/img/arrow-top.png') no-repeat;
  background-size: contain;
  width: 17px;
  height: 9px;
  transform: rotate(0);
  transition: all 0.3s ease-in-out;
}

.pro-menu ul.parentActive li.active .icon {
  transform: rotate(180deg);
}

.pro-menu ul li.active .icon {
  background: url('/theme/TJ/img/arrow-bottom.png') no-repeat;
  background-size: contain;
  width: 17px;
  height: 9px;
  transform: rotate(0);
  transition: all 0.3s ease-in-out;
}

.fourIcon {
  background: url('/theme/TJ/img/arrow-top.png') no-repeat;
  background-size: contain;
  width: 17px;
  height: 9px;
  transform: rotate(180deg);
  transition: all 0.3s ease-in-out;
}

/* 产品列表 mask动画 */
.pro-list a .mask-one,
.pro-list a .mask-two {
  position: absolute;
  inset: 0;
  transition: 0.5s;
  opacity: 0;
  z-index: 2;
}


.pro-list a .mask-one::before,
.pro-list a .mask-one::after,
.pro-list a .mask-two::before,
.pro-list a .mask-two::after {
  content: '';
  position: absolute;
  top: 0;
  width: 25%;
  height: 100%;
  transform: scaleY(0);
  transition: all 0.35s ease;
  opacity: 0;
  background-color: rgba(0, 81, 164, 0.8);
  z-index: -1;
}

.pro-list a .mask-one::before {
  left: 0;
  transition-delay: 0.07s;
}

.pro-list a .mask-one::after {
  left: 25%;
  transition-delay: 0.14s;
}

.pro-list a .mask-two::before {
  left: 50%;
  transition-delay: 0.21s;
}

.pro-list a .mask-two::after {
  left: 75%;
  transition-delay: 0.35s;
}



.pro-list a:hover .mask-two,
.pro-list a:hover .mask-one {
  opacity: 1;
}

.pro-list a:hover .mask-one::before,
.pro-list a:hover .mask-one::after,
.pro-list a:hover .mask-two::before,
.pro-list a:hover .mask-two::after {
  transform: scale(1);
  opacity: 1;
}

.product-icon {
  color: white;
  white-space: normal;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.product-icon::-webkit-scrollbar {
  opacity: 0;
}

/* 新闻列表 */
.news-list a .subline span {
  color: #333;
  font-size: 22px;
  background: linear-gradient(to right, #0051A4) no-repeat;
  background-size: 0 2px;
  background-position: right bottom;
  transition: background-size 0.8s;
  text-wrap: wrap;
}

.news-list a:hover .subline span {
  background-size: 100% 2px;
  background-position: left bottom;
  color: #0051A4;
}

/* 加入我们 */

.join-active .join-box-header .join-title {
  color: #fff;
}

.join li .join-box-header:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: #0051A4;
  transition: width 0.5s;
  z-index: 1;
}

.join li .join-box-header p .user {
  background: url('/theme/TJ/img/user.png') no-repeat;
  background-size: contain;
  width: 25px;
  height: 22px;
}

.join li .join-box-header p .mz {
  background: url('/theme/TJ/img/mz.png') no-repeat;
  background-size: contain;
  width: 25px;
  height: 22px;
}

.join li .join-box-header p .add {
  background: url('/theme/TJ/img/add.png') no-repeat;
  background-size: contain;
  width: 25px;
  height: 22px;
}

.join li .join-box-header p .jia {
  background: url('/theme/TJ/img/jia.png') no-repeat;
  background-size: contain;
  width: 25px;
  height: 22px;
}

.join-active .join-box-header p span {
  color: #fff;
}

.join li.join-active .join-box-header p .user,
.join li.join-active .join-box-header p .mz,
.join li.join-active .join-box-header p .add {
  filter: brightness(0) invert(1);
}

.join li.join-active .join-box-header p .jia {
  background: url('/theme/TJ/img/jian.png') no-repeat;
  background-size: contain;
  width: 20px;
  height: 3px;
}

.join li.join-active .join-box-header:after {
  width: 100%;
}

/* 分页 */
.page-active {
  border-color: #0051A4 !important;
  background: #0051A4;
  color: white !important;
}

.more {
  position: relative;
}

.more::after {
  content: "";
  position: absolute;
  right: 0;
  width: 0;
  height: 100%;
  top: 0;
  z-index: -1;
  background-color: #0051A4;
  transition: all 0.35s ease-in-out;
}

.more:hover {
  color: white;
}

.more:hover::after {
  width: 100%;
  left: 0;
}

input {
  outline: none;
}

.md158-menu-button {
  width: 60px;
  height: 40px;
  flex-direction: column;
  gap: 15px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.md158-menu-button span {
  display: block;
  width: 60px;
  height: 2px;
  background: #ffffff;
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

@media (min-width: 1024px) {
  [pc="hide"] {
    display: none !important;
  }
}

@media (max-width: 1536px) {
  .container {
    padding: 0 6.25vw;
  }

  .pr {
    padding-right: 6.25vw;
  }

  .pl {
    padding-left: 6.25vw;
  }

}

@media (max-width: 1280px) {
  .container {
    padding: 0 5.208vw;
  }

  .pr {
    padding-right: 5.208vw;
  }

  .pl {
    padding-left: 5.208vw;
  }


}

@media (max-width: 1023px) {
  .container {
    padding: 0 4.166vw;
  }



  .pr {
    padding-right: 4.166vw;
  }

  .pl {
    padding-left: 4.166vw;
  }

  [wap="hide"] {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 2.604vw;
  }

  .pr {
    padding-right: 2.604vw;
  }

  .pl {
    padding-left: 2.604vw;
  }

  .indexTitle {
    font-size: 24px;
  }

  .indexTitleEn {
    font-size: 50px;
  }

  .company-box .company-item:after,
  .development .development-box .development-item::after,
  .development .development-box:last-child .development-item::before {
    display: none;
  }

  .news-list a .subline span {
    font-size: 16px;
  }


  .pro-list a .mask-one::after,
  .pro-list a .mask-one::before,
  .pro-list a .mask-two::after,
  .pro-list a .mask-two::before {
    display: none;
  }

  .md158-menu-button {
    width: 50px;
    height: 40px;
    flex-direction: column;
    gap: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .md158-menu-button span {
    display: block;
    width: 35px;
    height: 2px;
    background: #666;
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
  }

  .nybanner {
    height: 40vh;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .pr {
    padding-right: 20px;
  }

  .pl {
    padding-left: 20px;
  }


}
