
/* =======================================  GLOBALE DEFINITION  ============================================== */

/* alternatives Boxmodell */

*, ::before, ::after {
  box-sizing: border-box;
}

body {
/*   max-width: 65em; */
  max-width: 65em;
  margin: 0 auto;
  padding: 0 1em;
  font: normal 1em Arial, sans-serif;
  color: #000000; /*darkRed; /* wird als currentColor fÃ¼r die Akzentfarbe verwendet. */
  background-color: #F9F9FA;
}

navx {
/*   max-width: 65em; */
  max-width: 63em;
  background-size: contain;
}

div {
/*   max-width: 65em; */
  max-width: 60em;
  background-size: contain;
}

p, ol, ul, {color: #333;}

.leftspring {
 margin-left: 1em;
}
.leftspringx {
 margin-left: .7em;
}
.leftspringy {
 margin-left: 1.2em;
}

.tooltipa {
	cursor: none;
	position: relative;
}

.tooltipa span[rel=tooltipa] {
	display: none;
}

.tooltipa:hover span[rel=tooltipa] {
	display: block;
	position: absolute;
	bottom: 1em;
	left: 37em;
	width: 12em;
	padding: 0.5em;
	z-index: 15;
	color: #ffffff;
	background-color: #353535;
	border: solid 1px #ff9900;
	border-radius: 0.3em;
	font-size:10px;
	font-style: normal;
	opacity: 0.9;
}
.tooltipb {
	cursor: none;
	position: relative;
}

.tooltipb span[rel=tooltipb] {
	display: none;
}

.tooltipb:hover span[rel=tooltipb] {
	display: block;
	position: absolute;
	bottom: 1em;
	left: 40em;
	width: 9em;
	padding: 0.5em;
	z-index: 15;
	color: #ffffff;
	background-color: #353535;
	border: solid 1px #ff9900;
	border-radius: 0.3em;
	font-size:10px;
	font-style: normal;
	opacity: 0.9;
}

.tooltipc {
	cursor: none;
	position: relative;
}

.tooltipc span[rel=tooltipc] {
	display: none;
}

.tooltipc:hover span[rel=tooltipc] {
	display: block;
	position: absolute;
	top:-15em;
	height:2.5em;
	bottom: 1em;
	left: 20em;
	width: 13em;
	padding: 0.5em;
	z-index: 15;
	color: #ffffff;
	background-color: #353535;
	border: solid 2px #ff9900;
	border-radius: 0.3em;
	font-size:10px;
	font-style: normal;
	text-align: center;
	opacity: 0.8;
}

.tooltipd {
	cursor: none;
	position: relative;
}

.tooltipd span[rel=tooltipd] {
	display: none;
}

.tooltipd:hover span[rel=tooltipd] {
	display: block;
	position: absolute;
	top:-15em;
	height:2.5em;
	bottom: 1em;
	left: -1em;
	width: 13em;
	padding: 0.5em;
	z-index: 15;
	color: #ffffff;
	background-color: #353535;
	border: solid 1px #ff9900;
	border-radius: 0.3em;
	font-size:10px;
	font-style: normal;
	text-align: center;
	opacity: 0.8;
}

.tooltipe {
	cursor: none;
	position: relative;
}

.tooltipe span[rel=tooltipe] {
	display: none;
}

.tooltipe:hover span[rel=tooltipe] {
	display: block;
	position: absolute;
	top:-6em;
	height:6.5em;
	bottom: 1em;
	left: -1em;
	width: 12em;
	padding: 0.5em;
	z-index: 15;
	color: #ffffff;
	background-color: #353535;
	border: solid 1px #ff9900;
	border-radius: 0.3em;
	font-size:10px;
	font-style: normal;
	text-align: center;
	opacity: 0.8;
}

.tooltipf {
	cursor: none;
	position: relative;
}

.tooltipf span[rel=tooltipf] {
	display: none;
}

.tooltipf:hover span[rel=tooltipf] {
	display: block;
	position: absolute;
	top:-60em;
	height:2.5em;
	bottom: 1em;
	left: 80em;
	width: 12em;
	padding: 0.5em;
	z-index: 15;
	color: #ffffff;
	background-color: #353535;
	border: solid 2px #ff0000;
	border-radius: 0.3em;
	font-size:10px;
	font-style: normal;
	text-align: center;
	opacity: 0.8;
}

/* ====================================================  HEADER  =============================================== */

header {
  margin: 0;
  padding: 1em;
<!--   background-color: #e7e8ee; -->
  background-color: #ffffff;
  align:left;
}

header a {
  padding: .5em .5em .5em 0em;
  height: 3em;
  text-decoration: none;
  border: 1px solid transparent;

}

header p {
  font-variant: small-caps;
  font-size: .9em;
  width: 75%;
}

header span {
  font-weight: bold;
}

/* ====================================================  CONTENT  ==================================================== */

h1, h2 {
  color: #000000;  /*currentColor;*/
}

h3 {
  color: #999;
}

a {
  color: currentColor;
  font-weight: normal; /*bold;*/
  text-decoration: none;
}
a:hover, a:focus {
  color: #000099;
}

a.more {
  float: right;
}
a.more::before {
  content: url('more.svg');
  margin-right: .5em;
}
a.more:hover, a.more:focus {
  color: black;
}
a.more:hover::before, a.more:focus::before {
  color: white;
}

a.navotop {
  float: right;
  color: #666666;
  font: bold .7em Arial, sans-serif;
}
a.navotop::before {
  margin-right: .5em;
}
a.navotop:hover, a.navotop:focus {
  color: #ff0000;
}
a.navotop:hover::before, a.navotop:focus::before {
  color: #666666;
}

h2.img {
  padding-left: 2.5em;
}

img, a img {
border: 0 none;
}

jessinhalt > h2 {
  clear: both;
}
jessinhalt > h2 + p > img {
	width: 33%;
  float: left;
  margin: .15em 1.5em 1.5em 0;
}
jessinhalt > h2:nth-of-type(odd) + p > img {
  float: right;
  margin: .15em 0 1.5em 1.5em;
}

jessinhalt > li#yelowordner {
    list-style-type: none;
    padding-left: 25px;
    margin-left: 0px;
    background-image:url('b2.gif');
    background-repeat:no-repeat;
    background-position:left center;
    margin-left: 2em;
}

jessinhalt > li#redordner {
    list-style-type: none;
    padding-left: 25px;
    background-image:url('b4.gif');
    background-repeat:no-repeat;
    background-position:left center;
    max-width: 65em;
    margin-left: 1em;
}

jessinhalt > li#redordnerx {
    list-style-type: none;
    padding-left: 25px;
    background-image:url('b4.gif');
    background-repeat:no-repeat;
    background-position:left center;
    max-width: 65em;
    margin-left: 0em;
}

jessinhalt > li#greenordner {
    list-style-type: none;
    padding-left: 25px;
    background-image:url('b1.gif');
    background-repeat:no-repeat;
    background-position:left center;
    max-width: 65em;
    margin-left: 2em;
}
jessinhalt > li#grayordner {
    list-style-type: none;
    padding-left: 25px;
    background-image:url('b6.gif');
    background-repeat:no-repeat;
    background-position:left center;
    margin-left: 1em;
    color: #999999;
    font-weight: bold;
}
jessinhalt > li#blueordner {
    list-style-type: none;
    padding-left: 25px;
    background-image:url('b3.gif');
    background-repeat:no-repeat;
    background-position:left center;
    margin-left: 2em;
}
jessinhalt > li#orangeordner {
    list-style-type: none;
    padding-left: 25px;
    background-image:url('b7.gif');
    background-repeat:no-repeat;
    background-position:left center;
    margin-left: 2em;
}


jessinhaltx > h2 {
  clear: both;
}
jessinhaltx > h2 + p > img {
	width: 33%;
  float: left;
  margin: .15em 1.5em 1.5em 0;
}
jessinhaltx > h2:nth-of-type(odd) + p > img {
  float: right;
  margin: .15em 0 1.5em 1.5em;
}

jessinhalty {
  position: relative;
  max-width: 60em;
  background-size: contain;
  color: #f4f4f4; /*darkRed; /* wird als currentColor fÃ¼r die Akzentfarbe verwendet. */
  background-color: #f4f4f4;
}

/* ====================================================  NAV  ==================================================== */
nav ul {
  box-shadow: 0 .6em .3em 0 rgba(0, 0, 0, .75);
  text-align: center;
  margin: 0;
  padding: 0;
  list-style-type: none;
  background-color: #000000;
}

nav li {
  background-color: #000000;
}

nav a {
  background-color: #000000;
  color: #CCCCCC;
  text-decoration: none;
  display: inline-block;
  width: 95%;
  margin: .2em 0;
  padding: .2em 1em;
  border-radius: 0em;
}

nav a[aria-current="page"]{
 background-color: #000000;
 color: #ffffff;
 font-weight: normal; /*bold;*/
 cursor: pointer;
}
nav a:hover {
  background-color: #000000;
  color: #ffffff;
}
nav a:focus {
  background-color: #000000;
  color: #ffffff;
}

nav a:hover::after ,
nav a:focus::after{
  color: transparent;
}


/* ====================================================  NAVX  ==================================================== */

navx ul {
  box-shadow: 0 .6em .3em 0 rgba(0, 0, 0, .75);
  text-align: center;
  margin: 0;
  padding: 0;
  list-style-type: none;
  background-color: #000000;
}

navx li {
  background-color: #000000;
}

navx a {
 background-color: #000000;
  color: #CCCCCC;
  text-decoration: none;
  display: inline-block;
  width: 95%;
  margin: .1em 0;
  padding: .1em 1em;
  border-radius: 0em;
  margin-top: .5em;
}

navx a[aria-current="page"]{
 background-color: #000000;
 color: #ffffff;
 font-weight: normal; /*bold;*/
}
navx a:hover {
  background-color: #000000;
  color: #ffffff;
}
navx a:focus {
  background-color: #000000;
  color: #ffffff;
}

navx a:hover::after ,
navx a:focus::after{
  color: transparent;
}

/* ====================================================  NAVZ  ==================================================== */

navz {
  background:url(hg5b.jpg) no-repeat right top;
  color: #999999;
  text-decoration: none;
  display: block;
  width: 100%;
  margin: .1em 0;
  padding: .1em 0em;
  margin-top: .5em;
}

navz a {
  color: #999999;
  text-decoration: none;
  display: block;
  width: 100%;
  margin: .1em 0;
  padding: .1em 0em;
  border-radius: 0em;
  margin-top: .5em;
}

navz a[aria-current="page"]{
color: #999999;
 font-weight: normal; /*bold;*/
}
navz a:hover {
  color: #000000;
}
navz a:focus {
  color: #000000;
}

navz a:hover::after ,
navz a:focus::after{
  color: transparent;
}

/* ====================================================  FOOTER  ==================================================== */

footer {
  margin: 0em 0;
  display: flex;
  color: #989898;
  margin-top:-16px;
  background-color: #ffffff;
}

footer ul,
footer p {
  flex: 1 1 100%;
}

footer ul {
  padding-left: 0;
  margin-left: 0;
}

footer li  {
  list-style-type: none;
  display: inline-block;
  border-left: .0em solid #989898;
}
footer li:first-child  {
  border-left-color: transparent;
}
footer a {
  color: #999;
}
footer a:hover, footer a:focus {
  color: #333;
}
footer li a {
  padding: 0 .5em 0 .7em;
}
footer p {
  margin-top: 0;
  padding-top: 0;
  text-align: left;
}


/* ====================================================  LAYOUT  ==================================================== */

/* Mobile first ! alle BlÃ¶cke haben 100%, Navigation unten*/
main  {
  padding: 1em 0;
  margin: 1em 0;
}

/* Navigationselemente werden untereinander angezeigt */
nav ul {
  display: flex;
  flex-direction: column;
}

navx ul {
  display: flex;
  flex-direction: column;
}

header{
  display: none;
}

nav
{
  display: none;
}

navz
{
  display: block;
}

navx
{
  display: none;
}
#foo {
  display: none;
}

/* 2-Spaltenlayout mit breiterem aside */
@media screen and (min-width: 25em) {
  header { 
  height: 10em; 
  }
  
/*div dynamisch anzeigen*/
.jemaina {
  background-color: #000000;
  color: #CCCCCC;
  display: block;
  z-index: 11;
  position: relative;
  text-align: left;
}

.jemainb {
  background-color: #000000;
  color: #CCCCCC;
  display: block;
  z-index: 11;
  position: relative;
 text-align: left;
}

.buttona {
  background-color: #000000;
  color: #CCCCCC;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  width: 95%;
  margin: .1em 0;
  padding: .1em 1em;
  border-radius: 0em;
  margin-top: .5em;
 text-align: left;
 z-index: 1; 
}

.buttonb {
  background-color: #000000;
  color: #CCCCCC;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  width: 95%;
  margin: .1em 0;
  padding: .1em 1em;
  border-radius: 0em;
  margin-top: .3em;
 text-align: left;
 z-index: 1; 
}

.buttona:hover {
color: #ffffff;
}
.buttonb:hover {
color: #ffffff;
}

.geheima {
  box-shadow: 0 .6em .3em 0 rgba(0, 0, 0, .75);
  display: none;
  position: absolute;
  background-color:#000000;
  color: #CCCCCC;
  top: .7em;
  left: 1.2em;
  color: #CCCCCC;
  z-index: 10; 
 text-align: left;
}

.geheimb {
  box-shadow: 0 .6em .3em 0 rgba(0, 0, 0, .75);
  display: none;
  position: absolute;
  background-color:#000000;
  color: #CCCCCC;
  top: .7em;
  left: 1.2em;
  color: #CCCCCC;
  z-index: 10; 
 text-align: left;
}

.buttona:hover > .geheima {
  display: block;
}
.buttonb:hover > .geheima {
  display: block;
}

.buttona:hover > .geheimb {
  display: block;
}
.buttonb:hover > .geheimb {
  display: block;
}
}

/* 2-Spaltenlayout mit breiterem aside */
@media screen and (min-width: 58em) {
  header {
    background: #e7e8ee url('seitenkopf.png') no-repeat right bottom ;
    background-size: contain;
    height: 10em; 
    display: block;
  }
  
  nav{
  background-size: contain;
  display: block;
  }
  
  /* Navigation wird nebeneinander ausgerichtet. */
  nav ul {
    flex-direction: row;
    background-color: #000000;
  }

  nav li {
    margin: 0;
    flex: 1 1 0%;
  }

 
 /* Navigation wird nebeneinander ausgerichtet. */
  navx ul {
    flex-direction: row;
    background-color: #000000;
  }

  navx li {
    margin: 0;
    flex: 1 1 0%;
  }
 
  /* Main wird zum Flex-Container */
  main {
    display: flex;
    flex-flow: row wrap;
  }

  main > * {
    flex: 1 100%;  /* Alle Kindelemente werden Ã¼ber die volle Breite dargestellt */
  }

  section {
    flex: 1 48%;  /* Diese Elemente erhalten eine halbe Breite */
    margin: 1%;

  }
  
  jessinhalt {
    flex: 0 0 98%;
    margin: 1%;
  }

/*   jessinhalt p, */
  jessinhalt li,
  jessinhalt blockquote {
    max-width: 40em;
  }
  
    jessinhaltx {
    flex: 0 0 98%;
    margin: 1%;
  }

/*   jessinhalt p, */
  jessinhaltx li,
  jessinhaltx blockquote {
    max-width: 40em;
  }

navz
{
  display: none;
}
}

/*UNTERMENUE */
#foo {
        position: fixed; 
        width: 63em;
        left: 50%;
        transform: translate(-50%, -0%); 
        display:none;
        z-index: 111; 
    }

#elsalinksb {
position: relative;
float: right;
padding: .5em;
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
font-color:#353535;
/* z-index:4; */
text-align: right;
}

a:link.liste { text-decoration:none; font-size:11px;outline:0; color:#353535;font-weight: normal; }
a:visited.liste { text-decoration:none; font-size:11px;outline:0; color:#353535;font-weight: normal; }
a:hover.liste { text-decoration:none; font-size:11px;outline:0; color:#009900;font-weight: bold;}
a:active.liste { text-decoration:none; font-size:11px;outline:0; color:#353535;font-weight: normal; }
a:focus.liste { text-decoration:none; font-size:11px;outline:0; color:#353535;font-weight: normal; }