/* standard.css, v0.8, 2016-10-18, gerald petter */

/* Normalisierung ------------------------------------------------------------------------------------------------------------------------- */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, a, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, 
canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video, main {
  margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

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

h1, h2, h3, h4, h5, h6 { 
  font-weight: normal;}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main { 
  display: block;}

blockquote, q {
  quotes: none;}
  
address, caption, cite, code, dfn, th, var { 
  font-style: normal; font-weight: normal;}

table {  
  border-collapse: collapse; border-spacing: 0;}

caption, th {  
  text-align: left;}

blockquote:before, blockquote:after, q:before, q:after {
  content: ''; content: none;}

input, select {
  vertical-align: middle; padding: 0 2px;}

img {
  vertical-align: bottom;}

/* Standardisierung ----------------------------------------------------------------------------------------------------------------- */
small {
  font-size: 0.8em;
  font-weight: 400;
}

.clear {
  clear: both;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

/* Flexible Box Layout ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.flex {
  display: -webkit-box; 
  display: -ms-flexbox;
  display: flex;
  justify-content: space-around;
}

.flex > * {
  -webkit-flex: 0 1 auto;          /* Chrome */
  -ms-flex: 0 1 auto;              /* IE 10 */
  flex: 0 1 auto;
  display: inline-block; /* older browser */
  text-align: center;
}

.flex > * > img {
  width: 100%;
}

.flex--between {
  justify-content: space-between;
}

.flex--center {
  align-items: center;
}

/* Menü allgemein ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
nav ul, .nav {
  list-style: none;
}

nav a, .nav a {
  text-decoration: none;
}

/* Menübutton ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#menu-main {
  position: absolute;
  top: 0px;
  right: 0;
  width: 100%;
  min-height: 0;
  font-size: 1.1em;
  z-index: 10;
}

#menu-main > a  {
  position: absolute;
  top: 10px;
  right: 2%;
  display: none;
  width: 22px;
  height: 15px;
  border-top: 3px solid rgb(255, 206, 0);
  border-bottom: 3px solid rgb(255, 206, 0);
}

#menu-main > a:hover  {
  border-top: 3px solid rgb(255, 255, 255);
  border-bottom: 3px solid rgb(255, 255, 255);
}

#menu-main > a:after {
  margin-top: 3px;
  width: 22px;
  height: 3px;
  background-color: rgb(255, 206, 0);   /* anpassen */
  content: '';
  display: block;
}

#menu-main > a:hover:after {
  background-color: rgb(255, 255, 255);
}

#menu-main:not( :target ) > a:first-of-type, #menu-main:target > a:last-of-type {
  display: block;
}

#menu-main > ul {
  padding: 36px 2% 10px;
  height: auto;
  display: none;
  background-color: rgb(0, 0, 0); /* anpassen */
}

#menu-main:target > ul {
  display: block;
}

.menu-main > li {
  border-bottom: 1px solid rgb(255, 206, 0); /* anpassen */
  margin: 0;
  text-align: right;
  padding: 8px 22px;
  font-size: 1.1em;
  color: rgb(255, 206, 0); /* anpassen */
}

.menu-main > li:first-child {
  border-top: 1px solid rgb(255, 206, 0); /* anpassen */
}

.menu-main > li a {
  color: rgb(255, 206, 0);
}

.menu-main > li a:hover {
  color: rgb(255, 255, 255);
}
