/*
 * @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;
}



/* --- 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 .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 .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 .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: 10px;
}

.radio-right {
  right: 10px;
}

.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: 10px;
}

.handle-right {
  right: 10px;
  transform: translateY(-50%) rotate(180deg);
}

.swiper-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  transition: all .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 .4s ease;
  width: 520px;
}

.swiper-text h2 {
  margin-bottom: 30px;
}

.swiper-text p {
  line-height: 20px;
  opacity: .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%;
  background-color: #f7f8f9;
}

.graphic-text-list {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76%;
  transform: translate(-50%, -50%);
  transition: transform .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: 40px;
  left: 40px;
  max-width: 160px;
  border: 1px solid #ffffff99;
  padding: 5px 10px;
  text-align: center;
  color: #ffffffcc;
  transition: all .3s ease;
}



/*
 * @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: .4;
  pointer-events: none;
  transition: opacity .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: 40px;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  transition: transform .4s ease;
  width: 360px;
}

.banner-content .logo {
  width: 163px;
  height: 37px;
  margin-bottom: 60%;
}

.banner-content h2 {
  margin-bottom: 40px;
}

.banner-content p {
  line-height: 25px;
  opacity: .8;
}

.banner-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40%;
}

.banner-mark-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.banner-mark span {
  font-size: 14px;
}


/*
 * @class: icons
 * @description: icons img
*/
.icons {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  margin-top: 70px;
  padding: 0 10%;
}

.icons img {
  width: 100%;
  margin: auto;
}


/*
 * @class: information
 * @description: product information 
*/
.information {
  width: 100%;
  box-sizing: border-box;
  margin-top: 100px;
  padding: 0 10%;
}

.information h2 {
  margin-bottom: 40px;
  font-size: 18px;
  font-weight: bold;
}

.table {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.info-list:nth-child(1) {
  flex-grow: 1;
}

.info-item {
  width: 100%;
  line-height: 46px;
  box-sizing: border-box;
  border-bottom: 1px solid #dbdbdb;
  font-size: 14px;
}

.info-item::before {
  content: "·";
  margin-right: 10px;
  font-weight: bold;
}

.torment {
  position: absolute;
  left: 0;
}

/*
 * @class: material
 * @description: material comparison
*/
.material {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  padding: 0 10%;
  margin-top: 200px;
}

.comparison-img {
  width: 48%;
}

.comparison-img img {
  width: 100%;
}

.comparison-text {
  position: relative;
  width: 52%;
  background-color: #f7f8f9;
  overflow: hidden;
}

.comparison-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .3s ease;
  width: 75%;
}

.comparison-content h2 {
  margin-bottom: 40px;
  font-size: 22px;
}

.comparison-content p {
  line-height: 30px;
}


/*
 * @class: installation
 * @description: installation img
*/
.installation {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  padding: 0 10%;
  margin-top: 100px;
  background-color: #f7f8f9;
}

.installation h2 {
  margin-bottom: 100px;
}


.installation img {
  width: 100%;
  margin: auto;
}


/*
 * @class: exhibition
 * @description: 
*/
.exhibition {
  width: 100%;
  margin-top: 100px;
}

.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%;
  margin-top: 40px;
}

.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 .2s ease;
}

.exhibition-item:hover img {
  transform: scale(1.1);
}

/*
 * @description: Details page response style
 * @author: nanfs
 * @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(.4) translateY(-50%);
    transform-origin: top left;
  }

  .swiper-text h2 {
    margin-bottom: 10px;
  }

  .swiper-icon-wrap {
    margin-top: 20px;
  }

  .handle {
    width: 30px;
  }


  /* graphic */
  .graphic {
    flex-direction: column;
  }

  .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 {
    bottom: 30px;
    left: 30px;
    transform: scale(.6);
    transform-origin: left bottom;
  }

  /* thumbnail */
  .thumbnail {
    box-sizing: border-box;
    padding: 0 30px;
    margin-top: 0 !important;
  }

  .thumbnail-item {
    width: calc(100% / 5 - 5px);
  }


  /* banner */
  .banner-content {
    transform: scale(.4) translateY(-50%);
    transform-origin: left top;
  }

  .banner-content .logo {
    margin-bottom: 20%;
  }


  /* icons */
  .icons {
    margin: 40px 0;
  }


  /* information */
  .information {
    margin: 40px 0;
  }

  .information h2 {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .table {
    flex-direction: column;
  }

  .info-list li {
    line-height: 23px;
    font-size: 12px;
  }

  /* material */
  .material{
    flex-direction: column;
    margin-top: 100px;
  }

  .comparison-img {
    width: 100%;
  }

  .comparison-text {
    width: 100%;
  }

  .comparison-content {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 10px;
    transform: translate(0, 0);
  }
  
  .comparison-content h2 {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .comparison-content p {
    font-size: 14px;
    line-height: 20px;
  }


  /* installation */
  .installation {
    margin-top: 40px;
  }

  .installation h2 {
    margin-bottom: 40px;
    font-size: 20px;
  }


  /* 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;
  }
}

@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(.6) translateY(-50%);
    transform-origin: left top;
  }

  /* graphic */
  .graphic-text-list {
    width: 100%;
    transform: scale(.6) translate(-50%, -50%);
    transform-origin: left top;
  }

  /* banner */
  .banner-content {
    transform: scale(.6) translateY(-50%);
    transform-origin: left top;
  }

  .banner-content .logo {
    margin-bottom: 30%;
  }

  /* information */
  .table {
    flex-direction: column;
  }

  /* material */
  .comparison-content {
    width: 100%;
    transform: scale(.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(.8) translateY(-50%);
    transform-origin: left top;
  }

  /* graphic */
  .graphic-text-list {
    width: 100%;
    transform: scale(.8) translate(-50%, -50%);
    transform-origin: left top;
  }

  /* banner */
  .banner-content {
    transform: scale(.8) translateY(-50%);
    transform-origin: left top;
  }

  .banner-content .logo {
    margin-bottom: 40%;
  }

  /* information */
  .table {
    flex-direction: column;
  }

  /* material */
  .comparison-content {
    transform: scale(.8) translate(-50%, -50%);
    transform-origin: left top;
  }

  /* exhibition */
  .exhibition-item {
    width: calc(100% / 5 - 20px);
    margin-top: 20px;
  }

}

@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: 50%;
  }

  /* information */
  .table {
    flex-direction: row;
  }

  .comparison-content {
    width: 70%;
    transform: translate(-50%, -50%);
  }
}