@charset "utf-8";

/* Flexbox Layout */
body {
	background-color: #E4D0B3;
	font-family: verdana,arial,helvetica,sans-serif;
	font-size: 100%;
	padding: 0 0.5em 0 0.5em;
	}

.print {
    display: none;
} 

/* Container für Kopf, Inhalt, Fuß getrennt, um Zentrierung und maximale Breite unabhängig steuern zu können */
.canvasHeader {
	width: 100%;
	max-width: 1200px;
	background-color: #E4BF88;
	margin: 1em auto 1em auto; /* top right bottom left */
	border-radius: 1em;
	box-shadow: 0px 0px .2em #E4BF88;
	display: flex;
	flex-flow: row wrap;
/*  position: fixed;
  top: 0;   */
} 
.canvasContent {
	width: 100%;
	max-width: 1200px;
	background-color: #E4DACC;
	margin: 1em auto 1em auto; 
	border-radius: 1em;
	box-shadow: 0px 0px .2em #E4BF88;
	display: flex;
	flex-flow: row wrap;
} 
.canvasFooter {
	width: 100%;
	max-width: 1200px;
	background-color: #E4BF88;
	margin: 1em auto 1em auto; 
	border-radius: 1em;
	box-shadow: 0px 0px .2em #E4BF88;
	display: flex;
	flex-flow: row wrap;
} 

/*  */

* {
  padding: 0px;
  margin:0px;
}
header{
  /*background: #FFFFFF;*/
  padding: 0em;
  margin: 1em;
  }

nav{
  background: #E4D0B3;
  }

footer{
  /*background-color: #E4D0B3;*/
  border-bottom-left-radius: 1.0em;
  border-bottom-right-radius: 1.0em;
  padding: 0em;
  margin: 1em;
}

main{
  margin: 0em;
}
 
article{
  margin: 1.5em 1.5em 1.5em 1em;
}
section{
  margin: 0em;      /* top right bottom left */
}
aside{
  margin: 1.5em 1em 1.5em 0;
}

/* Rahmen zur Veranschaulichung der Blöcke 
header{
  border: 1px solid #3481cd;
}

footer{
  border: 1px solid seagreen;
}
 
main{
  border: 1px solid hotpink;
}
 
article{
  border: 1px solid purple;
}
section{
  border: 1px solid slateblue;
}
aside{
  border: 1px solid tomato;
}
*/


/* Mobile first - alle Dokument-Blöcke bekommen 100% Breite */  
header, nav, article, aside, footer {
  flex: 1 1 100%;
}
 
header {
  display: flex;
  flex-flow: row wrap;  
}
 
header * {
  flex: 1 1 auto;
}
 
header img {
  flex: 0 0 auto;
  /*  height: 40.3em;
  padding-left: 0px;
  */
    max-width: 100%;
    height: auto;
    margin: 0 auto 0 auto;
}  

/* Suchbox im Header */
header form {
    border: none;
    background-color: transparent;
    display: inline-block;
    float: right;
    }

header button {
    height: 2.5em;
    width: 2.5em;
    vertical-align: middle;
    background-color: #D59A44;
    border-radius: 0.5em;
    border: 1px solid grey;
    margin: 0.15em 0.15em 0.15em 0.15em;
    opacity: 0.8;
    }
header button:hover {
    border: 2px solid silver;
    }
header input {
    width: 10em;
    height: 2.5em;
    vertical-align: middle;
    border: 1px solid #D59A44;
    border-radius: 0.5em;
    margin: 0.15em 0.15em 0.15em 0.15em;
    line-height: 2em;
    background-color: #E0E0E080;
    }

header nav {
  flex: 1 1 100%;
}
 
nav ul {
  display: flex;  
  flex-direction: column;
}
 
nav li {
  margin: 1.3em 0;
  flex: 1 1 100%;
}

/* Smart Phones und Tablets mit mittlerer Auflösung */
@media all and (min-width: 35em) {
 
  header img {
    flex: 0 0 auto;
  /*  height: 90px;*/
  }
 
  nav ul {
    flex-direction: row;
  }
 
  nav li {
    flex: 1 1 0%;
  }	
 
  /* durch auto werden die beiden asides in eine Zeile gesetzt */
  aside { 
    flex: 1 auto;
  }
 
  article { 
    order: 2; 
  }
  #news { 
    flex: 1 auto;
    order: 3; 
  }
  aside { 
    flex: 1 auto;
    order: 4;
  }
  footer {
    order: 5;
  }
  /* Bereichs-Vorschau auf Homepage */
  div.teaser {
  	max-width: 45%;
  	display: inline-block;
  	vertical-align: top;
  }
	/* Blog-Vorschau auf Homepage */
	div#vorschau {
		margin-left: 10%;
		margin-right: 15%;
	}
}
 
/* Viewports mit großer Auflösung */
@media all and (min-width: 50em) {
/* article wird 2.5x so breit wie die beiden asides */
  article {                        
    order: 3;	
    flex: 5 1 0%;
  }
 
  aside {
    flex: 2 1 0%;
  }
  #news {
    flex: 2 1 0%;
    order: 2;
    align-self: center;
    height: 120px;  
  }
  /* Bereichs-Vorschau auf Homepage */
  div.teaser {
  	max-width: 30%;
  	display: inline-block;
  	vertical-align: top;
  }
  /* Blog-Vorschau auf Homepage */
  div#vorschau {
	margin-left: 10%;
	margin-right: 15%;
  }
}

/* Navigationsleiste formatieren */
nav {
  font-size: 1em;
  padding: 0.1em;
  background: #E4D0B3;
  border-color: #E4BF88;
  }
nav ul {
  padding:0;
  margin: 0;
}
 
nav li {
  list-style: none;
  margin: 0;
  padding: 0.5em;
}
 
nav a {
  display: block;
  padding: 0.5em;
  font-weight: bold;
  text-decoration: none;
  background-color: #D59A44;
  color: #FFFFFF;
}
 
nav ul a:hover  {
  color: #000000;
  background-color: #E4D0B3;
}
nav a:active  {
  color: #447ED5;
  background-color: #E4D0B3;
}
/*nav a.menu-nav-item-active  {
  color: #447ED5;
  background-color: #E4D0B3;
}*/

/* Nav innerhalb des Contents => TOC */
nav#TableOfContents ul {
    display: block;
    margin-left: 1em;  
    }
nav#TableOfContents li {
    list-style: circle;
    margin-bottom: 0;
    padding: 0;
    background-color: none;
    color: #FFFFFF;
    font-weight: normal;
    text-decoration: none;
    text-align: left;
    border: none;
    }
nav#TableOfContents ul a:link {
    list-style: circle;
    margin-bottom: 0;
    padding: 0;
    font-weight: normal;
    text-decoration: none;
    text-align: left;
    border: none;
    color : #447ED5;
    background-color: inherit; /* vom Elternelement, für IE */
    background-color: transparent;
    }
nav#TableOfContents ul a:visited {
    list-style: circle;
    margin-bottom: 0;
    padding: 0;
    color : #9A44D5;
    background-color: inherit; /* vom Elternelement, für IE */
    background-color: transparent;
    text-decoration: none;
    font-weight: normal;
    text-align: left;
    border: none;
    }
nav#TableOfContents ul a:hover {
    list-style: disc;
    margin-bottom: 0;
    padding: 0;
    color : #447ED5;
    background-color: inherit; /* vom Elternelement, für IE */
    background-color: transparent;
    text-decoration : underline;
    font-weight: normal;
    text-align: left;
    border: none;
    }



/*Seiteninhalt*/
footer A:LINK {
        color : #447ED5;
        background-color : transparent;
        text-decoration : none;
}
footer A:VISITED {
        color : #9A44D5;
        background-color : transparent;
        text-decoration : none;
}
footer A:HOVER {
        color : #447ED5;
        background-color : transparent;
        text-decoration : underline;
}


/*Menüleiste*/
aside H2 {
    color : #444444;
    background-color : transparent;
    font-style : normal;
    font-size : 130%;
    font-weight : 200;
    line-height : 150%;
	margin-top: 0;
	margin-bottom: 0.5em;
}
aside ul {
	list-style: none;
	margin: 0px;
	padding: 0;
	border: none;
	font-size:1em;
}

aside li {
	font-size:1em;
	margin: 0px 0px 1px 0px;
}
aside li a {
	display: block;
	padding: 0.5em;
	background-color: #D59A44;
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
	width : 170px;	
}
html>body aside li a {
width: auto;
}

aside li a:hover {
	background-color: #E4D0B3;
	/*#FFCC00*/
	color : #000000;
}

aside li a.active {
background-color: #E4D0B3;
color: #000000;
}
/*Teaser auf Homepage formatieren und verlinken*/
div.teaser {
	border-width: 0;
	border-radius: 1.5em;
	font-size: 90%;
	text-decoration : none;
	border: 0;
}

/* Seiten umblättern */
.umblaettern li {
    list-style: none;
    display: inline-block;
    width: 47%;
    font-style: italic;
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
    }
.umblaettern a:link {
    display: inline-block;
    margin: 0 0.5em 0.5em 0.5em;    /* top right bottom left */
    padding: 0.2em 0.5em 0.2em 0.5em;
    background-color: #E4DACC;
    border: 2px solid #E4BF88;
    border-radius: 0.5em;
    }
.umblaettern a:visited {
    border: 2px solid #E4BF88;
    }
.umblaettern a:hover {
    color: #000000;
    background-color: #E4BF88;
    text-decoration: none;
    }


/* link-Auszeichnung in der Seitenleiste */
.widget A:LINK {
        color : #447ED5;
        background-color : transparent;
        text-decoration : none;
    margin: 0;
    padding: 0;
}
.widget A:VISITED {
        color : #9A44D5;
        background-color : transparent;
        text-decoration : none;
}
.widget A:HOVER {
        color : #447ED5;
        background-color : transparent;
        text-decoration : underline;


/* Message für Internet-Explorer-User */
@supports (display:flex) 
{
    .internetexplorer 
    {
        display: none;
        }
    }


