/* Lightbox */	

.lightbox {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.lightbox-item {
	margin: 10px;
	-ms-flex-preferred-size: 180px;
	flex-basis: 180px;
}

.lightbox-item img {
	max-width: 100%;
	display: block;
}

@media only screen and (max-width: 480px) {
	.lightbox {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}

	.lightbox-item {
		margin-bottom: 10px;
	}
}

/*Lighbox popup CSS*/

.lightbox-popup {
	display: none;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20;
	padding-top: 30px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.lightbox-popup.is-shown {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.lightbox-popup-caption {
	line-height: 1.3;
	color: #fff;
	text-align: center;
	padding-top: 10px;
}

.lightbox-popup-dialog {
	max-width: 800px;
	width: 100%;
	margin: auto;
}

.lightbox-popup img {
	display: block;
	margin: auto;
	max-width: 800px;
}

.lightbox-popup .caption {
	margin: 15px auto;
	width: 50%;
	text-align: center;
	font-size: 1em;
	line-height: 1.5;
	font-weight: 700;
	color: #eee;
}
