@import url("https://s1.pstatp.com/cdn/expire-1-M/font-awesome/4.6.0/css/font-awesome.min.css");

:root {
  --main-color: #da4443;
  --gray-color: #999999;
}

html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /* height: 100%; */
  outline: none;
}

body {
  --swiper-theme-color: var(--main-color);
}

html,
body {
  width: 100%;
}

.line-x {
  width: 100%;
  height: 1px;
  background-color: #d2d2d2;
  transform: scale(1, 0.5);
}

.line-y {
  width: 1px;
  height: 40%;
  background-color: #d2d2d2;
}

.header {
  transition-property: background-color;
}

.header li a {
  border-bottom: 3px solid transparent;
}

.header .active,
.header li a:hover {
  border-bottom: 3px solid var(--main-color);
}

.shadow-yp.header .active,
.shadow-yp.header li a:hover {
  color: var(--main-color);
}

.header li {
  display: flex;
  justify-content: flex-end;
}

.swiper .swiper-slide img {
  object-fit: cover;
}

.mySwiper .swiper-button-prev,
.mySwiper .swiper-button-next,
.mySwiper0 .swiper-button-prev,
.mySwiper0 .swiper-button-next {
  border: 1px solid var(--main-color);
  background-color: var(--main-color);
  width: 46px;
  height: 46px;
  border-radius: 1000px;
  transition: 0.2s;
}

.mySwiper .swiper-button-next.swiper-button-disabled,
.mySwiper .swiper-button-prev.swiper-button-disabled,
.mySwiper0 .swiper-button-next.swiper-button-disabled,
.mySwiper0 .swiper-button-prev.swiper-button-disabled {
  border: 1px solid #fff;
  color: #ffffff;
  background-color: rgb(0 0 0 / 0%);
  opacity: 0.9;
}

.mySwiper .swiper-button-prev::after,
.mySwiper .swiper-button-next::after,
.mySwiper0 .swiper-button-prev::after,
.mySwiper0 .swiper-button-next::after {
  font-size: 24px;
  color: white;
}

.mySwiper .swiper-pagination-bullet {
  border: 2px solid;
  border-color: var(--main-color);
  opacity: 1;
  width: auto;
  height: 25px;
  line-height: 25px;
  font-size: 15px;
  color: var(--main-color);
  border-radius: 1000px;
  text-align: center;
  transition: 0.2s;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 12px;
  margin: 0 12px !important;
  pointer-events: auto;
}

.mySwiper .swiper-pagination-horizontal {
  display: flex;
  justify-content: center;
  left: 50%;
  top: 140px;
  transform: translate(-50%);
  pointer-events: none;
  flex-wrap: wrap;
  height: 100px;
}

.mySwiper .swiper-pagination-bullet-active {
  color: #ffffff;
  background-color: var(--main-color);
}

.color-main {
  color: var(--main-color);
}

.about-us-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--main-color);
}

.line-text::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--main-color);
}

.product-item {
  border: 1px solid var(--main-color);
  border-radius: 1000px;
  padding: 2px 17px;
  color: var(--main-color);
  font-size: 14px;
  cursor: pointer;
}

.product-item.active {
  background-color: var(--main-color);
  color: #ffffff;
  border-color: var(--main-color);
}

.mySwiper1 .swiper-button-prev,
.mySwiper1 .swiper-button-next {
  background-color: var(--main-color);
  width: 32px;
  height: 34px;
  transition: 0.2s;
  border-radius: 3px;
}

.mySwiper1 .swiper-button-next.swiper-button-disabled,
.mySwiper1 .swiper-button-prev.swiper-button-disabled {
  background-color: #e4e4e4;
  opacity: 1;
}

.mySwiper1 .swiper-button-prev::after,
.mySwiper1 .swiper-button-next::after {
  font-size: 18px;
  color: #ffffff;
}

.shadow-yp {
  box-shadow: 0px 4px 10px 0px rgb(0 0 0 / 7%);
}

.news .active {
  color: var(--main-color);
}

.footer a:hover {
  text-decoration: underline;
  color: var(--main-color);
}

.accordion {
  width: 100%;
  padding: 20px 0 20px;
  background-color: transparent;
}

.accordion .link {
  cursor: pointer;
  display: block;
  padding: 15px 0;
  color: #ffffff;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.accordion li:last-child .link {
  border-bottom: 0;
}

.accordion li i {
  position: absolute;
  top: 16px;
  left: 12px;
  font-size: 10px;
  color: #ffffff;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.accordion li i.fa-chevron-down {
  right: 12px;
  left: auto;
  font-size: 11px;
}

.accordion li.open i.fa-chevron-down {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.submenu {
  display: none;
  background: #303030;
  background-color: transparent;
  font-size: 13px;
}

.submenu a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);
  padding: 12px;
  padding-left: 36px;

  -webkit-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.news-list * {
  transition-duration: 50ms;
}

.banner-mask {
  background-color: rgba(30, 134, 194, 0.5);
}

.map-panel {
  background-color: rgba(30, 134, 194, 0.9);
}

.map-content::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-54%, -62px);
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 100px;
}

.point {
  width: 7%;
  position: absolute;
  border-radius: 1000px;
}

.point1 {
  top: 34.8%;
  left: 14.4%;
}

.point2 {
  top: 59.4%;
  left: 24.5%;
}

.point3 {
  top: 29.3%;
  left: 44.4%;
}

.point4 {
  top: 41%;
  left: 53.9%;
}

.point5 {
  top: 52.5%;
  left: 72%;
}

.point6 {
  top: 26.2%;
  left: 73.6%;
}

.point7 {
  top: 35.5%;
  left: 78.5%;
}

.point::before,
.point::after {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: 00% 0%;
  border-radius: 50%;
  content: "";
  width: 6px;
  height: 6px;
  background-color: rgba(0, 221, 254, 0.9);
  /* display: none; */
}

.point::before {
  animation: scale 2s infinite;
}

.point::after {
  animation: scale2 2s infinite;
}

@keyframes scale {
  0% {
    transform: scale(1) translate(-50%, -50%);
    opacity: 0.9;
  }

  100% {
    transform: scale(6) translate(-50%, -50%);
    opacity: 0;
  }
}

@keyframes scale2 {
  0% {
    transform: scale(1) translate(-50%, -50%);
    opacity: 0.9;
  }

  100% {
    transform: scale(12) translate(-50%, -50%);
    opacity: 0;
  }
}

.logo-white {
  display: block;
}

.logo-black {
  display: none;
}

.shadow-yp .logo-white {
  display: none;
}

.shadow-yp .logo-black {
  display: block;
}

@media (max-width: 768px) {
  .about-us-text::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
  }

  .product-item {
    padding: 3px 12px;
    font-size: 12px;
  }

  .mySwiper .swiper-pagination-bullet {
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    padding: 0 8px;
    border-width: 1px;
    margin: 0 3px !important;
  }

  .mySwiper .swiper-button-prev,
  .mySwiper .swiper-button-next {
    width: 40px;
    height: 40px;
  }

  @keyframes scale {
    0% {
      transform: scale(1) translate(-50%, -50%);
      opacity: 0.9;
    }

    100% {
      transform: scale(3) translate(-50%, -50%);
      opacity: 0;
    }
  }

  @keyframes scale2 {
    0% {
      transform: scale(1) translate(-50%, -50%);
      opacity: 0.9;
    }

    100% {
      transform: scale(7) translate(-50%, -50%);
      opacity: 0;
    }
  }
}

.nav-icon {
  margin-left: 12px;
}
