.gallery-list .item {
	margin-bottom: 30px;
	padding-bottom: 15px;
	background-color: rgba(255,255,255,0.25);
	text-align: center;
}
.gallery-list .item .thumbnail {
	padding: 0;
	border: 0;
	margin-bottom: 0px;
}
.gallery-list .item h4 {
	margin-top: 15px;
	padding: 0 15px;
}
.gallery-list .item .caption {
	margin-top: 10px;
}
/* Details */
.gallery-detail {
	background-color: rgba(255,255,255,0.25);
	padding: 15px;
}
.gallery-detail h2{
	margin-top: 0;
}
.gallery-detail .desc {
	display: none;
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #f1f1f1;
	font-size: 11px;
	text-align: right;
}
.gallery-detail .desc span {
	display: block;
}
.gallery-detail .url {
	margin-top: 30px;
}
@media (max-width: 767px) {
	.gallery-detail .desc {
		text-align: center;
	}
	.gallery-detail .url {
		padding: 15px 0;
		text-align: center;
	}
}
.gallery-images {
	box-sizing: border-box;
	margin-top: 15px;
	margin-right: -5px;
	margin-left: -5px;
}
.gallery-images a.thumb {
    display: inline-block;
    padding: 1em;
    margin: 0 0 1em;
    width: 100%;
    background: rgba(255,255,255,0.25);
    box-sizing: border-box;
	text-align: center;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;	
}
.gallery-images a.thumb img {
	max-width: 100%;
	height: auto;
}
/* WATERFALL CSS GRID */
.gallery-images {
    margin: 1em 0;
    padding: 0;
    -moz-column-gap: 1em;
    -webkit-column-gap: 1em;
    column-gap: 1em;
    font-size: .85em;
}
@media only screen and (min-width: 320px) {
    .gallery-images {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}
@media only screen and (min-width: 480px) {
    .gallery-images {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}
/*
@media only screen and (min-width: 768px) {
    .gallery-images {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}
*/
@media only screen and (min-width: 992px) {
    .gallery-images {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
}
@media only screen and (min-width: 1140px) {
    .gallery-images {
        -moz-column-count: 5;
        -webkit-column-count: 5;
        column-count: 5;
    }
}
/*
@media only screen and (min-width: 1280px) {
    .wrapper {
        width: 1260px;
    }
}
*/
/* The gallery overlay */
#galleryOverlay{
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	opacity:0;
	z-index:100000;
	background-color:#222;
	background-color:rgba(0,0,0,0.8);
	overflow:hidden;
	display:none;
	-moz-transition:opacity 1s ease;
	-webkit-transition:opacity 1s ease;
	transition:opacity 1s ease;
}
/* This class will trigger the animation */
#galleryOverlay.visible{
	opacity:1;
}
#gallerySlider{
	height:100%;
	
	left:0;
	top:0;
	
	width:100%;
	white-space: nowrap;
	position:absolute;
	
	-moz-transition:left 0.4s ease;
	-webkit-transition:left 0.4s ease;
	transition:left 0.4s ease;
}
#gallerySlider .placeholder{
	background: url("../img/preloader.gif") no-repeat center center;
	height: 100%;
	line-height: 1px;
	text-align: center;
	width:100%;
	display:inline-block;
}

/* The before element moves the
 * image halfway from the top */
#gallerySlider .placeholder:before{
	content: "";
	display: inline-block;
	height: 50%;
	width: 1px;
	margin-right:-1px;
}
#gallerySlider .placeholder img{
	display: inline-block;
	max-height: 100%;
	max-width: 100%;
	vertical-align: middle;
}
#gallerySlider.rightSpring{
	-moz-animation: rightSpring 0.3s;
	-webkit-animation: rightSpring 0.3s;
}
#gallerySlider.leftSpring{
	-moz-animation: leftSpring 0.3s;
	-webkit-animation: leftSpring 0.3s;
}
/* Firefox Keyframe Animations */
@-moz-keyframes rightSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:-30px;}
	100%{	margin-left:0px;}
}
@-moz-keyframes leftSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:30px;}
	100%{	margin-left:0px;}
}
/* Safari and Chrome Keyframe Animations */
@-webkit-keyframes rightSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:-30px;}
	100%{	margin-left:0px;}
}
@-webkit-keyframes leftSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:30px;}
	100%{	margin-left:0px;}
}
/* Arrows */
#prevArrow,#nextArrow{
	border:none;
	text-decoration:none;
	background: url("../img/arrows.png") no-repeat;
	opacity:0.5;
	cursor:pointer;
	position:absolute;
	width:43px;
	height:58px;
	top:50%;
	margin-top:-29px;
	-moz-transition:opacity 0.2s ease;
	-webkit-transition:opacity 0.2s ease;
	transition:opacity 0.2s ease;
}
#prevArrow:hover, 
#nextArrow:hover{
	opacity:1;
}
#prevArrow{
	background-position:left top;
	left:40px;
}
#nextArrow{
	background-position:right top;
	right:40px;
}