/*
 * appseo RWD website iweb24-style02
 * http://qqedm.com.tw
 *
 * Copyright 2015, Evelyn Wang
 * 
 * 
 * January 2015
 */
 
 
/* +book list
*----------------------------------------------------------------------------*/
.wrapper .container .content #album {
	margin: 40px 20px 20px;
	overflow: hidden;
}

.wrapper .container .content #album .album_box {
	width: 290px;
	overflow: hidden;
}

.wrapper .container .content #album .album_box .photo-wrap {
	margin: 10px;
	position: relative;
}

.wrapper .container .content #album .album_box .photo-wrap h3 {
	margin: 10px 0;
	text-align: center;
	font-size: 18px;
}

.wrapper .container .content #album .album_box .photo-wrap .photo-item {
	overflow: hidden;
	position: relative;
}

.wrapper .container .content #album .album_box .photo-wrap .photo-item img {
	width: 100%;
	opacity: 1;
	transition: all 0.4s ease-in-out 0s;
}

.wrapper .container .content #album .album_box .photo-wrap .photo-item:hover img {
	opacity: 0.4;
	-webkit-transform:scale(1.05);
	-moz-transform:scale(1.05);
	-o-transform:scale(1.05);
	transform:scale(1.05);
}

.wrapper .container .content #album .album_box .photo-wrap .photo-item .photo-group {
	width: 100%;
	height: 500px;
	position: absolute;
	top: 0;
}

.wrapper .container .content #album .album_box .photo-wrap .photo-item .photo-group a {
	display: block;
	text-indent: -999999px;
}

/* +photo article
*----------------------------------------------------------------------------*/
.wrapper .container .content #album-article {
	margin: 0 20px 20px;
	overflow: hidden;
	line-height: 170%;
	font-size: 16px;
}



/* + products
*----------------------------------------------------------------------------*/
#products ,
#products ul {
	overflow: hidden;
}

#products ul {
	margin: 10px 0;
}


#products ul li .info {
	position: absolute;
	width: 100%;
	/* height: 100%; */
	/* top: -5000px; */
	z-index: 10;
	/* background: rgba(37, 37, 37, 0.32); */
	display: none;
}

#products ul li .info .textItem {
	/* margin: 35% auto; */
	padding: 10px 0;
	width: 80%;
	background: rgba(255, 255, 255, 0.73);
}

#products ul li .info .textItem h3 ,
#products ul li .info .textItem p {
	overflow: hidden;
	text-align: center;
	color: #2B89DA;
	/* text-overflow: ellipsis; */
	/* display: -webkit-box; */
	/* -webkit-line-clamp: 1; */
	/* -webkit-box-orient: vertical; */
	/* max-height: 94px; */
	font-size: 14px;
	text-align: center;
}

#products ul li .info .textItem h3 a {
	color: #4e4e4e;
}

#products ul li .info .textItem h4 a {
	color: #fff;
}

#products ul li:hover .info {
	top: 0;
}

/* + a.photo
*----------------------------------------------------------------------------*/
a.photo {
	overflow: hidden;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: auto 100%;
	display: block;
	transition: all 0.4s ease-in-out 0s;
	color: #fff;
    font-size: 18px;
}

a.photo img {
	width: 100%;
}

a.photo:hover {
	background-size: auto 80%;
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
}
/* +ask
*----------------------------------------------------------------------------*/
.wrapper .container .content .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);
  }
}

.wrapper .container .content .content-main .ask a {
	padding: 10px 20px;
	display: inline-block;
	vertical-align: middle;
	background: #375A80;
	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;
}

.wrapper .container .content .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);
}

.wrapper .container .content .content-main .ask a:hover:before ,
.wrapper .container .content .content-main .ask a:focus:before ,
.wrapper .container .content .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;
}



/**********ÃƒÂ©Ã‚ÂÃ‚Â©ÃƒÂ¦Ã¢â‚¬Â¡Ã¢â‚¬Â°ÃƒÂ¦Ã¢â€šÂ¬Ã‚Â§**********/
/************************/
@media only screen and (min-width : 320px) {
	#products ul li {
	overflow: hidden;
	position: relative;
	margin: 10px 0 0px 2%;
	float: left;
	width: 47%;
	z-index: 1;
	height:220px;
}
a.photo {
	overflow: hidden;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	transition: all 0.4s ease-in-out 0s;
	color: #000;
	font-size: 18px;
}

}

@media only screen and (min-width :768px) {
#products ul li {
	overflow: hidden;
	position: relative;
	margin: 10px 0 10px 1%;
	float: left;
	width: 24%;
	z-index: 1;
	height: 265px;
}
a.photo {
	overflow: hidden;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: contain;
	/* background-color: #fff; */
	display: block;
	transition: all 0.4s ease-in-out 0s;
	color: #000;
	font-size: 18px;
	line-height: 150%;
	/* padding: 10px; */
}

}

@media only screen and (min-width : 1024px) {
	.wrapper .container .content #album-article {
		margin: 0 0 20px;
	}

}

@media only screen and (min-width : 1280px) {
	.wrapper .container .content #album {
		margin: 40px 0 20px;
	}
	
	.wrapper .container .content #album .album_box .photo-wrap h3 {
		color:#FFF
	}
	.wrapper .container .content #album-article {
		color: #FF3333;
	}
	
	.wrapper .container .content #album .album_box .photo-wrap .photo-item {
		background: #fff;
	}
}


