/*
 * w417 - cc-design iweb51-style04
 * http://www.cc-design.com.tw/
 *
 * Copyright 2015, 
 * 
 * 
 * 2015 / 8
 */


/**
*
* =album
*
**/

#album h2 {
    display: none;
}

#album ul {
    overflow: hidden;
}

#album ul li {
    float: left;
	margin: 10px 1%;
	width: 23%;
}

#album ul li .photoImg {
	border: 1px #E2E2E2 solid;
}

#album ul li .photoImg:hover {
	border: 1px #000 solid;
}

#album ul li h3 {
    display: block;
    overflow: hidden;
    height: 35px;
    line-height: 35px;
    color: #a0a0a0;
    font-weight: normal;
    font-size: 19px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#album ul li .desc {
    overflow: hidden;
    height: 60px;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;	
    color: #a0a0a0;
    font-size: 11px;
    line-height: 20px;
}

/**
*
* =album-detail
*
**/

.album-bg {
    position: fixed;
    -webkit-transform: translateZ(0);
    z-index: 1;
    width: 100%;
    height: 100%;
}

.album-bg > li {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    margin: 0px;
    background: center center no-repeat;
    background-size: cover;
    
}


/* +products article
*----------------------------------------------------------------------------*/
#products {
	position: relative;
}

#products .photoView {
	margin-bottom: 15px;
	width: 100%;
}

#products .photoView .photo {
	text-align: center;
}

#products .photoView .photo img {
	max-width: 100%;
	max-height: 713px;
}

#products .subphto {
	margin-bottom: 25px;
}

#products .subphto ul ,
.others ul {
	overflow: hidden;
}

#products .subphto ul li ,
.others ul li {
	margin-right: 1%;
	width: 15.5%;
	float: left;
}

.others ul li h3 {
	border-bottom: 0;
}

#products .subphto ul li img ,
.others ul li img {
	width: 100%;
}

#products .subphto ul li:last-child ,
.others ul li:last-child {
	margin: 0;
}

#products .orderfunction p {
	margin: 10px 0;
}

#products .orderfunction p label {
	margin: 0 10px 0 0;
	width: 120px;
	display: inline-block;
	font-size: 15px;
	text-align: right;
}

#products .orderfunction p input {
	overflow: hidden;
	padding: 5px 0;
	border: 1px #ccc solid;
}

#products .orderfunction p input#q {
	width: 100px;
}

#products .orderfunction p strong {
	font-size: 20px;
	color: #F00;
}

#products .orderfunction p input#buy {
	margin: 0 10px;
	padding: 5px 10px;
	background: #FF0000;
	color: #fff;
	border: 0;
	opacity: 0.8;
}

#products .orderfunction p input#buy:hover {
	opacity: 1;
}

#products .pro-article {
	overflow: hidden;
	position: relative;
}

#products .pro-article ul.tabs {
	width: 100%;
	height: 30px;
	border-bottom: 1px #444 solid;
	overflow: visible;;
}

#products .pro-article ul.tabs li {
	margin: 0 3px -1px 0;
	height: 29px;
	border: 1px #666666 solid;
	border-bottom: 1px #444 solid;
	float: left;
	overflow: hidden;
	position: relative;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

#products .pro-article ul.tabs li a {
	padding: 0 10px;
	height: 29px;
	display: block;
	text-align: center;
	line-height: 35px;
	font-size: 14px;
	color: #e49d61;
}

#products .pro-article ul.tabs li.active {
	border: 1px #444 solid;
	border-bottom: 1px #fff solid;
}

#products .pro-article ul.tabs li.active a {
	color: #000;
	font-weight: bold;
}

#products .pro-article .tab_container {
	clear: left;
	margin: 15px 0 0;
	width: 100%;
	background-image: url(../images/QQ20170426.png)
}

#products .pro-article .tab_container .tab_content {
	margin: 0 10px;
	line-height: 170%;
	font-size: 16px;
}

#products .pro-article .tab_container #tab2 ,
#products .pro-article .tab_container #tab3 {
	display: none;
}


/* +ask
*----------------------------------------------------------------------------*/
#content-main .ask {
	overflow: hidden;
	text-align: right;
}

@-webkit-keyframes hvr-icon-wobble-horizontal {
  16.65% {
    -webkit-transform: translateX(6px);
    transform: translateX(6px);
  }

  33.3% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }

  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }

  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }

  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes hvr-icon-wobble-horizontal {
  16.65% {
    -webkit-transform: translateX(6px);
    transform: translateX(6px);
  }

  33.3% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }

  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }

  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }

  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

#content-main .ask a {
	padding: 10px 20px;
	display: inline-block;
	vertical-align: middle;
	background: #e49d61;
	color: #fff;
	font-size: 18px;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	padding-right: 2.2em;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

#content-main .ask a:before {
	content: url(../images/ask.png);
	position: absolute;
	right: 1em;
	padding: 1px 1px 0;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

#content-main .ask a:hover:before ,
#content-main .ask a:focus:before ,
#content-main .ask a:active:before {
	-webkit-animation-name: hvr-icon-wobble-horizontal;
	animation-name: hvr-icon-wobble-horizontal;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
	-webkit-animation-iteration-count: 1;
	animation-iteration-count: 1;
}


/* + others
*----------------------------------------------------------------------------*/
.others {
	margin: 10px 0;
}

/* +width:1920 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1920px) {
	.others ul li .view {
		overflow: hidden;
		height: 200px;
	}
}


/* +width:1024 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
	.album-detail {
		left: 125px;
	}
}

/* +width:768 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	.others ul li {
		width: 300px;
	}
	
	.album-detail {
		left: 80px;
	}
	.others ul li .view {
		height: 200px;
	}
}


/* +width:640↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 640px) {
	#album ul li {
		width: 48%;
	}
	.album-detail {
		left: 145px;
	}
	.others ul li {
		width: 280px;
	}
}


/* +width:480 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {
	.album-detail {
		left: 65px;
	}
	.others ul li {
		width: 200px;
	}
	.others ul li .view {
		height: 150px;
	}
}


/* +width:360 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 360px) {
	#album ul li {
		width: 100%;
		margin-left: 0;
	}
	
	.album-detail {
		left: 0;
	}
	.others ul li {
		width: 100%;
	}
	.others ul li .view {
		height: 150px;
	}
}
