.gallery {
	position: relative;
	float: left;
	left: 0px;
	top: 0px;
	margin: 30px;
	width: 200px;
	height: 200px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.galleryTitle {
	position: absolute;
	bottom: 0px;
	color: #666;
	width: 100%;
	text-align: center;
	margin-top: 20px;
	font-family: Covered By Your Grace;
	font-size: 14pt;
}

.gallery:hover > .galleryTitle {
	color: #069;
}

.galleryGroup {
	font-family: Courier;
	font-size: 20pt;
	clear: both;
}

.gallery:hover > a:nth-child(1) > .foto{

}
.gallery:hover > a:nth-child(2) > .foto{

}
.gallery:hover > a:nth-child(3) > .foto{

}
.gallery:hover > a:nth-child(4) > .foto{

}
.gallery:hover > a:nth-child(5) > .foto{

}


#galleries {
	width:100%;
	height: 500px;
	overflow: visible;
	position: relative;
	margin-top: 50px;
	text-align: center;
}

.foto {
	position: absolute;
	left: 10px;
	top: 10px;
	width: 100px;
	height: 100px;
	padding: 5px;
	border: solid 5px #eee;
	display:none;
	background-color: white;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: visible;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.foto > .curl{
	right: -30px;
	bottom: -30px;
}


.gallery > a:nth-child(-n+5) > .foto{
	display:block;
}

.gallery > a:nth-child(1) > .foto{
	z-index: 5;
}
.gallery > a:nth-child(2) > .foto{
	z-index: 4;
}
.gallery > a:nth-child(3) > .foto{
	z-index: 3;
}
.gallery > a:nth-child(4) > .foto{
	z-index: 2;
}
.gallery > a:nth-child(5) > .foto{
	z-index: 1;
}

.insta {
    width: 100%;
    height: auto;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
}

.mfp-inline-holder .mfp-content {
	max-width: 640px;
	width: calc(100% - 100px);
	height: auto;
	margin: 0;
	margin-left: auto;
	margin-right: auto;
}
