/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::after, *::before {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
	font-size: 1.6rem;
	font-family: "Lato", sans-serif;
	color: #999999;
	background-color: #FFFFFF;
}

a {
  color: #b54240;
  text-decoration: none;
}

img {
  max-width: 100%;
}

header {
  position: relative;
}
header h1 {
	text-align: center;
	/* [disabled]padding: 2em 5%; */
	/* [disabled]font-size: 2rem; */
}
@media only screen and (min-width: 768px) {
  header h1 {
	/* [disabled]font-size: 3rem; */
	/* [disabled]padding: 3em 5% 1em; */
  }
}
@media only screen and (min-width: 1170px) {
  header h1 {
	/* [disabled]font-weight: 300; */
	/* [disabled]padding: 3em 5% 0; */
  }
}

/* -------------------------------- 

Main Components 

-------------------------------- */
.cd-product-viewer-wrapper {
	text-align: center;
}
.cd-product-viewer-wrapper > div {
  display: inline-block;
}
.cd-product-viewer-wrapper .product-viewer {
  position: relative;
  z-index: 1;
  display: inline-block;
  overflow: hidden;
}
.cd-product-viewer-wrapper img {
  /* this is the image visible before the image sprite is loaded */
  display: block;
  position: relative;
  z-index: 1;
}
.cd-product-viewer-wrapper .product-sprite {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	height: 100%;
	/* our image sprite is composed by 16 frames */
  width: 3900%;
	background: url(../img/benq-img-sprite.png) no-repeat center center;
	background-size: 100%;
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	-moz-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
.cd-product-viewer-wrapper.loaded .product-sprite {
  /* image sprite has been loaded */
  opacity: 1;
  cursor: ew-resize;
}

.cd-product-viewer-handle {
	position: relative;
	z-index: 2;
	width: 60%;
	max-width: 300px;
	border-radius: 50em;
	height: 4px;
	background: #4d4d4d;
	margin-top: 2em;
	margin-right: auto;
	margin-bottom: 0em;
	margin-left: auto;
	background-color: #777777;
}
.cd-product-viewer-handle .fill {
	/* this is used to create the loading fill effect */
  position: absolute;
	z-index: 1;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	border-radius: inherit;
	background: #b54240;
	-webkit-transform: scaleX(0);
	-moz-transform: scaleX(0);
	-ms-transform: scaleX(0);
	-o-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-ms-transform-origin: left center;
	-o-transform-origin: left center;
	transform-origin: left center;
	-webkit-transition: -webkit-transform 0.5s;
	-moz-transition: -moz-transform 0.5s;
	transition: transform 0.5s;
	background-color: #0086cc;
}
.no-csstransitions .cd-product-viewer-handle .fill {
  display: none;
}
.loaded .cd-product-viewer-handle .fill {
  /* image sprite has been loaded */
  opacity: 0;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.2s 0.3s;
  -moz-transition: -moz-transform 0.3s, opacity 0.2s 0.3s;
  transition: transform 0.3s, opacity 0.2s 0.3s;
}
.cd-product-viewer-handle .handle {
	position: absolute;
	z-index: 2;
	display: inline-block;
	height: 24px;
	width: 24px;
	left: 0;
	top: -10px;
	background: #b54240  no-repeat center center;
	border-radius: 50%;
	box-shadow: 0 0 0 6px rgba(0, 134, 204, 0.3), 0 0 20px rgba(0, 0, 0, 0.2);
	/* replace text with image */
  text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	color: transparent;
	-webkit-transform: translateX(-50%) scale(0);
	-moz-transform: translateX(-50%) scale(0);
	-ms-transform: translateX(-50%) scale(0);
	-o-transform: translateX(-50%) scale(0);
	transform: translateX(-50%) scale(0);
	-webkit-transition: box-shadow 0.2s;
	-moz-transition: box-shadow 0.2s;
	transition: box-shadow 0.2s;
	background-color: #0086cc;
}
.cd-product-viewer-handle .handle:active {
  box-shadow: 0 0 0 0 rgba(0, 134, 204, 0), 0 0 20px rgba(0, 0, 0, 0.2);
}
.loaded .cd-product-viewer-handle .handle {
  /* image sprite has been loaded */
  -webkit-transform: translateX(-50%) scale(1);
  -moz-transform: translateX(-50%) scale(1);
  -ms-transform: translateX(-50%) scale(1);
  -o-transform: translateX(-50%) scale(1);
  transform: translateX(-50%) scale(1);
  -webkit-animation: cd-bounce 0.3s 0.3s;
  -moz-animation: cd-bounce 0.3s 0.3s;
  animation: cd-bounce 0.3s 0.3s;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  animation-fill-mode: both;
  cursor: ew-resize;
}

@-webkit-keyframes cd-bounce {
  0% {
    -webkit-transform: translateX(-50%) scale(0);
  }
  60% {
    -webkit-transform: translateX(-50%) scale(1.1);
  }
  100% {
    -webkit-transform: translateX(-50%) scale(1);
  }
}
@-moz-keyframes cd-bounce {
  0% {
    -moz-transform: translateX(-50%) scale(0);
  }
  60% {
    -moz-transform: translateX(-50%) scale(1.1);
  }
  100% {
    -moz-transform: translateX(-50%) scale(1);
  }
}
@keyframes cd-bounce {
  0% {
    -webkit-transform: translateX(-50%) scale(0);
    -moz-transform: translateX(-50%) scale(0);
    -ms-transform: translateX(-50%) scale(0);
    -o-transform: translateX(-50%) scale(0);
    transform: translateX(-50%) scale(0);
  }
  60% {
    -webkit-transform: translateX(-50%) scale(1.1);
    -moz-transform: translateX(-50%) scale(1.1);
    -ms-transform: translateX(-50%) scale(1.1);
    -o-transform: translateX(-50%) scale(1.1);
    transform: translateX(-50%) scale(1.1);
  }
  100% {
    -webkit-transform: translateX(-50%) scale(1);
    -moz-transform: translateX(-50%) scale(1);
    -ms-transform: translateX(-50%) scale(1);
    -o-transform: translateX(-50%) scale(1);
    transform: translateX(-50%) scale(1);
  }
}
#cursor_hint {
	font-family: "微軟正黑體", Arial, sans-serif;
	font-size: 12px;
	color: #333;
	background-color: #FF9;
	position: absolute;
	height: 20px;
	width: 170px;
	left: 0px;
	top: 0px;
	z-index: 10000;
	line-height: 20px;
}
#cursor_hint2 {
	font-family: "微軟正黑體", Arial, sans-serif;
	font-size: 16px;
	color: #333;
	/* [disabled]background-color: #FF9; */
	position: absolute;
	height: 20px;
	width: 300px;
	left: 0px;
	top: 30px;
	z-index: 10000;
	line-height: 20px;
	font-weight: bold;
	text-align: center;
}
