﻿/* IMAGE LIGHTBOX SELECTOR */

#imagelightbox {
	cursor: pointer;
	position: fixed;
	z-index: 10000;
	-webkit-box-shadow: 0 0 20px rgba(0,0,0,0.75);
	box-shadow: 0 0 20px rgba(0,0,0,0.75);

	-ms-touch-action: none;
	touch-action: none;
}

/* AKTIVITÄTSSYMBOL */

#imagelightbox-loading, #imagelightbox-loading div {
	width: 20px;
	height: 20px;
	border-radius: 50%;
}

#imagelightbox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 10003;
	background: rgba(0,0,0,0.42);
	padding: 10px;
	margin: -20px 0 0 -20px;
	-webkit-box-shadow: 0 0 20px rgba(0,0,0,0.75 );
	box-shadow: 0 0 20px rgba(0,0,0,0.75 );
}

#imagelightbox-loading div {
	background: rgb(250,211,17);

	-webkit-animation: imagelightbox-loading 0.5s ease infinite;
	animation: imagelightbox-loading 0.5s ease infinite;
}

@-webkit-keyframes imagelightbox-loading {
	from	{ opacity: 0.5;	-webkit-transform: scale(0.75); }
	50%	{ opacity: 1.0;	-webkit-transform: scale(1); }
	to	{ opacity: 0.5;	-webkit-transform: scale(0.75); }
}

@keyframes imagelightbox-loading {
	from 	{ opacity: 0.5;	transform: scale(0.75); }
	50%	{ opacity: 1.0;	transform: scale(1); }
	to	{ opacity: 0.5;	transform: scale(0.75); }
}

/* ÜBERLAGERUNG */

#imagelightbox-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9998;
	background: rgb(255,255,255);
}

/* ESC-BUTTON */

#imagelightbox-close {
	cursor: pointer;
	position: fixed;
	top: 0%;
	right: 0%;
	z-index: 10002;
	width: 40px;
	height: 40px;
	background: rgb(0,0,0);
	text-align: left;
	border: none;
	-webkit-transition: 0.2s;
	transition: 0.2s;
}
			
#imagelightbox-close:hover {
	background: rgb(250,211,17);
	-webkit-transition: 0.2s;
	transition: 0.2s;
}

#imagelightbox-close:before, #imagelightbox-close:after {
	position: absolute;
	top: 20%;
	bottom: 20%;
	left: 50%;
	width: 3px;
	background: rgb(255,255,255);
	margin-left: -1px;
	content: '';
}

#imagelightbox-close:before {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

#imagelightbox-close:after {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/* PFEIL-BUTTON */

.imagelightbox-arrow {
	cursor: pointer;
	display: none;
	position: fixed;
	z-index: 10001;
	width: 40px;
	background: none;
	vertical-align: middle;
	border: none;
	-webkit-transition: 0.2s;
	transition: 0.2s;
	}

.imagelightbox-arrow:hover {
	background: rgba(0,0,0,0.42);
	-webkit-transition: 0.2s;
	transition: 0.2s;
	}

.imagelightbox-arrow-left {
	left: 0;
	top: 0;
	height: calc(100% - 36px);
}

.imagelightbox-arrow-right {
	right: 0;
	top: 40px;
	height: calc(100% - 76px);
}

.imagelightbox-arrow:before {
	display: inline-block;
	width: 0;
	height: 0;
	border: 12px solid transparent;
	margin-bottom: -3px;
	content: '';
	}

.imagelightbox-arrow-left:before {
	border-right-color: rgb(0,0,0);
	border-left: none;
	margin-left: -2px;
}

.imagelightbox-arrow-right:before {
	border-right: none;
	border-left-color: rgb(0,0,0);
	margin-right: -2px;
	}

#imagelightbox-loading, #imagelightbox-overlay, #imagelightbox-close, #imagelightbox-caption, .imagelightbox-arrow {
	-webkit-animation: fade-in 0.5s linear;
	animation: fade-in 0.5s linear;
}
		
@-webkit-keyframes fade-in {
	from	{ opacity: 0; }
	to	{ opacity: 1; }
}

@keyframes fade-in 	{
	from	{ opacity: 0; }
	to	{ opacity: 1; }
}

/* GALLERIETITEL */

#imagelightbox-caption {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10001;
	background: rgba(0,0,0,0.42);
	text-align: center;
	color: rgb(255,255,255);
	padding: 10px;
}