/* Document level size scaling adjustments */
html {
  font-size: 20px;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
html,
body {
  margin: 0;
  padding: 0;
  position: relative;
}

body {
  /* font-family: 'lato', serif;*/
  font-family: 'sourceserifpro', serif;
  font-weight: 400;
  text-align: left;
/*
  -webkit-hyphens: auto;
  hyphens: auto;
*/
}

h1, h2 {
  font-family: 'raleway', sans-serif;
  font-weight: 500;
  color: #222;
}

h3,
h4,
h5,
h6 {
  font-size: 1em;
  font-family: 'sourceserifpro', sans-serif;
  font-weight: 700;
  color: #222;
}

.hanchor { font-size: 50%; visibility: hidden; color:silver; vertical-align: middle}
h1:hover a, h2:hover a, h3:hover a, h4:hover a { visibility: visible; border-bottom: none}

div.anchor a {border-bottom: none}
div.anchor:hover a {visibility: visible; border-bottom: none}

pre:not(.chroma) {
  font-family: 'robotomono', monospace;
  font-size: 0.9em;
  text-align: left
}

code {
  font-family: 'robotomono', monospace;
  font-size: .9em;
  /*background: #f5f5f5;*/
  border-radius: 3px;
  -webkit-hyphens: none;
  hyphens: none;
  text-align: left;
}

pre code {
  background: #f5f5f5;
  line-height: 1.3em;
}

div.chroma {
  font-family: 'robotomono', monospace;
  background: #f5f5f5;
  margin-left: 2em;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.9em;
  text-align: left
}

td.lntd > pre.chroma code {
    padding: 0
}

div.highlight > pre.chroma {
  font-family: 'robotomono', monospace;
  background: #f5f5f5;
  margin-left: 2em;
  padding: 8px 12px;
  border-radius: 5px;
  text-align: left;
  overflow-x: auto;
}

pre:not(.chroma) code {
  display: block;
  overflow-x: auto;
  margin-left: 2em;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.9em;
  text-align: left;
}

a:hover,
a:active {
  outline: none;
  background-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

figure img {
  border: 1px solid #ccc;
}

.inline-figures {
  text-align: center;
  margin: 0 auto;
  display: block;
  justify-content: center;
}

.inline-figures figure {
  display: inline-block;
}
.inline-figures figure img {
  display: inline-block;
}

.headshot img {
  border-radius: 50%;
  width: 200px;
}

.headshot h1 {
  font-size: 1.5em;
  text-align: center;
}

blockquote {
/*  font-style: italic; */
  font-family: 'lato', sans-serif;
  font-weight: 300;
  border-left: 5px solid #ccc;
  font-size: .85em;
/*  background: #f5f5f5; */
  margin: 20px;
  padding-left: 10px;
}

figcaption {
  font-family: 'opensans', sans-serif;
  font-weight: 300;
  font-size: 0.85em;
  text-align: center;
}

.wrapper {
  overflow: hidden;
  position: relative;
}

.header {
  padding: 1.5em 0;
  position: relative;
  background: #f5f5f5;
  border-bottom: 1px solid #eaeaea;
}

.nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0.85em;
  font-family: 'raleway', sans-serif;
  font-weight: 400;
  text-align: right;
}

.nav-logo {
  float: left;
  margin-top: -0.75em;
  transition: transform 100ms ease-out;
}

.nav-logo:hover {
  transform: scale(1.1);
}

.nav-logo img {
  display: block;
  max-height: 3em;
  width: auto;
  border-radius: 50%;
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  display: inline-block;
  margin: 0 0 0 15px;
}

.nav-links li:first-child {
  margin-left: 0;
}

.nav-links a {
  text-decoration: none;
  color: #444;
}

.nav-links a:hover {
    text-decoration: underline
}

.nav-links a.current {
    font-weight: bold;
}

.content {
  display: block;
  min-height: calc(100vh - 2rem);
  max-width: 800px;
  margin: 2rem auto 2rem;
  padding: 0 0.85em;
  line-height: 1.4em;
  color: #555;
}

.content strong {
    color: #200;
    font-weight: bolder;
}

.article-title {
  font-size: 2em;
  color: #222;
  margin: 0;
  line-height: 1.3em;
  text-align: left
}

.article-date {
  font-size: 0.7em;
  font-family: 'raleway', sans-serif;
  font-weight: 300;
  /* color: #666; */
  float: right;
}

.reading-time {
  font-size: 0.7em;
  font-family: 'raleway', sans-serif;
  font-weight: 300;
  /* color: #666; */
}

.article-content p {
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.article-content li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.article-content a {
  text-decoration: none;
  color: inherit;
  border-bottom: medium solid #d0d0d0;
  transition: border-color 100ms;
}

.article-content a:hover,
.article-content a:active {
  border-color: #606060;
}

.article-content a.footnote-ref {
  text-decoration: none;
  color: inherit;
  border-bottom: thin solid #d0d0d0;
  transition: border-color 100ms;
}

.article-content a.footnote-ref:hover,
.article-content a.footnote-ref:active {
  border-color: #606060;
}

.article-content hr {
  width: 150px;
  margin: 50px auto;
  height: 1px;
  overflow: hidden;
  border: none;
  background: #e8e8e8;
}

.article-content section.footnotes {
  font-size: 0.75em;
  padding-left: 20px;
  padding-right: 20px;
}

.article-content section.footnotes hr {
  width: 150px;
  margin: 20px auto;
  height: 1px;
  overflow: hidden;
  border: none;
  background: #e8e8e8;
}

.article-feedback-divider {
  font-family: 'raleway', sans-serif;
  color: #404040;
  text-align: center;
  margin-top: 0px;
}

.article-feedback {
  list-style: none;
  padding-left: 0;
  font-family: 'opensans', sans-serif;
  color: #404040;
  font-size: 0.85em;
  text-align: left;
}

.aside {
  list-style: none;
  font-family: 'opensans', sans-serif;
  font-weight: 300;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  padding-left: 2em;
  padding-right: 2em;
  color: #404040;
  font-size: 0.85em;
  text-align: left;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
  background: #f5f5f5;
}

.aside strong {
  font-weight: 600;
}

.small {
  font-size: 0.85em;
}

.draft {
  color: #e00;
  font-family: 'raleway', sans-serif;
  font-weight: 500;
  font-size: 1.25em;
}

.list-intro {
  list-style: none;
  font-family: 'lato', sans-serif;
  /* border-left: 5px solid #ccc; */
  padding-left: 0px;
  font-style: italic;
  color: #404040;
  font-size: 0.85em;
  text-align: left;
}

.button {
  border-radius:7px;
  border:0px solid #aaa;
  display:inline-block;
  cursor:pointer;
  color:#ffffff;
  font-family:raleway;
  font-size:0.85em;
  font-style:normal;
  padding:0px 1em;
  margin:0px 0.2em;
  text-decoration:none;
}

.email-button {
  background-color:#5cbf2a;
}
.email-button:hover {
  background-color:#5cbf2a;
  position:relative;
  bottom:1px;
}

.twitter-button {
  background-color:#1DA1F2;
}
.twitter-button:hover {
  background-color:#1DA1F2;
  position:relative;
  bottom:1px;
}

.article-taxonomy {
  list-style: none;
  padding-left: 0;
  font-family: 'raleway', sans-serif;
  color: #404040;
  font-size: 0.85em;
  text-align: left;
}

.article-taxonomy hr {
  width: 200px;
  margin: 5px 0 10px;
  height: 1px;
  border: none;
  background: #e8e8e8;
}

.article-taxonomy a {
  display: inline-block;
  margin: 0 10px 0 0;
  text-decoration: none;
  color: inherit;
  transition: color 100ms;
}

.article-taxonomy a:hover,
.article-taxonomy a:active {
  color: #ccc;
}

.article-image-large {
  padding: 2px;
  border: solid 1px #e6e6e6;
  opacity: 1;
  transition: opacity 500ms;
}

.article-image-large:hover,
.article-image-large:active {
  opacity: 0.5;
}

.list,
.category,
.tag-cloud {
  margin: 0;
  padding: 0;
  line-height: 1.3em;
}

.list-title,
.category-title,
.tag-cloud-title {
  font-size: 2em;
  margin-top: 60px;
  padding-bottom: 10px;
}

.list-item {
  margin: 0 0 20px;
  padding: 0;
}

.list-item-date {
  display: block;
  padding: 4px 0;
  font-family: 'lato', sans-serif;
  color: #ccc;
  font-size: 0.85em;
}

.list-item a {
  display: inline-block;
  width: auto;
  max-width: 85%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 3px 0;
  text-decoration: none;
  font-size: 1em;
  font-family: 'lato', sans-serif;
  font-weight: bold;
  color: #222;
  border-bottom: 1px solid #ddd;
  transition: border-color 100ms;
}

.list-item a:hover {
  border-color: #222;
}

.category-item {
  display: block;
  list-style: none;
  margin: 5px 0 15px;
  padding: 0;
}

.category-item a {
  display: inline-block;
  padding: 5px 0;
  text-decoration: none;
  font-size: 1.2em;
  font-family: 'raleway', sans-serif;
  font-weight: bold;
  color: #222;
  transition: color 100ms;
}

.category-item-count {
  font-family: 'raleway', sans-serif;
  margin-right: 15px;
  color: #ccc;
  font-size: 0.85em;
  font-weight: bold;
}

.tag-cloud-item {
  margin: 0;
  padding: 0;
}

.tag-cloud-item li {
  display: inline-block;
  list-style: none;
  padding: 0 15px 15px 0;
}

.tag-cloud-item a {
  text-decoration: none;
  font-family: 'raleway', sans-serif;
  font-weight: bold;
  color: #222;
  transition: color 100ms;
}

.tag-cloud-item a:hover,
.tag-cloud-item a:active,
.category-item a:hover,
.category-item a:active {
   color: #ccc;
}

.third-party {
  font-size: 0.5em;
}

.third-party a {
  text-decoration: none;
  color: inherit;
  border-bottom: medium solid #f0f0f0;
}

.copyright {
  font-size: 0.5em;
}

.copyright a {
  text-decoration: none;
  color: inherit;
  border-bottom: medium solid #f0f0f0;
}

.archive {
  font-size: 0.5em;
}

.archive a {
  text-decoration: none;
  color: inherit;
  border-bottom: medium solid #f0f0f0;
}

.footer {
  height: auto;
  margin: 10px;
  padding: 10px;
  text-align: center;
  font-family: 'opensans', sans-serif;
}

.footer-links {
  display: block;
  list-style: none;
  margin: 10px;
  padding: 10px;
  color: #ccc;
  font-size: 0.85em;
}

.footer-links li {
  margin: 0;
  padding: 10px;
  display: inline-block;
}

.footer-links a {
  display: inline-block;
  color: #888;
  text-decoration: none;
  transition: color 100ms;
  margin: 0 5px;
}

.footer-links a:hover {
  color: #222;
}

.social-links {
  display: block;
  list-style: none;
  margin: 10px;
  padding: 10px;
  color: #ccc;
  font-size: 1em;
  text-align: center;
}

.social-links li {
  margin: 0;
  padding: 10px;
  display: inline-block;
}

.social-links a {
  display: inline-block;
  color: #888;
  text-decoration: none;
  transition: color 100ms;
  margin: 0 5px;
}

.social-links a:hover {
  color: #222;
}

/*
.footer-links li::before {
  content: '•';
  position: relative;
  left: -2px;
}

.footer-links li:first-child::before {
  content: '';
  display: none;
}
*/

.embed iframe {
  display: block;
}

.page-links {
  margin: 25px 0;
  padding: 0;
  text-align: center;
  font-family: 'raleway', sans-serif;
  font-size: 1em;
}

.page-links li {
  display: inline-block;
}

.page-links a {
  text-decoration: none;
  padding: 0 5px;
  color: #555;
  transition: color 100ms;
}

.page-links a:hover {
  color: #ccc;
}

.page-links-active a,
.page-links-disabled a {
  text-decoration: none;
  color: #ccc;
}

.error-page-title {
  text-align: center;
  font-size: 5em;
}

.error-page-content {
  text-align: center;
}

.error-page-content a {
  text-decoration: none;
  color: inherit;
  transition: color 100ms;
}

.error-page-content a:hover,
.error-page-content a:active {
  color: #ccc;
}

.rss-link {
  text-decoration: none;
  color: #ccc;
  font-size: small;
  margin-left: 0.5em;
}

.fa {
  font-family: 'FontAwesome';
  font-style: normal;
}

.fa-rss::before {
  content: "\f09e";
}

.fa-chevron-up::before {
  content: "\f077";
}

.fa-github::before {
  content: "\f09b";
}

.fa-twitter:before {
  content: "\f099";
}

.fa-envelope:before {
  content: "\f0e0";
}

.fa-stack-overflow:before {
  content: "\f16c";
}

.fa-linkedin:before {
    content: "\f08c";
}

.fa-exclamation-triangle:before {
    content: "\f071";
}

.fa-tags::before {
  content: "\f02c";
  float: left;
  padding: 0px 10px 50px 0;
}

.fa-category::before {
  content: "\f07c";
  float: left;
  padding: 0 10px 0px 0;
}

#the-canvas {
  border: 1px solid black;
  direction: ltr;
}

/*
#canvas_container {
    width: 800px;
    height: 500px;
    overflow: auto;
}
*/

/* Chrome, Safari, Edge, Opera */
input#current_page::-webkit-outer-spin-button,
input#current_page::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input#current_page {
  -moz-appearance: textfield;
}

@media print {
    .content { color: #000; }
    .content strong { color: #000; }
    h1, h2, h3, h4, h5, h6 { color: #000; }
    .article-title { color: #000; }
}
@media (max-width: 800px) {
  html { font-size: 18px; }
  h1, h2, h3, h4, h5, h6 { text-align: left }
  h1 { font-size: 1.8em; }
  h1.article-title { font-size: 1.8em; }
  h2 { font-size: 1.3em; }
  blockquote { font-size: 1em; }
  div.article-date {font-size: .8em;}
  div.reading-time {font-size: .8em;}
}
@media (max-width: 600px) {
  html { font-size: 16px; }
  h1, h2, h3, h4, h5, h6 { text-align: left }
  h1 { font-size: 1.5em; }
  h1.article-title { font-size: 1.5em; }
  h2 { font-size: 1.3em; }
  blockquote { font-size: 1em; }
  div.article-date {font-size: .8em;}
  div.reading-time {font-size: .8em;}
  body { text-align: left; }
}
