#imagelightbox {
	cursor: pointer;
	position: fixed;
	z-index: 11000;
	-ms-touch-action: none;
	touch-action: none;
	box-shadow: 0 2px 12px -3px rgba(0, 0, 0, .5 ); }

#imagelightbox-overlay {
	background-color: #fff;
	background-color: rgba( 255, 255, 255, .85 );
	position: fixed;
	z-index: 9998;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0; }

/* ACTIVITY INDICATION */
#imagelightbox-loading {
	border-radius: 50%; }

#imagelightbox-loading {
	width: 80px;
	height: 80px;
	background-color: #d2beb4;
	background-color: rgba(210,190,180, .85 );
	position: fixed;
	z-index: 10003;
	top: 48%;
	left: 49%;
	padding: 0.625em;
	margin: -40px 0 0 -40px;
	box-shadow: 0 0 8px rgba( 0, 0, 0, .5 ); }

#imagelightbox-loading div {
	position: relative;
	width: 40px;
	height: 50px;
	top: 17px;
	left: 21px;
	background: transparent url('../images/instaHeart_2x.png') no-repeat center center;
	background-size: 40px 50px;
	-webkit-animation: instaFeedLoading-loading .7s ease infinite;
	-moz-animation: instaFeedLoading-loading .7s ease infinite;
	-o-animation: instaFeedLoading-loading .7s ease infinite;
	animation: instaFeedLoading-loading .7s ease infinite;
}

@-webkit-keyframes imagelightbox-loading {
	from { opacity: .5;	-webkit-transform: scale( .5 ); }
	50%	 { opacity: 1;	-webkit-transform: scale( 0.8 ); }
	to	 { opacity: .5;	-webkit-transform: scale( .5 ); }
}

@-moz-keyframes imagelightbox-loading {
	from { opacity: .5;	-moz-transform: scale( .5 ); }
	50%	 { opacity: 1;	-moz-transform: scale( .8 ); }
	to	 { opacity: .5;	-moz-transform: scale( .5 ); }
}

@-o-keyframes imagelightbox-loading {
	from { opacity: .5;	-o-transform: scale( .5 ); }
	50%	 { opacity: 1;	-o-transform: scale( .8 ); }
	to	 { opacity: .5;	-o-transform: scale( .5 ); }
}

@keyframes imagelightbox-loading {
	from { opacity: .5;	transform: scale( .5 ); }
	50%	 { opacity: 1;	transform: scale( .8 ); }
	to	 { opacity: .5;	transform: scale( .5 ); }
}


/* WITH CAPTION */
#imagelightbox-caption {
	position: fixed;
	z-index: 11001;
	background-color: rgba(200, 200, 200, .8); 
	min-height: 40px;
	left: 20%;
	right: 20%;
	bottom: 10px;
	text-align: center;}

#imagelightbox-caption h2,
#imagelightbox-caption h2 a {
	font-size: 18px;
	line-height: 40px;
	letter-spacing: 0.02em;
	font-family: 'DidotLTStd-Bold', 'Times New Roman', Times, serif;
	font-weight: normal;
	font-style: normal;
	margin: 0;
	color: #000;
	text-transform: uppercase; }

#imagelightbox-caption h2 a {
	text-transform: none; }


/*  NAVIGATION */
#imagelightbox-nav {
	position: fixed;
	z-index: 10001;
	left: 50%;
	bottom: 1%;
	-webkit-transform: translateX( -50% );
	-moz-transform: translateX( -50% );
	-ms-transform: translateX( -50% );
	-o-transform: translateX( -50% );
	transform: translateX( -50% ); }

#imagelightbox-nav a {
	width: 0.6em;
	height: 0.6em;
	border: 1px solid #777;
	display: inline-block;
	margin: 0 0.25em;
	border-radius: 50%; }

#imagelightbox-nav a.active {
	background-color: #262626;
	border-color: #262626; }

#imagelightbox-loading,
#imagelightbox-overlay,
#imagelightbox-close,
#imagelightbox-caption,
#imagelightbox-nav {
	-webkit-animation: fade-in .2s linear;
	-moz-animation: fade-in .2s linear;
	-o-animation: fade-in .2s linear;
	animation: fade-in .2s linear; }

@-webkit-keyframes fade-in {
	from	{ opacity: 0; }
	to		{ opacity: 1; }
}

@-moz-keyframes fade-in {
	from	{ opacity: 0; }
	to		{ opacity: 1; }
}

@-o-keyframes fade-in {
	from	{ opacity: 0; }
	to		{ opacity: 1; }
}

@keyframes fade-in {
	from	{ opacity: 0; }
	to		{ opacity: 1; }
}


/* CLOSE BUTTON */
#imagelightbox-close {
	text-align: left;
	text-indent: -9999px;
	width: 36px;
	height: 36px;
	border-radius: 50%; 
	border: 2px solid #262626;
	position: fixed;
	z-index: 10002;
	top: 30px;
	right: 30px; }
		
/* X im CLose-Button erzeugen */
#imagelightbox-close:before,
#imagelightbox-close:after {
	width: 2px;
	background-color: #262626;
	content: '';
	position: absolute;
	top: 28%;
	bottom: 31%;
	left: 50%;
	margin-left: -1px;
	-webkit-transition: all 0.4s ease;
		 -moz-transition: all 0.4s ease;
					transition: all 0.4s ease; }
	
#imagelightbox-close:before {
	-webkit-transform: rotate( 45deg );
	-moz-transform: rotate( 45deg );
	-ms-transform: rotate( 45deg );
	-o-transform: rotate( 45deg );
	transform: rotate( 45deg ); }

#imagelightbox-close:after {
	-webkit-transform: rotate( -45deg );
	-moz-transform: rotate( -45deg );
	-ms-transform: rotate( -45deg );
	-o-transform: rotate( -45deg );
	transform: rotate( -45deg ); }

#imagelightbox-close:hover:before {
	-webkit-transform: rotate( 225deg );
	-moz-transform: rotate( 135deg );
	-ms-transform: rotate( 135deg );
	-o-transform: rotate( 135deg );
	transform: rotate( 135deg ); }

#imagelightbox-close:hover:after {
	-webkit-transform: rotate( 135deg );
	-moz-transform: rotate( 45deg );
	-ms-transform: rotate( 45deg );
	-o-transform: rotate( 45deg );
	transform: rotate( 45deg ); }
	

	
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
#imagelightbox {
	margin-top: -12px; }

#imagelightbox-close {
	top: 10px;
	right: 10px; }
}	