 @font-face {
    font-family: 'TeXBold';
        src: url('/fonts/texgyreheros-bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
      }

@font-face {
    font-family: 'TeXRegular';
        src: url('/fonts/texgyreheros-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
      }
 #smallhead {
 	font-size: small;
 	padding-left:3%;
 	color: #008FB3;
	font-family: 'TeXBold';
	padding-bottom: 3%;
 }

 #smallhead a {
 	text-decoration: none;
	font-family: 'TeXBold'; 
	color: #008FB3;
	padding-left:0;
 }
 #basicMap {
          width: 90%;
          height: 70%;
          margin: 0;
      }
td#info {
	vertical-align: top;
	padding: 10px;
}

#ganztag {
	text-align: left;
}

.wahl {
   background: url(/bilder/wahl.png) no-repeat 98% 0;
   height: 2.5em;
   overflow: hidden;
   width: 15em;
   background-color: #008FB3;
   font-family: 'TeXBold';
    color: black;

}


.wahl select {
	background: transparent;
	 -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
   border: none;
	font-size: 1.2em;
   height: 2.5em;
   width: 15em;
	color: white;
	font-family: 'TeXBold';
}
option {
-webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: 'TeXBold';
  color: black;
  }



input {
	background-color: #008FB3;
	color: white;
	font-family: 'TeXBold';
	width: 15em;
	height: 2.5em;
}

body {
	width: 100%;
	margin: 0;
	padding-top: 10px;
	font-family: 'TeXRegular';sans-serif; Arial;
	font-size: 16px;
  font-size: 1em;
  text-align: left;
  background-color: white;
  color: black;
}

p {
	text-align: justify;
	font-size: 1em;
}

body a {
	text-decoration: none;
	font-family: 'TeXBold'; 
	color: #008FB3; 
}


body h1 {
	font-family: 'TexBold';
	margin-top: 2.2em;
	font-size: 1.4em;
}

body h2 {
	font-family: 'TexBold';
	margin-top: 2.1em;
	font-size: 1.3em;
}

body h3 {
	font-family: 'TexBold';
	font-size: 1.2em;
}

aside h4 {
	font-family: 'TexBold';
	color: #008FB3;
	margin-bottom: 3px;
	font-size: 1em;
}

#sitemap li {
	list-style-type: square;
	margin-left: 3em;
}

p#termin{
	text-decoration: none;
	font-family: 'TeXRegular';sans-serif; Arial;
	color: black;
	margin: 1%;
	margin-top: 1px;
	margin-bottom: 1px;
	
	
}

h4#termin{
	color: #008FB3;
	margin-bottom: 4px;
}

aside {
	position: relative;
	text-align: left;
 	float: left;
     margin: 5%;
     list-style: none;
     font-size: small;
     font-family: 'TeXRegular';sans-serif;Arial;
    right: 0%;
		width: 80%;
}

 #label {
	width: 60%;
}

section {
	border-bottom: 2px solid #FDEB49;
	margin-top: 20px;
	padding-bottom: 20px;
}

 a#kontakt {
	text-decoration: none;
	font-family: 'TeXBold'; 
	color: #008FB3;
	font-size: small;
}

div#ganzinhalt {
	position: relative;
	top: 0px;
	left: 2%;
	width: 90%;
	margin: 15px;
	margin-top: 0px;
	padding: 15px;
	padding-top: 0px;
}

#main {
	
    width: 100%;
    margin: 0;
    margin-top: 15px;
    position: relative;
}


div#form {
			width: 100%;
    	}

#mobil {
			width:100%;
			position: relative;
			height: auto;
			display: block;
			visibility: visible;
			font-size: 1em;
			margin-top: 30px;
		}

div#mainpic {
			width: 100%;
    	}

div#inhalt {
	animation-name: fade1;
  animation-duration: 0.5s;
			position: relative;
	top: 0px;
	left: 2%;
	width: 90%;
	position: relative;
	margin: 15px;
    	}

* {box-sizing:border-box}

.mySlides {display:none}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color:  #008FB3;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  font-family: 'TeXBold';sans-serif; Arial;
  text-align: center;
  background-color: rgba(20,20,25,0.6);
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
  cursor:pointer;
  height: 13px;
  width: 13px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot1 {
  cursor:pointer;
  font-family: 'TeXBold';sans-serif; Arial;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.active, .dot1:hover {
  background-color: #008FB3;
  color: #ffffff;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade1 {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes expand {
  from {font-size: 0px}
  to {font-size: 11px}
}


@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px;}
  

}

#menu ul {
  margin: 0;
  padding: 0;
}

#menu .main-menu {
  display: none;
}

#tm:checked + .main-menu {
	animation-name: expand;
	animation-duration: 0.1s;
  display: block;
}

#menu input[type="checkbox"],
#menu ul span.drop-icon {
  display: none;
}

#menu li,
#toggle-menu,
#menu .sub-menu {
  border-style: solid;
  border-width: 1px;
  border-color: rgba(0,88,117, .2);
}

#menu li,
#toggle-menu {
  border-width: 0 0 1px;
}

#menu .sub-menu {
  background-color: rgba(248,252,255,0.9);
  border-width: 1px 1px 0;
  margin: 0px 1em;
}

#menu .sub-menu li:last-child {
  border-width: 0;
}

#menu li,
#toggle-menu,
#menu a {
	text-decoration: none;
  position: relative;
  display: block;
  color: #008FB3;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .125);
}

#menu {
	background-color: white;
}

#toggle-menu{
  background-image: linear-gradient(to right,#00a3ce, #14cdff);
	color: white;
	font-family: 'TeXBold';
	font-size: 1.2em;
	width: 100%;
  }

#toggle-menu,
#menu a {
  padding: 0.4em 1.3em;
  border-width: 0px;
}

#menu a {
  transition: all .125s ease-in-out;
  -webkit-transition: all .125s ease-in-out;
}

#menu a:hover {
  background-color: white;
  color: #008FB3;
}

#menu .sub-menu {
  display: none;
}

#menu input[type="checkbox"]:checked + .sub-menu {
	animation-name: expand;
	animation-duration: 0.1s;
  display: block;
}

#menu .sub-menu a:hover {
  color: #444;
}

#toggle-menu .drop-icon,
#menu li label.drop-icon {
  position: absolute;
  right: 1.5em;
  top: 0.2em;
}

 #toggle-menu span.drop-icon{
 	border: none;
 }

#menu label.drop-icon {
  border-radius: 0%;
  width: 2em;
  height: 1.2em;
  font-size: 1.2em;
  text-align: center;
  background-color: rgba(20, 205, 255, .125);
  text-shadow: 0 0 0 transparent;
  color: #008FB3;
   margin-left: 5px;
}

#menu .drop-icon {
  line-height: 1em;
}

  
@media only screen and (min-width: 60em) {
	
	.fixed-navi object {
				width: 8em;		
				z-index: 1030;
		}
	
  #menu .main-menu {
    display: block;
    margin-right: 5em;
    float: right;
  }
  body h1 {
	font-family: 'TexBold';
	margin-top: 2.2em;
	font-size: 1.6em;
}

body h2 {
	font-family: 'TexBold';
	margin-top: 2.1em;
	font-size: 1.4em;
}

 #label {
	width: 100%;
}

  aside {
		  	position: absolute;
			top: 0px;
			right: 1%;
			width: 20%;
			margin: 0 1% 1% 0;
		}

  #toggle-menu,
  #menu label.drop-icon {
    display: none;
  }

  #menu ul span.drop-icon {
    display: inline-block;
     margin-left: 5px;
     font-size: 0.9em;
  }

  #menu li {
    float: left;
    border-width: 0;
    font-size: 0.99em;
  }

  #menu .sub-menu li {
    float: none;
    font-size: 0.97em;
    text-align: left;

  }

  #menu .sub-menu {
    border-width: 0;
    margin: 0;
    box-shadow: 0 10px 20px #888;
    position: absolute;
    top: 100%;
    left: 0;
    width: 15em;
    z-index: 1020;
  }

  #menu .sub-menu,
  #menu input[type="checkbox"]:checked + .sub-menu {
    display: none;
  }

  #menu .sub-menu li {
    border-width: 0 0 1px;
  }

  #menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
  }

  #menu li:hover > input[type="checkbox"] + .sub-menu {
  	animation-name: fade1;
  animation-duration: .5s;
    display: block;
  }
  #smallhead {
		padding-bottom: 0;
		font-size: x-small;
  }
  nav {
		margin-bottom: 1em;
		margin-right: 3em;
  }
  
 #mobil{
			width: 0px;
			height: 0px;
			vertical-align: middle;
			display: none;
			visibility: hidden;
			font-size: 0px;
			font-family: 'TeXRegular';
			margin-top: 0px;
		}

	div#form
	{
    width: 70%;
    margin: auto;
    position: relative;
	}
	div#inhalt {
	width: 70%;
}
	div#mainpic
{
    width: 80%;
    margin: auto;
    position: relative;
}
}

#sitemap ul li {
	list-style-image: url(/bilder/sitemap.png);
	margin-left: 10em;
}

#sitemap label.drop-icon,#sitemap span.drop-icon {
    display: none;
  }

  #sitemap input {
    display: none;
  }

  #sitemap a {
	text-decoration: none;
  color: #008FB3;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .125);
}


#download li {
	margin: 15px;
}
#download ul li {
	list-style-image: url(/bilder/sitemap.png);
	margin: 5px;
	margin-left: 10em;
}

#download label.drop-icon,#sitemap span.drop-icon {
    display: none;
  }

  #download input {
    display: none;
  }

  #download a {
	text-decoration: none;
  color: #008FB3;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .125);
}

textarea {
	font-family: 'TeXRegular';
	font-size: 1em;

}

 div#fremd {
	padding: 1%;
	background-color: #90EE90;
	
}

div#MINT  {
	padding: 1%;
	background-color: #97CCFF;
}

div#gesell  {
	padding: 1%;
	background-color: #FFFF9E;
}

div#gesund  {
	padding: 1%;
	background-color: #FFE6E6;
}

 div#lit {
 	padding: 1%;
	background-color: #FFD280;
}

 div#musik {
 	padding: 1%;
	background-color: #E4BBE4;
}

div#sport {
	padding: 1%;
	background-color: #8080C6;
}

h4.term  {
	font-family: 'TexBold';
	color: #008FB3;
	margin: 1%;
	font-size: 1em;
	margin-bottom: 2px;
}

h3.term  {
	font-family: 'TexBold';
	color: #008FB3;
	margin: 1%;
	font-size: 1.2em;
	margin-top: 2px;
}


p.term {
	text-align: left;
 	 
     margin: 1%;
     margin-top: 1px;
     margin-bottom: 1px;
     list-style: none;
     font-size: small;
     font-family: 'TeXRegular';sans-serif;Arial;
   
		
}

ul li {
		padding-bottom: 0.7em;
}

html, body {
			height:100%;
			margin:0;
			padding:0;
		}
		header, nav  {display: block;}
		header {
			top:0px;
			position:relative;
			height:10em;
			background-color:#ffffff;
			
			width:100%;
			
			z-index:1010;
		}
		nav {
			
			position:absolute;
			z-index:1010;
			width:100%;
		}
		* html nav {
			top:expression(auto);
		}
		.fixed-navi {
			top:0px;
			position:fixed !important;
			position:absolute;
		}
		
		* html .fixed-navi {
			top:expression(documentElement.scrollTop);
		}		
	 .fixed-navi #toggle-menu {
			background-image: url('/bilder/thg_head2.svg');	 
			background-size: cover;
			background-repeat: no-repeat;
			color: rgba(255,255,255,0);
			  text-shadow: 0 0 0 transparent;
	 }