/*

Kirby Starterkit

Author: Bastian Allgeier / Sascha Lack
URL:    http://getkirby.com
Email:  support@getkirby.com

*/


/* League Gothic
-------------------------------------------------- */
@font-face {
  font-family: 'League Gothic';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/leaguegothic-400.woff) format('woff');
}
@font-face {
  font-family: 'League Gothic';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/leaguegothic-400-italic.woff) format('woff');
}

/* Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}


/* Pix
-------------------------------------------------- */
img {
  display: block;
  max-width: 100%;
}


/* Links
-------------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}
a:hover {
  color: black;
}


/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  font-family: "League Gothic", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  font-size: 1.5em;
  line-height: 1.5em;
  background: #fff;
  color: #000;
}

.container {
  max-width: 35em;
  margin: 0 auto;
  padding: 1.5em;
}


/* Header
-------------------------------------------------- */
.header {
  border-bottom: 2px solid black;
  background-color: black;
  color: white;
  text-align: center;
}

.header a {
  color: white !important;
}

.header .title {
  display: inline-block;
  vertical-align: middle;
  font-size: 3.5em;
}

.logo {
  display: inline-block;
  vertical-align: middle;
  margin-right: 1em;
}

.logo img {
  width: 4em;
}

.center {
  text-align: center;
}


/* Navigation
-------------------------------------------------- */
.menu a {
  display: block;
  color: #000;
}
.menu a:hover {
  color: black;
  text-decoration: none;
}
.menu .active {
  color: white;
  background-color: black;
  border-radius: 0.275em;
}
.menu li {
  list-style: none;
}
.menu > li {
  position: relative;
}
.menu > li > a {
  padding: .15em 0;
  border-top: 1px solid #000;
  font-weight: 400;
}

.submenu {
  position: absolute;
  z-index: 1;
  display: none;
  left: 1em;
}
.submenu:before {
  position: absolute;
  z-index: -1;
  content: '';
  top: -.5em;
  left: 0;
  border-top: .5em solid transparent;
  border-bottom: .5em solid transparent;
  border-left: .5em solid #000;
}
.submenu li {
  border-bottom: 1px solid #444;
}
.submenu a {
  padding: .5em 1.5em;
  font-size: .9em;
  font-weight: 400;
  color: #fff;
  background: #000;
  white-space: nowrap;
}
.submenu a:hover {
  background: #333;
  color: #fff;
}

@media screen and (min-width: 40em) {
  .container {
    padding: 2em;
  }
  .logo {
  }
  .navigation {
    text-align: center;
  }
  .current-artists {
    font-size: 0.8em;
    text-transform: uppercase;
  }
  .menu {
    display: inline-block;
    margin-right: -1em;
    margin: 0 auto;
    margin-bottom: 0.5em;
  }
  .menu > li {
    float: left;
  }
  .menu > li > a {
    padding: .35em 1em;
    border: 0;
  }
  .menu > li:hover .submenu {
    display: block;
  }
}


/* Headings
-------------------------------------------------- */
h1 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 400;
  margin-bottom: .5em;
}
h2 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 400;
  margin-bottom: .5em;
  color: black;
}
h3 {
  font-size: 1.4em;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: .5em;
}
h4 {
  font-size: 1.125em;
  font-weight: 400;
  line-height: 1.5em;
  margin-bottom: .5em;
  color: black;
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}



/* Main
-------------------------------------------------- */
.main {
  padding-bottom: 1.5em;
  border-bottom: 2px solid black;
}
.main hr {
  margin: 3em 0;
  height: 2px;
  background: #000;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 1.5em;
}
.main a {
  border-bottom: 2px solid #000;
}
.main a:hover {
  border-color: #000;
}

/* Text blocks */
.text ul,
.text ol {
  margin-left: 1em;
}

/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  color: black;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}


/* Project teaser
-------------------------------------------------- */
.teaser {
  list-style: none;
}
.teaser li {
  margin-bottom: 1.5em;
  margin-top: 0.5em;
  list-style: none;
}
@media screen and (min-width: 50em) {
  .teaser li {
    display: inline-block;
    width: 30%;
    margin-left: 5%;
  }
  .teaser li:first-child {
    margin-left: 0;
  } 
 .teaser li:nth-of-type(3n+1) {
   margin-left: 0;
 }
}


/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
  padding: 1em 0;
  font-size: 3em;
}
.nextprev a {
  border: 0;
}
.nextprev .next {
  position: fixed;
  top: 50%;
  left: 2.5em;
  transform: translateX(-2em);
  -webkit-transform: translateX(-2em);
}
.nextprev .prev {
  position: fixed;
  top: 50%;
  right: 2.5em;
  transform: translateX(2em);
  -webkit-transform: translateX(2em);
}

/* Claim
-------------------------------------------------- */

.text {
  max-width: 25em;
  margin: 0 auto;
}

/* Social
-------------------------------------------------- */

.social {
  text-align: center;
}

.social a {
  display: inline-block;
  vertical-align: middle;
  margin-right: 1em;
  width: 3em;
  text-decoration: none !important;
  border-bottom: none;
}

/* Footer
-------------------------------------------------- */
.footer {
  padding: 1em 0 6em;
  font-size: .8em;
}
.copyright {
  float: left;
}
.colophon {
  float: right;
}
.colophon a b {
  color: black;
  padding-left: .25em;
}
