/*
 * 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(125, 167, 212, 0.6);
}

#products ul li .info .textItem {
	margin: 35% auto;
	padding: 10px 0;
	width: 50%;
	background: rgba(255, 255, 255, 0.5);
}

#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: 84px;
	font-size: 14px;
	text-align: center;
}

#products ul li .info .textItem h3 a {
	color: #008377;
}

#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 150%;
	-webkit-transform:scale(1.05);
	-moz-transform:scale(1.05);
	-o-transform:scale(1.05);
	transform:scale(1.05);
}


/**********適應性**********/
/************************/
@media only screen and (min-width : 320px) {
	#products ul li {
	overflow: hidden;
	position: relative;
	margin: 10px 0 0px 1%;
	float: left;
	width: 44%;
	z-index: 1;
	height:200px;
}
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: #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: auto 100%;
	display: block;
	transition: all 0.4s ease-in-out 0s;
	color: #fff;
    font-size: 18px;
}

}

@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;
	}
}


