/*

Kirby Starterkit

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

*/


/* space-mono-700 - latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/space-mono-v1-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Space Mono Bold'), local('SpaceMono-Bold'),
       url('/assets/fonts/space-mono-v1-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/space-mono-v1-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/assets/fonts/space-mono-v1-latin-700.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/space-mono-v1-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/space-mono-v1-latin-700.svg#SpaceMono') format('svg'); /* Legacy iOS */
}
/* open-sans-300 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('/assets/fonts/open-sans-v13-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Light'), local('OpenSans-Light'),
       url('/assets/fonts/open-sans-v13-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/open-sans-v13-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('/assets/fonts/open-sans-v13-latin-300.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/open-sans-v13-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/open-sans-v13-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/open-sans-v13-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Open Sans'), local('OpenSans'),
       url('/assets/fonts/open-sans-v13-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/open-sans-v13-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/assets/fonts/open-sans-v13-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/open-sans-v13-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/open-sans-v13-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/open-sans-v13-latin-600.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Semibold'), local('OpenSans-Semibold'),
       url('/assets/fonts/open-sans-v13-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/open-sans-v13-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('/assets/fonts/open-sans-v13-latin-600.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/open-sans-v13-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/open-sans-v13-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/open-sans-v13-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Bold'), local('OpenSans-Bold'),
       url('/assets/fonts/open-sans-v13-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/open-sans-v13-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/assets/fonts/open-sans-v13-latin-700.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/open-sans-v13-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/open-sans-v13-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* 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: #f7901e;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}
a:hover {
  color: #bb6d17;
}


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


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  font-family: "Open Sans", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  font-size: 18px;
  line-height: 32px;
  padding: 1.5em;
  max-width: 50em;
  background: url(/assets/images/back.180611.svg) no-repeat top left white;
  color: #798289;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
}
@media (max-width: 50em) {
  body {
    padding-left: 0;
    padding-right: 0;
  }
}


/* Header
-------------------------------------------------- */
.header {
  margin-bottom: 1.5em;
  text-align: center;
}
@media screen and (min-width: 40em) {
  body {
    padding: 3em;
  }
  .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;
  text-align: left;
  float: left;
}

h2, h3, h4, h5 {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  color: black;
}

h2 {
  font-size: 32px;
  line-height: 32px;
  margin-bottom: .5em;
  text-align: left;
}
h3 {
  font-size: 1.4em;
  line-height: 1.5em;
  margin-bottom: .5em;
}
h4 {
  font-size: 1.125em;
  line-height: 1.5em;
  margin-bottom: .5em;
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}



/* Main
-------------------------------------------------- */
.main {
  padding: 1.5em;
}
.main hr {
  margin: 3em 0;
  height: 2px;
  background: #ddd;
}
.main p,
.main figure,
.main ul,
.main ol,
.main pre {
  margin-bottom: 1.5em;
}
.main a {
  border-bottom: 1px solid #f7901e;
}
.main a:hover {
  border-color: #bb6d17;
}
.main a.button {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 32px;
  border: 4px solid #f7901e;
  border-radius: 2px;
  display: block;
  padding: 4px 5px 6px 5px;
  width: 266px;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}
.main a.button.alt {
  background-color: #f7901e;
  color: #20282b;
}
.main a.button.alt:hover {
  background-color: #bb6d17;
}
.main a.button:hover {
  border-color: #bb6d17;
}
.main pre {
  overflow: scroll;
}

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

.main .text {
    position: relative;
}

.main .text .use-cases {
  width: 290px;
  float: right;
  padding: 1.5em 1.5em 0 1.5em;
  border: 1px solid #dddddd;
  margin-left: 1em;
  margin-bottom: 1em;
}

footer .column {
    float: left;
    padding-right: 30px;
}

footer .column ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

footer .column ul li a {
    font-size: 18px;
    line-height: 32px;
    border-bottom: none;
    text-decoration: underline;
    color: #f7901e;
}

@media (max-width: 30em) {
  .main {
    padding: 1em;
  }
  .main .text .use-cases {
    float: none;
    width: 100%;
    margin-left: 0;
  }
}

.main .text .use-cases h2 {
  color: #e6e6e6;
  font-size: 1.5em;
  line-height: 1.1em;
  margin-top: 0;
  width: 150px;
}

@media (max-width: 30em) {
  .main .text .use-cases h2 {
    width: 100%;
  }
}

.main .text .use-cases ul {
  list-style-type: none;
  margin-left: 0;
}

.main .text .use-cases ul li {
  margin-bottom: 1em;
  font-size: .9em;
  line-height: 1.2em;
}

.main .text .use-cases ul li a {
  border-bottom: 0;
}
.main p.date {
  text-align: left;
  font-family: 'Space Mono', monospace;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 30px;
  color: black;
}

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


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


/* Footer
-------------------------------------------------- */
.footer {
  padding: 1em 0 0 1.75em;
  font-size: .8em;
  clear: both;
}
@media (max-width: 30em) {
  .footer {
    padding: 1em 1em 6em;
  }
}
.footer a {
  color: #e6e6e6;
}
.copyright {
  float: left;
}
.colophon {
  float: right;
}
.colophon a b {
  color: red;
  padding-left: .25em;
}

body.agenda hr {
    margin-top: 30px;
    margin-bottom: 10px;
    background-color: gray;
}

body.agenda .main p {
    margin-top: 0;
    margin-bottom: 0;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    display: table-cell;
}

body.agenda .main p.time {
    width: 100px;
}

body.agenda .main p strong {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    color: black;
}

body.home .main p strong {
    font-family: "Space Mono", monospace;
    font-size: 21px;
    line-height: 38px;
    color: black;
}

header div.nav {
    width: 500px;
    float: right;
}

header div.nav p {
    text-align: right;
    font-family: "Space Mono", monospace;
    font-weight: 700;
    font-size: 18px;
    line-height: 21px;
}

header div.nav a.active {
    color: black;
}

.videos .vidthumb {
    padding-top: 10px;
    width: 46%;
    float: left;
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 10px;
    height: 310px;
}

.videos .vidthumb:nth-child(2n+3) {
    border-right: none;
}

.videos .vidthumb:nth-last-child(2), .videos .vidthumb:last-child {
    border-bottom: none;
}

.videos .vidthumb a h3 {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.videos .vidthumb a h3 span {
    color: #aeb3b8;
    font-size: 18px;
    display: block;
}

.videos .vidthumb a:hover {
    text-decoration: underline;
    color: black;
}

h2 small {
    color: #aeb3b8;
}
