/* CSS max-width: 600px */
header {
	
}
#banner_middle {
	
}
#menuB {
	display:none;
}

#menuQ {
	font-size:0.75em;
}

ul#menuQ a {
	display: block;
	padding: 0.2em 10px;
	font-weight: bold;
	text-decoration: none;
	/* background-color: #F1F3F4; */
	color: #333;
}

ul#menuQ a:hover,
ul#menuQ a:active {
	color: #FFFFFF;
	background-color: #000000;
}

div.sitepathL {
	float: left;
	min-width: 70%;
	text-align: left;
	font-size: 0.8em;
}

div.sitepathR {
	float: right;
	min-width: 20%;
	text-align: right;
	font-size: 0.5em;
}

figure {
	width: 95%;
	max-width: 350px;
	margin: 0px auto;
	text-align: center;
}

img.img {
  display: block;
  width: 100%;
  max-width: 400px; 
  height: auto;
  box-shadow: 5px 5px 5px grey;
}

/* auf Mobilgeräten keine Exif Daten anzeigen */
figcaption.exif {
	display: none;
}
figcaption,
figcaption.left,
figcaption.right,
figcaption.center {
	width:98%;
	display: block; 
	text-align:center;
	padding: 0.2em;
	font-size: 1em;
}

.sub { display: inline; font-size: 0.5em; }
.moreKat { font-size: 0.5em; margin: 0.5em; padding:0.1em; text-align: left;}
.menu_quer { 
	display: inline-block; 
	overflow: hidden;
	font-size:0.9em;
	margin-right: 0.2em;
	padding:0px;
	border: 1px solid silver;
	border-radius: 0.5em 0.5em 0.5em;
}


/* (A2) SMALL SCREENS - 2 IMAGES PER ROW */
@media screen and (max-width: 600px) {
  .gallery { 
	display: inline-flex; /* or inline-flex | flex */
	width: 100%;
	flex-wrap: wrap ;
	justify-content: center ;
	gap: 10px 20px;
	}
	
	.gallery-item {
	width: 40%;
	min-height: 5%;
	}

	.gallery-item img {
	width: 100%;
	height: auto;
	}
	
	.gallery_single {
	display: flex; 
	width: 100%;
	flex-wrap: wrap;
	justify-content: center ;
	gap: 10px 20px;
	}
	.gallery-item-single {
	width: 90%;
	min-height: 5%;
	}

	.gallery-item-single img {
	width: 100%;
	min-height: 5%;
	}
}

 /* Add a black background color to the top navigation */
.topnav {
   overflow: hidden;
   min-height:1em;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 0.2em 0.5em; 
  text-decoration: none;
  font-size: 1em;
}

/* Change the color of links on hover */
.topnav a:hover {
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
} 

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  /* .topnav a:not(:first-child) {display: none;} */
  .topnav a {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
} 

@media (min-width: 25em) {
  figure {
    width: 20em;
  }
  img.img {
    width: 50%;
    margin: 0 auto;
  }
}

@media (min-width: 50em) {
  img.img {
    width: 25%;
	margin: 0 auto;
  }
}

.marquee {
 width: 100%;
 margin: auto;
 font-size:2em;
 text-align:left;
 padding: 10px;
 overflow: hidden;
 white-space: nowrap;
 animation: marquee 10s linear infinite;
 animation-direction: reverse;
 -webkit-animation: marquee 10s linear infinite;
}

