/*
Theme Name: AEW 2018
Theme URI: http://martinwecke.de
Description: Starter Theme
Author: Martin Wecke
Version: 0.5
*/
/**
 * Colors
 */
/**
 * Typography
 */
/**
 * Breakpoints and Media Queries
 */
/**
 * Transitions
 */
/**
 * Inline Background Images
 */
/**
 * A11n
 */
/**
 * Layout
 */
/**
 * Scroll
 */
/**
 * Background Images
 */
/**
 * Icon
 */
/**
 * Transition
 */
.transition {
  transition: all 250ms ease;
}
.no-transition {
  transition: none !important;
}
/**
 * Performance
 */
/**
 * Clearfix
 * like it’s 1999
 */
.cf {
  zoom: 1;
}
.cf:before,
.cf:after {
  content: ' ';
  display: table;
}
.cf:after {
  clear: both;
}
html,
body {
  min-height: 100vh;
  background: #000;
}
html {
  font-family: Helvetica, 'Helvetica Neue', 'Nimbus Sans Web', Arial, sans-serif;
  font-size: 100%;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-rendering: optimizeLegibility;
  -webkit-font-feature-settings: 'liga', 'kern';
     -moz-font-feature-settings: 'liga', 'kern';
          font-feature-settings: 'liga', 'kern';
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
          text-size-adjust: 100%;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/**
 * Make CSS variables available for JS
 */
title {
  width: 690px;
  font-family: 'only screen and ( max-width: 690px )';
  transition-duration: 250ms;
}
.shell {
  margin: 0;
  padding: 2.25rem 2.5rem 0;
}
@media screen and (max-width: 840px) {
  .shell {
    padding: 1.25rem 1.5rem 0;
  }
}
::-moz-selection {
  color: #000;
  background: #fff;
}
::selection {
  color: #000;
  background: #fff;
}
a {
  color: #fff;
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: none;
  outline: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 0;
}
.inline-content img.inline-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 0 1em;
}
.inline-content figure.inline-image {
  max-width: 100%;
  margin: 0 0 1em;
}
.inline-content figure.inline-image > img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.inline-content .inline-gallery {
  margin: 1em 0;
}
.inline-content .inline-gallery-image {
  width: 25%;
  margin: 0 0 1em;
}
.inline-content .inline-gallery-image-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.head {
  position: relative;
  margin: 0 -1.25rem;
  font-size: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.head > * {
  font-size: 1rem;
}
.site-title {
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
  width: 66.6666%;
  padding: 0 1.25rem;
  margin: 0;
  font-size: 3.5rem;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.site-subtitle {
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
  width: 33.3333%;
  margin: 0;
  padding: 0 1.25rem;
  font-size: 3.5rem;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.075em;
}
.site-subtitle > p {
  margin: 0;
}
@media screen and (min-width: 1680px) {
  .site-title {
    font-size: 4.5rem;
  }
  .site-subtitle {
    font-size: 4.5rem;
  }
}
@media screen and (max-width: 1280px) {
  .site-title {
    font-size: 3rem;
  }
  .site-subtitle {
    font-size: 3rem;
  }
}
@media screen and (max-width: 1120px) {
  .site-title {
    font-size: 2.5rem;
  }
  .site-subtitle {
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 980px) {
  .site-title {
    width: 50%;
    font-size: 2.5rem;
  }
  .site-subtitle {
    width: 50%;
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 840px) {
  .head {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }
  .site-title {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 2rem;
  }
  .site-subtitle {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 2rem;
  }
}
@media screen and (max-width: 680px) {
  .site-title {
    width: 100%;
    margin-bottom: 4rem;
  }
  .site-subtitle {
    width: 100%;
  }
}
.nav-skip--head {
  position: absolute;
  left: -9999em;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.nav-toggle--head {
  display: none;
}
.nav-list--head {
  margin: 0 0 1rem 0;
  padding: 0;
  list-style-type: none;
}
.nav-list--head ul {
  margin: 0 0 0 1rem;
  padding: 0;
  list-style-type: none;
}
@media only screen and ( max-width: 690px ) {
  .nav-toggle--head {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 13;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 1.5rem 1rem 1.5rem 4rem;
    line-height: 1;
    color: #000;
    background: #fff;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    transition: all 250ms ease;
  }
  .nav-toggle--head::before {
    content: '+';
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    line-height: 2;
    text-indent: 0;
    text-align: center;
    transition: all 250ms ease;
  }
  .nav-toggle--head:hover,
  .nav-toggle--head:focus {
    text-decoration: none;
    background: #ffffff;
  }
  .visible--nav-head .nav-toggle--head {
    left: 100%;
    margin-left: -4rem;
  }
  .visible--nav-head .nav-toggle--head::before {
    transform: rotate(45deg);
  }
  .nav-list--head {
    position: fixed;
    left: -100%;
    right: 100%;
    top: 0;
    z-index: 11;
    display: block;
    height: 100%;
    margin: 0;
    padding: 0 0 0 4rem;
    color: #000;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all 250ms ease;
  }
  .nav-list--head::after {
    content: ' ';
    position: fixed;
    left: -100%;
    right: 100%;
    bottom: 0;
    display: block;
    height: 4rem;
    margin: 0 4rem 0 0;
    background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
    transition: all 250ms ease;
  }
  .visible--nav-head .nav-list--head {
    left: -4rem;
    right: 4rem;
  }
  .visible--nav-head .nav-list--head::after {
    left: 0;
    right: 0;
  }
  .nav-list-item--head {
    margin: 0;
    padding: 0;
  }
  .nav-list-item--head > a {
    display: block;
    margin: 0;
    padding: 1.5rem 1rem;
    line-height: 1;
    color: #000;
  }
  .nav-list-item--head > a:hover,
  .nav-list-item--head > a:focus {
    text-decoration: none;
    background: #ffffff;
  }
  .nav-list-item--head.current-menu-item > a {
    text-decoration: none;
    background: #ffffff;
  }
  .nav-list-item--head:last-child {
    margin-bottom: 4rem;
  }
  .nav-list--head li ul {
    margin: 0;
    padding: 0;
  }
  .nav-list--head li ul li a {
    padding-left: 2rem;
  }
}
.nav--archive {
  position: absolute;
  right: 0;
  top: 0;
  box-sizing: border-box;
  width: 33.3333%;
  margin: 17.6375rem 0 0;
  padding: 0 1.25rem;
}
.nav-item--archive {
  display: inline-block;
  vertical-align: top;
  margin: 0 0.5em 0 0;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
}
@media screen and (min-width: 1680px) {
  .nav--archive {
    margin-top: 22.75rem;
  }
  .nav-item--archive {
    font-size: 1.75rem;
  }
}
@media screen and (max-width: 1280px) {
  .nav--archive {
    margin-top: 15.125rem;
  }
  .nav-item--archive {
    font-size: 1.25rem;
  }
}
@media screen and (max-width: 1120px) {
  .nav--archive {
    margin-top: 12.6375rem;
  }
  .nav-item--archive {
    font-size: 1rem;
  }
}
@media screen and (max-width: 980px) {
  .nav--archive {
    width: 50%;
  }
}
@media screen and (max-width: 840px) {
  .nav--archive {
    margin-top: 9.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .nav-item--archive {
    font-size: 0.875rem;
  }
}
@media screen and (max-width: 680px) {
  .nav--archive {
    width: auto;
    margin-top: 16.75rem;
    text-align: right;
  }
}
.posts {
  margin: 12rem -1.25rem 5.75rem;
  font-size: 0;
}
.posts > * {
  font-size: 1rem;
}
.post {
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
  width: 33.3333%;
  margin: 0 0 6.25rem;
  padding: 0 1.25rem;
}
.post-title,
.post-subtitle {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.2;
}
.post-subtitle {
  display: block;
}
.post-subtitle > a {
  color: inherit;
}
.post-location {
  margin: 1rem 0 0;
}
.post-image {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding: 66.6666% 0 0 0;
  margin: 0 0 1.5rem;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.15);
}
.post-image-image {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  font-family: 'object-fit: cover';
  opacity: 0;
  transition: opacity 150ms;
}
.post-image-image.lazyloaded {
  opacity: 1;
}
@media screen and (min-width: 1680px) {
  .posts {
    margin-top: 15rem;
    margin-bottom: 15rem;
  }
  .post-title,
  .post-subtitle {
    font-size: 2.25rem;
  }
}
@media screen and (max-width: 1120px) {
  .post {
    margin-bottom: 5rem;
  }
  .post-title,
  .post-subtitle {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 980px) {
  .post {
    width: 50%;
  }
}
@media screen and (max-width: 840px) {
  .posts {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }
  .post {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
@media screen and (max-width: 680px) {
  .posts {
    margin-top: 4.5rem;
    margin-bottom: 1.5rem;
  }
  .post {
    width: 100%;
    margin-bottom: 3rem;
  }
  .post-image {
    margin-bottom: 1rem;
  }
  .post-location {
    font-size: 0.875rem;
  }
}
@media screen and (max-width: 520px) {
  .post-title,
  .post-subtitle {
    font-size: 1.25rem;
  }
}
.map {
  position: relative;
  height: 100vh;
  margin: 0 -2.5rem;
  background-color: rgba(255, 255, 255, 0.15);
}
.map-map {
  width: 100%;
  height: 100%;
  margin: 0;
}
.map-label {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
  max-width: 100%;
  padding: 1rem 2.5rem;
  background-color: #000;
}
.map-label > a {
  display: block;
}
@media screen and (max-width: 840px) {
  .map {
    height: 80vh;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }
  .map-label {
    left: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.footer {
  position: relative;
  z-index: 10;
  zoom: 1;
  clear: both;
  margin: -3rem -2.5rem 0;
  padding: 1rem 2.5rem;
  background-color: #000;
}
.footer:before,
.footer:after {
  content: ' ';
  display: table;
}
.footer:after {
  clear: both;
}
@media screen and (max-width: 840px) {
  .footer {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.nav-skip--footer {
  display: none;
}
.nav-list--footer {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.nav-list-item--footer {
  float: left;
  margin: 0 2rem 0 0;
}
.nav-list-item--footer > a {
  font-weight: 600;
}
.nav-list-item--footer.right {
  float: right;
  margin: 0 0 0 2rem;
}
@media screen and (max-width: 680px) {
  .nav-list-item--footer {
    float: none !important;
    margin: 0 0 0.5rem !important;
  }
  .nav-list-item--footer:last-child {
    margin-bottom: 0 !important;
  }
}
