#modulGallery .galleryHeader {
	width: 100%;
	display: block;
	color: #b3b3b3
}
#modulGallery .albumHeader {
	width: 100%;
	display: block;
	color: #b3b3b3
}
#modulGallery .gallery.gallery-default {
	display: flex;
	flex-flow: row wrap;
	margin: 0rem -.5rem 1rem -.5rem;
}
#modulGallery .gallery.gallery-default .fotoThumbnail {
	position:relative;
	background: #fff;
	padding: .5rem;
	border: 0;
	max-width: 100%;
}
#modulGallery .gallery .fotoThumbnail .image a {
	position:relative;
	display: inline-block;
	

}
#modulGallery .gallery .fotoThumbnail .image img {
	display: block;
	max-width: 100%;
	height: auto;
	z-index: 1; 
}

#modulGallery .gallery.gallery-default.g-cover .image img {
	object-fit: cover;
}
#modulGallery .gallery.gallery-default.g-fill .image img {
	object-fit: fill;
}
#modulGallery .gallery.gallery-default.g-16-9 .image img {
	aspect-ratio: 16/9;
}
#modulGallery .gallery.gallery-default.g-3-2 .image img {
	aspect-ratio: 3/2;
}

 @media screen and (min-width: 480px) {
#modulGallery .gallery.gallery-default .fotoThumbnail {
	width : 50%;
	max-width: 50%
}
}
 @media screen and (min-width: 768px) {
.content  #modulGallery .gallery.gallery-default .fotoThumbnail {
	width : 33.3333%;
	max-width: 33.3333%
}
}
@media screen and (min-width: calc(768px + 224px)) {
.content-sidebar #modulGallery .gallery.gallery-default .fotoThumbnail {
	width : 33.3333%;
	max-width: 33.3333%
}
}
@media screen and (min-width: 992px) {
.content #modulGallery .gallery.gallery-default .fotoThumbnail {
	width : 25%;
	max-width: 25%
}
}
#modulGallery .gallery.gallery-masonry {
	column-count: 1;
	column-gap: 0;
    margin: 1rem -.5rem 1rem -.5rem;
	-webkit-column-fill:balance;
	-moz-column-fill:balance;
	column-fill:balance;
}
#modulGallery .gallery.gallery-masonry .fotoThumbnail {
	position:relative;
	display:block;
	padding: .1rem .5rem .5rem .5rem;
	cursor: pointer;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid-column;
}
#modulGallery .gallery.gallery-masonry .fotoThumbnail:last-child {
	padding: .1rem .5rem 0 .5rem;
}
 @media screen and (min-width: 480px) {
#modulGallery .gallery.gallery-masonry {
	column-count: 2;
}
}
@media screen and (min-width: 768px) {
.content #modulGallery .gallery.gallery-masonry {
	column-count: 3;
}
}
@media screen and (min-width: calc(768px + 224px)) {
.content-sidebar #modulGallery .gallery.gallery-masonry {
	column-count: 3;
}
}
@media screen and (min-width: 992px) {
.content #modulGallery .gallery.gallery-masonry {
	column-count: 4;
}
}
#modulGallery .gallery .image a span {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background: url('../img/overlay.png');
	text-indent: -9999px;
	z-index: 1;
	opacity: 0;
	transition: opacity .8s ease;
}
#modulGallery .gallery .image a span span {
	background: url('../img/more.png') center no-repeat;
	text-indent: -9999px;
	opacity: 0;
	transition: opacity .8s ease;
}
#modulGallery .gallery .image a:hover span,
#modulGallery .gallery .image a:hover span span {
	opacity: 1;		
}
#modulGallery .gallery .fotoThumbnail .galleryoverview.titel,
#modulGallery .gallery .fotoThumbnail .galleryalbum.titel{
	margin-top: auto;
	position:absolute;
	bottom: 1.3rem;
	left:.8rem;
	max-width:calc(100% - 1.6rem);
	word-wrap:break-word;
	background: rgba(255, 255, 255, .7);
	border-radius:4px;
	padding: .15rem .25rem;
	font-size:.85rem;
	line-height:1rem;
	z-index: 2;
}
#modulGallery .gallery .fotoThumbnail .galleryoverview.titel.ontitle,
#modulGallery .gallery .fotoThumbnail .galleryalbum.titel.ontitle{
	display:block;
}
#modulGallery .gallery .fotoThumbnail .galleryoverview.titel.notitle,
#modulGallery .gallery .fotoThumbnail .galleryalbum.titel.notitle{
	display:none;
}
#modulGallery .gallery.gallery-masonry .fotoThumbnail:last-child .titel {
	bottom: .8rem;
}
#modulGallery .gallery .fotoThumbnail .titel a {
	font-weight: normal;
	color: #444!important;
	text-decoration: none!important
}
#modulGallery .gallery .fotoThumbnail .anzahl, #modulGallery .gallery .fotoThumbnail .imgdescription {
	color: #444!important;
	font-size:.75rem;
	line-height:1rem;
}
.galleryoverview {
	display: block;
}
.galleryalbum {
	display: block;
}
#modulGallery .clean {
	clear: both;
	height: 0;
	font-size: 0;
	display: block;
	width: 100%
}