/*
 * iweb51-style09
 *
 * Copyright 2015, TANK
 * 
 * 
 * 2015 / 10 / 30
 */
 
 
/* +book list
*----------------------------------------------------------------------------*/
#album {
	overflow: hidden;
}

#album .photoItem {
	overflow: hidden;
    margin: 1%;
    float: left;
    width: 31%;
    height: 370px;
}

#album .photoItem a.thumbnail {
	display: block;
	padding: 10px;
	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
}

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

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

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

#album .photoItem a.thumbnail .holder .info span {
	width: 90%;
	background-color: #b42533;
	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;
	padding: 6px 15px;
	text-align: center;	
}

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

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

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

.wrapper .container section .content-wrap .content-main #article #album .album_box {
	width: 290px;
	overflow: hidden;
}

.wrapper .container section .content-wrap .content-main #article #album .album_box .photo-wrap {
	margin: 10px;
	position: relative;
}

.wrapper .container section .content-wrap .content-main #article #album .album_box .photo-wrap h3 {
	margin: 10px 0;
	text-align: center;
	font-size: 18px;
}

.wrapper .container section .content-wrap .content-main #article #album .album_box .photo-wrap .photo-item {
	overflow: hidden;
	position: relative;
}

.wrapper .container section .content-wrap .content-main #article #album .album_box .photo-wrap .photo-item img {
	width: 100%;
	opacity: 1;
	transition: all 0.4s ease-in-out 0s;
}

.wrapper .container section .content-wrap .content-main #article #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 section .content-wrap .content-main #article #album .album_box .photo-wrap .photo-item .photo-group {
	width: 100%;
	height: 500px;
	position: absolute;
	top: 0;
}

.wrapper .container section .content-wrap .content-main #article #album .album_box .photo-wrap .photo-item .photo-group a {
	display: block;
	text-indent: -999999px;
}


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



/*******************photo**************************/
#album .photoView .photo {
	text-align: center;
}

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

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

#album .subphto ul {
	overflow: hidden;
}

#album .subphto ul li {
	margin: 0 5px 10px;
	width: 23%;
	float: left;
	background-position: center;
    background-size: 150%;
    background-repeat: no-repeat;
	transition:all ease 0.6s;
	background-color: #000;

}
#album .subphto ul li:hover {
    background-size: 100%;
	transition:all ease 0.6s;
}
#album .subphto ul li img {
	width: 100%;
	height: 150px;
}


/* +width:1024 â†“
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
	#album .subphto ul li {
		width: 15.5%;
	}
	
	#album .subphto ul li img {
		height: 100px;
	}
}
@media screen and (max-width: 960px) {
	#album .photoItem{
	    height: 250px;	
	}
	#album .photoItem a.thumbnail .holder .img-grid img{
		height: 220px;
	}
	#album .photoItem a.thumbnail .holder .info{
		padding: 20px 3px 10px;
	}
}
@media screen and (max-width: 800px) {
	#album .photoItem{
		width: 48%;
	}
	#album .photoItem a.thumbnail .holder .info{
		padding: 20px 4px 10px;
	}
	#album .photoItem{
	    height: 300px;	
	}
	#album .photoItem a.thumbnail .holder .img-grid img{
		height: 270px;
	}
	.wrapper #content section .artivle-content #content-main #albumlist #photo ul li{
		width:49%;
		margin-bottom: 1%;
	}
}
@media screen and (max-width: 768px) {
	#album .subphto ul li {
		width: 30%;
	}
	
	#album .subphto ul li img {
		height: 100px;
	}
	#album .album_box {
		width: 50%;
		height: 250px;
	}
}

@media screen and (max-width: 710px) {
	#album .photoItem a.thumbnail .holder .info span{
		width: 89%;
	}
}
@media screen and (max-width: 640px) {
	#album .photoItem a.thumbnail .holder .info span{
		width: 88%;
	}
	#album .photoItem{
	    height: 250px;	
	}
	#album .photoItem a.thumbnail .holder .img-grid img{
		height: 220px;
	}
	#album .subphto ul li {
		width: 18.2%;
	}
	#album .album_box {
		height: 130px;
	}
	#album .album_box .photo-wrap .photo-item, #album .album_box .photo-wrap .photo-item img{
	    height: 100px;	
	}

}
@media screen and (max-width: 524px) {
	#album .photoItem a.thumbnail .holder .info{
		padding: 20px 3px 10px;
	}
	#album .photoItem a.thumbnail .holder .info span{
		width: 83%;
	}
}
@media screen and (max-width: 480px) {
	#album .photoItem a.thumbnail .holder .info{
		padding: 20px 2px 10px;
	}
	#album .photoItem a.thumbnail .holder .info span{
		width: 87%;
		padding: 6px 10px;
	}
	#album .photoItem{
	    height: 220px;	
	}
	#album .photoItem a.thumbnail .holder .img-grid img{
		height: 190px;
	}
	#album .subphto ul li {
		width: 29%;
	}
	#album .album_box {
		width: 90%;
		height: 220px;
		float: none;
		margin: 0 auto;
	}
	#album .album_box .photo-wrap .photo-item, #album .album_box .photo-wrap .photo-item img{
	    height: 180px;	
	}

}
@media screen and (max-width: 400px) {
	#album .photoItem{
		width: 300px;
		margin: 0 auto;
		float: none;
	}
	#album .photoItem a.thumbnail .holder .info{
		padding: 20px 4px 10px;
	}
	#album .photoItem a.thumbnail .holder .info span{
		width: 92%;
	}
}