﻿@media print, screen {
  @page { size:21.0cm 29.7cm; } /* Seitenlayout A4 */
}

body {
	font-family:'Arial', 'Sans-Serif';
	color: black;
	display: flex;
	flex-direction:column;
	margin: 0;
	}
	
header {
	background-color: #d8a828;
	height: 15vh;
	display:flex;
	column-count: 5;
	justify-content:space-around;
	align-content:center;
	align-items:center;
	}
	
main {
	background-color:#f0c030;
	display:flex;
	}

nav {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 12rem;
	box-shadow: 0 0.5rem 1rem 0 rgba(0,0,0,0.4);
	z-index: 1;
	}
nav[open="open"] {
	display: block;
	}
	
article {
    width: 100vw;
	min-height: 0; /* TODO req? overflow */
	display: flex;
	flex-direction:column;
	align-content:center;
	align-items:center;
}

footer {
	background-color:#d8a828;
    height: 12vh;
	display: flex;
	column-count: 3;
	justify-content:space-around;
	align-content:center;
	align-items:center;
}

dialog {
  display: none;
  position: absolute;
  z-index:1002;
}

dialog[open="open"] {
	display: inline-block;
	border-width: medium;
	border-color:#cccccc;
	box-shadow: 0 0.5rem 1rem 0 rgba(0,0,0,0.4);
}

.titelFoto {
	display: flex;
	justify-content: center;
	align-items: center;
}

@media (orientation: portrait) {
  dialog#impressum[open="open"] {
    top: 20vh;
    width: 85vw;
	height: 60vh;
  }
  #schlechteSicht {
	  display:none;
  }
  .fotoShow {
	width: 12rem;
  }
  .fotoShow img {
    max-height: 25vh;
  }
  .titelFoto img {
	 max-height: 10rem;
  }
}
@media (orientation: landscape) {
  dialog#impressum[open="open"] {
    top: 5vh;
    width: 70vw;
	height: 80vh;
  }
  #schlechteSicht {
	display: inline-block;
	margin-bottom: 1rem;
  }
  .fotoShow {
	width: 16rem;
  }
  .fotoShow img {
    max-height: 40vh;
  }
  .titelFoto img {
	 max-height: 9rem;
  }
}
@media (min-width: 900px) {
  dialog#impressum[open="open"] {
    top: 30vh;
    width: 25rem;
	height: 24rem;
  }
  #schlechteSicht {
	  display:none;
  }
  .fotoShow {
	width: 20rem;
  }
  .fotoShow img {
    max-height: 30vh;
  }
  .titelFoto img {
	 max-height: 15rem;
  }
}

a:link{color: #004080;}
a:visited{color: black;}

.menu {
  position: relative;
  display: inline-block;
}

.menuButton {
  background-color: #aaaaaa;
  color: white;
  padding: 0.5rem;
  border: none;
  cursor: pointer;
}

nav a {
  color: black;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  display: inline-block;
}
nav a:hover {
    background-color: #cccccc
	}
nav a.disabled {
	cursor:not-allowed;
	pointer-events:none;
	color: #ccc;
}

.fotoShow {
	display:none;
	margin-inline-start: 1rem;
	margin-inline-end: 1rem;
}

.fotoShow-button {
	display:inline-block;
	padding: 0.4rem 0.8rem;
	vertical-align:middle;
	overflow:hidden;
	text-decoration:none;
	color: #fff;
	background-color: rgba(40,40,40,0.4);
	text-align:center;
	cursor:pointer;
	white-space:nowrap;
}
.fotoShow-button:hover {
	color:#000;
	background-color:rgba(204,204,204,0.4);
}

.textFarbWechselGruen {
	padding-right: 10%;
	padding-left: 10%;
	font-weight: bold;
	animation: farbWechselGruen 5s linear infinite;
}
@keyframes farbWechselGruen {
	0% {color: #004000;}
	50% {color: #00A000;}
	100% {color: #004000;}
    }
.textFarbWechselRot {
	padding-right: 10%;
	padding-left: 10%;
	font-style: oblique;
	animation: farbWechselRot 3s linear infinite;
}
@keyframes farbWechselRot {
	0% {color: #600000;}
	50% {color: #E00000;}
	100% {color: #600000;}
    }
	
.dialogBG {
	background-color: #f8d040;
	}

.rundEck5 {
	border-radius: 5%;
	}

.rundEck20 {
  border-radius: 20%;
	}
	
#feedback {
/*	width: 500px; */
	padding: 2px;
/*	position: static; */
	display: inline-block;
/*	vertical-align:top; */
	}
	
#feedback label {
	font-weight: bold;
}

/*
.flagDims {
  width: calc(3.2*fontSize);
  height: calc(2*fontSize);
	}
*/
.tab { 
       padding-left: 2rem;
     }

.min { font-family:'Arial', 'Sans-Serif';
      font-size:0.64rem;
    }
.lt { font-family:'Arial', 'Sans-Serif';
      font-size:0.8rem;
    }
.gt { font-family:'Arial', 'Sans-Serif';
      font-size:1.12rem;
    }
.max { font-family:'Arial', 'Sans-Serif';
      font-size:1.44rem;
    }
.fett {
	font-weight: bold;
	}