/* 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 */

/* 
Layouthinweise:
Gesamtfarbe: #f59b00 
Gesamtfarbe, aufgehellt: #fff1d4
Logo wird ab sofort in index.php eingebunden

*/

* {
  margin: 0;
  padding: 0;
}

/* Gesamtschrift und Gesamtrand festlegen */
body {
  font-family: 'Antic Didone', serif;  
  margin: 0;
  padding: 0;   
  background-color: #f59b00;
}

/* wrapper-container, contains logo, nav, content and footer */
#wrapper {
  text-align: left;
  margin: 0 auto;
  max-width: 1280px; 
  color: black;  
  background-color: #f59b00;  
  padding: 0; 
}

/* Container mit dem Logo */
#header {  
  position: relative;
  padding: 0;
  margin: 0;
  text-align: left;  
  color: black;
  background-color: #f59b00;
}

#logo {
  position: absolute;
  left: 0;  
  text-align: left;
  width: 80%;
  height: 150px;
  background-color: transparent;  
}


/* Hauptüberschrift im Logo-Container */
#logo h1 {
  font-size: 4.2em;
  color: white;
  margin: 0px;
  padding-left: 15px; 
  padding-right: 10px;  
  font-weight: bold;  
  padding-top: 20px; 
}


/* Unterzeile im Logo-Container */
#logo h2 {  
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 15px;
  padding-top: 0;
  padding-right: 12px;
  font-size: 1.8em;
  font-weight: bold;
  color: white;
  background-color: transparent;    
  height: 20px;   
  text-shadow: 3px 3px 5px #f59b00; /* Gesamtfarbe */
}

#logo a {
  text-decoration: none;
  color: white;
}

#logo a :hover {
  color: white;
  background-color: white;
}

/* Switch */
#switch {  
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: left;
  font-size: 0.6em;
  font-weight: bold;  
  float: left;  
  margin-top: 270px;
  width: 300px;
  color: white;  
  background-color: transparent;
  padding: 10px;
}

#switch a {
  text-decoration: none;
  color: white;
  background: silver;
  padding: 3px;
}

#switch a:hover {
  background: red;
}

/* Suchfeld */
#search {  
  position: absolute;
  bottom: 0;
  right: 5px;  
  text-align: right;  
  margin-top: 270px;
  width: 200px;
  color: white;  
  background-color: rgba(0,0,0,0.2);   
  padding: 10px;
}

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

#search input {
  border-style: solid;
  border-width: 1px;
  border-color: #f59b00;  
}

#searchfield {
/* Umrandung */
color: white;
border-style: none;
background-color: transparent;
}

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

/* Haupt-Navigationsbereich */
#nav {
  font-size: 0.8em;
  float: left;
  width: 400px;
  color: #f59b00;
  background-color: transparent;
  background-image: url(bg_nav.png);
  background-repeat: no-repeat;
  margin-top: 300px;
}

#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;
  padding-bottom: 7px;
}

/* Inhaltsbereich */
#content {
  float: right;
  color: #fff1d4;
  max-width: 800px;
  background-color: transparent;
  font-size: 1.1em; 
  line-height:1.45em;
  border-left-color: silver;
  padding-left: 10px;
  padding-right: 10px;  
}

#content img {    
  max-width: 100%;  
  height: auto;  
}

/* 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 { 
  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: #f59b00;
}

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

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

#topmenu b {  
  padding: 3px 1em;
  margin-right: 3px;
  border: 1px solid silver;
  background-color: #f59b00;
  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 */
#nav ul {
  list-style-type: none;
  margin-top: 100px;
  margin-bottom: 100px;
  margin-left: 8px;
  padding-left: 1px;
}

#nav ul ul {
  list-style-type: none;
  list-style-image: url(arrow.png); /* change color here */
  /* background-image: url(arrow_menu.png); */
  background-repeat: no-repeat;
  background-position: 0.6em;
  padding-left: 10px;
  margin-left: 10px;
  }

#nav ul li a {
  display: block;
  list-style-type: none;
  text-indent: 0px;
  margin-top: 3px;
  padding: 4px 3px 3px 8px;
  font-size: 2.1em;
  color: #f59b00;
  background-color: transparent;
}

#nav ul ul li a {
 display: block;
 margin-top: 1px;
 padding: 2px 2px 2px 2px;
 text-indent: 0px;
  font-size: 1.8em;
 color: #f59b00;
 background-color: transparent;
}

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

#nav a:visited {
  color: #f59b00;
  text-decoration: none;
  display: block;  
}

#nav a:hover {
  display: block;
  background-color: transparent;  
  color: #e69e2d; /* change color here */
}

#nav ul b, #nav li a.high {
  list-style-type: none;
  display: block;
  /* width: 150px; */
  margin-top: 3px;
  padding: 2px 2px 2px 8px;
  font-weight: bold;
  font-size: 2.1em;
  color: #e69e2d;
  background-color: transparent;
}

#nav ul ul b {
  list-style-type: none;
  list-style-image: url(arrow.png);
  display: block;  
  margin-top: 1px;
  padding: 2px 2px 2px 2px;
  font-weight: bold;
  font-size: 1.8em;
  background-color: transparent; /* change color here */  
  color: #e69e2d;  
} 
/* ENDE Listenstile für Menüeintrag im Navibereich */

/* Ab hier wird es für Sie richtig interessant, aber erst
die ungebundenen Klassen erscheinen als Auswahloptionen 
im linken Pull-down-Menü von TinyMCE! */

/* Überschrift 1 gestalten */
#content h1 {
/*  border-top-style: solid;
  border-top-width: 1px;
  border-top-color: silver; */
  margin-top: 3px;
  font-weight: normal;
  font-size: 1.9em;
  line-height: 1.4;
  margin-top: 10px;
  color: #fff1d4;
  margin-bottom: 12px;
}

/* Überschrift 2 */
#content h2 {
  margin-top: 15px;
  margin-bottom: 6px;
  font-size: 1.4em;
}

/* Überschrift 3 */
h3 {
  margin-top: 15px;
  margin-bottom: 2px;
  font-size: 1em;
}

/* Absatz und div */
#content p, div, object {
  margin-top: 2px;
  margin-bottom: 8px;  
}

#nav div.rss {
  line-height: 1.1;
  margin: 5px;
  padding-left: 6px;
}

#nav div {
  line-height: 1.1;
  padding-left: 1px;
  margin: 0;  
}


/* Tag b zusätzlich einfärben */
#content b {
 /*  color: #7C580A; */
 color: fff4dc;
}

/* Zeichenformat strong */
#content strong {
  /*  color: #AF1810; */
 color: fff4dc;
}


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

#content ol, .plugin ol {
  margin-bottom: 12px;  
  font-size: 1em;
  line-height: 1.4;
  margin-left: 1em;
  padding-left: 1em;	
}

a:link {
  color: black;
}

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

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

/* 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 */
/* Bildunterschrift */
.bu {
  margin-top: 0px;
  font-size: 0.75em;
  font-weight: bold;
}
.kasten {
  clear: both;
  font-size: 0.9em;
  margin-top: 10px;
  margin-left: 3px;
  float: right;
  width: 200px;
  border-style: dotted;
  border-width: 2px;
  border-color: #f59b00;
  padding: 3px;
}
.kasten h3 {
margin-top: 0px;
} 

.boxcover {
  font-size: 0.9em;
  margin-top: 10px;
  margin-left: 4px;
  float: right;
  width: 200px;
  padding: 3px;
}

.box {
  font-size: 0.9em;
  margin-top: 8px;
  margin-right: 3px;
  padding-right: 0px;
  float: right;
  width: 100%;
  border-style: solid;
  border-width: 1px;
  border-color: #f59b00; /* Gesamtfarbe */
}

.box h3 {
  background-color: #f59b00;  /* Gesamtfarbe */
  color: white;
  padding-left: 4px;
  padding-right: 4px;
  margin-top: 0px;
}

.box div {
  padding-left: 4px;
  padding-right: 4px;
}


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

.lead img {
  padding: 5px;
}

img[align="right"] {
  margin-left: 6px;
  margin-bottom: 3px;
}

/* grauer Rahmen mit Umrandung */
blockquote, .rahmen {
  font-size : 1em;
  width: 90%;
  background-color : #F1F1F1;
  border-style : solid; 
  border-width : 1px; 
  border-color : #f59b00;  /* Gesamtfarbe */
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 10px;
}

/* Rahmen mit gestrichelter Umrandung */
.tipp {  
  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: 1px solid white;  
  width: 370px;
  margin-left: 0;
  text-align: left;
}

hr {
  border: 1px dashed #f59b00; /* Gesamtfarbe */
  width: 95%;
  margin-left: 0px;
  text-align: left;
}

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


table {    
  margin: 12px 0 10px 0;
  border-collapse: collapse;    
  box-shadow: 4px 4px 4px silver; 
}

/* Luft für Tabellen */
table th, td, tbody {
  padding: 5px;
  border: 1px solid silver;  
}


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

#content p.image {
  text-align: left;
}

.datum {
 font-size: 0.8em;
}

/* bis 800 Pixel Bildschirmbreite, z.B. Tablet */
@media (max-width: 850px) {
  #header img {
    max-width: 100%;    
    height: auto;      
  }
}

/* bis 600 Pixel Bildschirmbreite, z.B. Smartphone */
@media (max-width: 600px) {
  body {
    margin: 0;
    padding: 0;
  }
  
  #logo {
    width: 100%;
  }
  
  #logo h1 {
    font-size: 3.2em;
  }

  #logo h2 {    
    font-size: 1.5em;
  }

  #content {    
    display: block;
    float: none !important;
    width: 95%;
  }
  #nav {    
    display: block;
    float: none !important;
    width: 100%;
  }
  #topmenu {
    display: block;
    float: none !important;
    width: 100%;  
  }
  
  #nav ul { 
    list-style-type: none !important;
    list-style-image: none !important;        
    padding-left: 0;    
  }

  #nav ul li {    
    margin: 1px;
    padding-left: 2px !important;    
  }
  #nav ul li li {
    margin: 2px;    
    padding: 2px;      
  }
  
  #nav a { 
    padding: 5px !important;  
    color: white !important;
    text-decoration: none;    
    font-weight: bold;
    display: block;        
    background: #fff1d4 !important; /* Gesamtfarbe, aufgehellt */
  }
  
  #nav b {
    padding: 5px !important;
    background: #f59b00 !important; /* Gesamtfarbe */
  }
   
  #nav a:visited {
    color: black !important;    
  }
  
  #nav a:hover {
    background: #f59b00 !important; /* Gesamtfarbe */
    color: white;
    text-decoration: none;    
  }   
}
