/*
 * Combined style sheet for the index pages and the slide pages, with classes that are common to both styles
 */

html {
	font-family: Verdana, Arial, sans-serif;
	font-size: 16px;
}
body {
	margin: 8px;
	text-align: center;
}
a {
	outline: 0;
}
a:link, a:visited, a:active {
	text-decoration: none
}
img {
	border: none;
}
#albumtitle {
	font-size: 1.5rem;
	margin: 0px auto 5px;
}
#albumdescription {
	font-size: 1.0rem;
	max-width: 970px;
	margin: 0px auto 5px;
}
#foldertitle {
	font-size: 1.25rem;
	margin: 0px auto 5px;
}
#foldercomment {
	font-size: 1.0rem;
	max-width: 970px;
	margin: 0px auto 5px;
}
#imagetitle {
	font-size: 1.25rem;
	margin: 0px auto 5px;
}
#nav img {
	margin: 15px;
}
#thumbnails {
	max-width: 970px;
	margin: 0px auto;
	font-size: 0px; /* Hack to collapse whitespace between boxes */
}
#thumbnails > div {
	display: inline-block;
	margin: 7px;
	vertical-align: top;
	width: 180px;
}
#thumbnails > div img {
	padding: 0px;
}
#thumbnails > div > div {
	font-size: 0.8rem;
	margin: 5px 0px;
}
#thumbnav {
	margin: 10px 0px 0px;
}
#thumbnav img {
	padding: 0px;
	margin-bottom: 12px;
}
#thumbnav > div {
	position: relative;
	display: inline-block;
	line-height: 0px;
}
#thumbcurrent::after {
	content: ' ';
	position: absolute;
	border: 6px solid transparent;
	top: 100%;
	left: 50%;
	margin-left: -6px;
	margin-top: -16px;
	-moz-transform: scale(.9999); /* To remove jagged edges in FF */
}
#slideimage {
	position: relative;
	display: inline-block;
	line-height: 0px;
	padding: 0px;
	margin-top: 10px;
}
#slideimage img {
	max-width: 100%;
	height: auto;
}
#slideimage video {
	outline: 0;
	max-width: 100%;
	height: auto;
}
#slide-prev {
	position: absolute;
	top: 0;
	left: 0;
	width: 40%;
	height: 100%;
}
#slide-next {
	position: absolute;
	top: 0;
	right: 0;
	width: 60%;
	height: 100%;
}
#slidecomment {
	font-size: 0.9rem;
	margin: 8px auto;
}
#creditlink {
	font-size: 0.7rem;
	margin: 8px 0px;
}
.noborder {
	border: none !important;
}

div.image {
	width: 88vdh;
	object-fit: scale-down;
	height: auto;
	overflow: hidden;
}
div.image img {
	width: 100vdh;
	height: 100vdh;
	object-fit: scale-down;
	/* SCALE */
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	/* VERZÖGERUNG */
	-webkit-transition: all 0.5s linear;
	-moz-transition: all 0.5s linear;
	-ms-transition: all 0.5s linear;
	-o-transition: all 0.5s linear;
	transition: all 0.5s linear;
}
div.image img:hover {
	-webkit-transform: scale(2);
	-moz-transform: scale(2);
	-ms-transform: scale(2);
	-o-transform: scale(2);
	transform: scale(2);
}

.img-zoom-container {
  position: relative;
}

.img-zoom-result {
  border: 1px solid #d4d4d4;
  /* Größe der Lupe */
  width: 100%;
  height: 100%;
  position: absolute;
  display: none; /* Erst bei Hover sichtbar machen */
  z-index: 99;
  /* Verhindert, dass der Mauszeiger in der Lupe flackert */
  pointer-events: none;
  background-repeat: no-repeat;
}
