html {
	scroll-behavior: smooth;}
@media screen and (min-width: 1024px) {
	html {scroll-padding-top: 3rem;}
}
/* Reset by Josh Comeau */
*, *::before, *::after {box-sizing: border-box;}
* {margin: 0;}
html, body {height: 100%;}
body {-webkit-font-smoothing: antialiased;}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;}
input, button, textarea, select {
	font-family: inherit;
	font-size: 100%; 
	line-height: 1.15; 
	margin: 0;}
p, h1, h2, h3, h4, h5, h6 {overflow-wrap: break-word;}
#root, #__next {isolation: isolate;}
/* other Resets */
details summary { cursor: pointer;}
details summary > * {display: inline;}
/* End Reset */

/* Design
——————————*/

/*  Navigation */	
.navigation {
	display: flex;
	justify-content: space-around;
	z-index: 10;
	background-color: #5a4a4a;
	width: 100%;}
.navigation a {
	color: #fff;
	text-decoration: none;
	border-bottom-style: none;
	vertical-align: middle;}
.navigation a:hover {
	color: #ffffff;
	background-color: transparent;}
.logo {
	padding: 5px 5px 10px 10px;
	width: 500px;}
.topnav {
	display: flex;
	justify-content: space-between;}
.topnav a {
	display: block;
	text-align: center;
  	text-decoration: none;
	padding: 10px 10px 0;}
.topnav a:hover {
	background-color: #ddd;
  	color: black;
	padding: 10px 10px 0;}
@media screen and (min-width: 1024px){
	.navigation {
		position: fixed;
		top: 0;}
	.topnav {width: 500px;}
	.topnav a, .topnav a:hover {padding-top: 18px;}
}
@media screen and (max-width: 1024px) {
	.logo {
		display: none;}
	.navigation {
		position: fixed;
		bottom: 0;
		height: 50px;}	
	.topnav {width: 100%;}
}

/* Kopf */
.header-bg {
	background-image: url(../images/header-background.jpg);
	background-position: center center;
	background-repeat: none;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
	height: 350px;
	text-align: center;
	margin-bottom: 50px;
	position: relative;}
.header-bg h1 {font-size: 1.9em;}
.header-bg h3 {font-size: 1em;}
.titel-bg {
	background:rgba(255,255,255, 0.6);
	padding: 10px;
	position: absolute;
	width: 100%;
	height: 50%;
	left: 0;
	bottom: 20%;}
@media (min-width: 768px) {
	.header-bg {
		height: 420px;
		margin-top: 70px ;}
	.header-bg h1 {font-size: 2.2em;}
	.header-bg h3 {font-size: 1.2em;}
}

/* Inhalt */
section {
	padding-top: 15px;
	padding-bottom: 15px;}
section.ausstellung {
	width: 95%;
	margin-right: auto;
	margin-left: auto;}
.container {
	max-width: 1028px;
	margin: 0 auto;
	padding-top: 30px;
	padding-bottom: 30px;
	width: 95%;}
.text-container {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;}
.content {
	background-color: #fff;
	padding: 10px;}
.flex {
	display: inline-flex;
	justify-content: space-between;
	gap: 5px;}
@media (min-width: 550px) {
  .container {width: 90%; }
}
@media (min-width: 1020px) {
  .container {width: 100%; }
  .content {padding: 50px;}
  .footer-flex {
	display: inline-flex;
	justify-content: space-between;
	gap: 5px;}
}
hr {
	margin-top: 50px;
	border-top: 1px solid silver;}
.ohnehintergrund {padding: 0;}

/* Hintergrundfarben */
.basics {background-color: #f1f4f1;}
#uek_1 {background-color: #fceea7;}
#uek_2{background-color: #ffbaae;}
#uek_3{background-color: #cee16a;}
#uek_4{background-color: #a3d3d5;}
#uek_b, #uek-uebersicht {background-color: #eef2f3;}
footer {
	position: static;
	width: 100%;
	text-align: center;
	background-color: #ded7d3;
	min-height: 200px;
	font-size: 0.8em;
	padding-bottom: 60px;}
.adresse {
	margin-top: 20px;
	text-align: right;}
.trager {margin-top: 20px;}
.trager td {
	padding-top: 0;
	padding-right: 15px;
	padding-bottom: 0;
	text-align: left;
  	border-bottom: none;}

/* Links */
a {
	color: #1EAEDB;
	text-decoration: none;
	border-bottom: 1px solid #1EAEDB;
	padding-bottom: 3px;}
a:hover {
	color: white;
	background-color: #1EAEDB;
	padding: 3px;}
a.imagelink {
	padding:  0;
	border-bottom: none;}
a:hover.imagelink {
	background: none;
	padding: 0;}

/* Buttons */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #555;
  text-align: center;
  line-height: 38px;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: white;
  border-color: #888;
  outline: 0;
  padding:  0 30px;}
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #FFF;
  background-color: #33C3F0;
  border-color: #33C3F0; }
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #FFF;
  background-color: #1EAEDB;
  border-color: #1EAEDB; }
.white-button {background-color: #fff;}

/* Lists */
ul {
	list-style: circle outside;
	margin-left: 1em;}
ol {
  	list-style: decimal inside; }
ol, ul {
	padding-left: 0;
  	margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
	margin: 1.5rem 0 1.5rem 3rem;
  	font-size: 90%; }

/* Tables */
table {margin-bottom: 20px;}
th,
td {
	padding: 12px 15px;
  	text-align: left;
  	border-bottom: 1px solid #E1E1E1;
	min-width: 120px;}
th {border-bottom: 1px solid gray;}
th:first-child,
td:first-child {padding-left: 0; }
th:last-child,
td:last-child {padding-right: 0; }


/* To Top
——————————*/
#button-to-top {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 65px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #5a4a4a; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
/* Some padding */
  border-radius: 5px; /* Rounded corners */
  font-size: 2em;
  opacity: 0.7;
  padding: 5px;
  height: 45px;}
#button-to-top:hover { 
	background-color: #555; /* Add a dark-grey background on hover */
	opacity: 1;}
@media screen and (min-width: 1024px) {
	#button-to-top {bottom:  20px;}
}

/* Typo
—————————*/
html {
  font-size: 62.5%; }
body {
  font-size: 1.8em; 
  line-height: 1.6;
  font-weight: 400;
  font-family: Helvetica, Arial, sans-serif;
  color: #222; }
p, ul {margin-bottom: 0.9em;}
h1, h2, h3, h4, h5, h6, th { 
	font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-style: normal;}
h1, h2, h3, h4, h5, h6 {
	margin-bottom: 2rem;
	clear: both;}
h1 { font-size: 4.0rem; line-height: 1.2; }
h2 { font-size: 2.4rem; line-height: 1.25; } 
h3 {font-size: 2rem; line-height: 1.3;margin-top: 1em;}
h4, .header { font-size: 1.8rem; line-height: 1.35; }
@media (min-width: 550px) {
  h1 { font-size: 5.0rem; }
  h2 { font-size: 4.0rem; }
  h3 { font-size: 3.0rem; }
  h4, .header { font-size: 2.0rem; }
}
.muted {color: #cfcfcf;}
address {line-height: 1.6em;}
th, .600  {font-weight: bold;}
.bezeichnung {color: #676767;font-weight: 300;}
.rot {color:red;}
.title {
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1.4em;
	margin-bottom: 10px;}
address {
	font-weight: normal;
	font-style: normal;
	line-height: 1.2em;
	margin-bottom: 20px;}
figcaption {
	font-style: italic;
	font-size: 0.9em;}

/* Bilder 
————————— */
img {
	display: block;
	height: auto;
	width: 100%;
	margin-bottom: 30px;}
figure {margin-bottom: 30px;}
@media only screen and (min-width: 768px) {
	img.fifty {
		float: right;
		width: 50%;
		margin-left: 50px;
		margin-bottom: 50px;
	}
	img.forty, figure.forty {
		float: right;
		width: 40%;
		margin-left: 50px;
		margin-bottom: 50px;
		clear: both;
	}
}
.gallery {margin-bottom: 10px;}
.schatten {box-shadow: 10px 20px 15px silver;}

/* Galerie */
.masonry {
	transition: all .5s ease-in-out;
	column-gap: 30px;
	column-fill: initial;}
.masonry .brick {
	margin-bottom: 30px;
  	display: inline-block; /* Fix the misalignment of items */
  	vertical-align: top; /* Keep the item on the very top */}
.masonry .brick:hover img {
	opacity: .75;
	padding:  0;}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .masonry {column-count: 2;}
}
@media only screen and (min-width: 1024px) {
  .masonry {column-count: 3;}
}
.clean:hover {
	background: none;
}

/* Utilities */

.abstandoben {margin-top: 50px;}
.abgesagt {
   display: block;
   top: 10px;
   width: 105px;
   height: 30px;
   line-height: 30px;
   text-align: center;
   opacity: 0.7;
   -webkit-transform: rotate(30deg);
   -moz-transform:    rotate(30deg);
   -ms-transform:     rotate(30deg);
   transform:         rotate(30deg);
   font-size: 16px;
   font-weight: 700;
   color: white;
   background-color: red;
   border: 1px solid white;
   z-index: 99;
	right: 1px;
   position: relative;}
.sticky {
	position: sticky;
	top: 80px;
	margin-top: 20px;}
.clear {clear: both;}