/* CSS Document KHG 2018 */

body {
	background: #ffffee;
	font-size:120%;
	line-height: 150%;
	color: #000000;
	margin: 0;
	padding: 0;
	word-wrap:break-word !important;
	font-family: serif;
	}

h1 {
	font-size: 60px;
	text-align: center;
	color: #FFF;
}	

h3 {
	font-size: 30px;
	line-height: 34px;
	text-align: center;
	color: #FFF;
}

h3 a {
	color: #FFF;
}

a {
	color: #FFF;
}

h1 {
	margin-top: 100px;
	text-align:center;
	font-size:60px;
	line-height: 70px;
	font-family: 'serif';
	}

sub, sup { line-height: 0 }

table { line-height: 1em }

#gallery {
    padding: 0%;
	margin-top: 0%;
	margin-left: 10%;
 	width: 80%;
    height: 80%;
    position:relative; 
 	overflow:hidden;
}

#gallery input {
 opacity:0;
}

#gallery label {
 width:20px;
 height:20px;
 display:block;
 font-weight:bold;
 font-size:1.3em;
}

#galcontent {
 margin: 0% 0%;
 width: 100%;  /* Gesamtbreite = dt(img(100%) + dd(0%)  */
 height: 100%;
 border: 0px;
 overflow:hidden;
}

#galcontent dl  {
 width: 500%; /* Gesamtbreite = 5 x 100% (siehe #gallery width) */
 height: 100%;
 position:relative;
 top:0;
 animation: slider_1 25s infinite 0s;
-webkit-animation: slider_1 25s infinite 0s;
}

#galcontent dt  {
 position:relative;
 top:0%;
 width: 20%;
 height: 20%;
 display:block;
 float:left;
}

#galcontent dd {
 position:absolute;
 margin-left: 0%;
 padding:10px;
 float:left;
 width: 100%;
 height:auto;
 background:rgba(0,103,153,.5);
 font-family: 'Helvetica';
 color:#fff;
}

/* Bildbreite 100% */
#galcontent img {
 width: 100%;
 height: 100%;
 float:center;
}


#a1 , #l1 { z-index: 1; position:absolute; right: 130px; top: 30px; color: #fff;}
#a2 , #l2 { z-index: 1; position:absolute; right: 100px; top: 30px; color: #fff;}
#a3 , #l3 { z-index: 1; position:absolute; right: 70px;; top: 30px; color: #fff;}
#a4 , #l4 { z-index: 1; position:absolute; right: 40px; top: 30px; color: #fff;}
#a5 , #l5 { z-index: 1; position:absolute; right: 10px; top: 30px; color: #fff;}


#gallery #a5:not(:checked) ~ #l5:before , #gallery #a1 ~ #l2:after { animation: vor 25s infinite  0s ; -webkit-animation: vor 25s infinite  0s ; }
#gallery #a1:not(:checked) ~ #l1:before , #gallery #a2 ~ #l3:after { animation: vor 25s infinite  5s ; -webkit-animation: vor 25s infinite  5s ; }
#gallery #a2:not(:checked) ~ #l2:before , #gallery #a3 ~ #l4:after { animation: vor 25s infinite 10s ; -webkit-animation: vor 25s infinite 10s ; }
#gallery #a3:not(:checked) ~ #l3:before , #gallery #a4 ~ #l5:after { animation: vor 25s infinite 15s ; -webkit-animation: vor 25s infinite 15s ; }
#gallery #a4:not(:checked) ~ #l4:before , #gallery #a5 ~ #l1:after { animation: vor 25s infinite 20s ; -webkit-animation: vor 25s infinite 20s ; } 


#gallery  #a1 ~ #l1 { animation:bull 25s infinite  0s ; -webkit-animation:bull 25s infinite  0s; }
#gallery  #a2 ~ #l2 { animation:bull 25s infinite  5s ; -webkit-animation:bull 25s infinite  5s; }
#gallery  #a3 ~ #l3 { animation:bull 25s infinite 10s ; -webkit-animation:bull 25s infinite 10s; }
#gallery  #a4 ~ #l4 { animation:bull 25s infinite 15s ; -webkit-animation:bull 25s infinite 15s; }
#gallery  #a5 ~ #l5 { animation:bull 25s infinite 20s ; -webkit-animation:bull 25s infinite 20s; }  


#gallery  #a1:checked ~ #galcontent dl { left:    0%; animation:none; -webkit-animation:none; }
#gallery  #a2:checked ~ #galcontent dl { left: -100%; animation:none; -webkit-animation:none; }
#gallery  #a3:checked ~ #galcontent dl { left:-200%; animation:none; -webkit-animation:none; }
#gallery  #a4:checked ~ #galcontent dl { left:-300%; animation:none; -webkit-animation:none; }
#gallery  #a5:checked ~ #galcontent dl { left:-400%; animation:none; -webkit-animation:none; }


#gallery  #a2:checked ~ #l1, #gallery  #a3:checked ~ #l1, #gallery  #a4:checked ~ #l1, #gallery  #a5:checked ~ #l1,
#gallery  #a1:checked ~ #l2, #gallery  #a3:checked ~ #l2, #gallery  #a4:checked ~ #l2, #gallery  #a5:checked ~ #l2,
#gallery  #a1:checked ~ #l3, #gallery  #a2:checked ~ #l3, #gallery  #a4:checked ~ #l3, #gallery  #a5:checked ~ #l3,
#gallery  #a1:checked ~ #l4, #gallery  #a2:checked ~ #l4, #gallery  #a3:checked ~ #l4, #gallery  #a5:checked ~ #l4,
#gallery  #a1:checked ~ #l5, #gallery  #a2:checked ~ #l5, #gallery  #a3:checked ~ #l5, #gallery  #a4:checked ~ #l5 {  -webkit-animation:none; animation:none; color:#fff;}


#gallery  #a1:checked ~ #l1, #gallery  #a2:checked ~ #l2, #gallery  #a3:checked ~ #l3, #gallery  #a4:checked ~ #l4, #gallery  #a5:checked ~ #l5 { -webkit-animation:none; animation:none;color:#cc6600;}

@keyframes slider_1 {
  0%,  20%, 100%	 { left:     0%; }
 25%,  40%               { left:  -100%; }
 45%,  60%               { left: -200%; }
 65%,  80%               { left: -300%; }
 85%,  95%               { left: -400%; }
}

@keyframes slider_2 {
  0%,  20%, 100%	 { left:  -600px; }
 25%,  40%               { left: -200%; }
 45%,  60%               { left: -1800px; }
 65%,  80%               { left: -2400px; }
 85%,  95%               { left:    -0px; }
}

@keyframes slider_3 {
  0%,  20%, 100%	 { left: -1200px; }
 25%,  40%               { left: -1800px; }
 45%,  60%               { left: -2400px; }
 65%,  80%               { left:    -0px; }
 85%,  95%               { left:  -600px; }
}

@keyframes slider_4 {
  0%,  20%, 100%	 { left: -1800px; }
 25%,  40%               { left: -2400px; }
 45%,  60%               { left:    -0px; }
 65%,  80%               { left:  -600px; }
 85%,  95%               { left: -1200px; }
}

@keyframes slider_5 {
  0%,  20%, 100%	 { left: -2400px; }
 25%,  40%               { left:    -0px; }
 45%,  60%               { left:  -600px; }
 65%,  80%               { left: -1200px; }
 85%,  95%               { left: -1800px; }
} 

/* Webkit */

@-webkit-keyframes slider_1 {
  0%,  20%, 100%	 { left:     0%; }
 25%,  40%               { left:  -100%; }
 45%,  60%               { left:  -200%; }
 65%,  80%               { left:  -300%; }
 85%,  95%               { left:  -400%; }
}

@-webkit-keyframes slider_2 {
  0%,  20%, 100%	 { left:  -600px; }
 25%,  40%               { left: -1200px; }
 45%,  60%               { left: -1800px; }
 65%,  80%               { left: -2400px; }
 85%,  95%               { left:    -0px; }
}

@-webkit-keyframes slider_3 {
  0%,  20%, 100%	 { left: -1200px; }
 25%,  40%               { left: -1800px; }
 45%,  60%               { left: -2400px; }
 65%,  80%               { left:    -0px; }
 85%,  95%               { left:  -600px; }
}

@-webkit-keyframes slider_4 {
  0%,  20%, 100%	 { left: -1800px; }
 25%,  40%               { left: -2400px; }
 45%,  60%               { left:    -0px; }
 65%,  80%               { left:  -600px; }
 85%,  95%               { left: -1200px; }
}

@-webkit-keyframes slider_5 {
  0%,  20%, 100%	 { left: -2400px; }
 25%,  40%               { left:    -0px; }
 45%,  60%               { left:  -600px; }
 65%,  80%               { left: -1200px; }
 85%,  95%               { left: -1800px; }
}

@keyframes bull {
 0% , 20%       { color:#cc6600; }
25%,  100%      { color:#fff; }
}

@-webkit-keyframes bull {
 0% , 20%               { color:#cc6600; }
22%,  100%              { color:#fff; }
}

@keyframes vor          {
 0%, 20%, 100%	        { z-index:100; }
 22% , 100%	        { z-index:0;   }
}

@-webkit-keyframes vor  {
 0%, 20%, 100%	        { z-index:100; }
 22% , 100%	        { z-index:0;   }
}


.imageslider {
	padding: 0%;
	margin-top: 0%;
	margin-left: 0%;
	width: 100%;
	height: 100.0%;
	background-color: #ffffff;
}

.contleft, .contmain {
	float: left;
}

.contleft {
	padding: 2%;
	margin-top: 0%;
	margin-left: 0%;
	width: 30%;
	height: 100%;
}

.contmain {
	padding: 2%;
	margin-top: 0%;
	margin-left: 0%;
	width: 50%;
	height: 100%;
}

.imageaside {
	max-width: 100%;
}

.kapitaenshaus { 
margin-left: 0%;
margin-top: 0px;
text-align: left;
width: 206px;
}

.menupunkt {
	font-size: 0.8em; 
	font-family: 'helvetica';
	letter-spacing: 0.05em;
}

.schlagwort { 
	font: 1.0em; 
	color: #006799; 
	letter-spacing: 0.02em;
	line-height: 1.3em;
	font-weight: bold;
}

.fliesstext { 
	font: 1.4em; 
	font-stretch: normal;
	color: #010101; 
	letter-spacing: 0.02em;
	line-height: 1.2em;
	text-align: left;
}

.kalender {
	display: grid;
	grid-template-rows: 1fr 1fr 1fr 100px;
	grid-template-columns: minmax(min-content, max-content) minmax(min-content, max-content) minmax(min-content, max-content) minmax(min-content, max-content);
	font-family: Verdana;
	justify-content: center;
}

.Kalenderwoche {
	color: ##006799;
	font-size: 70%;
}

.tage {
	color: #006799;
	font-size: 70%;
	width: 1.5em;
}

.monat {
	text-align: center;
	font-family: Georgia;
}

.frei {
	text-align: center;
	background-color: #006799;
	color: #ffffff;
	font-family: Verdana;
	font-size: 60%;
}


.belegt {
	text-align: center;
	background-color: #cc6600;
	color: #ffffff;
	font-family: Verdana;
	font-size: 60%;
}

.belegt-in {
	text-align: center;
	background-image: url("images/belegt_in.gif");
	background-position: center;
	color: #ffffff;
	font-family: Verdana;
	font-size: 60%;
}

.belegt-out {
	text-align: center;
	background-image: url("images/belegt_out.gif");
	background-position: center;
	color: #ffffff;
	font-family: Verdana;
	font-size: 60%;
}

.belegt-out-in {
	text-align: center;
	background-image: url("images/belegt_out_in.gif");
	background-position: center;
	color: #ffffff;
	font-family: Verdana;
	font-size: 60%;
}

.leer {
	color: #ffffff;
	font-family: Verdana;
	font-size: 60%;
}


#container {
	margin: 0 auto;
	max-width: 890px;
}

p {
	text-align: left;
}

.toggle,
[id^=drop] {
	display: none;
}

/* Hintergrundfarbe Navigation */
nav { 
	margin:0;
	padding: 0;
	background-color: #006799;
}

#logo {
	display: block;
	font-size: 20px;
	padding: 0 30px;
	float: left;
	line-height: 60px;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	float: right;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	background-color: #006799;
	}

/* Link-Style */
nav a {
	display:block;
	padding:14px 20px;	
	color:#FFF;
	font-size:17px;
	text-decoration:none;
}


nav ul li ul li:hover { background: #cc6600; }

/* Background color change on Hover */
nav a:hover { 
	background-color: #cc6600; 
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 60px; 
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:170px;
	float:none;
	display:list-item;
	position: relative;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
	top:-60px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:170px; 
}

	
/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ' +'; }
li > a:only-child:after { content: ''; }


/* Media Queries
--------------------------------------------- */

@media all and (max-width : 870px) {

.imageslider {
	padding: 0%;
	margin-top: 0%;
	margin-left: 0%;
	background-color: #ffffff;
}

.kapitaenshaus { 
margin-left: 0%;
margin-top: 0px;
width: 306px;
}

.kalender {
	display: grid;
	grid-template-rows: 1fr 1fr 1fr 1fr 1fr 100px;
	grid-template-columns: minmax(min-content, max-content) minmax(min-content, max-content);
	font-family: Verdana;
	justify-content: center;
}

.contmain {
	padding: 2%;
	float: left;
	margin-top:  10px;
	margin-left: 10%;
	width: 80.0%;
	height: 100.0%;
}

.contleft {
	padding: 2%;
	margin-top: 0%;
	margin-left: 0%;
	width: 0%;
	height: 100%;
	display: none;
}


#logo {
		display: block;
		padding: 0%;
		width: 100%;
		height: 100%;
		text-align: center;
		float: none;
	}

	nav {
		margin: 0%;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background-color: #006799;
		padding:14px 20px;	
		color:#FFF;
		font-size:17px;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #cc6600;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
	}

	nav ul ul ul a {
		padding: 0 80px;
	}

	nav a:hover,
 	nav ul ul ul a {
		background-color: #cc6600;
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
		padding:14px 20px;	
		color:#FFF;
		font-size:17px; 
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #006799; 
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 

	}

}

@media all and (max-width : 640px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}