/* Flickity
------------------------- */

.flickity-enabled { position: relative;}
.flickity-enabled:focus { outline: none; }
.flickity-viewport {
  overflow: hidden;
  position: relative;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.flickity-slider {
  position: absolute;
  width: 100%;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: white;
  background: hsla(0, 0%, 100%, 0.75);
  cursor: pointer;
  /* vertically center */
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flickity-prev-next-button.previous {left:3%;}
.flickity-prev-next-button.next {right:3%;}

.flickity-prev-next-button:disabled {
  opacity: 0.3;
  cursor: auto;
}

.flickity-prev-next-button svg {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.flickity-prev-next-button .arrow {
  fill: #333;
}

/* color & size if no SVG - IE8 and Android 2.3 */
.flickity-prev-next-button.no-svg {
  color: #333;
  font-size: 26px;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 10px;
  left:10%;
  top:33%;
  padding: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-page-dots .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-top:20px;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected { opacity: 1;  width: 10px;  height: 10px; }

/* ---- content ---- */

.content-wrap {
  width:80%;
  margin: 0 auto;
  padding: 0 10px;
  top:28%;
  position: relative;
}


/* hero-gallery
------------------------- */

.banner{width: 100%;
  height: 100vh;}
.hero-gallery__cell {
  width: 100%;
  height: 100vh;
  color: white; 
  background-repeat: no-repeat; /* 不重复背景图片 */  
  background-position: center; /* 将背景图片居中显示 */  
  background-size: auto; /* 自动调整背景图片大小以适应容器宽度 */  
}
.hero-gallery h1 {
  width:80%;
  font-size:10rem;
  padding-left:80px;
  line-height: 14rem;
  word-break: keep-all; 
  margin: 0;
}
.hero-gallery .tagline {
  font-size:3.6rem;
  padding-left:80px;
  padding-top:10px;
  margin: 0;
}



 /* ---- big-links ---- */

 .big-links__item {
  float: left;
  width: 49%;
  font-size: 1.4em;
}

.big-links__item a {
  padding: 20px;
}

.big-links__item:nth-child(2n+1) { margin-right: 2%; }

/* ---- example ---- */

.example__code,
.example__demo {
  float: left;
  width: 48%;
}
.example__code { margin-right: 4%; }

.media-queried .gallery-cell { width: 49%; }

.gallery--watch-demo:after {
  content: '';
}

.gallery--watch-demo .gallery-cell {
  margin-bottom: 10px;
}

.gallery--images-demo img {
  height: 400px;
}


.other-products__cell {
  float: left;
  width: 49%;
}

.other-products__cell:nth-child(2n+1) { margin-right: 2%; }



/* media query
------------------------- */
@media screen and (max-width:1366px) {
	.hero-gallery h1 {
    font-size:8rem;line-height: 12rem;
  }
  .hero-gallery .tagline {
    font-size:3rem;
  }
	
}
@media screen and (max-width:1000px) {
  .content-wrap{width:92%;}.flickity-page-dots{left:4%;}.hero-gallery h1,.hero-gallery .tagline{padding-left:28px;}
.hero-gallery h1{font-size:6rem;line-height: 8rem;width: 82%;}
.hero-gallery .tagline{1.6rem;}
	.hero-gallery__cell {height:480px;}
	.banner-inc{bottom:auto;top:400px}

}
@media screen and ( max-width:750px) {

  /* ---- hero gallery ---- */

.content-wrap{width:98%;}
  .hero-gallery h1 {
    font-size:5rem;line-height:7rem;width: 85%;
  }
  .hero-gallery .tagline {
    font-size:1.6rem;
  }
	.hero-gallery__cell {height:450px;}
	.banner-inc{bottom:auto;top:370px}

}
@media screen and ( max-width:500px ) {

  .hero-gallery h1 {
    font-size:4.5rem;line-height:7rem;width: 88%;
  }
  .hero-gallery .tagline {
    font-size:1.5rem;
  }
	.hero-gallery__cell {height:450px;}
	.banner-inc{bottom:auto;top:370px}

}
	



