/* --------------------------------------------------
        Allgemeine Grundeinstellungen                              
 ----------------------------------------------------*/
html {
   box-sizing: border-box;
   font-family: Verdana;
   font-weight: 500;
}

*, *::before, *::after {
  box-sizing: inherit; 
}

body {
  font-size: 0.8em;
  line-height: 150%;
}


h1, h2, h3, h4, h5, h6 {
  font-family: courier; 
}

h1 { 
  font-size: 1.1rem;
  padding-bottom: 0.2em;
  border-bottom: 2px solid black;
}

h2 { 
  font-size: 1.0rem;
  padding-bottom: 0.2em;
  border-bottom: 2px solid black;
}


ul {
  padding-left: 3em;
}


.wrapper {
   background-color: white;
}

.header {
   text-align: center;
   padding: 1em;
   background-color: white;
   color: black;
}

nav {
	background-color: steelblue;
	font-family: courier;
	font-size: 1.1rem;
	font-weight: bold;
	color: white;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}

.nav-ul {
   margin: 0;
   padding-left: 0em;
}

.nav-li {
   list-style: none;
   margin-left: 0;
   border-bottom: 1px solid black;
}

.nav-li-a {
    padding: 0.6em 2rem;
    display: block;
}

.nav-ul a:link {
    text-decoration: none; 
}

.nav-ul a:link, .nav-ul a:visited {
   color: white; /* white #fff*/
}

.nav-ul a:hover, .nav-ul a:focus, .nav-ul a:active {
   /* background-color: #FF5F00;   */
   background-color: #ffd700; 
   color: black; /* Neutral */
}

.nav-active {
   color: black; /* white */
   background-color: #76B900; /* bisheriges: #ffd700;  */
}

.container {
   background-color: #fff; /* weiss */
}

.article {
  display: table-cell;
  padding: 0 1em;
  background-color: #A9F5A9;
}

.article_half {
  padding: 0 1rem 0 1rem; 
  clear: both;
}

img {
    max-width: 50%;
    height: auto;
}


img.alignleft {
    float: left;
    margin-right: 15px;
    margin-bottom: 8px;
}

img.alignright {
    float: right;
    margin-left: 15px;
    margin-bottom: 8px;
}

img.fullwidth {
    max-width: 100%;
    height: auto;
}

figure {
    width: 50%;
    text-align: center;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
    border: thin silver solid;
    margin: 0.5em;
    padding: 0.5em;
}

figure img {
    max-width: 100%;
}

figure.figure_left {
    float: left;
}

figure.figure_right {
    float: right;
}

figure.figure_fullsize {
    width: 100%;
}

img.img_scaled {
    width: 100%;
}

figcaption {
    background-color: lightgray;
}

article a{ 
    text-decoration: none;
	color: blue;
	border-bottom: 1px solid blue;
}

article a:hover{ 
    text-decoration: none;
	color: purple;
	border-bottom: 4px solid steelblue;
}

.row { clear: both}

#up {
  position: fixed;
  bottom: 80px;
  right: 10px;
  padding: 1em;
  border: darkgrey 2px solid;
  background-color: rgba(225,232,240, 0.8);
  box-shadow: 2px 2px 1px 1px gray;
  text-decoration: none;
  color: black;
  text-align: center;
}

#up:hover, #up:focus {
  bottom: 5.5rem;
  background-color: #6ed3cf;
  transition: all 0.2s ease-out;
}


a.header-nav {
    text-decoration: none;
	color: #000;
}

a.header-nav:link,
a.header-nav:visited {
    color: #000;
}

a.header-nav:hover,
a.header-nav:focus {
    color: #fff;
    transition: all 0.2s ease-out;
}

a.header-nav {
    text-decoration: none;
	color: #000;
}

.ul-book {
  padding-left: 2em;
  list-style: none;
}

 
/*------------------------------------------------------------------
    Bildschirme ab 54em
 ------------------------------------------------------------------- */

@media screen and (min-width: 54em) {
    
	.header {
    text-align: center; 
	display: flex;
    flex-direction: row;
	align-items: center;
    }
	
	.container {
    display: block;
    overflow: auto; 
    }

	
	.wrapper {
		margin: 0 auto;
		max-width: 100em;
	}

	.article_half {
	  display: block;
      width: 50%;
      float: left;
	  clear: none;
	}

	.nav-ul {
    padding: 0 2rem;
    overflow: hidden;	
    }
  
	.nav-li {
      float: left;
      display: inline-block;
      border: none;
      width: auto; 
	}

	.nav-li-a {
     padding: 0.7em 1.2rem;
     display: inline-block;
    }


nav {
	  max-height: 25rem;
	  display: block;
	}


}	    
