/* CSS-Datei für responsives Template von CMBasic
auch darstellbar auf Mobilgeräten
CMBasic is free software under the GNU/GPL
Copyright Johann-Christian Hanke 
Copyright CSS-Datei Johann-Christian Hanke
http://www.cmbasic.de 
http://cmbasic.sourceforge.net */

/* Gesamtschrift und Gesamtrand festlegen */
body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  margin: 5px;
  padding: 2px;
  background-color: #F1F1F1;
}

/* mother-container, contains logo, navi, content and footer */
#mother {
  text-align: left;
  margin: 0 auto;
  margin-top: 8px;
  max-width: 780px;
  border-style: solid;
  border-width: 1px;
  border-color: silver;
  color: black;
  background-color: white;
  padding: 8px;
  box-shadow: 8px 8px 8px silver;
}

/* Container mit dem Logo */
#logo {
  margin-right: 0px;
  padding-right: 3px;
  text-align: left;
  height: 135px;
  width: 100%;
  color: black;
  background-color: white;
  background-image: url(igeb.jpg);
  background-repeat: repeat-y;
  margin-bottom: 10px;
}

#igeblogo {
  padding-top: 15px;
  float: right;
}

/* Hauptüberschrift im Logo-Container */
#logo h1 {
  font-size: 1.3em;
  color: #FF6501;
  margin: 0px;
  padding-left: 5px;
  padding-top: 3px;
  background-image: none;
  font-weight: bold;
  text-indent: 10px;
}

/* Unterzeile im Logo-Container */
#logo .tagline {
  margin-top: 82px;
  font-size: 0.8em;
  color: #4F4F4F;
  padding-bottom: 3px;
  text-indent: 10px;
  width: 100%;
}

/* Suchfeld */
#search {
  text-align: right;
  float: right;
  color: black;
  width: 100%;
  max-width: 250px;
  background-color: transparent;
}

/* Innenrand Suchform */
#search form {
  margin: 0px;
}

#suchfeld, .suchfeld {
  /* rote Umrandung */
  border-style: solid;
  border-width: 1px;
  border-color: #FF6501;
  background-color: white;
}

.pdf {
  margin-top: 10px;
  padding: 5px;
  background-color: #FFFFD7;
}

/* Haupt-Navigationsbereich */
#navi {
  font-size: 0.8em;
  float: left;  
  max-width: 21%;
  color: black;
  background-color: white;
}

#title {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1.2em;
  background-image: url(reddot.gif);
  background-repeat: no-repeat;
  text-indent: 20px;
}

#path {
  margin-top: 3px;
  width: 100%;
  max-width: 320px;
  padding-bottom: 7px;
}

/* Inhaltsbereich */
#content {
  float: right;
  width: 100%;
  max-width: 75%;
  color: black;
  background-color: white;
  font-size: 0.84em;
  line-height: 1.45em;
  border-left-style: solid;
  border-left-width: 1px;
  border-left-color: silver;
  padding-left: 12px;
}

/* Plugins */
.plugin, .plugin td {
  color: black;
  background-color: white;
  font-size: 0.84em;
  line-height: 1.45em;
}

/* Newsletter */
.newsletter {
  color: black;
  background-color: white;
  font-size: 0.9em;
  line-height: 1.45em;
}

.warning {
  color: red;
}

/* Fußzeile */
#footer {
  width: 100%;
  color: black;
  padding: 2px;
  background-color: transparent;
  clear: both;
}

div.copy {
  margin-top: 4px;
  font-size: 0.7em;
  text-indent: 10px;
  text-align: center;
}

/* Listenstile für Menüeintrag im Navibereich topmenu
Dieser Abschnitt ist sehr lang */
#topmenu {
  float: right;
  font-size: 0.8em;
  width: 75%;
  padding-left: 0px;
  text-align: right;
}

#topmenu ul {
  padding: 3px;
  border-bottom: 1px solid silver;
  margin-bottom: 8px;
}

#topmenu li {
  display: inline;
}

#topmenu a {
  padding: 3px 1em;
  margin-right: 3px;
  border: 1px solid silver;
  text-decoration: none;
  border-bottom: 0;
}

#topmenu a:link {
  text-decoration: none;
  color: #52661F;
}

#topmenu a:visited {
  color: gray;
  text-decoration: none;
  width: 100%;
}

#topmenu a:hover {
  background-color: #52661F;
  width: 100%;
  color: white;
}

#topmenu b {
  padding: 3px 1em;
  margin-right: 3px;
  border: 1px solid silver;
  background-color: #52661F;
  color: white;
  border-bottom: 0;
}

/* ENDE Listenstile für Menüeintrag im topmenu */

/* Listenstile für Menüeintrag im Navibereich 
Dieser Abschnitt ist sehr lang */
#navi ul {
  list-style-type: none;
  margin-top: 0px;
  margin-left: 1px;
  padding-left: 1px;
}

#navi ul ul  li{
  list-style-type: none;
  /* list-style-image: url(arrow_menu.png) */
  background-image: url(arrow_menu.png) !important;
  background-repeat: no-repeat;
  background-position: 0;
  padding-left: 10px;
  margin-left: 10px;
  }

#navi ul li a {
  display: block;
  list-style-type: none;
  text-indent: 0px;
  margin-top: 1px;
  padding: 2px 2px 2px 8px;
  font-weight: bold;
  color: gray;
  background-color: transparent;
  border-top-style: solid;
  border-width: 1px;
  border-color: silver;
}

#navi ul ul li a {
 display: block;
 margin-top:1px;
 padding:2px 2px 2px 2px;
 text-indent: 0px;
 font-weight: bold;
 color: gray;
 background-color: transparent;
 border-top-style: none;
 border-bottom-style: none;
}

#navi a:link {
  display: block;
  text-decoration: none;  
}

#navi a:visited {
  color: gray;
  text-decoration: none;
  display: block;  
}

#navi a:hover {
  display: block;
  background-color: transparent;  
  color: #ff6501;
}

#navi ul .obermenuhigh {
  list-style-type: none;
  display: block;  
  margin-top: 1px;
  padding: 2px 2px 2px 8px;
  font-weight: bold;
  color: white;
  background-color: #FF6501;
  border-bottom-style: solid;
  border-width: 1px;
  border-color: #FF6501;
}

#navi ul ul .submenuhigh {
  list-style-type: none;
  display: block;  
  margin-top: 1px;
  padding: 2px 2px 2px 2px;
  font-weight: bold;
  color: gray;
  background-color: #FF6501;
  color: white;
}
/* ENDE Listenstile für Menüeintrag im Navibereich */

/* Überschrift 1 gestalten */
h1 {
  margin-top: 3px;
  font-weight: normal;
  font-size: 1.6em;
  line-height: 1.4;
  margin-top: 10px;
  color: #FF6501;
  background-repeat: repeat-y;
  margin-bottom: 12px;
}

/* Überschrift 2 */
h2 {
  font-size: 1.1em;
  line-height: 1.4;
  background-image: url(arrow.png);
  background-repeat: no-repeat;
  padding-left: 12px;
  background-position: 0px 5px;
  padding-bottom: 1px;
  margin-bottom: 1px;
}

/* Überschrift 3 */
h3 {
  font-size: 1em;
  line-height: 1.4;
  margin-bottom: 1px;
  padding-bottom: 1px;
}

/* Absatz und div */
p, div {
  padding-right: 3px;
}

/* Tag b zusätzlich einfärben */
b {
  color: black;
}

/* Zeichenformat strong */
strong {
  color: black;
}

.bu {
  margin-top: 0px;
  font-size: 0.75em;
  font-weight: bold;
}

/* normaler Listenstil, beschränkt auf Inhaltsbereich */
#content ul, .plugin ul {
  list-style-image: url(minipfeil.gif);
  font-size: 1em;
  line-height: 1.4;
  margin-left: 1.2em;
  padding-left: 1.2em;
}

/* besuchte Hyperlinks */
a:visited {
  color: gray;
}

/* Hovereffekt für Links */
a:hover {
  text-decoration: none;
  color: white;
  background-color: orange;
}

/* Hier beginnen die ungebundenen Klassen, zu erkennen
am Punkt vor dem Klassennamen 
Diese werden im Auswahlmenü von TinyMCE gezeigt */
/* Gestaltung des rechts ausgerichteten News-Kastens */
.kasten {
  font-size: 0.9 em;
  margin-top: 10px;
  float: right;
  width: 100%;
  max-width: 200px;
  border-style: dotted;
  border-width: 2px;
  border-color: silver;
  padding: 3px;
}

.kasten h3 {
  margin-top: 0px;
} 

.boxcover {
  font-size: 0.9 em;
  margin-top: 10px;
  float: right;
  width: 100%;
  max-width: 35%;
  padding: 3px;
}

.box {
  font-size: 0.9em;
  margin-top: 10px;
  padding-right: 0px;
  float: right;
  width: 100%;
  border-style: solid;
  border-width: 1px;
  border-color: #FF6501;
}

.box h3 {
  background-color: #FF6501;
  color: white;
  padding: 3px;
  margin-top: 0px;
}

.box div {
  padding: 3px;
}

/* Einführungsabsatz */
.lead, .lead p {
  font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  font-size: 1em;
  line-height: 1.5em;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 10px;
}

.lead img {
  padding: 5px;
}

/* grauer Rahmen mit Umrandung */
.rahmen {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em;
  width: 90%;
  background-color: #EEEEEE;
  border-style: solid;
  border-width: 1px;
  border-color: #CD3326;
  padding: 3px;
}

/* Rahmen mit gestrichelter Umrandung */
.tipp {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em;
  width: 95%;
  border-style: dotted;
  border-width: 1px;
  border-color: gray;
  padding: 3px;
  margin-top: 8px;
  margin-bottom: 10px;
}

.code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1em;
  color: #000099;
}

/* Linie interessant gestalten */

hr#trenner {
  border-style: solid;
  border-width: 1px;
  border-color: white;
  width: 370px;
  margin-left: 0px;
  text-align: left;
}

hr#svwtrenner {
  border-style: dotted;
  border-color: #FF8040;
  margin-left: 0px;
  text-align: left;
}

hr {
  border: 1px dashed #FF8040;
  width: 95%;
  margin-left: 0px;
  text-align: left;
}

#linie {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: silver;
  padding-top: 0px;
  margin-top: 0px;
  line-height: 0.3;
}

/* Luft für Tabellen */
table th, th, tbody {
  padding: 3px;
}

/* Links innerhalb von Absätzen mit 
kleinem Zeichen versehen */
#content p a {
  display: inline;
  padding-left: 10px;
  background-image: url(arrow2.png);
  background-repeat: no-repeat;
}

.datum {
  font-size: 0.8em;
}

/* Media Queries für Responsive Design */
@media (max-width: 850px) {
  #header img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 600px) {
  body {
    margin: 0;
    padding: 0;
  }

  #logo {
    width: 100%;
  }

  #logo h1 {
    font-size: 1.1em;
	padding-left: 0;
  }

  #logo .tagline {
    font-size: 0.6em;
	text-indent: 0;
	padding-top: 0.2em;
  }

  #content {
    display: block;
    float: none !important;
    max-width: 98%;
  }

  #navi {    
    display: block;
    float: none !important;
    max-width: 100%;
  }

  #topmenu {
    display: block;
    float: none !important;
    width: 100%;
  }

  #igeblogo {
    transform: scale(0.8);
    transform-origin: top right;    
    position: absolute;		
	top: 1em;
    right: 0;    
  }

 /* Listenstile für Menüeintrag im Navibereich Media Queries */
#navi ul {
    display: block;
	list-style-type: none !important;
    list-style-image: none !important;        
    padding-left: 0;    
}

#navi ul ul  li{
  display: block;
  list-style-type: none;  
  /* list-style-image: url(arrow_menu.png) */
  background-image: url(arrow_menu.png) !important;
  background-repeat: no-repeat;
  background-position: 0;
  padding-left: 10px;
  margin-left: 10px;  
  }

#navi ul li a {  
  display: block;
  list-style-type: none;
  text-indent: 0px;
  margin-top: 1px;
  padding: 2px 2px 2px 8px;
  font-weight: bold;
  color: gray;
  background-color: transparent;
  border-top-style: solid;
  border-width: 1px;
  border-color: silver;
}

#navi ul ul li a {
 display: block;
 margin-top:1px;
 padding:2px 2px 2px 2px;
 text-indent: 0px;
 font-weight: bold;
 color: gray;
 background-color: transparent;
 border-top-style: none;
 border-bottom-style: none;
}

#navi a:link {
  display: block;
  text-decoration: none;  
}

#navi a:visited {
  color: gray;
  text-decoration: none;
  display: block;  
}

#navi a:hover {
  display: block;
  background-color: transparent;  
  color: #ff6501;
}

#navi ul .obermenuhigh {
  list-style-type: none;
  display: block;  
  margin-top: 1px;
  padding: 2px 2px 2px 8px;
  font-weight: bold;
  color: white;
  background-color: #FF6501;
  border-bottom-style: solid;
  border-width: 1px;
  border-color: #FF6501;
}

#navi ul ul .submenuhigh {
  list-style-type: none;
  display: block;  
  margin-top: 1px;
  padding: 2px 2px 2px 2px;
  font-weight: bold;
  color: gray;
  background-color: #FF6501;
  color: white;
}
/* ENDE Listenstile für Menüeintrag im Navibereich */


.boxcover {
    display: block;
    float: none !important;	
    font-size: 0.9em;
    margin-top: 1em;	
    float: right;
    width: 100%;
    max-width: 100%;
    padding: 0.1em;	
	}

.box {  
  margin-top: 0;
  margin-bottom: 1em;
  }
}