/****************** reset *****************/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
div.section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
div.section {
  display: block;
}
body {
  line-height: 1;
}
/* ol, ul { */
/* 	list-style: none; */
/* } */
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/****************** kortina *****************/

/* stylelint-disable */
body {
  /* stylelint-enable */
  text-align: center;
  font-family: 'Helvetica-Neue', Helvetica, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: subpixel-antialiased;
  color: rgb(0, 0, 0);
  font-size: 22px;
  /* letter-spacing: 0.1599999964237213px; */
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
article p > img,
img.w-article,
hr,
aside,
blockquote,
details,
pre,
ul,
ol,
time,
label,
footer,
section,
div.section {
  text-align: left;
  display: block;
  margin: 0 auto;
  margin-bottom: 40px;
}

/* don't put space below nested lists */
ul ul {
  margin-bottom: 0;
}

figcaption {
  margin: 0 auto;
}

iframe {
  border: none;
}

/****************** not-mobile *****************/
@media (min-width: 700px) {
  figure img {
    max-width: 100vw;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  article p > img,
  img.w-article,
  hr,
  aside,
  blockquote,
  details,
  pre,
  ul,
  ol,
  time,
  label,
  figcaption,
  footer,
  section,
  div.section {
    max-width: 700px;
  }
  img.mw-1000 {
    max-width: min(1000px, 100vw);
  }
}

details {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

details > summary {
  font-style: italic;
  color: #666;
}

figure {
  display: block;
  margin: 0 auto;
  margin-bottom: 40px;
}

label,
figcaption {
  color: #999;
  font-size: 12px;
  margin-bottom: 0;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

hr {
  border: 0;
  border-top: 1px solid #eee;
}

hr.fleuron {
  border: 0;
}
hr.fleuron:before {
  content: ' ⥂ ❧ ⇲ ';
  margin: 0 auto 0 auto;
  display: block;
  color: #bbb;
  font-size: smaller;
  letter-spacing: 2em;
  text-align: center;
  width: 100%;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

sup {
  vertical-align: super;
  font-size: smaller;
}

/****************** nav & links *****************/
nav {
  font-size: 12px;
}

nav h2 {
  display: inline;
  font-size: 12px;
  padding: 0;
}

a {
  color: #428bca;
  text-decoration: none;
}

nav a {
  font-size: 12px;
  color: #666;
  text-decoration: underline;
}

nav h2 a {
  font-weight: normal;
  text-decoration: none;
}

a:visited,
a:active {
  color: #428bca;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

nav a:visited,
nav a:active {
  color: #666;
}

/****************** lists *****************/
li p {
  margin-bottom: 0;
}

ul,
ol {
  position: relative;
  padding-left: 60px;
}

/****************** blockquote, aside, pre *****************/
aside,
blockquote,
pre,
pre.highlight {
  background-color: rgba(248, 248, 248, 0.4);
  border: 0;
  border-radius: 0;
  border-left: 4px solid #f5f5f5;
  padding: 20px;
}

pre,
pre.highlight {
  word-break: normal;
  word-wrap: normal;
  white-space: pre;
  overflow-x: scroll;
}

pre.highlight span {
  font-size: 80%;
}

code,
kbd,
pre,
samp {
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
}

pre code {
  background-color: transparent;
  padding: 0;
  margin: 0;
}

p code,
li code {
  white-space: normal;
  padding: 2px 4px;
  font-size: 80%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 4px;
  overflow-x: scroll;
}

aside {
  border-left: 2px solid #f2f2f2;
  font-size: 80%;
  color: #999;
  padding: 8px;
}

/****************** header *****************/
header h1,
header h2,
header time,
header .time {
  margin-bottom: 0;
}

header {
  margin-bottom: 40px; /* match h1, h2, p, etc */
  padding-top: 20px;
}

header time,
header .time {
  color: #ddd;
  font-size: 12px;
  padding-bottom: 20px;
}

header h2 {
  /* subtitle: */
  margin-top: 4px;
}

label.smalltop {
  margin-bottom: 40px;
}

/****************** footer *****************/
footer {
  margin-bottom: 0;
  z-index: 1000;
  background: #fff;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  line-height: 17.142858505249px;
  text-align: center;
  max-width: 100vw;
  width: 100vw;
  border-top: 1px solid #f8f8f8;
}
footer nav {
  text-align: left;
  max-width: 360px;
  margin: 0 auto;
}

/****************** webshare *****************/

.share-button {
  -webkit-font-smoothing: subpixel-antialiased;
  border-radius: 4px;
  font-weight: 400;
  border: 1px solid rgba(0, 0, 0, 0.5);
  color: rgba(0, 0, 0, 0.5);
  padding: 6px 10px 6px 6px;
  font-size: 16px;
  /* line-height: 20px; */
  -webkit-transition: all 0.1s ease-out;
  margin-right: 10px;
  display: inline-block;
  /* top: -8px; */
  /* position: relative; */
  /* height: 35px; */
}

.web-share {
  /* display: inline-block; */
  /* position: relative; */
  /* vertical-align: text-bottom; */
  /* margin-top: 15px; */
  margin-bottom: 30px;
  padding-bottom: 20px;
  margin-top: -20px;
  border-bottom: 1px solid #eee;
}

@media (max-width: 700px) {
  .web-share .share-button {
    margin-top: 16px;
    margin-bottom: 16px;
  }
}

.share-button:hover {
  background-color: rgba(66, 139, 202, 1);
  border: 1px solid rgba(66, 139, 202, 0.8);
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
  border-radius: 4px !important;
  padding: 6px 10px 6px 6px !important;
  margin-right: 10px;
}

a.share-button:hover,
a.share-button:active,
a.share-button:visited {
  text-decoration: none;
}

/****************** blink *****************/
/**
 * Emulating <blink> using WebKit CSS3 animation        
 *   This code is part of John Smith's blog
 *
 * Copyright 2010 by John Smith, All Rights Reserved
 *
 * @link   http://www.john-smith.me/emulating--lt-blink-gt--using-webkit-css3-animation
 * @date   18th October 2010 at 11:01 p.m.
 * @author John Smith
 */
@-webkit-keyframes blinker {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes blinker {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.blink {
  text-decoration: blink;

  -webkit-animation-name: blinker;
  animation-name: blinker;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: cubic-bezier(1, 0, 0, 1);
  animation-timing-function: cubic-bezier(1, 0, 0, 1);
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}

/* see also: hint--top aria-label /  http://kushagragour.in/lab/hint/ */
.hinttip {
  font-size: 90%;
  cursor: help;
}
.hint-cursor {
  cursor: help;
}

/* fix issue where hint was changing the viewport on small displays */
@media (max-width: 700px) {
  [class*='hint--']:after,
  [class*='hint--']:before {
    display: none !important;
  }
  [class*='hint--']:hover:after,
  [class*='hint--']:hover:before {
    display: unset !important;
  }
}

/****************** bodydark *****************/
.bodydark {
  background: #000;
}
.bodydark h1,
.bodydark h2,
.bodydark h3,
.bodydark h4,
.bodydark h5,
.bodydark h6,
.bodydark p {
  color: #666;
}
.bodydark header time,
.bodydark header .time {
  color: #333;
}

.bodydark pre {
  background-color: #111;
  color: #666;
  border-left-color: #222;
}

.bodydark .share-button {
  border-color: #333;
  color: #333;
}

.bodydark .web-share {
  border-bottom-color: #222;
}

.bodydark hr {
  border-top-color: #222;
}

/****************** work-index *****************/
.work-index p,
.work-index h3 {
  margin-bottom: 15px;
}

.work-index article p:first-child {
  font-size: 30px;
  margin-bottom: 40px;
}

/****************** about-andrew-kortina  *****************/
@media (min-width: 700px) {
  .about-andrew-kortina iframe {
    max-width: 700px;
    height: auto;
  }
  /* .player-overlay { */
  /*   max-width: 700px; */
  /* } */
}

.player-overlay {
  background-color: rgb(0, 0, 0);
  position: relative;
  margin: 0 auto;
  opacity: 0.85;
  color: #fff;
  font-size: xx-large;
  text-align: left;
}

/****************** mobile *****************/
@media (max-width: 700px) {
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 36px;
  }
  figure iframe,
  figure img {
    max-width: 100%;
    height: auto;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  article p > img,
  img.w-article,
  hr,
  aside,
  blockquote,
  details,
  pre,
  ul,
  ol,
  time,
  label,
  figcaption,
  figure,
  footer,
  section,
  div.section {
    max-width: 100vw;
    padding: 0 4px;
  }
  img.mw-1000 {
    max-width: min(100vw, 1000px);
  }
  ul,
  ol {
    position: relative;
    padding-left: 30px;
  }
}

article details:focus,
article details summary:focus {
  outline: none;
}
article details {
  padding-top: 0.5em;
}
article details summary {
  cursor: pointer;
}
article details:not([open]),
article details:not([open]) summary,
article details:not([open]) summary p {
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
  margin: 0;
  display: inline;
}
article details {
  margin-bottom: 40px !important;
  padding-left: 10px;
}
article details[open] {
  border-left: 1px dotted #efefef;
}
article details[open] summary {
  padding-bottom: 10px;
}

/****************** exceptions *****************/
/* stylelint-disable */
aside p:last-child,
aside ul:last-child,
aside ol:last-child,
blockquote p:last-child,
blockquote ul:last-child,
blockquote ol:last-child {
  /* stylelint-enable */
  margin-bottom: 0;
}
