/*
 * @description: Details page style - common
 * @author: tynanfs
 * @date: 2020-08-12 11:18:06
 * @version v1.0.0
*/

/* --- format --- */
body,
html {
  margin: 0;
  font-family: 'Helvetica Neue', Verdana, sans-serif;
  color: #333;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: normal;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 24px;
}

p {
  margin: 0;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: #333;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* --- predefined class --- */
.color-w {
  color: #fff !important;
}

.fa-xin {
  width: 400px !important;
}

/* --- module --- */
/*
 * @class: nav
 * @description: nav menu
*/
.menu {
  display: block;
  width: 100%;
}

.menu-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  box-sizing: border-box;
  border-radius: 0 0 5px 5px;
  padding: 20px 10px;
  background-color: #5c787c;
}

.menu-item a {
  display: flex;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.menu-item a:hover {
  color: #fff;
}

.mobile-menu {
  display: none;
  z-index: 9;
  position: relative;
  width: 100%;
  height: 50px;
  background: #5c787c;
}

.mobile-menu input {
  display: none;
}

.mobile-menu label {
  user-select: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  transition: color 0.2s ease;
}

.mobile-menu:hover label {
  color: rgba(255, 255, 255, 1);
}

.mobile-menu-list {
  position: absolute;
  top: 50px;
  left: 0;
  pointer-events: none;
  opacity: 0;
  flex-direction: column;
  width: 100%;
  background: #6a878b;
  transform: translateY(20px);
  transition: all 0.2s ease;
}

.mobile-menu input:checked ~ .mobile-menu-list {
  display: flex;
  pointer-events: visible;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-item {
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  padding: 5px 0;
}

.mobile-menu-item a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
}

.mobile-menu-item:hover {
  background: #628085;
}

.mobile-menu-item:hover::before {
  background: #517379;
}

.mobile-menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  width: 4px;
  height: 100%;
}

/*
 * @class: top swiper
 * @description: swiper
*/
.top-swiper {
  width: 100%;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.radio {
  cursor: pointer;
  z-index: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  width: 50px;
  height: 50px;
  opacity: 0;
}

.radio-left {
  left: 0;
}

.radio-right {
  right: 0;
}

.radio-right:checked ~ .swiper-wrapper {
  transform: translateX(-100%);
}

.radio-right:checked ~ .handle-right {
  display: none;
}

.radio-right:checked ~ .handle-left {
  display: block;
}

.handle {
  pointer-events: none;
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  width: 50px;
}

.handle-left {
  display: none;
  left: 1%;
}

.handle-right {
  right: 1%;
  transform: translateY(-50%) rotate(180deg);
}

.swiper-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  transition: all 0.4s ease;
}

.swiper-slide {
  position: relative;
  display: flex;
  flex-shrink: 0;
  width: 100%;
}

.swiper-slide img {
  display: flex;
  width: 100%;
  height: auto;
}

.swiper-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  transition: transform 0.4s ease;
  width: 520px;
}

.swiper-text h2 {
  margin-bottom: 30px;
}

.swiper-text p {
  line-height: 20px;
  opacity: 0.8;
}

.swiper-icon-wrap {
  display: flex;
  margin-top: 65px;
}

.swiper-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 40px;
}

.swiper-icon img {
  width: 37px;
  height: 37px;
}

.swiper-icon span {
  margin-top: 15px;
  font-size: 12px;
}

/*
 * @class: graphic
 * @description: big swiper
*/
.graphic {
  display: flex;
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.graphic-wrapper {
  overflow: hidden;
}

.wrapper-img {
  display: flex;
  width: 55%;
}

.graphic-slide {
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.graphic-slide img {
  width: 100%;
  height: auto;
}

.wrapper-text {
  position: relative;
  display: flex;
  width: 45%;
}

.graphic-text-list {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76%;
  transform: translate(-50%, -50%);
  transition: transform 0.4s ease;
}

.graphic-text-list h2 {
  margin-bottom: 30px;
}

.graphic-text-list li {
  margin-left: 20px;
  list-style: disc;
  line-height: 28px;
}

.graphic-slide span {
  position: absolute;
  /*bottom: 10%;
  left: 8%;*/
  max-width: 160px;
  border: 1px solid #ffffff99;
  padding: 5px 10px;
  text-align: center;
  color: #ffffffcc;
}
.graphic-slide .l2 {
  top: 86%;
  left: 71%;
}
.graphic-slide .l3 {
  top: 84%;
  left: 67%;
  border: solid 1px #fff;
  color: #fff;
}
.graphic-slide .l4 {
  top: 88%;
  left: 8%;
}
.graphic-slide .l5 {
  top: 82%;
  left: 8%;
}

/*
 * @class: thumbnail
 * @description: thumbnail
*/
.thumbnail {
  margin-top: 20px;
}

.thumbnail,
.thumbnail-list,
.thumbnail-item img {
  width: 100%;
}

.thumbnail-list {
  display: flex;
  justify-content: space-between;
}

.thumbnail-item {
  display: flex;
  position: relative;
  width: calc(100% / 5 - 20px);
}

.thumbnail-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  background-color: #222;
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.thumbnail-item:hover::before {
  opacity: 0;
}

.thumbnail-item a {
  display: flex;
}

/*
 * @class: banner
 * @description: banner img
*/
.banner,
.banner > img {
  width: 100%;
}

.banner {
  position: relative;
  margin-top: 10px;
}

.banner-content {
  position: absolute;
  top: 39%;
  left: 8%;
  transform: translateY(-50%);
  transition: transform 0.4s ease;
  width: 360px;
}
p.banner_1_p1 {
  margin-bottom: 47%;
}
.banner-content .logo {
  width: 163px;
  height: 37px;
  margin-bottom: 60%;
}

.banner-content h2 {
  margin-bottom: 40px;
}

.banner-content p {
  line-height: 25px;
  opacity: 0.8;
}

.banner-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20%;
}

.banner-mark-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.banner-mark span {
  max-width: 120px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

/*
 * @class: exhibition
 * @description:
*/
.exhibition {
  width: 100%;
  margin: 50px 0;
}

.exhibition-title {
  display: inline-flex;
  padding: 10px 120px 10px 40px;
  border-radius: 0 8px 8px 0;
  background-color: #5c787c;
  color: #fff;
}

.exhibition-wrapper {
  width: 100%;
}

.exhibition-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.exhibition-item {
  cursor: pointer;
  display: flex;
  width: calc(100% / 5 - 20px);
  border-radius: 10px;
  overflow: hidden;
}

.exhibition-item img {
  width: 100%;
  height: auto;
  transition: all 0.2s ease;
}

.exhibition-item:hover img {
  transform: scale(1.1);
}

/*
 * @class: dimension
 * @description: dimension img
*/
.dimension,
.dimension img {
  display: flex;
  width: 100%;
}

.dimension-wrap {
  position: relative;
  width: 50%;
}

.dimension-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
  width: 80%;
}

.dimension-content h2 {
  margin-bottom: 40px;
}

.dimension-content-list {
  line-height: 35px;
}

.dimension-content-list li::before {
  content: '·';
  margin-right: 5px;
  font-weight: bold;
}

/* category */
.category h2 {
  margin: 42px 0;
  text-align: center;
}

.category-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% / 3);
  max-width: 460px;
}

.category-item img {
  width: 100%;
}

.category-item span {
  margin: 20px;
  font-size: 20px;
}

/*
 * @description: Details page response style
 * @author: tynanfs
 * @date: 2020-08-12 11:18:06
 * @version v1.0.0
*/

/* --- mobile adaptation --- */

@media screen and (max-width: 768px) {
  /* nav */
  .menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  /* top swiper */
  .top-swiper {
    margin-top: 0 !important;
  }

  .swiper-text {
    transform: scale(0.4) translateY(-50%);
    transform-origin: top left;
  }

  .swiper-text h2 {
    margin-bottom: 10px;
  }

  .swiper-icon-wrap {
    margin-top: 40px;
  }

  .handle {
    width: 30px;
  }

  /* graphic */
  .graphic {
    flex-direction: column;
    margin-top: 10px;
  }

  .wrapper-img {
    width: 100%;
  }

  .wrapper-text {
    width: 100%;
  }

  .graphic-text-list {
    position: relative;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    padding: 20px 10px;
  }

  .graphic-text-list h2 {
    margin-bottom: 10px;
    margin-left: 20px;
    font-size: 20px;
  }

  .graphic-text-list li {
    line-height: 20px;
    font-size: 14px;
  }

  .graphic-slide span {
    transform: scale(0.6);
    transform-origin: left bottom;
  }

  .graphic-slide .l2 {
    top: 77%;
    left: 8%;
  }
  .graphic-slide .l3 {
    top: 80%;
    left: 68%;
    border: solid 1px #fff;
    color: #fff;
    width: 50%;
  }
  .graphic-slide .l4 {
    top: 82%;
    left: 8%;
  }
  .graphic-slide .l5 {
    top: 78%;
    left: 3%;
    border: solid 1px #000;
    color: #000;
  }

  .pos-right span {
    left: 50% !important;
    transform: scale(0.6) translateX(40%) !important;
  }

  /* thumbnail */
  .thumbnail {
    box-sizing: border-box;
    padding: 0 30px;
    margin-top: 0 !important;
  }

  .thumbnail-item {
    width: calc(100% / 5 - 5px);
  }

  /* banner */
  .banner {
    margin: 10px 0;
  }

  .banner-content {
    transform: scale(0.4) translateY(-50%);
    transform-origin: left top;
    left: 5%;
  }

  .banner-content .logo {
    margin-bottom: 20%;
  }

  /* exhibition */
  .exhibition-title {
    padding: 10px 40px 10px 20px;
    font-size: 20px;
  }

  .exhibition-wrapper {
    margin-top: 0px;
    box-sizing: border-box;
    padding: 0 10px;
  }

  .exhibition-item {
    width: calc(100% / 2 - 5px);
    margin-top: 10px;
  }

  /* dimension */
  .dimension {
    flex-direction: column;
  }

  .dimension-wrap {
    width: 100%;
  }

  .dimension-content {
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0, 0);
    margin: auto;
  }

  .dimension-content h2 {
    margin-bottom: 20px;
    font-size: 20px;
  }

  .dimension-content-list {
    font-size: 14px;
    line-height: 25px;
  }

  /* category */
  .category {
    padding: 0 10px;
  }

  .category h2 {
    font-size: 20px;
  }
}

@media screen and (min-width: 768px) {
  /* nav */
  .menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  /* top swiper */
  .top-swiper {
    margin-top: 0 !important;
  }

  .swiper-text {
    transform: scale(0.6) translateY(-50%);
    transform-origin: left top;
  }

  /* graphic */
  .graphic-text-list {
    width: 100%;
    transform: scale(0.6) translate(-50%, -50%);
    transform-origin: left top;
  }

  /* banner */
  .banner-content {
    transform: scale(0.6) translateY(-50%);
    transform-origin: left top;
  }

  .banner-content .logo {
    margin-bottom: 30%;
  }

  /* dimension */
  .dimension-content {
    transform: scale(0.6) translate(-50%, -50%);
    transform-origin: left top;
  }
}

@media screen and (min-width: 998px) {
  /* nav */
  .menu {
    display: block;
  }

  .mobile-menu {
    display: none;
  }

  /* top swiper */
  .top-swiper {
    margin-top: 20px !important;
  }

  .swiper-text {
    transform: scale(0.8) translateY(-50%);
    transform-origin: left top;
  }

  /* graphic */
  .graphic-text-list {
    width: 100%;
    transform: scale(0.8) translate(-50%, -50%);
    transform-origin: left top;
  }

  /* banner */
  .banner-content {
    transform: scale(0.8) translateY(-50%);
    transform-origin: left top;
  }

  .banner-content .logo {
    margin-bottom: 40%;
  }

  /* exhibition */
  .exhibition-item {
    width: calc(100% / 5 - 20px);
    margin-top: 20px;
  }

  /* dimension */
  .dimension-content {
    transform: scale(0.8) translate(-50%, -50%);
    transform-origin: left top;
  }
}

@media screen and (min-width: 1200px) {
  /* top swiper */
  .top-swiper {
    margin-top: 20px !important;
  }

  .swiper-text {
    transform: translateY(-50%);
  }

  /* graphic */
  .graphic-text-list {
    width: 76%;
    transform: translate(-50%, -50%);
  }

  /* banner */
  .banner-content {
    transform: translateY(-50%);
  }

  .banner-content .logo {
    margin-bottom: 20%;
  }

  /* dimension */
  .dimension-content {
    transform: translate(-50%, -50%);
  }
}
