.masonry-container,
.masonry-container-admin {
	max-width: 1000px;
	margin: 0 auto;
	width: 95%;
	padding: 5px;
}

.masonry-section {
	width: 100%;
	height: 500px;
	box-sizing: border-box;
}

.masonry-column {
	float: left;
	height: 100%;
	box-sizing: border-box;
}

.masonry-column.one-quarter {
	width: 25%;
}

.masonry-column.three-quarters {
	width: 75%;
}

.masonry-column.one-third {
	width: 33.334%;
}

.masonry-column.two-thirds {
	width: 66.667%;
}

.masonry-column.one-half {
	width: 50%;
}

.masonry-row {
	width: 100%;
	box-sizing: border-box;
}

.masonry-row.one-quarter {
	height: 25%;
}

.masonry-row.three-quarters {
	height: 75%;
}

.masonry-row.one-third {
	height: 33.334%;
}

.masonry-row.two-thirds {
	height: 66.667%;
}

.masonry-row.one-half {
	height: 50%;
}

.masonry-panel {
	height: 100%;
	width: 100%;
	padding: 5px;
	box-sizing: border-box;
	transition: .25s;
	position: relative;
	cursor: pointer;
}

.masonry-container .hover:hover {
	transform: scale(1.2);
	z-index: 9999;
}

.masonry-container-admin .hover:hover > .masonry-content {
	opacity: 0.6;
}

.masonry-content {
	background: rgba(255, 255, 255, 0.5);
	height: 100%;
	width: 100%;
	border-radius: 10px;
	overflow: hidden;
	box-sizing: border-box;
}

.masonry-content i {
	position: absolute;
	font-size: 28px;
	height: 28px;
	top: 50%;
	margin-top: -14px;
	width: 100%;
	color: #aaa;
}

.masonry-container-admin .masonry-content {
	border: 1px solid #008bde;	
	background: #e9f7ff;
}

.masonry-content img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.masonry-overlay {
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1000;
    display: none;
}

.no-transition {
	transition: none;
}

/*.vst-gal-controls {
	position: fixed;
	height: 100px;
	width: 120px;
	background: rgba(0, 0, 0, 0.8);
	cursor: pointer;
	z-index: 1001;
	color: #fff;
	text-align: center;
	line-height: 100px;
	font-size: 70px;
	transition: .25s;
}

.vst-gal-controls:hover {
	background: #000;
}*/

.vst-gal-controls {
	position: fixed;
	height: 100px;
	width: 100px;
	cursor: pointer;
	z-index: 1001;
	color: #000;
	text-align: center;
	line-height: 100px;
	font-size: 50px;
}

.vst-gal-controls:active {
	transform: translateY(1px);
}

.gal-right {
	right: 4%;
	top: 50%;
	margin-top: -50px;
}

.gal-left {
	left: 4%;
	top: 50%;
	margin-top: -50px;
}

.vst-close {
	right: 4%;
	top: 2%;
}

/*.gal-right {
	right: -20px;
	top: 50%;
	margin-top: -50px;
	border-top-left-radius: 50px;
	border-bottom-left-radius: 50px;
}

.gal-right:hover {
	right: 0;
}

.gal-left {
	left: -20px;
	top: 50%;
	margin-top: -50px;
	border-top-right-radius: 50px;
	border-bottom-right-radius: 50px;
}

.gal-left:hover {
	left: 0;
}*/

/*.vst-close {
	right: 0;
	text-align: right;
	padding-right: 20px;
	border-bottom-left-radius: 100px;
	line-height: 0;
}*/

@media only screen and (max-width: 500px) {
	.masonry-section {
		height: 300px;
	}	

	.masonry-panel {
		padding: 2px;
	}

	.masonry-content {
		background: rgba(0, 0, 0, 0.3);
	}

	.vst-gal-controls {
		top: initial;
		margin-top: 0;
		bottom: 20px;
		height: 50px;
		width: 50px;
		border-radius: 50px;
		line-height: 50px;
		font-size: 20px;
		transition: none;
	}

/*	.vst-gal-controls:hover {
		background: rgba(0, 0, 0, 0.8);
	}

	.vst-gal-controls:active {
		background: #000;
		bottom: 19px;
	}*/

	.gal-right,
	.gal-right:hover {
		right: 50px;
	}

	.gal-left,
	.gal-left:hover {
		left: 50px;
	}

	.vst-close {
		left: 50%;
		margin-left: -25px;
		padding: 0;
		text-align: center;
	}


}