/*---------------------------------------------------------*\ 
	Lightbox
\*---------------------------------------------------------*/

/* IMAGE LIGHTBOX SELECTOR */

#imagelightbox {
	cursor: pointer;
	position: fixed;
	z-index: 10000;
	-ms-touch-action: none;
	touch-action: none;
	-webkit-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
	box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
}

/* OVERLAY */

#imagelightbox-overlay {
	background-color: #333333;
	background-color: rgba( 51, 51, 51, .9 );
	position: fixed;
	z-index: 9998;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}	


/* "CLOSE" BUTTON */

#imagelightbox-close {
    background: transparent;
    width: 2.5rem;
    height: 2.5rem;
    position: fixed;
	top: 0.5rem;
	right: 2rem;
	border: 0;
	z-index: 22222;
}
#imagelightbox-close:hover {
	opacity:0.65;
}
#imagelightbox-close:after {
    content: '';
    height: 3rem;
    border-left: 0.3rem solid #dedddd;
    position: absolute;
    transform: rotate(45deg);
}
#imagelightbox-close:before {
    content: '';
    height: 3rem;
    border-left: 0.3rem solid #dedddd;
    position: absolute;
    transform: rotate(-45deg);
}

/* ARROWS */

.imagelightbox-arrow {
	width: 3.75em; /* 60 */
	height: 7.5em; /* 120 */
	background-color: transparent;
	vertical-align: middle;
	display: none;
	position: fixed;
	z-index: 10001;
	top: 50%;
	margin-top: -3.75em; /* 60 */
	border: 0;
}
.imagelightbox-arrow:hover { 
	opacity: 0.65;
}
.imagelightbox-arrow-left { 
	left: 2.5em; /* 40 */ 
}
.imagelightbox-arrow-right { 
	right: 2.5em; /* 40 */ 
}

.imagelightbox-arrow:before {
	width: 0;
	height: 0;
	border: 1em solid transparent;
	content: '';
	display: inline-block;
	margin-bottom: -0.125em; /* 2 */
}
.imagelightbox-arrow-left:before {
	border-left: none;
	border-right-color: #cccccc;
	margin-left: -0.313em; /* 5 */
}
.imagelightbox-arrow-right:before {
	border-right: none;
	border-left-color: #cccccc;
	margin-right: -0.313em; /* 5 */
}

#imagelightbox-loading,
#imagelightbox-overlay,
#imagelightbox-close,
#imagelightbox-nav,
.imagelightbox-arrow {
	-webkit-animation: fade-in .25s linear;
	animation: fade-in .25s linear;
}

#imagelightbox-caption {
	-webkit-animation: fade-in .25s linear;
	animation: fade-in .25s linear;
	text-align: center;
	background-color: rgba(89, 88, 88, 0.35); 
	color: #DEDEDE !important;
	position: fixed;
	bottom: 0.2rem;
	width: 100%;
	z-index: 11111;
	font-size: 1.1rem;
}	

@-webkit-keyframes fade-in {
	from	{ opacity: 0; }
	to		{ opacity: 1; }
}
@keyframes fade-in {
	from	{ opacity: 0; }
	to		{ opacity: 1; }
}

@media only screen and (max-width: 41.250em) /* 660 */ {
	#container {
		width: 100%;
	}
	#imagelightbox-close {
		top: 1.25em; /* 20 */
		right: 1.25em; /* 20 */
	}
	#imagelightbox-nav {
		bottom: 1.25em; /* 20 */
	}

	.imagelightbox-arrow {
		width: 2.5em; /* 40 */
		height: 3.75em; /* 60 */
		margin-top: -2.75em; /* 30 */
	}
	.imagelightbox-arrow-left { 
		left: 1.25em; /* 20 */ 
	}
	.imagelightbox-arrow-right { 
		right: 1.25em; /* 20 */	
	}
}

@media only screen and (max-width: 20em) /* 320 */ {
	.imagelightbox-arrow-left	{ left: 0; }
	.imagelightbox-arrow-right	{ right: 0; }
}	