body, h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	color: #000000;
}

h2 {
color:#000000;
}
h3 {
color:#000000;
}
h4 {
color:#000000;
}
h5 {
color:#000000;
}
h6 {
color:#CCCCCC;
}

.container { 
	height:100vh; 
	display: grid; 
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1vw;
	grid-template-rows: 1fr 1fr 4fr 1fr; 
	grid-template-columns: 25% 25% 25% 25%;
	grid-template-areas: 
		"header header header header"
		"sidebar content content content"
		"footer footer footer footer"; 
}

header { 
  grid-area: header; 
} 
aside { 
  grid-area: sidebar; 
  background: #CCCCCC;
} 
article { 
  grid-area: content; 
  background: #CCCCCC;
} 
footer { 
  grid-area: footer; 
}

section {
	 margin-top: 100px;
}

img {
	max-width: 100%;
	height: auto;
}

.topheadline {
	margin-top: -50px;
	color: #000000;
	font-size: 1.5em;
}

.nextsection {
	margin-top: 20px;
	text-align: center;
	line-height: 1.5;
}

.topnav {
	overflow: hidden;
	background: #000033;
	padding-bottom: 4.0px;
    padding-block-end: 6.0px;
}

#header img {
  width: 100%;
  height: auto;
  margin-bottom: -5px;
}

.topnav a {
	float: left;
	display: block;
	color: #ffffff;
	text-align: center;
	padding: 10px 40px;
	text-decoration: none;
	font-size: 1em;
    padding-bottom: 10px;	
}

.topnav a:hover {
	color: #f0ffC0;
}

.topnav a:visited {
	color: #f0ffC0;
}

.topnav .active {
  background-color: #4CAF50;
  color: white;
}

.topnav .icon {
  display: none;
}

.navback {
	background-color: #999;
	width: 100%;
	line-height: 1.5;
}

.mainnav {
	overflow: hidden;
	background-color: #999;
	margin-bottom: 15px;
}

.mainnav a {
	color: #fff;
	display: block;
	background: #999 url("menu7neu.gif") no-repeat 0 -33px;
	font-family: Lucida-Console, sans-serif;
	font-size: 1em;
	padding: 12px 0px 0px 38px;
	text-decoration: none;
	width: 100%;
}

.mainnav a:hover {
	color: #222;
	display: block;
	background: #CCC url("menu7neu.gif") no-repeat;
}

.mainnav .active {
  background-color: #4CAF50;
  color: white;
}

.mainnav .icon {
  display: none;
  padding: 0px 0px 0x 0px;
}

#main p {
  margin: 10px;
}

div.gallery {
	float: left;
	max-width: 100%;
}

div.picture {
	float: left;
	margin-bottom: 2em;
	width: 100%;
}

.picture div {
	float: left;
}

.picture img {
	float: left;
	vertical-align: top;
	margin-right: 0.5em;
}

.picture p {
	text-align: left;
	width: 90%;
}

.picture span{
	float: left;
}

.flip span{
	font-size: 1.2em;
	font-weight: bold;
}

.flip span:hover {
	text-decoration: underline;
}

.panel {
	border: 2px solid #333333;
	padding: 2px;
	display: none;
}

.panel img {
	float: left;
	width: 40%;
    margin: 0.3em 0.5em 0.5em 0.5em;
}

div.gallery {
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    max-width: 100%;
}

div.gallery:hover {
    border: 1px solid #777;
}

div.gallery img {
    width: 100%;
    height: auto;
}

div.desc {
    padding: 15px;
    text-align: center;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text standard */
/*
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
 
    // Position the tooltip text - see examples below!
    position: absolute;
    z-index: 1;
}
*/
/* Tooltip text pfeil oben */
.tooltip .tooltiptext::after {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    content: " ";
    position: absolute;
    bottom: 100%;  /* At the top of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}


/* Full-HD Monitor ----------- */
@media only screen and (max-width: 1920px) and (min-width: 1280px) {
	body, h1, h2, h3, h4, h5, h6 {
		margin: 0;
		padding: 0;
	}
	.container {
		display: grid;
		font-family: Helvetica, Arial, sans-serif;
		font-size: 1.1vw;
		grid-template-rows: 1fr 4fr 1fr;
		grid-template-columns: 22% 26% 26% 26%;
		grid-template-areas: "header header header header"    "sidebar content content content"    "footer footer footer footer";
	} 
}  

/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 320px)
and (orientation : portrait) {
	.container { 
		display: grid; 
		font-family: Helvetica, Arial, sans-serif;
		font-size: 4vw;
		grid-template-rows: 1fr 1fr 4fr 1fr; 
		grid-template-columns: 100%;
		grid-template-areas: 
			"header"
			"sidebar"
			"content"
			"footer"
		; 
	}
	
	header h1 { font-size: 3.2vw; }
	.topnav a:not(:first-child) {display: none;}
	.topnav a.icon {
		float: right;
		display: block;
	}
	#header img {
  margin-bottom: -2px;
  }
	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
		position: absolute;
		right: 0;
		top: 0;
	}
	.topnav.responsive a {
		float: none;
		display: block;
		text-align: left;
	}

	.mainnav a {display: none;} /* :not(:first-child) */
	.mainnav a.icon {
		float: left;
		display: block;
		background: #999;
		width: 100%;
	}
	.mainnav.responsive {position: relative;}
	.mainnav.responsive .icon {
		position: absolute;
		left: 0;
		top: 0;
	}
	.mainnav.responsive a {
		float: none;
		display: block;
		text-align: left;
		width: 100%;
	}
}

/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px)
and (max-width : 480px) {
	.container { 
		display: grid; 
		font-family: Helvetica, Arial, sans-serif;
		font-size: 4vw;
		grid-template-rows: 1fr 1fr 4fr 1fr; 
		grid-template-columns: 100%;
		grid-template-areas: 
			"header"
			"sidebar"
			"content"
			"footer"
		; 
	}
	
	header h1 { font-size: 3.2vw; }
	.topnav a:not(:first-child) {display: none;}
	.topnav a.icon {
		float: right;
		display: block;
	}
	#header img {
  margin-bottom: -2px;
  }
	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
		position: absolute;
		right: 0;
		top: 0;
	}
	.topnav.responsive a {
		float: none;
		display: block;
		text-align: left;
	}

	.mainnav a {display: none;} /* :not(:first-child) */
	.mainnav a.icon {
		float: left;
		display: block;
		background: #999;
		width: 100%;
	}
	.mainnav.responsive {position: relative;}
	.mainnav.responsive .icon {
		position: absolute;
		left: 0;
		top: 0;
	}
	.mainnav.responsive a {
		float: none;
		display: block;
		text-align: left;
		width: 100%;
	}
}

@media only screen
and (min-width : 481px)
and (max-width : 890px) {
	body, h1, h2, h3, h4, h5, h6 {
		margin: 0;
		padding: 0;
	}
	.container { 
		display: grid; 
		font-family: Helvetica, Arial, sans-serif;
		font-family: Helvetica, Arial, sans-serif;
		font-size: 2vw;
		grid-template-rows: 1fr 1fr 4fr 1fr; 
		grid-template-columns: 100%;
		grid-template-areas: 
			"header"
			"sidebar"
			"content"
			"footer"; 
	} 
	
	header h1 { font-size: 3vw; }
	#header img {
  margin-bottom: -2px;
  }
	.topnav a:not(:first-child) {display: none;}
	.topnav a.icon {
	float: right;
	display: block;
	}
	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
	position: absolute;
	right: 0;
	top: 0;
	}
	.topnav.responsive a {
	float: none;
	display: block;
	text-align: left;
	}

	.mainnav {
		width: 100%;
	}
	.mainnav a {display: none;} /* :not(:first-child) */
	.mainnav a.icon {
		float: left;
		display: block;
		background: #999;
		width: 100%;
	}
	.mainnav.responsive {position: relative;}
	.mainnav.responsive .icon {
		position: absolute;
		left: 0;
		top: 0;
	}
	.mainnav.responsive a {
		float: none;
		display: block;
		text-align: left;
		width: 100%;
	}
}  

/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
	.container { 
		display: grid; 
		font-family: Helvetica, Arial, sans-serif;
		font-size: 2vw;
		grid-template-rows: 1fr 1fr 4fr 1fr; 
		grid-template-columns: 100%;
		grid-template-areas: 
			"header"
			"sidebar"
			"content"
			"footer"
		; 
	}
	/* header h1 { font-size: 0.6em; } */
	#header img {
  margin-bottom: -2px;
  }

	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
	position: absolute;
	right: 0;
	top: 0;
	}
	.topnav.responsive a {
	float: none;
	display: block;
	text-align: left;
	}

	.mainnav {
		width: 100%;
	}
	.mainnav a {display: none;} /* :not(:first-child) */
	.mainnav a.icon {
		float: left;
		display: block;
		background: #999;
		width: 100%;
	}
	.mainnav.responsive {position: relative;}
	.mainnav.responsive .icon {
		position: absolute;
		left: 0;
		top: 0;
	}
	.mainnav.responsive a {
		float: none;
		display: block;
		text-align: left;
		width: 100%;
	}
	.topnav a::after{
      content: "";
    }
}

/* iPads (landscape) ----------- */
@media only screen
and (min-width : 768px)
and (max-width : 1024px)
and (orientation : landscape) {
	.container {
		display: grid;
		font-family: Helvetica, Arial, sans-serif;
		font-size: 0.6em;
		grid-template-rows: 1fr 1fr 4fr 1fr;
		grid-template-columns: 22% 77.9%;
		grid-template-areas: 
			"header header"
			"sidebar content"
			"footer footer";
	}
	#header img {
  margin-bottom: -2px;
  }

	.topnav a:not(:first-child) {display: none;}
	.topnav a.icon {
	float: right;
	display: block;
	}
	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
	position: absolute;
	right: 0;
	top: 0;
	}
	.topnav.responsive a {
	float: none;
	display: block;
	text-align: left;
	}
	.mainnav a {display: none;} /* :not(:first-child) */
	.mainnav a.icon {
		float: left;
		display: block;
		background: #999;
		width: 100%;
	}
	.mainnav.responsive {position: relative;}
	.mainnav.responsive .icon {
		position: absolute;
		left: 0;
		top: 0;
	}
	.mainnav.responsive a {
		float: none;
		display: block;
		text-align: left;
		width: 100%;
	}
}

/* iPads (portrait) ----------- */
@media only screen
and (min-width : 768px)
and (max-width : 1024px)
and (orientation : portrait) {
	.container { 
		display: grid; 
		font-family: Helvetica, Arial, sans-serif;
		font-size: 1.8vw;
		grid-template-rows: 1fr 1fr 4fr 1fr; 
		grid-template-columns: 100%;
		grid-template-areas: 
			"header"
			"sidebar"
			"content"
			"footer"
		;
	}
	/* header h1 { font-size: 1.6em; } */
	section {
		 margin-top: 50px;
  }
	#header img {
  margin-bottom: -3px;
  }

  .navback {
    padding-bottom: 10px;
  }
	
	.topnav a:not(:first-child) {display: none;}
	.topnav a.icon {
	float: right;
	display: block;
	}
	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
	position: absolute;
	right: 0;
	top: 0;
	}
	.topnav.responsive a {
	float: none;
	display: block;
	text-align: left;
	}
	.mainnav a {display: none;} /* :not(:first-child) */
	.mainnav a.icon {
		float: left;
		display: block;
		background: #999;
		width: 100%;
	}
	.mainnav.responsive {position: relative;}
	.mainnav.responsive .icon {
		position: absolute;
		left: 0;
		top: 0;
	}
	.mainnav.responsive a {
		float: none;
		display: block;
		text-align: left;
		width: 100%;
	}
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5) and (max-width : 568),
only screen and (min-device-pixel-ratio : 1.5) {
	.container { 
		display: grid; 
		font-family: Helvetica, Arial, sans-serif;
		font-size: 1.8vw;
		grid-template-rows: 1fr 1fr 4fr 1fr; 
		grid-template-columns: 100%;
		grid-template-areas: 
			"header"
			"sidebar"
			"content"
			"footer"
		;
	}

	.topnav.responsive {
    position: relative;
  }
	.topnav.responsive .icon {
	position: absolute;
	right: 0;
	top: 0;
	}

	.topnav.responsive a {
	float: none;
	display: block;
	text-align: left;
	}

	.mainnav {
		width: 100%;
	}
	.mainnav a {display: none;} /* :not(:first-child) */
	.mainnav a.icon {
		float: left;
		display: block;
		background: #999;
		width: 100%;
	}
	.mainnav.responsive {position: relative;}
	.mainnav.responsive .icon {
		position: absolute;
		left: 0;
		top: 0;
	}
	.mainnav.responsive a {
		float: none;
		display: block;
		text-align: left;
		width: 100%;
	}
}
