/* CSS fuer Darstellung der Bilder */

.description {
    position: absolute;
    font-size: 1.1em;
    line-height: 1.2em;
    color: #fff;
    font-weight: 400;
	text-shadow: 0 0 5px #000;
	padding: 0 15px 0 0;
    bottom: 10px;
    left: 15px
}

.colorboxlink {
	border-bottom: none
}

.colorboxlink:hover {
	border-bottom: none
}

.thumbnail {
    border: 0;
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top
}

table.gallerytable {
    margin: 0 auto 0;
    width: 100%;
    max-width: 2600px;
    border-collapse: separate;
    border-spacing: 1px
}

td.gallerytd {
    vertical-align:top;
    overflow: hidden;
    border:0;
    margin: 0;
    padding: 0
}

.gallerytd-div {
    position: relative;
    width: 100%;
    padding-top: 100% /* Fallback fŸr alte Browser */
}

/* Moderne Browser Ÿberschreiben padding-top */
@supports (aspect-ratio: 1 / 1) {
  .gallerytd-div {
    aspect-ratio: 1 / 1;
    padding-top: unset
  }
}

.thumbnail {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

img.thumbnail {
  	width: 100%;
  	height: 100%;
  	object-fit: cover;
  	transition-duration: 0.4s
}

@media (hover: hover) and (pointer: fine) {
	img.thumbnail:hover {
  		transform: scale(1.03);
  		opacity: 0.7
	}
}

/* ---------- max-width 600px ----------- */
@media only screen and (max-width: 600px) {
    .gallerytd {
        font-size: 86%;
		height: auto;
		margin: 0
    }
}