.Gallery {
	margin: 20px 0 0 0;
}

.Gallery .GalleryBig {
	padding: 5px;
}

.Gallery .GalleryBig .caption .photographer {
	font-style: italic;
}

.Gallery .galleryNav {
	margin: 10px auto !important;
	width: 180px;
}

.Gallery .galleryNav li {
	float: left;
	list-style: none !important;
	margin: 0 !important;
	margin-bottom: 5px;
}

.Gallery .galleryNav li.prev a,
.Gallery .galleryNav li.next a {
	display: block;
	height: 30px;
	text-indent: -10000px;
	width: 30px;
}

.Gallery .galleryNav li.prev a {
	background: url(/kontext/images/fancybox/fancy_nav_left.png) no-repeat;
}

.Gallery .galleryNav li.next a {
	background: url(/kontext/images/fancybox/fancy_nav_right.png) no-repeat;
}

.Gallery .galleryNav li.imageNo {
	margin: 0 20px !important;
	text-align: center;
}

.Gallery ul.thumbnails {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	margin-left: -.25rem;
	margin-right: -.25rem;
	padding: 0 !important;
}
.Gallery ul.thumbnails li {
	list-style: none !important;
	margin: 0 !important;
	width: 100%;
}
/*
@media only screen and (min-width: 30em) {
	.Gallery ul.thumbnails li {
		width: 50%;
	}
}
@media only screen and (min-width: 45em) {
	.Gallery ul.thumbnails li {
		width: 33.333333%;
	}
}
@media only screen and (min-width: 60em) {
	.Gallery ul.thumbnails li {
		width: 25%;
	}
}
*/
.Gallery ul.thumbnails li {
	width: 25%;
}
.Jubilaeumsveranstaltung-Fotos .Gallery ul.thumbnails li,
.Landingpage-Template .Gallery ul.thumbnails li {
	width: 33.3333337%;
}
@media (min-width: 480px) { /* sm */
	.Jubilaeumsveranstaltung-Fotos .Gallery ul.thumbnails li,
	.Landingpage-Template .Gallery ul.thumbnails li {
		width: 25%;
	}
}
@media (min-width: 640px) { /* sm */
	.Jubilaeumsveranstaltung-Fotos .Gallery ul.thumbnails li,
	.Landingpage-Template .Gallery ul.thumbnails li {
		width: 20%;
	}
}
@media (min-width: 768px) { /* md */
	.Jubilaeumsveranstaltung-Fotos .Gallery ul.thumbnails li,
	.Landingpage-Template .Gallery ul.thumbnails li {
		width: 16.666666666666667%;
	}
}
@media (min-width: 1024px) { /* lg */
	.Jubilaeumsveranstaltung-Fotos .Gallery ul.thumbnails li,
	.Landingpage-Template .Gallery ul.thumbnails li {
		width: 14.285%;
	}
}
.Gallery ul.thumbnails li .thumb {
	background-position: 50% 50% !important;
	background-size: cover !important;
	padding-top: 100%;
}
.Gallery ul.thumbnails li a {
	display: block;
	margin: .25rem;
}
.Gallery ul.thumbnails li img.playButton {
	left: calc(50% - 1rem);
	opacity: 1;
	position: absolute;
	top: calc(50% - 1rem);
	width: 50px;
	z-index: 100;
}

/* Magnific Popup */
.mfp-content {
	text-align: center !important;
}
/* overlay at start */
.mfp-fade.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out;
	-moz-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}
/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out;
	-moz-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

@media (max-width: 640px) {
	.mfp-arrow {
		display: none !important;
	}
	.mfp-content {
		width: 100% !important;
	}
	.mfp-content video,
	.mfp-content audio {
		width: 100% !important;
	}
}