* {
  /* BASIC TYPO */
  font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  letter-spacing: 0.025rem;
  font-size: 10pt;
  line-height: 1.5;

  /* COLORS */
  --black: #000;
  --white: #ffffff;
  --dgrey: #191919;
  --lgrey: #e8e8e8;
}

/* BODY */
body {
  margin: 0;
  padding: 0;
  background-color: var(--white);
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
p,
main ul {
  max-width: 800px;
}

h1,
h2,
h3,
.logo {
  font-weight: 600;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

h1 {
  font-size: 2rem;
}

h2,
h3,
.logo {
  font-size: 1.5rem;
}

h4 {
  font-size: 1rem;
  margin: 0;
}

p {
  font-size: 1rem;
}

.subtitle,
.news-subline {
  font-weight: 600;
  margin-top: 0;
}

.news-subline {
  margin: 0;
}

.credit {
  font-size: 0.7rem;
}

a {
  text-decoration: none;
  color: var(--black);
}

.caps,
.tabbutton {
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  font-weight: 600;
}

p a,
a.caps:hover,
.active,
li[onclick]:hover,
.searchform input[type="submit"]:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

footer ul,
.sidemenu ul,
.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-content ul {
  margin: 1rem 0;
  padding: 0;
}

.page-content li {
  margin-left: 1.1rem;
  margin-bottom: 0.125rem;
  list-style-type: square;
}

.page-content h3,
.page-content .credit,
.distance {
  margin-top: 4rem;
}

/* MAIN */
main {
  margin: 130px auto 0;
  padding: 0 3.5rem;
  background-color: var(--white);
}

.inner {
  padding-top: 2.5rem;
  max-width: 1600px;
  margin: auto;
}

/* HEADER */
header.header {
  position: fixed;
  top: 0;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 9999;
  overflow: hidden;
  transition: all 200ms;
  margin: 2rem;
  width: calc(100vw - 4rem);
}

.header-inner {
  background-color: var(--white);
  padding: 1.5rem;
  margin: auto;
  max-width: 1600px;
}

/* MAKE MENUS SCROLL */
.menu {
  white-space: nowrap;
  overflow-x: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* MAIN MENU */
header nav.mainmenu {
  margin-top: 2rem;
}

nav.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav.menu li {
  display: inline;
  padding: 0 0.7rem;
}

nav.menu li:first-child {
  padding-left: 0;
}

nav.menu li:last-child {
  padding-right: 0;
}

/* EXTRAMENU */
.extramenu {
  float: right;
  margin-top: 0.3rem;
  overflow: visible;
}

.special-btn {
  background-color: var(--lgrey);
  color: var(--dgrey);
  padding: 0.5rem !important;
  cursor: pointer;
  margin-right: 2rem;
}

.special-btn:hover {
  background-color: var(--dgrey);
  color: var(--lgrey);
  text-decoration: none !important;
}

/* SECOND MENU */
li[onclick] {
  cursor: pointer;
}

.secondmenu {
  margin-bottom: 2rem;
}

/* SIDE MENU */
.sidemenu li {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* FOOTER */
footer {
  padding: 4rem 3.5rem;

  margin: auto;
  background-color: var(--white);
}
.copyright {
  margin-top: 1rem;
  border-top: 1px solid var(--black);
  padding-top: 0.5rem;
  max-width: none;
}

footer a {
  text-decoration: none;
}

/* GRIDS */
.grid {
  display: grid;
}

.three-col {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}

.newsgrid {
  grid-row-gap: 4rem;
}

.sidebargrid {
  grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr);
  gap: 4rem;
  background-color: var(--white);
}

#fullscreen-carousel + .sidebargrid {
  margin-top: 100vh;
}

.gridside {
  height: calc(100vh - 2rem);
  overflow-x: hidden;
  position: sticky;
  position: -webkit-sticky;
  top: 2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* IMAGES */
figure {
  margin: 0;
  padding: 0;
}

figure img {
  width: 100%;
}

.kachel {
  margin: 0;
  padding: 0;
}

.kachel img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

.pub-kachel img {
  object-fit: contain;
  padding: 1rem;
  background-color: var(--lgrey);
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
}

figcaption {
  margin-top: 0.5rem;
}
.page-content figure {
  margin: 4rem 0;
  max-width: 800px;
}

.page-content figure:first-child {
  margin: 0 0 4rem;
}

/* Video Embed */

figure iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

/* KACHELN */

.kachel {
  aspect-ratio: 3/2;
  background-color: var(--lgrey);
  overflow: hidden;
  position: relative;
  background-color: var(--lgrey);
}

.kachel-inner {
  padding: 1rem;
}

.kachel-inner p {
  margin: 0;
  padding: 0;
}

.kachel:hover {
  background-color: var(--dgrey);
  color: var(--lgrey);
}

.kachel:hover .subtitle,
.kachel:hover .title {
  color: var(--lgrey);
}

.kachel:hover img {
  visibility: hidden;
}

.kachel .link {
  width: 100%;
  position: absolute;
  height: 100%;
  z-index: 999;
}

.newsitem .kachel {
  margin-bottom: 1rem;
}

/* TABLES */
table tr[data-href] {
  cursor: pointer;
}

table tr[data-href]:hover {
  background-color: var(--dgrey);
  color: var(--lgrey);
}

table tr[data-href]:hover a {
  color: var(--lgrey);
}

table {
  table-layout: auto;
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}

table tr {
  line-height: 2;
}

th,
td {
  padding: 0.75rem;
  vertical-align: top;
}

td {
  border-bottom: 2px solid var(--lgrey);
}

th {
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid var(--black);
}

th {
  position: -webkit-sticky;
  top: 0;
  background-color: var(--white);
}

.relatedpages {
  margin-top: 4rem;
}

/* PAGINATION */
.pagination {
  margin-top: 2rem;
}

.prev {
  float: right;
}

/* FRONT PAGE */
.show-highlight .newsitem:first-child {
  grid-column: 1 / 4;
}

.show-highlight .newsitem:first-child .kachel {
  aspect-ratio: 21/9;
}

/* CAROUSEL */
.carousel-item {
  height: 100vh;
  width: 100vw;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.carousel-cell {
  width: 100%;
}

.carousel-cell img {
  aspect-ratio: 3/2;
  width: 100%;
  object-fit: cover;
}

#fullscreen-carousel .carousel-cell img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

.flickity-page-dots {
  display: none;
}

.flickity-prev-next-button {
  width: 3rem !important;
  height: 3rem !important;
  background: none !important;
}

.flickity-prev-next-button path {
  color: var(--white);
}

#fullscreen-carousel .carousel-caption {
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 1.5rem;
  margin: 0;
  color: var(--white);
  transition: all 0.5s;
}

#fullscreen-carousel .carousel-caption h2 {
  margin: 0;
  cursor: pointer;
}

#fullscreen-carousel .carousel-caption p {
  right: 0;
  bottom: 0;
  position: fixed;
  padding: 1.5rem;
  margin: 0;
}

#fullscreen-carousel .carousel-caption:hover {
  text-shadow: 0px 0px 4px var(--black);
}

#fullscreen-carousel {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

/* MOBILE MENU BURGER */
.mobile-menu-burger {
  display: none;
}

/* SEARCH */
.searchform {
  margin-bottom: 4rem;
}

.searchform-inner {
  margin: auto;
  max-width: 900px;
}

.searchform input {
  height: 3rem;
}

.searchform input[type="search"] {
  padding-bottom: 2px;
  font-size: 1.5rem;
  border: none;
  border-bottom: 1px solid var(--black);
  float: left;
  width: 90%;
  background: var(--white);
}

.searchform input[type="submit"] {
  width: 10%;
  padding: 0;
  background-color: var(--white);
  color: var(--white);
  font-size: 1rem;
  border: none;
  border-left: none;
  cursor: pointer;
  color: var(--black);
}

.searchform button:hover {
  background: #0b7dda;
}

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

.easeload {
  opacity: 0;
  transition: all 1s ease;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
}

/* NOTIFICATION */

.notification {
  background-color: var(--dgrey);
  padding-top: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
}

.notification-inner {
  padding: 0.5rem;
  color: white;
  text-align: center;
  max-width: 2048px;
  margin: 0;
}

.notification + header.header {
  margin-top: 2.5rem;
}
