/* general */
body {
  font-family: Helvetica;
  background: #f9f9f9;
  color: #444;
  line-height: 30px;
  margin: 0.8em auto;
  word-wrap: break-word;
  display: flex;
  max-width: 45em;
  flex-direction: row;
  align-content: stretch; }


h1, h2, h3, h4 {
  color: black;
  font-weight: normal;
  margin-bottom: 0;
  margin-top: 1.5em; }

h1 {
  font-size: 1.5em; }

h2 {
  margin-top: 2em;
  font-size: 1.3em; }

h3 {
  margin-top: 2em;
  font-size: 1.1em; }

h4 {
  font-size: 1em; }

img, video {
  max-width: 100%;
  border-radius: 0.3em;
  border: none; }

p > code {
  background: #E8E8E8;
  font-family: inherit;
  padding: 0px 2px;
  border: 1px solid #E3D2D2;
  border-radius: 3px; }

blockquote {
  border-left: 0.3em solid #b0b0b0;
  margin: 0px;
  padding: 0 12px 0 12px; }

p {
  text-indent: 0px; }

p.caption {
  font-size: 80%;
  margin-top: 0; }

a {
  color: #227ce8;
  text-decoration: none; }

a:hover {
  text-decoration: underline; }

a:visited {
  color: #60B; }

ul, ol {
  padding: 0; }

ul li, ol li {
  line-height: 30px;
  padding: 6px 0 0 0; }

article ul, article ol {
  padding: 0em 0em 0em 1em; }

pre {
  line-height: 1.3em;
  overflow: auto;
  padding: 7px; }

dd {
  margin: 0;
  margin-bottom: 1.5em; }

table {
  width: 100%;
  text-align: center; }

th {
  border-bottom: 1px solid lightblue; }

tr:nth-child(even) {
  background: #f8f8f8; }

/* site header */
.main-title {
  margin-top: 0;
  color: goldenrod; }

.main-title small {
  font-style: italic;
  color: #444;
  font-size: 14px; }

/* aside */
.sidebar {
  min-width: 5em;
  margin-bottom: 2em;
  margin-right: 2em; }

.sidebar a {
  border: none; }

.sidebar nav a {
  padding: 3px 0;
  color: black;
  font-weight: bold;
  font-size: 12px; }

.sidebar nav a:hover {
  color: #227ce8; }

.sidebar nav ul {
  margin: 0;
  padding: 0; }

.sidebar nav li {
  line-height: 18px;
  padding: 0.1em 0;
  list-style: none; }

.article-list p {
  margin: 0; }

.column-right {
  display: block;
  max-width: 38em;
  margin-bottom: 50px; }

/* code snippets */
.highlight {
  background: #fffbf1;
  border-left: 1px solid lightblue; }

.highlight .err {
  border: none;
}

/* headers permalink */
.headerlink {
  visibility: hidden;
  margin-left: 0.5em;
  font-size: 0.8em; }

/* footnotes */
.footnote {
  margin-top: 4em; }

h1:hover .headerlink,
h2:hover .headerlink,
h3:hover .headerlink,
h4:hover .headerlink,
h5:hover .headerlink,
h6:hover .headerlink {
  visibility: visible; }

/* helpers */
.light {
  color: #b0b0b0;
  font-size: 0.8em;
  line-height: 1.4em; }
