.gallery-grid figure {
    height: 250px;
    float: left;
    padding: 8px;
    position: relative;
}

.gallery-grid-photoswipe-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50%;
    position: relative;
}

.gallery-grid-photoswipe-hover {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.35);
	text-align: center;
	display: table;
	line-height: 234px;
	opacity: 0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.gallery-grid-photoswipe-hover-inner {
    line-height: normal;
    display: inline-block;
    vertical-align: middle;
    max-width: 90%;
}

.gallery-grid-photoswipe-hover hr {
    margin: 10px auto;
    width: 0px;
    border-width: 2px;
    -webkit-transition: all 0.25s linear!important;
	-moz-transition: all 0.25s linear!important;
	-o-transition: all 0.25s linear!important;
	transition: all 0.25s linear!important;
}

.gallerie-item-title {
	color: #FFF;
	text-transform: uppercase;
	margin-bottom: 4px;
	padding: 0 10%;
	font-size: 19px;
	letter-spacing: 1px;
}

.gallerie-item-description {
	color: rgba(255, 255, 255, 0.9);
	font-size: 13px;
	font-style: italic;
	line-height: 14px;
	padding-bottom: 17px;
	font-family: 'Merriweather', serif;
	font-weight: 300;
}

figure.hover-gallery .gallery-grid-photoswipe-thumbnail:hover .gallery-grid-photoswipe-hover {
    opacity:1;
}


.gallery-grid-photoswipe-hover:after {
	border: 2px solid transparent;
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	z-index: 999;
	content: "";
	-webkit-transition: all 0.25s linear!important;
	-moz-transition: all 0.25s linear!important;
	-o-transition: all 0.25s linear!important;
	transition: all 0.25s linear!important;
}

.gallery-grid-photoswipe-thumbnail:hover .gallery-grid-photoswipe-hover:after {
	border: 2px solid #FFFFFF;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
}

.gallery-grid-photoswipe-thumbnail:hover .gallery-grid-photoswipe-hover hr {
    width: 30px;
}

figure.ggp-1 {
	width:100%;
}

figure.ggp-2 {
	width:50%;
}

figure.ggp-3 {
	width:33.3334%;
}

figure.ggp-4 {
	width:25%;
}

figure.ggp-5 {
	width:20%;
}

figure.ggp-6 {
	width:16.6667%;
}


@media (max-width: 1024px) {
	figure.ggp-6 {
		width:20%;
	}
}

@media (max-width: 991px) {
	figure.ggp-5, figure.ggp-6 {
		width:33.3334%;
	}
}

/*Portrait tablets and small desktops*/
@media (max-width: 780px) {
	figure.ggp-4, figure.ggp-5, figure.ggp-6 {
		width:33.3334%;
	}
}


@media (max-width: 680px) {

	figure.ggp-3, figure.ggp-4, figure.ggp-5, figure.ggp-6 {
		width:50%;
	}

}

@media (max-width: 550px) {

}

/* Portrait phones and smaller */
@media (max-width: 480px) {

	figure.ggp-2, figure.ggp-3, figure.ggp-4, figure.ggp-5, figure.ggp-6 {
		width:100%;
	}

}