:root {
  --color-primary: #1E90FF;
  --color-element-bg: DarkSeaGreen;
  --color-primary-bg: #ffffff;
  --width-normal: 1200px;
  --color-text-on-primary: ForestGreen;
  --color-text-on-secondary: #ffffff;
  --color-text-primary: #000000;
  --color-secondary-bg: ForestGreen;
  --border-primary: 3px solid ForestGreen;
  --color-bg-content: MintCream;
  --footer-height: 75px;
  --footer-height-border: calc(var(--footer-height) + 3px);
}
html {
  height: 100%;
}

body{
  margin: 0 auto;
  background-color: #ffffff;
  padding: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  height: 100%;
  color: var(--color-text-on-primary);
}

#headerspace {
  height: 25px;
}

h1 {
  text-align: center;
}

#sitespace {
  margin: 0 auto; 
  padding: 0;
  height: 100%;
}

#content{
  width: var(--width-normal);
  margin: auto;
  padding: 0 5px;
  border-right: var(--border-primary);
  border-left: var(--border-primary);
  height: auto; 
  min-height: 100%;
  background-color: var(--color-bg-content);
}

main {
  padding-bottom: var(--footer-height);
  margin: 0 10px;
 } 

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

footer {
  height: var(--footer-height);
  margin-top: calc(var(--footer-height-border)*-1);
  border-top: var(--border-primary);
  text-align: center;
  width: var(--width-normal);
  margin-left: auto;
  margin-right: auto;
  padding: 0 8px;
  font-size: 0.8em;
}

.fontmono {
  font-family: monospace;
}

.pictureboard {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: wrap;
  margin: 0 -10px;
  width: calc(100% + 20px);
}

figure.picframe01 {
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 300px;
  max-width: 578px;
  width: 100%;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

figure.picframe01 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

figure.picframe01 img {
  max-width: 80%;
  margin: 40px auto;
  display: block;
  position: relative;
  border: 3px solid #666666;
  border-radius: 25px;
  padding: 15px 15px 85px 15px;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

figure.picframe01 figcaption {
  position: absolute;
  height: 120px;
  bottom: 0px;
  left: 0;
  right: 0;
  display: block;
}

figure.picframe01 .figcopy {
  position: absolute;
  height: 70%;
  bottom: 135px;
  left: 0;
  right: 0;
  display: block;
  color: DarkSeaGreen;
  font-size: 0.7em;
  width: 100%;
  padding-right: 10.5%;
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.copyright {
  writing-mode: vertical-rl; 
  height: 100%;
}

figure.picframe01 h3 {
  background-color: #ffffff;
  color: #000000;
  font-size: 1.7em;
  width: 100%;
  padding: 5px 12px;
  margin: 0;
  text-transform: uppercase;
  font-weight: 400;
}

figure.picframe01 h3 span {
  font-weight: 800;
}

figure.picframe01 h4 {
  margin: 0;
  letter-spacing: -1px;
  opacity: 0.6;
  font-size: 1.1em;
}

figure.picframe01.primary img {
  border-color: var(--color-text-on-primary);
}

figure.picframe01.primary h3,
figure.picframe01.primary h4 {
  color: var(--color-text-on-primary);
}

.picture_at_qr {
  max-width: 80%;
  margin: 40px auto;
  display: block;
  position: relative;
  border: 3px outset forestgreen;
  background-color: #ffffff;
  border-radius: 25px;
  padding: 15px 15px 15px 15px;
}

.quellen {
overflow: hidden;
text-overflow: ellipsis;
}

.quellen a {
  font-size: 0.6em;
}




/*********************************************************/
/** Menu                                                **/
/*********************************************************/
nav {
  width: 100%;
  height: 100%;
  float: left;
  margin: 0 0;
  text-align: center;
}
nav a {
  text-decoration: none;
}
nav ul {
  width: 100%;
  height: inherit;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}
nav ul a {
  color: inherit;
  font-weight: inherit;
  display: inherit;
}

nav li {
  list-style: none;
  display: table-cell;
}

/*********************************************************/
/** Main menu                                           **/
#menuToggle {
  display: none;
}
.menu-icon {
  display: none;
}
#nav {
  width: inherit;
  height: 50px;
  margin: 0 -8px;
  line-height: 50px;
  text-align: center;
  background-color: var(--color-primary-bg);
  border-right: var(--border-primary);
  border-bottom: var(--border-primary);
  border-left: var(--border-primary);
  border-radius: 0 0 10px 10px;
}

header nav li:hover {
  background-color: var(--color-secondary-bg);
  color: var(--color-text-on-secondary);
}

header nav ul .activelink {
  background-color: var(--color-secondary-bg);
  color: var(--color-text-on-secondary);
}

header nav ul li {
  width: 20%;
  height: inherit;
  color: var(--color-text-on-primary);
  font-weight: bold;
  display: inline-block;
}

/*********************************************************/
/** News                                                **/
/*********************************************************/
.newslistitem {
  border-left: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0 0 0 2em;
  padding-left: 0;
  padding-top: 0.5em;
  padding-right: 0;
  padding-bottom: 1em;
  text-align: justify;
  margin-bottom: 1em;
}
.newslistitem h2 {
  font-size: large;
  text-align: left;
}

.newslistitempub {
  font-size: small;
  text-align: right;
  margin-top: -1em;
  clear: left;
}

.newslistitem details[open] summary {
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
    outline: none;
    color: var(--color-text-on-primary);
  }
.newslistitem summary {
    outline: none;
    margin: 1em 0;
    font-weight: bolder;
    color: var(--color-text-on-primary);
  }
.newslistitem summary:hover {
    color: var(--color-element-bg);
    cursor: pointer;
  }
.newslistitemwithicon {
  width: 2em;
  display: inline-block;
  text-decoration: none;
  text-align: left;
}
.newslistitem details img {
  max-width: 33%;
  margin: 0.5em 0.5em 0.5em 0;
  float: left;
  position: relative;
  border: var(--border-primary);
  border-radius: 25px;
  padding: 15px;
  background-color: var(--color-primary-bg);
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

@media only screen and (max-width: 1250px) {
  :root {
    --width-normal: 98%;
  }

  .responsive {
    width: 97%;
    margin: 3px 3px;
  }

/*********************************************************/
/** News                                                **/
/*********************************************************/

  .newslistitem details img {
    max-width: calc(100% - 36px);
    width: calc(100% - 36px);
    margin: 0;
    float: none;
    position: relative;
    border: var(--border-primary);
    border-radius: 25px;
    padding: 15px;
    background-color: var(--color-primary-bg);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }

/*********************************************************/
/** Menu                                                **/
/*********************************************************/

  .menu {
    width: calc(100% - 2em - 12px);
    height: auto;
  }
  .menu ul {
    display: block;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.3s;
    -moz-transition: max-height 0.3s;
    -ms-transition: max-height 0.3s;
    -o-transition: max-height 0.3s;
    transition: max-height 0.3s;
  }
  .menu ul li {
    text-align: left;
    width: 100%;
    height: 50px;
    background-color: var(--color-primary-bg);
    padding: 10px 0px 10px 10px;
    display: inline-block;
    font-weight: bold;
    color: var(--color-text-on-primary);
  }
  .menu ul li:hover {
  background-color: var(--color-secondary-bg);
  color: var(--color-text-on-secondary);
  }

  .menu ul a {
  height: inherit;
  width: calc(100% - 20px);
  color: inherit;
  font-weight: inherit;
  display: inherit;
  }

  .menu ul a:hover {
  background-color: inherit;
  color: inherit;
  }

  .menu-icon {
    width: 50px;
    height: inherit;
    display: block;
    height: 50px;
  }

  .menu-icon img {
  padding: 12px;
  }

  .menu-icon:hover {
  background-color: var(--color-secondary-bg);
  color: #fff;
  }

  #menuToggle:checked ~ ul {
    max-height: 400px;
  }

}
