.content-main{
	padding: 47px 155px;	
}
#album{
	overflow:hidden;
	margin-bottom: 50px;
}
#album .photoItem{
	float: left;
    width: 48%;
    margin-right: 4%;
	position: relative;
	margin-bottom: 30px;
}
#album .photoItem:nth-child(2n){
    margin-right: 0%;
}
#album .photoItem .photo{
	display:block;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 50% 50%;
	transition:all ease-in-out 0.5s;
}
#album .photoItem:hover .photo{
    background-size: 110%;
}
#album .photoItem .bookdetail{
	position: absolute;
    bottom: 20px;
    left: 5%;
    width: 90%;
	z-index: 2;
}
#album .photoItem .black{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25,25,25,0.5);
    z-index: 1;
}
#album .photoItem .bookdetail h4 a{
	font-size:18px;
	color:#fff;
}
#album .photoItem .bookdetail p {
    height: 49px;
    background: rgba(255,255,255,0.4);
    line-height: 49px;
	font-size:16px;
	margin-top:10px;
}
#album .photoItem .bookdetail p a{
	color:#fff;
	display:block;
    text-align: right;
    padding-right: 20px;
}
#album .photoItem:hover .bookdetail p {
    background: #2d756d;
}
#gallery{
	margin:0 auto;
}
@media screen and (max-width: 1440px) {
	.content-main{
		padding: 47px 47px;	
	}
}
@media screen and (max-width: 980px) {
	.content-main{
		padding: 30px 20px;	
	}
	#album .photoItem .bookdetail h4 a{
		font-size:16px;
	}
	#album .photoItem .bookdetail p {
		height: 35px;
		line-height: 35px;
		font-size:14px;
	}
	.profile-head{
		display:block;
		padding: 10px 20px;
	}
}
@media screen and (max-width: 768px) {
	#album .photoItem{
		width: 100%;
		margin-right:0;
		margin-bottom: 20px;
	}
}
