/* 
#ff8400
#0000e7
 */

body,html {padding:0;
  font-family:arial,helvetica,sans-serif;
  line-height:1.2em;
  font-size:1em;
  overflow-x:hidden; }
  
 #main,#header,#footer {
	max-width:50em;
	margin:0 auto;
	margin-top:1em;
	padding:1em;
	border:1px solid #000;
	border-radius:4px; }

#footer {margin-bottom:2em;text-align:center;}

nav {font-size:90%;,margin:0 auto;}
nav #menu a:visited {color:#ff8400;}
nav #menu a:hover {color:#fff;background-color:#0000e7; }

h1 {font-size:1.4em;}
h2 {font-size:1.25em;}
h3 {font-size:1.1em;border-bottom:1px solid black;margin-top:2em;}

a {
	color:#ff8400;
	text-decoration:none;	}
	
a:hover {text-decoration:underline;}
	
#menu li {
	margin:.2em 0 .1em 0;
	display:inline-block;
	list-style-type: none;
	background:#eee;}

#menu a {
	display:inline-block;
	width:12em;
	text-decoration: none;
	color:#ff8400;
	display:block;
	padding:.4em;
	border:1px solid #000;
	border-radius:4px;}

#menuToggle {
/* margin:0 auto;*/
	max-width:50em;
	display: inline-block;
	
	position:absolute;
	left:50%;
	top:5%;
	z-index: 1;
	-webkit-user-select: none;
	user-select: none; }

#menuToggle input {
	display: block;
	width: 3.4em;
  height: 3em;
  position: relative;
  top:2.6em;
  left:-.5em;
  cursor: pointer;
  opacity: 0; /* verstecken */
  z-index: 2; /* ueber den Hamburger legen */
	-webkit-touch-callout: none; }

/* Hamburger aus span-Elementen */
#menuToggle span {
border:1px solid black;
  display: block;
  line-height:.2em;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
	top:0em;
	left:0em;
  background-color: #0000e7;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.2s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;}

#menuToggle span:first-child {
	transform-origin: 0% 0%; }

#menuToggle span:nth-last-child(2) {
	transform-origin: 0% 100%; }

/* Hamburger-Striche in ein Kreuz verwandeln */
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(1px, -1px);
  background: #ff8400; }

/* mittleren Balken verstecken */
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2); }

/* der letzte Balken dreht in die andere Richtung */
#menuToggle input:checked ~ span:nth-last-child(2) {
	transform: rotate(-45deg) translate(4px, 2px); }


/* Nav wird absolut positioniert */
#menu {
  list-style-type: none;
  position: absolute;
	max-width:14em;
	top:6.4em;
	left:-15.0em;
	background-color:#fff;
	border:2px solid #000;
	border-radius:4px;
	margin: -3em 1.2em 0 -.2em;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  /* Flackern in Safari */
  transform-origin: 0% 0%;
  transform: translate(-200em, 0em);
  transition: transform 0.0s cubic-bezier(0.77,0.2,0.05,1.0);	}
 
@media only screen and (max-width: 49.99em) {
	#menuToggle {position:absolute;top:0;right:0;margin-left:6em;}
	#main,#header,#footer,nav{max-width:100%;}
	
figure + p {clear:both;}

		}

#menu li {
  margin: .4em;	}

/* von links einblenden */
#menuToggle input:checked ~ ul {
	transform: none; }


	
#header { background:#f5f5f5;}

/* Thumbnails in Bildergalerie */	
.thumbs, .thumbactive  {
	display:inline-block;
	margin:0px;
	padding:10px 4px 0 0;
	width:60px;
	height:50px;
	text-align:center; }
	
.thumbs img {
	margin-top:4px;
	padding:2px;
	border:1px solid #ccc; }
	
.thumbactive img {
	padding:2px;
	border:1px solid red; }
 
.img_style {border:1px solid black;border-radius:4px;padding:2px;}

figure {margin:0 0 1em 0;padding:.2em;text-align:center;vertical-align:middle;}
.img_container {padding:2px;}
.figl {float:left;margin-right:2em;}
.figc {margin:0 auto;text-align:center;}
.figr {float:right;margin-left:2em;}

.caption {padding:.3em;border:1px solid black;border-radius:4px;background:#eee;}
.cap_container {line-height:.9em;font-size:.9em;line-height:1em;}

figure,img {max-width:100%;}

.par {
	font-weight:bold;
	margin:1em 0 0 0;}
	

.clear {clear:both;}
.displaynone {display:none;}
.wichtig {color:#ff8400;font-size:110%;font-weight:bold;text-align:center;}