/* hardware accelatator class */
.trans3d {
  -webkit-transform-style: preserve-3d;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform-style: preserve-3d;
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform-style: preserve-3d;
  -ms-transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  transform: translate3d(0, 0, 0);
}

#contentContainer {
  position: absolute;
  margin-top: -290px;
  left: 0px;
  top: 50%;
  width: 100%;
  height: 1000px;
  transform: rotateX(-21deg);
  z-index: 0;
}

#carouselContainer {
  position: absolute;
  margin-top: -500px;
  left: 0px;
  top: 50%;
  width: 100%;
  height: 1000px;
}

.carouselItem {
  width: 320px;
  height: 130px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -160px;
  margin-top: -90px;
  visibility: hidden;
  transform-style: preserve-3d;
}
.carouselItem:after {
  display: block;
  width: 100%;
  height: 25px;
  content: "";
  background: #b4b4b4;
  position: absolute;
  top: 65%;
  transform: rotateX(20deg) translateY(-19px);
}
.carouselItem.active:after {
  background: #D6001C;
  opacity: 0.5;
}

.carouselItemInner {
  width: 320px;
  height: 130px;
  position: absolute;
  color: #4A4F55;
  left: 50%;
  top: 40%;
  margin-left: -160px;
  margin-top: -90px;
  text-align: center;
  padding-top: 50px;
  z-index: 2;
  font-size: 128px;
  font-weight: 600;
}

.history {
  height: calc(100vh - 160px);
  background: url(../images/img/bg.jpg) no-repeat center 75%;
  background-size: 120% auto;
}
.history .contentArea {
  text-align: center;
  position: relative;
  z-index: 1;
}
.history .contentArea .item a {
  display: block;
  color: #4A4F55;
}
.history .contentArea .item a span {
  display: block;
  font-size: 20px;
  font-weight: 400;
  color: #4A4F55;
  margin-bottom: 20px;
}
.history .contentArea .item a small {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
}
.history .contentArea .item a small i {
  width: 35px;
  height: 1px;
  background-color: #4A4F55;
  margin-left: 20px;
  display: inline-block;
}
.history .nav {
  display: flex;
  position: absolute;
  left: 0px;
  bottom: 75px;
  width: 100%;
  justify-content: center;
}
.history .nav a {
  display: inline-block;
}
.history .nav a i {
  position: relative;
  width: 85px;
  height: 2px;
  background-color: #4A4F55;
  display: inline-block;
  margin-right: 50px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.history .nav a i:before {
  content: "";
  position: absolute;
  width: 45px;
  height: 2px;
  background-color: #4A4F55;
  transform: rotate(-40deg);
  left: -5px;
  bottom: 14px;
}
.history .nav a i:after {
  content: "";
  position: absolute;
  width: 45px;
  height: 2px;
  background-color: #4A4F55;
  transform: rotate(40deg);
  left: -5px;
  top: 14px;
}
.history .nav a.next i {
  margin-right: 0;
}
.history .nav a.next i:before {
  right: -5px;
  left: auto;
  transform: rotate(40deg);
}
.history .nav a.next i:after {
  right: -5px;
  left: auto;
  transform: rotate(-40deg);
}

.fancybox-content {
  padding: 0 !important;
  width: 1046px;
  border-radius: 1rem;
  overflow: hidden;
  margin-top: -120px !important;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.fancybox-bg {
  background: transparent !important;
}

.fancybox-slide--html .fancybox-close-small {
  right: auto !important;
  left: 50px;
  top: 50px !important;
}

.popupWrapper {
  display: flex;
}
.popupWrapper .left {
  width: 50%;
  display: flex;
  flex-direction: column;
  padding: 0 100px;
  justify-content: center;
}
.popupWrapper .left span {
  font-weight: 500;
  font-size: 40px;
  display: block;
  margin-bottom: 15px;
}
.popupWrapper .left p {
  font-weight: 500;
  font-size: 19px;
}
.popupWrapper .right {
  width: 50%;
}
.popupWrapper .right img {
  display: block;
  width: 100%;
}