/* css für ÜK Zürich ZFA (zeichner-arch.ch) by seitenreich.ch
=============== */

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-between;
	z-index: 10;
	background-color: white;
	border-bottom: 1px solid black;
	width: 100%;}
.navigation a {
	color: black;
	text-decoration: none;
	border-bottom-style: none;
	vertical-align: middle;}
.navigation a::before, .topnav a::before {
	content: '';
	background-color: transparent;
	left: 0;
	width: 100%;}
.navigation a:hover {
	background-color: transparent;
	padding: 0;
	color: black;}
.logo {
	padding: 5px 5px 10px 50px;
	width: 500px;}
.topnav {
	display: flex;
	justify-content: space-between;
	margin-right: 50px;}
.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 {
		background-color: #200505;
		position: fixed;
		bottom: 0;
		height: 50px;}	
	.topnav {
		width: 100%;
		margin-right: 0;}
	.topnav a {color: white;}
}

/* Kopf */
.hero-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;}
.hero-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     display: flex;
     justify-content: center;
     align-items: center;
     pointer-events: none; /* macht nur Text klickbar */}
.hero-text {
    background: white; /* Nur hinter dem Text */
    padding: 20px 30px;
    text-align: center;
    pointer-events: auto; /* Button bleibt klickbar */
	opacity: 0.75;}
.hero-overlay h1 {
    font-size: 1.9em;
    margin: 0 0 20px;}
.hero-overlay h3 {font-size: 1em;}
.hero-overlay button {
    padding: 12px 24px;
    font-size: 1em;
    background-color: #007BFF;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;}
.hero-overlay button:hover {background-color: #0056b3;}

.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) {
	.hero-image {
		height: 420px;
		margin-top: 70px;}
	.header-bg {
		height: 420px;
		margin-top: 70px ;}
	.header-bg h1, .hero-overlay h1 {font-size: 2.2em;}
	.header-bg h3, .hero-overlay 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;}
.artikel {
	border-bottom: 1px solid silver;
	padding-bottom: 15px;
	margin-bottom: 15px;}
.artikel:last-child {
	border-bottom-style: none;
	margin-bottom: 0;
	padding-bottom: 0;}
.content {
	background-color: #fff;
	padding: 10px;}
.trager{margin-left: 10px;}
.adresse {margin-right: 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: flex;
	justify-content: space-between;
	width: 100%;}
	.trager{margin-left: 50px;}
	.adresse {margin-right: 50px;}
}
hr {
	margin-top: 50px;
	border-top: 1px solid silver;}
.ohnehintergrund {padding: 0;}

/* Hintergrundfarben */
.basics {border-top: 1px solid #353535;
}
#uek_1{background-color: #fbf2c4;}
#uek_2{background-color: #f9ae63;}
#uek_3{background-color: #a3c2d5;}
#uek_4{background-color: #a1dbab;}
#uek_5{background-color: #4ea7cd;}
#uek_6{background: linear-gradient(90deg, rgba(252, 238, 167, 1) 0%, rgba(255, 186, 174, 1) 20%, rgba(206, 225, 106, 1) 62.9%, rgba(78, 167, 205, 1) 100%) #fbf2c4;}
footer {
	position: static;
	width: 100%;
	text-align: center;
	min-height: 200px;
	font-size: 0.8em;
	padding-bottom: 60px;
	border-top: 1px solid #353535;}
.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 {
	text-decoration: none;
	color: #18272F;
	position: relative;}
a:not(:has(img))::before {
	content: '';
	background-color: hsla(196, 61%, 58%, .45);
	position: absolute;
	left: 0;
	width: 100%;
	height: 5px;
  	transition: all .2s ease-in-out;
	bottom: 0;}
a:hover::before {
	bottom: 0;
  	height: 100%;
	color: black;
	z-index: -1;}

/* Buttons */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  text-align: center;
  line-height: 38px;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
  border: 2px solid gray;
  cursor: pointer;
  box-sizing: border-box;
  margin-bottom: 5px;}
.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 {
  border-color: black;
  outline: 0;
  padding:  0 30px;
  border-width: 2px;
  color: black;
  background-color: transparent;}
.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; }
@media (max-width: 1020px) {
	.table {overflow-x: scroll;}
}


/* 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 > img {margin-bottom: 0;}
figcaption {
	color: black;
	font-style: italic;
	margin-top: 5px;
}
@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: .85;
	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: transparent;}

/* Utilities */
.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;}
@media screen and (min-width: 1024px) {
	.abstandoben {margin-top: 50px;}
}
