html, body {
  margin: 0;
}
body {
  flex-flow: column;
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  line-height: 1.5em;
  text-align: justify;
  background: #f8f8f8;
}
a {
  color: #000;
  text-decoration: none;
}
p {
  margin: 0 0 1em 0;
}

.header {
  position: fixed;
  left: 0;
  top: 0;
  background: #f8f8f8;
  width: 100%;
  line-height: 70px;
  box-shadow: 0 5px 10px #00000022;
}
.centered, .content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}
.centered {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
}
.logo {
  font-size: 1.75em;
  font-style: italic;
  display: flex;
  align-items: center;
}
.logo span {
  margin-right: 10px;
  width: 50px;
  height: 50px;
  background-color: #5793C9;
  background-image: url(/img/logo.svg);
  background-size: cover;
  background-position: 50% 50%;
}
.hamburger {
  display: none;
  margin: 25px 0;
  width: 25px;
  height: 20px;
  cursor: pointer;
  background: linear-gradient(to bottom, #000 0%, #000 20%, transparent 20%, transparent 40%, #000 40%, #000 60%, transparent 60%, transparent 80%, #000 80%, #000 100%);
}
#menutrigger {
  display: none;
}
.menu {
  font-size: 1.125em;
}
.menu a {
  margin-left: .75em;
}
.pagetitle {
  background: #5793C9;
  color: #f8f8f8;
  line-height: 180px;
  margin: 70px 0 .5em 0;
  text-align: center;
  font-size: 3em;
  /*font-family: 'Forte';
  font-size: 3.5em;
  font-weight: normal;*/
}

.datesel {
  width: 70%;
  margin: 40px auto;
  text-align: center;
  line-height: 3em;
}
.datesel a, .button {
  background: #e8e8e8;
  font-weight: bold;
  border-radius: 100px;
  padding: 7px 15px;
  margin: 0 10px;
  text-decoration: none !important;
}
.datesel a.active, .button {
  background: #5793C9 !important;
  color: #f8f8f8 !important;
}

.entry {
  margin-bottom: 100px;
}
.entry::before {
  content: '';
  display: block;
  height: 80px;
  margin-top: -80px;
  visibility: hidden;
}
.article {
  display: flex;
}
.date, h2 {
  font-size: 1.5em;
  font-weight: normal;
  font-style: italic;
  margin: 0;
  padding: .5em 0;
  color: #006ac6;
  line-height: 1.5em;
  text-align: left;
}
.text a {
  text-decoration: underline;
}
.date, .text {
  flex: 1;
  margin: 0 10px;
}
.date {
  text-align: right;
}
.gallery {
  display: flex;
  flex-flow: row wrap;
}
.gallery div {
  height: 319.5px;
  margin: 10px;
  flex-grow: 1;
}
.gallery div:last-child {
  height: 0;
  flex-grow: 1000;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 33%;
  background: #e8e8e8;
}
.banner {
  width: 100%;
  height: 100%;
  min-height: 250px;
  background-color: #eee;
  background-image: url(/img/banner_n.jpg);
  background-size: cover;
  background-position: 50% 50%;
}

.news-author {
  font-style: italic;
}

@media screen and (max-width:664px) {
  .centered, .content {
    padding: 0 15px;
  }
  .menu {
    max-height: 0;
    transition:max-height .55s ease-in-out;
    width: 100%;
    overflow: hidden;
  }
  #menutrigger:checked + .menu {
    max-height: 100vh;
  }
  .menu a {
    display: block;
    line-height: 3em;
  }
  .hamburger {
    display: block;
  }
  .pagetitle {
    font-size: 1.75em;
    line-height: 3em;
  }
  .datesel {
    width: auto;
  }
  .article {
    display: block;
  }
  .date, h2 {
    padding: 0;
  }
  .date, .text {
    margin: 0;
  }
  .date {
    text-align: left;
  }
  .gallery {
    margin: 0 -7.5px;
  }
  .gallery div {
    height: 220px;
    margin: 7.5px;
  }
  .banner {
    margin-bottom: .5em;
  }
  .homepage p {
    display: inline;
  }
}
