body{
	font-family: "Playfair Display";
	text-align: center;
}

h1{
	font-family: "Playfair Display";
	font-size: 48pt;
	font-style: normal;
	font-variant: normal;
	font-weight: bold;
	margin-block-start: 0;
	margin-block-end: 0;
}

h2{
	font-size: 24pt;
	margin-block-start: 0;
	margin-block-end: 0;
}

.row{
	margin-top: 0.5%;
}

.thumb{
	width:16%;
	margin-left, margin-right: 2%;
	vertical-align: middle;
	margin-top, margin-bottom: auto;

}

.pagination{
	margin-top: 10px;
	margin-bottom: 10px;
}

.page_nav {
	margin-left: 1em;
}

.page_nav:link,
.page_nav:hover,
.page_nav:visited{
	color: #566573;
}

footer{
	font-style: italic;
	color: #566573;
	margin-top: 2em;
}

/* LIGHTBOX */

/* Modal (background) */
.modal{
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 50px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: black;
}

.thumbnail_row{
}

.column {
  float: left;
  width: 25%;
  height: 25px;
}

.modal-content{
	position: relative;
	background-color: #fefefe;
	margin:auto;
	padding: 0;
	width: auto;
	height: auto;
	max-width: 90%;
	max-height: 95vh;
}

/* Close button */
.close{
	color: white;
	position: absolute;
	top: 10px;
	right: 25px;
	font-size: 35px;
	font-weight: bold;
}

.close:hover, .close:focus{
	color:999;
	text-decoration: none;
	cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
	object-fit: contain;
	background-color: black;
}

/* Modal image fit screen preview */
.fitScreenImg {
		width: auto;
		height: auto;
		max-height: 80vh;
	}

/* Next / Previous controls */
/* TODO: better positioning? (margin, padding, ...) */
.prev, .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	left:0;
	right:auto;
	width: auto;
	padding: 16px;
	margin-top: -50px;
	color: white;
	font-weight: bold;
	font-size: 20px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none; /* Standard syntax */
	-webkit-user-select: none; /* Safari 3.1+ */
  	-moz-user-select: none; /* Firefox 2+ */
  	-ms-user-select: none; /* IE 10+ */
}



/* Position next to the right and change border radius */
.next {
  right: 0;
	left:auto;
  border-radius: 3px 0 0 3px;
}

/* on hover change color with a little bit transparency */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text in images (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* small transparency for thumbnail */
img.demo {
  opacity: 0.6;
  width: 40px;
}

/* no transparency for active or hover over thumbnail */
.active,
.demo:hover {
  opacity: 1;
}

/* add shadow for all images while hover */
img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
