/*
 * iweb51-style04
 *
 * Copyright 2015, TANK
 * 
 * 
 * 2015 / 6 / 30
 */
 
 
/* +book list
*----------------------------------------------------------------------------*/
.wrapper section #album {
	overflow: hidden;
}

.wrapper section #album .photoItem {
	overflow: hidden;
	margin: 10px;
	float: left;
	width: 46%;
	height: 285px;
}

.wrapper section #album .photoItem a.thumbnail {
	display: block;
	padding: 4px;
	margin-bottom: 20px;
	line-height: 1.42857143;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	-webkit-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out
}

.wrapper section #album .photoItem a.thumbnail .holder {
	position: relative;
	height: 100%;
	width: 100%;
}

.wrapper section #album .photoItem a.thumbnail .holder .info {
	position: absolute;
	display: block;
	width: 100%;
	left: 0;
	bottom: 0;
	padding: 5px;
	background: none repeat scroll 0 0 rgba(0,0,0,.4);
	z-index: 20;
}

.wrapper section #album .photoItem a.thumbnail .holder .info h4 {
	width: 100%;
	display: inline-block;
	margin: 0 0 10px;
	color: #fff;
	font-size: 15px;
	line-height: 17px;
	text-transform: uppercase;
}

.wrapper section #album .photoItem a.thumbnail .holder .info span {
	background-color: #1DCAD1;
	color: #fff;
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	-ms-transition: all 200ms ease;
	transition: all 200ms ease;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	display: block;
	width: 100%;
	padding: 6px 15px;
	text-align: center;	
}

.wrapper section #album .photoItem a.thumbnail .holder .img-grid {
	overflow: hidden;
	position: relative;
	z-index: 1;
}

.wrapper section #album .photoItem a.thumbnail .holder .img-grid img {
	width: 100%;
	height: 275px;
	-webkit-transition: all 350ms ease;
	-moz-transition: all 350ms ease;
	-o-transition: all 350ms ease;
	-ms-transition: all 350ms ease;
	transition: all 350ms ease
}

.wrapper section #album .photoItem a.thumbnail:hover .holder .img-grid img {
	transform: scale(1.1);
}


/* +photo article
*----------------------------------------------------------------------------*/
.wrapper .container .content-wrap .content-main section #album-article {
	margin: 0 20px 20px;
	overflow: hidden;
	line-height: 170%;
	font-size: 16px;
}


/**********適應性**********/
/************************/
@media only screen and (min-width : 320px) and (max-width : 640px) {
	.wrapper section #album .photoItem {
		width: 90%;
	}
}

@media only screen and (min-width : 768px) {
	.wrapper section #album .photoItem {
		width: 40%;
	}
}

@media only screen and (min-width : 1024px) {
	.wrapper .container .content-wrap .content-main section #album-article {
		margin: 0 0 20px;
	}
}

@media only screen and (min-width : 1280px) {
	.wrapper .container .content-wrap .content-main section #album {
		margin: 40px 0 20px;
	}
	.wrapper .container .content-wrap .content-main section #album .album_box .photo-wrap .photo-item {
		background: #fff;
	}
}