/*

Kirby Starterkit

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

*/


/* Source Sans Pro
-------------------------------------------------- */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url(../fonts/sourcesanspro-300.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/sourcesanspro-600.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400-italic.woff) format('woff');
}


/* FF DIN Web Pro
-------------------------------------------------- */
@font-face {
  font-family: 'FFDINWebProBold';
  src: url('/assets/fonts/webfonts/2D8C2E_0_0.eot');
  src: url('/assets/fonts/webfonts/2D8C2E_0_0.eot?#iefix') format('embedded-opentype'),url('/assets/fonts/webfonts/2D8C2E_0_0.woff2') format('woff2'),url('/assets/fonts/webfonts/2D8C2E_0_0.woff') format('woff'),url('/assets/fonts/webfonts/2D8C2E_0_0.ttf') format('truetype');
}
@font-face {
  font-family: 'FFDINWebPro';
  src: url('/assets/fonts/webfonts/2D8C2E_1_0.eot');
  src: url('/assets/fonts/webfonts/2D8C2E_1_0.eot?#iefix') format('embedded-opentype'),url('/assets/fonts/webfonts/2D8C2E_1_0.woff2') format('woff2'),url('/assets/fonts/webfonts/2D8C2E_1_0.woff') format('woff'),url('/assets/fonts/webfonts/2D8C2E_1_0.ttf') format('truetype');
}



/* FF DIN Web Pro
-------------------------------------------------- */
@font-face {
  font-family: 'FFDINWebProBold';
  src: url('/assets/fonts/webfonts/2D8C2E_0_0.eot');
  src: url('/assets/fonts/webfonts/2D8C2E_0_0.eot?#iefix') format('embedded-opentype'),url('/assets/fonts/webfonts/2D8C2E_0_0.woff2') format('woff2'),url('/assets/fonts/webfonts/2D8C2E_0_0.woff') format('woff'),url('/assets/fonts/webfonts/2D8C2E_0_0.ttf') format('truetype');
}
@font-face {
  font-family: 'FFDINWebPro';
  src: url('/assets/fonts/webfonts/2D8C2E_1_0.eot');
  src: url('/assets/fonts/webfonts/2D8C2E_1_0.eot?#iefix') format('embedded-opentype'),url('/assets/fonts/webfonts/2D8C2E_1_0.woff2') format('woff2'),url('/assets/fonts/webfonts/2D8C2E_1_0.woff') format('woff'),url('/assets/fonts/webfonts/2D8C2E_1_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%;
}


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


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


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  font-family: "Source Sans Pro", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  font-size: 1.25em;
  line-height: 1.5em;
  padding: 1.5em;
  max-width: 50em;
  background: #f1f1f2;
  color: #222;
}


/* Header
-------------------------------------------------- */
.header {
  border-bottom: 2px solid red;
  margin-bottom: 1.5em;
}
.logo {
  display: block;
  margin-bottom: 1.5em;
}
.logo img {
  width: 2em;
}


/* 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) {
  body {
    padding: 3em;
  }
  .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;
  }
}


/* 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: 300;
  margin-bottom: .5em;
  color: red;
}
h3 {
  font-size: 1.4em;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: .5em;
}
h4 {
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.5em;
  margin-bottom: .5em;
  color: red;
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}



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

/* 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: red;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}


/* 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;
}
.nextprev a {
  border: 0;
}
.nextprev .prev {
  float: left;
}
.nextprev .next {
  float: right;
}


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


/* Customizations
--------------------------------------------------- */
.footer {
  background: url("/assets/images/ft_background.png") repeat;
  background-color: #DCDDDE;
  height: 18pt;
  padding: 0;
}
body {
  background-color: #F1F1F2;
  max-width: 1224pt;
}
div.blurb2 {
  color: #4C4C4C;
  font-family: Georgia, serif;
  font-size: 9pt;
  font-style: italic;
  line-height: 13pt;
}
div.credits-1 {
  float: left;
  margin-left: 15pt;
  width: 31%;
}
div.credits-2 {
  float: left;
  margin-left: 15pt;
  width: 31%;
}
div.credits-3 {
  float: left;
  margin-left: 15pt;
  width: 31%;
}
div.description {
  position: relative;
  top: 9pt;
  border-top-style: solid;
  border-top-color: #9C9C9C;
  border-top-width: 1pt;
  border-bottom-style: solid;
  border-bottom-color: #9C9C9C;
  border-bottom-width: 1pt;
  margin-right: 18pt;
  margin-left: 18pt;
  padding-top: 4pt;
}
div.description2 {
  margin-right: 10pt;
  margin-left: 3pt;
//  padding-top: 12pt;
  padding-top: -2pt;
}
div.description2 a {
  color: #4C4C4C;
}
div.description_close {
  clear: both;
}
div.gallery {
  width: 918pt;
}
div.gallerywrap {
  padding-left: 18pt;
}
div.heeboklee {
  position: absolute;
  top: 18pt;
  left: 18pt;
  font-family: FFDINWebProBold, Consolas, sans-serif;
  font-size: 22pt;
  letter-spacing: 4pt;
  line-height: 35.1pt;
  border-top-style: solid;
  border-top-color: #A7A7A7;
  border-top-width: 4pt;
  margin-top: 23pt
  padding-top: 0pt;
}
div.info {
  position: absolute;
  top: 30pt;
  left: 610pt;
  font-family: Georgia, serif;
  font-size: 9pt;
  font-style: italic;
  line-height: 14pt;
}
div.infowrap {
  background: url("/assets/images/background.png") repeat;
  width: 918pt;
}
div.infowrap div.description {
  position: relative;
  top: 9pt;
  border-top-style: solid;
  border-top-color: #9C9C9C;
  border-top-width: 1pt;
  border-bottom-style: solid;
  border-bottom-color: #9C9C9C;
  border-bottom-width: 1pt;
  margin-right: 18pt;
  margin-left: 18pt;
  padding-top: 4pt;
}
div.infowrap div.description div.blurb2 {
  color: #4C4C4C;
  font-family: Georgia, serif;
  font-size: 9pt;
  font-style: italic;
  letter-spacing: 0.23pt;
  line-height: 13pt;
  margin-bottom: 26pt;
}
div.infowrap div.description2 {
  position: relative;
  //top: -5pt;
  top: -3pt;
  color: #4C4C4C;
  font-family: Georgia, serif;
  font-size: 9pt;
  font-style: italic;
  letter-spacing: 0.23pt;
  line-height: 13pt;
  margin-right: 10pt;
  margin-left: 3pt;
}
div.pagewrap div.description2 {
  position: relative;
  color: #4C4C4C;
  font-family: Georgia, serif;
  font-size: 9pt;
  font-style: italic;
  letter-spacing: 0.23pt;
  line-height: 13pt;
  margin-right: 10pt;
  margin-left: 3pt;
}
div.infowrap div.title {
  position: relative;
  top: 0.4pt;
  clear: both;
  margin-right: 25pt;
  margin-left: 18pt;
}
div.infowrap div.title h1 {
  position: relative;
  top: 0pt;
}
div.infowrap div.title p.blurb {
  color: #4C4C4C;
  font-family: Georgia, serif;
  font-size: 9pt;
  font-style: italic;
  letter-spacing: 0.21pt;
  line-height: 14pt;
  text-decoration: underline;
  margin-top: 16pt;
}
div.pagewrap {
  background: url("/assets/images/background.png") repeat;
  width: 918pt;
}
div.projects {
  position: absolute;
  top: 30pt;
  left: 314pt;
  font-family: Georgia, serif;
  font-size: 9pt;
  font-style: italic;
  line-height: 14pt;
}
.prosocial {
  position: relative;
  z-index: 999;
  padding: 4pt 0pt;
}
.social {
  position: relative;
  z-index: 999;
}
.social span {
  display: block;
  padding: 4pt 0pt;
  position: relative;
  float: left;
}
.social span ul {
  display: none;
  position: relative;
  top: -7pt;
  left: 7pt;
}
.social span a {
  //display: block;
}
.social span a:hover {
  color: #fff;
}
span:hover ul {
  display: block;
  position: absolute;
}
span:hover li {
  float: left;
  color: #fff;
  font-size: 12pt;
}
span:hover a {
  color: #fff;
  text-decoration: none;
  font-size: 9pt;
}
span:hover li a:hover {
  color: #fff;
  text-decoration: underline;
  font-size: 9pt;
}
/*
li.project {
  position: relative;
  z-index: 5;
}
div.test {
  z-index: 5;
}
*/
div.title {
  position: relative;
  top: -4.6pt;
  clear: both;
  margin-right: 25pt;
  margin-left: 18pt;
}
div#heebok_kor {
  background: url("/assets/images/heebok_kor.png") no-repeat;
  height: 30pt;
  width: 882pt;
  margin: 0pt 0pt 0pt 18pt;
}
div#ivanist {
  position: absolute;
  top: 0pt;
  left: 0pt;
  width: 918pt;
}
div#overlay {
  position: absolute;
  top: 53.7pt;
  left: 0pt;
//  height: 91.5%;
  height: 93.8%;
  width: 918pt;
  pointer-events: none;
  background: url("/assets/images/overlay.png") repeat;
}
div#overlay85 {
  position: absolute;
  top: 53.7pt;
  left: 0pt;
  height: 85%;
  width: 918pt;
  pointer-events: none;
  background: url("/assets/images/overlay.png") repeat;
}
h1 {
  color: #4C4C4C;
  font-size: 20pt;
  line-height: 24pt;
  margin-bottom: -20pt;
}
h1.title {
  display: inline-block;
  font-family: FFDINWebProBold, Consolas, sans-serif;
  padding-top: 2pt;
  padding-bottom: 0pt;
  border-top: 3.5pt solid;
  letter-spacing: 2pt;
}
header.ivanist {
  background: url("/assets/images/menu_background.png");
  color: #A7A7A7;
  height: 54pt;
  width: 918pt;
}
p {
  //margin-bottom: 20pt;
    margin-bottom: 18pt;
}
p.blurb {
  color: #4C4C4C;
  font-family: Georgia, serif;
  font-size: 9pt;
  font-style: italic;
  line-height: 14pt;
  text-decoration: underline;
  margin-top: -2pt;
}
p.blurb2 {
  color: #4C4C4C;
  font-family: Georgia, serif;
  font-size: 9pt;
  font-style: italic;
  line-height: 13pt;
}
p.blurb3 {
  color: #4C4C4C;
  -webkit-column-count: 3;
  -webkit-column-gap: 1%;
  -moz-column-count: 3;
  -moz-column-gap: 1%;
  column-count: 3;
  column-gap: 1%;
  font-family: Georgia, serif;
  font-size: 9pt;
  font-style: italic;
  line-height: 13pt;
}
p.credits {
  color: #4C4C4C;
  font-family: Georgia, serif;
  font-size: 9pt;
  font-style: italic;
  line-height: 13pt;
  margin: 0pt 0pt 15pt 0pt;
}
#masonry {
  width: 918pt;
}
#masonry li {
  float: left;
  list-style: none;
  margin: 0pt 4.5pt 0pt 0pt;
}
#masonry ul {
}
#masonrywrap {
  position: relative;
  overflow: hidden;
  width: 918pt;
  padding: 0pt 0pt 0pt 18pt;
}
