/* https://css-tricks.com/snippets/html/responsive-meta-tag/ */
@-ms-viewport {
  width: device-width;
}

body {
  background: #f2f2f2;
  color: #333;
  font-family: 'Gentium Basic', serif;
  font-size: 18px;
  line-height: 1.6;
}

main {
  margin: 40px auto;
  max-width: 650px;
  padding: 0 10px;  
}

h1 {
  border-bottom: 5px solid black;
  font-size: 2em;
  line-height: 1.2;
  margin: 20px 0 10px 0;
}

.h1__subheader {
  color: #777;
  font-size: 0.8em;
  margin-top: 5px;
}

h2 {
  border-bottom: 3px solid darkgrey;
  font-size: 1.6em;
  line-height: 1.2;
  margin: 30px 0 10px 0;
  width: 95%;
}

h3 {
  border-bottom: 2px solid lightgrey;
  font-size: 1.4em;
  line-height: 1.2;
  margin: 30px 0 10px 0;
  width: 90%;
}

p {
  margin: 10px 0;
}

ol {
  list-style: outside decimal none;
  margin-left: 0;
  padding-left: 1em;
}

ul {
  list-style: outside disc none;
  margin-left: 0;
  padding-left: 1em;
}

li {
  padding-left: 1em;
}

sup {
  font-size: 0.7em;
  vertical-align: super;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

hr {
  background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0); 
  border: 0;
  height: 1px;
  margin: 30px 0;
}

.jd-fixed {
  font-family: 'Inconsolata', monospace;
}

.jd-fixed__inline-box {
  background: #e4e4e4;
  border: 1px dotted black;
  padding: 2px 4px;
  white-space: nowrap;
}

.jd-fixed__large {
  font-size: 2em;
  padding: 4px 12px;
}

.jd-fixed__block-box {
  background: #e4e4e4;
  border: 1px dotted black;
  display: inline-block;
  margin: 0;
  padding: 2px 10px;
}

.jd-fixed__underlined {
  text-decoration: underline;
}

.jd-em {
  border-bottom: 5px solid greenyellow;
}

.img__finder {
  border: 1px solid darkgrey;
  float: left;
  margin-right: 20px;
}

.img__simplenote {
  border: 1px solid silver;
  border-radius: 5px;
}

.img__width-305px {
  width: 305px;
}

.img__width-640px {
  width: 640px;
}

.img__width-182px {
  width: 182px;
}

.img__width-293px {
  width: 293px;
}

.img__width-648px {
  width: 648px;
}

.float-left {
  float: left;
  margin-right: 20px;
}

.float-right {
  float: right;
  margin-left: 20px;
}

.break-word-wrapping {
  word-break: break-all;
}

.jd-header {
  margin: 40px auto;
  max-width: 650px;
  padding: 0 10px;  
}

.jd-footer {
  border-top: 1px dotted grey;
  font-size: 0.8em;
  margin: 30px;
  padding-top: 20px;
  text-align: center;
}

.footnotes {
  border-top: 1px dotted grey;
  border-bottom: 1px dotted grey;
  color: #555;
  font-size: 0.8em;
  margin-top: 20px;
  padding: 5px 0 5px 2em;
  text-indent: -1em;
  width: 80%;
}

.cc-logo {
  border-width: 0;
  padding-right: 10px;
  vertical-align: middle;
}

/* A clearing div to separate sections when required. */
.div-clear {
  clear: both;
}

.follows-clear {
  margin-top: 0;
}

.end-of-page-nav {
  border-top: 1px dashed silver;
  display: table;
  font-size: 0.8em;
  margin-top: 20px;
  padding-top: 10px;
  table-layout: fixed;
  width: 100%;
}

.end-of-page-nav > div {
  display: table-cell;
}

.end-of-page-nav-left {
  text-align: left;
}

.end-of-page-nav-center {
  text-align: center;
}

.end-of-page-nav-center a:link {
  color: #333;
  text-decoration: none;
}

.end-of-page-nav-center a:visited {
  color: #333;
  text-decoration: none;
}

.end-of-page-nav-right {
  text-align: right;
}

.top-of-page-nav {
  border-bottom: 1px dashed silver;
  display: table;
  font-variant: small-caps;
  margin-bottom: 20px;
  padding-bottom: 10px;
  table-layout: fixed;
  width: 100%;
}

.top-of-page-nav > div {
  display: table-cell;
}

.top-of-page-nav a:link, .top-of-page-nav a:visited {
  color: #222;
  text-decoration: none;
}

/*.top-of-page-nav-right a:link {
  border-bottom: 1px dotted lightgrey;
}*/

.top-of-page-nav-left {
  font-size: 2.4em;
  text-align: left;
  vertical-align: middle;
}

.top-of-page-nav-center {
  text-align: center;
}

.top-of-page-nav-right {
  font-size: 20px;
  line-height: 1.2em;
  text-align: right;
}

.todo {
  border: 2px solid red;
  color: red;
  padding: 0 5px;
}

/* Blinking cursor, from https://codepen.io/ArtemGordinsky/pen/GnLBq */
.blinking-cursor {
  font-weight: 100;
  font-size: 20px;
  -webkit-animation: 1s blink step-end infinite;
  -moz-animation: 1s blink step-end infinite;
  -ms-animation: 1s blink step-end infinite;
  -o-animation: 1s blink step-end infinite;
  animation: 1s blink step-end infinite;
}

@keyframes "blink" {
  from, to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

@-moz-keyframes blink {
  from, to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

@-webkit-keyframes "blink" {
  from, to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

@-ms-keyframes "blink" {
  from, to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

@-o-keyframes "blink" {
  from, to {
    color: transparent;
  }
  50% {
    color: black;
  }
}