* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
}

body {
  font-family: 'Campton.Light', sans-serif;
  color: #222;
  font-size: 16px;
  line-height: 1.5rem;
}

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

strong {
  font-family: 'Campton.Book', sans-serif;
  font-weight: normal;
}

/* gallery height */
.gallery {
  background: #FAFAFA;
  height: 600px;
  margin-top: 20px;
}

@media screen and (max-width: 640px) {
  .gallery:after {
    content: '';
  }

  .gallery-cell {
    width: 100%;
  }

  /* Uff */
  .gallery.always-horizontal .gallery-cell {
    width: auto;
    height: 100%;
  }
  
  
  .gallery-cell img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }  

  .legend {
    display: none !important;
  }
}

/* no flickity */
@media screen and (min-width: 640px) and (max-width: 959px) and (orientation: portrait) {
  .gallery:after {
    content: '';
  }

  .gallery-cell {
    width: 100%;
  }

  /* Uff */
  .gallery.always-horizontal .gallery-cell {
    width: auto;
    height: 100%;
  }
  
  .gallery-cell img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }  

  .legend {
    display: none !important;
  }
}

@media screen and (min-width: 640px) and (max-width: 959px) and (orientation: landscape) {
  .gallery:after {
    content: 'flickity';
    display: none;
  }

  .gallery-cell {
    height: 100%;
  }
  
  .gallery-cell img {
    height: 100%;
    margin-right: 10px;
  }
}

@media screen and ( min-width: 960px ) {
  .gallery:after {
    content: 'flickity';
    display: none;
  }

  .gallery-cell {
    height: 100%;
  }
  
  .gallery-cell img {
    height: 100%;
    margin-right: 10px;
  }  
}

/* force slideshow view, sir */
.gallery.always-horizontal:after {
  content: 'flickity';
  display: none;
}


.gallery.always-horizontal .gallery-cell {
  height: 100%;
}

.gallery.always-horizontal .gallery-cell img {
  height: 100%;
  margin-right: 10px;
  width: auto;
  max-width: none;
  display: inline-block;
}


a:link, a:visited {
  color: #222;
  text-decoration: none;
  -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease;
}

a:hover {
  color: #888;
}

.logo {
  font-family: 'Campton.ExtraLight', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  position: relative;
  display: block;
  float: none;
  clear: both;
  margin: 38px 0px 30px 20px;
}

.info {
  font-family: 'Campton.Book', sans-serif;
  font-size: small;
  position: absolute;
  display: block;
  float: right;
  top: 30px;
  right: 20px;
  line-height: 1.5em;
}

.legend {
  font-family: 'Campton.Book', sans-serif;
  font-size: small;
  display: inline-block;
  margin: 20px;
  padding: 2px 4px 0px 4px;
  border: 2px solid #ccc;
  border-radius: 2px;
}

.header {
  overflow: auto;
}

.nav {
  display: block;
  clear: both;
  margin: 0px 20px;
}

.nav li {
  float: none;
  clear: both;
  list-style-type: none;
  line-height: 2.5em;
  border-top: 1px solid #ccc;
  padding-top: 5px;
}

.nav-second-level {
  font-family: 'Campton.Light.Italic', sans-serif;
}

@media (min-width: 620px) {
  .logo {
    position: absolute;
    line-height: 2.5rem;
    margin: 30px 20px;
  }

  .info {
    font-family: 'Campton.Book', sans-serif;
    font-size: small;
    position: absolute;
    top: 80px;
    right: auto;
    float: none;
    clear: both;
    margin: 10px 20px;
  }

  .nav {
    float: right;
    clear: both;
    width: auto;
    position: absolute;
    top: 35px;
    right: 20px;
  }

  .nav li {
    border-top: none;
    padding-top: 0;
    line-height: 1.2em;
  }

  .nav-first-level {
    clear: both;
    float: right;
  }

  .nav-first-level li {
    display: inline-block;
    margin-right: 10px;
  }

  .nav-first-level li:last-child {
    margin-right: 20px;
  }

  .nav-second-level {
    float: left;
  }

  .nav .is-active {
    color: red;
  }

  .main {
    position: absolute;
    top: 150px;
    width: 100%
  }
}
