@charset "UTF-8";
/* CSS Document */

.lightboxCurtain {

	background: rgba(0,0,0,0.9);
    opacity: 1;
	position: fixed;
	height: 100%;
	width: 100%;
	z-index: 1001;
	left: 0;
	top: 0;
}

.lightboxCollection {

}


.lightboxContainer {

	width: 100%;
	height: 100%;
	
	box-sizing: border-box;
	
	position: relative;
	
	display: flex;
	justify-content: center;
	align-items: center;
	
}

.lightboxImage {
	
	
	position: relative;
	
	
	flex-basis: 80%;
	flex-grow: 0;
	flex-shrink: 1;
	height: 80%;
	margin: 2%;
	
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	
}

.lightboxImage IMG {

	width: 100%;
	height: 100%;
	object-fit: contain;

	
	cursor: pointer;
}





#lightboxSpinner {
	color: white;
	position: absolute;
	width: 100%;
	height: 100px;
	top: 50%;
	
	z-index: 1002;
}

#lightboxNext {
	width: 75px;
	height: 75px;
	
	background: red;
	
	background: url('/img/icon-next.png') no-repeat left center;
	background-size: 100%;
	cursor: pointer;
	z-index: 2000;
}

#lightboxPrev {
	width: 75px;
	height: 75px;
	
	
	background: url('/img/icon-prev.png') no-repeat right center;
	background-size: 100%;
	cursor: pointer;
	z-index: 2000;
}


@media only screen and (orientation: portrait) {

	.lightboxContainer {
		flex-wrap: wrap;
	}
	
	.lightboxImage {
		order: 0;
		flex: 0 0 100%;
		flex-shrink: 0;
	}
	
	#lightboxNext, #lightboxPrev {
		order: 1;
		margin: 0 30px;
	}
}



#lightboxClose {	
	right: 20px;
    position: absolute;
    top: 20px;
	cursor: pointer;
	z-index: 2005;
}