
body {
	background: url(../img/KEP_bg.jpg) no-repeat 100px top fixed;
	line-height:1.3em;
	font-family: 'Roboto', sans-serif;
  min-height: 100%;
}
body p { margin-bottom: 0.75em;  }

.lato { font-family: 'Lato'; }

.text-xl, .text-2xl, .text-3xl, .text-4xl, .text-lg {   font-family: 'Lato';  }


.contentbody li { display: list-item; list-style-type: disc; margin-left: 1em }

.bestellen label { width: 100px; display: inline-block}
.bestellen input { outline: none; margin-bottom: 10px; border-bottom: 1px solid black; background: none; padding-top:10px}
.bestellen .errorlist  { color: red; margin-bottom: 20px;}

.pattern {
	background: url(../img/bg_pattern.png) repeat-x
}

.footnotes a, .caption a, .bio a, .articletext a {
  text-decoration: underline
}

.footnotes a:hover, .caption a:hover, .bio a:hover {
  color:black
}

.articletext a:hover {
  color:black; 
}

.inhalt a:hover {
  color:black
}

.articletext a sup {
  color: #333;
  padding-left: 2px;
  padding-right: 2px;
  text-decoration: none;
}

nav .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #FFF;
  padding: 1em;
  margin: auto;
}

nav .logo {
  width: 25%;
}

nav .rest {
  width: 75%;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
  float:right;
}

.menu > li {
  padding: 0 0.5rem;
  font-weight: bold;
}

.menu > li a {
  color: white;
  /*   color: #FCF803; */
  text-transform: uppercase;
}
.menu > li a.active {
  color: white;
  border-bottom: 1px solid white;
}
.menu > li a:hover {
  color: #dddddd;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  float:right;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 1024px) {
  .menu-button-container {
    display: flex;
  }
  nav img { height: 40px }
  nav .logo {
    width: 75%;
    height: 34px;
  }
  nav .rest {
    width: 25%
  }
  nav .logor {
    display: none;
  }

  .menu {
    position: absolute;
    top: 0;
    margin-top: 65px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 100;
    text-align:center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    display: none;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border-bottom: 1px solid #999;
    height: 2.5em;
    padding: 0.5em;
    padding-left:1.4em;
    display: inline;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #3d3d3a;
  }
  .menu > li a.active {
    border-bottom: 0
  }
  #menu-toggle:checked ~ .menu li:last-child {
    border-bottom: 1px solid #111;
  }
}
