




.gallery-items .item{
	float: left;
	width:25%;
	position: relative;
	padding:30px;
	
}
.gallery-items .item.hide{
	display: none;
}
.gallery-items .item.show{
	display: block;
	animation: show .5s ease;
}
@keyframes show{
    0%{
    	opacity:0;
    	transform: scale(0.9);
    }
    100%{
    	opacity:1;
    	transform: scale(1);
    }
}


.gallery-items .item img{
	width: 100%;
	display: block;
}
.gallery-items .item .caption{
	    position: absolute;
    left: 30px;
    bottom: 30px;
  
    background-color: rgba(0,0,0,.5);
    padding: 10px;
    width: 79.5%;
    color: #ffffff;
    text-align: center;
}
.pagination{
	width: 100%;
	float: left;
	padding:15px;
	text-align: center;
}
.pagination div{
	display: inline-block;
	margin:0 10px;
}
.pagination .page{
	color:gray;
}
.pagination .prev,.pagination .next{
 color:#000;
 border:1px solid #000;
 font-size:15px;
 padding:7px 15px;
 cursor: pointer;
}

.pagination .prev.disabled,
.pagination .next.disabled{
	border-color: gray;
	color:gray;
	pointer-events: none;
}


@media only screen and (max-width: 730px) {
  .gallery-items .item{
	
	width:100%;


}
.gallery-items .item .caption{
	 
 
    width: 85.2%;
    
}
  }


