/*

Hungry For Design by Visual Dialogue

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

*/


/* News Gothic
-------------------------------------------------- */
/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/2c4773");
@font-face {font-family: 'NewsGothicBT-Roman';src: url('../fonts/2C4773_0_0.eot');src: url('../fonts/2C4773_0_0.eot?#iefix') format('embedded-opentype'),url('../fonts/2C4773_0_0.woff') format('woff'),url('../fonts/2C4773_0_0.ttf') format('truetype');}
@font-face {font-family: 'NewsGothicBT-Italic';src: url('../fonts/2C4773_1_0.eot');src: url('../fonts/2C4773_1_0.eot?#iefix') format('embedded-opentype'),url('../fonts/2C4773_1_0.woff') format('woff'),url('../fonts/2C4773_1_0.ttf') format('truetype');}
@font-face {font-family: 'NewsGothicBT-Bold';src: url('../fonts/2C4773_2_0.eot');src: url('../fonts/2C4773_2_0.eot?#iefix') format('embedded-opentype'),url('../fonts/2C4773_2_0.woff') format('woff'),url('../fonts/2C4773_2_0.ttf') format('truetype');}
@font-face {font-family: 'NewsGothicBT-BoldItalic';src: url('../fonts/2C4773_3_0.eot');src: url('../fonts/2C4773_3_0.eot?#iefix') format('embedded-opentype'),url('../fonts/2C4773_3_0.woff') format('woff'),url('../fonts/2C4773_3_0.ttf') format('truetype');}
@font-face {font-family: 'NewsGothicBT-LightItalic';src: url('../fonts/2C4773_4_0.eot');src: url('../fonts/2C4773_4_0.eot?#iefix') format('embedded-opentype'),url('../fonts/2C4773_4_0.woff') format('woff'),url('../fonts/2C4773_4_0.ttf') format('truetype');}
@font-face {font-family: 'NewsGothicBT-Light';src: url('../fonts/2C4773_5_0.eot');src: url('../fonts/2C4773_5_0.eot?#iefix') format('embedded-opentype'),url('../fonts/2C4773_5_0.woff') format('woff'),url('../fonts/2C4773_5_0.ttf') format('truetype');}
 

/* 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%;
}

.home .review img {
	margin-bottom: 1em;
}

img.twitter {display:inline;}


/* Links
-------------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #808080;
  transition: color .3s, background .3s, border .3s;
}
a:hover {
  color: #808080;
}

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


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  font-family: 'NewsGothicBT-Roman', Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.4;
  padding: 1.5em;
  max-width: 63.50em;
  background: #fff;
  color: #222;
}

aside {
  width: 10.5em;
  float:left;
  padding-left: 1em;
  border-left: 1px dotted #808080;
}

.main aside a, aside a {border:0;}

@media (max-width: 500px) {
  body{font-size: 16px;}
}


/* Columns
-------------------------------------------------- */
.one-fifth { width:   10.5em; }
.two-fifths { width:  23em; }
.three-fifths { width:  35.5em; }
.four-fifths { width:  48em; }

.one-fifth,
.two-fifths,
.three-fifths,
.four-fifths {
  margin-right: 2em;
  float:left;
}

.end {margin-right: 0;}

/* Header
-------------------------------------------------- */
.header {
  border-bottom: 1px solid #808080;
  margin-bottom: 1.5em;
  padding-bottom:1.5em;
}
.logo {
  display: block;
  border:none;
  float:left;
}
.logo img {
  width: 10.5em;
}

@media (max-width: 500px) {
  .logo img {max-width:70%;}
}


/* Navigation
-------------------------------------------------- */
.menu a {
  display: block;
  color: #222;
}
.menu a:hover {
  color: red;
  text-decoration: none;
}
.menu .active {
  color: red;
}
.menu li {
  list-style: none;
}
.menu > li {
  position: relative;
}
.menu > li > a {
  padding: .35em 0;
  border-top: 1px solid #ddd;
  font-weight: 600;
}

.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 #222;
}
.submenu li {
  border-bottom: 1px solid #444;
}
.submenu a {
  padding: .5em 1.5em;
  font-size: .9em;
  font-weight: 300;
  color: #fff;
  background: #222;
  white-space: nowrap;
}
.submenu a:hover {
  background: #333;
  color: #fff;
}

@media screen and (min-width: 40em) {
  .logo {
    float: left;
  }
  .menu {
    float: right;
    margin-right: -1em;
  }
  .menu > li {
    float: left;
  }
  .menu > li > a {
    padding: .35em 1em;
    border: 0;
  }
  .menu > li:hover .submenu {
    display: block;
  }
}


/* Typography
-------------------------------------------------- */
h1 {
  font-family: 'NewsGothicBT-Bold', Arial, sans-serif;
  font-size: .9em;
  line-height: 1.25em;
  font-weight: 700;
  margin-bottom: .5em;

  text-transform: uppercase;
  letter-spacing: 2px;
}
h2 {
	font-family: 'NewsGothicBT-Light', Arial, sans-serif;
  font-size: 3.5em;
  line-height: 1em;
  font-weight: 400;
  margin-bottom: .1em;
}
h3 {
  font-size: 1.2em;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: 1em;
  color:#808080;
}
h4 {
  font-family: 'NewsGothicBT-Bold', Arial, sans-serif;
  font-size: .6em;
  font-weight: 700;
  line-height: 1.5em;
  margin-bottom: .5em;

  text-transform: uppercase;
  letter-spacing: 2px;
}
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}

aside p {
  font-size: .75em;
  margin-bottom:.5em;
}

aside ul {
  list-style-type: none;
  margin-bottom: 1.5em;
}

aside ul li {
  font-size: .75em;
  line-height: 1.5em;
  text-transform: lowercase;
}

aside .twitter p{
  font-family: 'NewsGothicBT-Bold', Arial, sans-serif;
}

.home h2 {
	font-size: 2em;
}

.home h3 {margin-bottom:2em;}

figcaption {
  margin-top:10px;
  font-size: .75em;
  color: #808080;
}

strong {font-family: 'NewsGothicBT-Bold', Arial, sans-serif;}
em {font-family: 'NewsGothicBT-Italic', Arial, sans-serif;font-style: normal;}

@media (max-width: 500px) {
  h2 { font-size: 2em; }
  h3 { font-size: 1em;}
  .home h2 { font-size: 2em; }
}

/* Intro
-------------------------------------------------- */
.intro {
  padding-bottom: 1.5em;
  border-bottom: 1px solid #808080;
  margin-bottom: 1.5em;
  display: none;
}

.intro header {
  font-size: 1.5em;
  margin-bottom: 1em;
}

header a.intro-button {
  width: 1.5em;
  height: 1.5em;;
  float:right;
  border:0;
  background: url("../images/intro-button.svg");
  background-size: 1.5em;
  transition: none;
}

a.intro-button.close-button {
  background-position: 0 1.5em;
}

.intro aside a {
  border-bottom: 1px dotted #808080;
}

.review-bottom p{font-size: .75em;}

@media (max-width: 500px) {
.intro header {
  font-size: 1.15em;
  margin-bottom: 1em;
}
.intro aside p {font-size: 1em;}
}

/* Main
-------------------------------------------------- */
.main {
  padding-bottom: 1.5em;
  float:left;
}
.main hr {
  margin: 3em 0;
  height: 2px;
  background: #ddd;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 1.5em;
}

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


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

.review header {text-align: right;}

.review-bottom {
  padding-top:1em;
  border-top: 1px dotted #808080;
}

.tweet-this {float:right;}

@media (max-width: 700px) {
  .review header {text-align: left;}
}


/* Project teaser
-------------------------------------------------- */
.teaser {
  list-style: none;
}
.teaser li {
  margin-bottom: 1.5em;
  list-style: none;
}
@media screen and (min-width: 50em) {
  .teaser li {
    float: left;
    width: 30%;
    margin-left: 5%;
  }
  .teaser li:first-child {
    margin-left: 0;
  }
}


/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
  padding: 1em 0;
  font-size: .75em;
}
.nextprev a {
  border: 0;
}
.nextprev .prev {
  float: left;
}
.nextprev .next {
  float: right;
}

.nextprev a img {height: 2em;}


/* Twitter
-------------------------------------------------- */
.twitter .twitter-timeline {
display: none !important;
}

.tweet {
  font-size: .75em;
  line-height: 1.5em;
  text-transform: lowercase;
}

b.hashtag, b.p-nickname, .tweet a b {font-weight: normal !important; }
.tweet a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #808080;
  transition: color .3s, background .3s, border .3s;
}
.tweet a:hover {
  color: #808080;
}

span.tco-hidden {display:none;}

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



@media (max-width: 1270px) {
  .one-fifth {width:20%;margin-right: 6%}
  .three-fifths {width:74%;margin-right:0;}
  .four-fifths{ width:78%;margin-right:6%;}
  main.main {width:   80%; margin-right: 4%;}
  aside {width:16%;}
}

@media (max-width: 960px) {
  main.main {width:100%;margin-right: 0}
  aside {display:none;}

  .intro .four-fifths {width:100%;}
  .intro aside {display:block; width:100%;border:0;margin-top:1em;padding-left:0;}
}

@media (max-width: 700px) {
  .one-fifth,
  .two-fifths,
  .three-fifths,
  .four-fifths{ width:100%;margin-right: 0;}
}

