#album{
	overflow:hidden;
}
#album .photoItem{
	position:relative;
	float:left;
	width:49%;
	overflow:hidden;
    margin-right: 2%;
    margin-bottom: 20px;
}
#album .photoItem:nth-child(2n){
	margin-right:0;
}
#album .photoItem .photo{
	position: relative;
}
#album .photoItem .photo >a{
	display:block;
	background-repeat:no-repeat;
	background-position:50% 50%;
	background-size:100%;
	transition:all ease-in-out 0.3s;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.39) inset;
}
#album .photoItem:hover .photo >a{
	box-shadow: 0 0 8px rgba(0, 0, 0, 0) inset;
}
#album .photoItem .photo h3{
	position: absolute;
    left: 10%;
    bottom: 45%;
    width: 30%;
    text-align: center;
	background: rgba(25,25,25,0.5);
    padding: 3px;
}
#album .photoItem .photo h3 a{
	color:#fff;
	text-shadow: 0 0 5px #000;
}
#album .photoItem .photo h3:after,
#album .photoItem .photo h3:before{
	content: '';
	position: absolute;
	width: 25px;
	height: 25px;
	border-color: #fff;
	border-style: solid;
	border-width: 0;
	-webkit-transition: all 0.5s cubic-bezier(1, 0.2, 0.26, 0.7);
	-moz-transition: all 0.5s cubic-bezier(1, 0.2, 0.26, 0.7);
	transition: all 0.5s cubic-bezier(1, 0.2, 0.26, 0.7);
	-webkit-transform: translate(0px, 0px) scale(0.8);
	-moz-transform: translate(0px, 0px) scale(0.8);
	-ms-transform: translate(0px, 0px) scale(0.8);
	-o-transform: translate(0px, 0px) scale(0.8);
	transform: translate(0px, 0px) scale(0.8);
	opacity: 0;
}
#album .photoItem .photo h3:before {
  left: 0;
  bottom: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}
#album .photoItem .photo h3:after {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}
#album .photoItem .photo:hover h3:before, #album .photoItem .photo:hover h3:after {
  -webkit-transition: all 2s cubic-bezier(0.14, 1.13, 0, 0.91);
  -moz-transition: all 2s cubic-bezier(0.14, 1.13, 0, 0.91);
  transition: all 2s cubic-bezier(0.14, 1.13, 0, 0.91);
  opacity: 1;
}
#album .photoItem .photo:hover h3:before {
  -webkit-transform: translate(-20px, 10px) scale(1);
  -moz-transform: translate(-20px, 10px) scale(1);
  -ms-transform: translate(-20px, 10px) scale(1);
  -o-transform: translate(-20px, 10px) scale(1);
  transform: translate(-20px, 10px) scale(1);
  border-bottom-width: 6px;
  border-left-width: 6px;
}
#album .photoItem .photo:hover h3:after{
  -webkit-transform: translate(20px, -10px) scale(1);
  -moz-transform: translate(20px, -10px) scale(1);
  -ms-transform: translate(20px, -10px) scale(1);
  -o-transform: translate(20px, -10px) scale(1);
  transform: translate(20px, -10px) scale(1);
  border-top-width: 6px;
  border-right-width: 6px;
}

#album .photoItem .des{
	position: absolute;
    right: -50%;
    top: 0;
    width: 50%;
    overflow: hidden;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
	transition:all ease-in-out 0.3s;
}
#album .photoItem .des p{
    margin: 10%;
    height: 80%;
    overflow: hidden;
	color: #dbdbdb;
}
#album .photoItem:hover .des{
    right: 0%;
}
/*******detail*******/
article{
	margin-bottom:20px;
}
.album_box{
	float:left;
	margin-bottom:10px;
	margin-right:1%;
	width:24%;
}
.album_box a{
	display:block;
	background-repeat:no-repeat;
	background-position:50% 50%;
	background-size:100%;
}
@media screen and (max-width: 840px) {
	#album .photoItem .photo h3{
		font-size: 14px;
		bottom: 40%;	
	}
	#album .photoItem .des p{
		font-size: 14px;
	}
}
@media screen and (max-width: 640px) {
	#album .photoItem,
	#album .photoItem:nth-child(2n){
		width:100%;
		margin:0 0 20px;
	}
	.album_box{
		width:32%;
		margin-bottom: 5px;
	}
}
@media screen and (max-width: 480px) {
	#album .photoItem .des{
		right: 0%;
	    background: rgba(0, 0, 0, 0.66);	
	}
	#album .photoItem .photo h3:after, #album .photoItem .photo h3:before{
		display:none;
	}
	#album .photoItem .photo h3{
	    bottom: 10px;
		left: 10px;
		width: 43%;
		text-align: left;
		background: none;	
	}
	.album_box{
		width:49%;
	}
}