/* LIGHTBOX */
#lightbox {
	height: 100%;
	position: fixed;
	top: -100%;
	transition: top 0.85s, height 0.85s;
	width: 100%;
	z-index: 100000;
	height: 0;
}

#lightbox > span {
	background-color: rgba(35, 35, 35, 0.8);
	cursor: pointer;
	height: 100%;
	position: absolute;
	top: 0;
	width: 100%;
}

#lightbox > span span {
	color: #fff;
	font-size: 3.6em;
	line-height: 0.4em;
	padding: 15px;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 5;
}

#lightbox div {
	box-shadow: 0 8px 15px 0 #000;
	margin: -120px auto 0;
	max-height: 80%;
	overflow: auto;
	position: relative;
	transform: rotateX(90deg) translateY(-160px);
	transition: 0.24s;
	width: 88%;
}

#lightbox img {
	display: block;
	width: 250%;
}

#lightbox.on {
	height: 100%;
	top: 0;
}

#lightbox.on div {
	margin-top: 50px;
	transition: 0.8s ease-out 0.32s;
	transform: rotateX(0deg) translateY(0px);
}

.lightbox {
	cursor: pointer;
	transition: filter 150ms ease-in-out;
}

.lightbox:hover {
	filter: brightness(80%);
}

@media (min-width: 992px) {
	#lightbox img {
		width: 100%;
	}
}
