.clsMVLightbox-container {
	display: none;
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(250, 250, 250, 1);
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.clsMVLightbox-container.clsMVLightbox-active {
	display: flex;
}

.clsMVLightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
	text-align: center;
	color: #000000;
}

.clsMVLightbox-photo-full {
	max-width: 100%;
	max-height: 80vh;
	border-radius: 8px;
}

.clsMVLightbox-caption {
	margin-top: 10px;
	font-size: 1.0rem;
}

.clsMVLightbox-close {
	position: absolute;
	top: -40px;
	right: 0px;
	font-size: 2.5rem;
	color: #000000;
	cursor: pointer;
	padding: 5px 10px;
}

.clsMVLightbox-close:hover {
	color: #CCCCCC;
}

.clsMVLightbox-nav {
	width: 40px;
	height: 40px;
	position: absolute;
	top: 50%;
	font-size: 2.0rem;
	background: #FFFFFF;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
	border-radius: 40px;
	color: #666666;
	border: none;
	padding-top: 10px;
	padding-bottom: 1px;
	padding-left: 10px;
	padding-right: 10px;
	cursor: pointer;
	user-select: none;
	box-sizing: border-box;
	transform: translateY(-50%);
}

.clsMVLightbox-prev {
	left: -10px;
}

.clsMVLightbox-next {
	right: -10px;
}

.clsMVLightbox-prev:hover,
.clsMVLightbox-next:hover {
	color: #CCCCCC;
}

ul.clsMVLightbox-grid {
	list-style: none;
	margin-top: 2.0rem;
	margin-bottom: 2.0rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0;

	max-width: calc(100% - 4.0rem);

	display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -moz-box;     /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */

	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-moz-box-orient: horizontal;
	-moz-box-direction: normal;
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	flex-direction: row;
	
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;

	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-flex-pack: center;
	-ms-justify-content: center;
	justify-content: center;

	gap: 20px;
}

ul.clsMVLightbox-grid li {
	width: 240px;
	height: 240px;
	
	display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -moz-box;     /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */

	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-moz-box-orient: horizontal;
	-moz-box-direction: normal;
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	flex-direction: row;

	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-flex-pack: center;
	-ms-justify-content: center;
	justify-content: center;

	-webkit-box-align: center;
	-moz-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	
	overflow: hidden;
}

ul.clsMVLightbox-grid li img {
	max-width: 240px;
	max-height: 240px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	cursor: pointer;
	border-radius: 4px;
	transition: transform 0.2s;
	box-sizing: border-box;
}

ul.clsMVLightbox-grid li img:hover {
	transform: scale(1.05);
}