body {
  margin: 0;
  padding: 0;
  border-top: 2px solid #333;
  background-color: #ffffff;
  color: #000;
  /* font-family: 'Lato', sans-serif; */
  font-family: 'Lora', serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

h2, h3 {
  margin-top: 2em;
}

h1, p {
  margin-top: 20px;
}

h1 {
  vertical-align: top;
}

.lined {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.lined:before,
.lined:after {
    content: '';
    border-top: 1.5px solid;
    margin: 0 20px 0 0;
    flex: 1 0 20px;
}

.lined:after {
    margin: 0 0 0 20px;
}

.article_title h3 {
  text-transform: uppercase;
}

a {
  color: #b1174f;
  /* color: #4a0e24; */
  text-decoration: none;
}

.navlinks a {
  color: #000;
}
a:hover {
  /* color: #f831aa; */
  color: #f83179;
  text-decoration: underline;
}


hr {
  color: #CCC;
  background-color: #CCC;
  height: 1px;
  border: none;
}

img {
  max-width: 100%;
}

.imgbox img {
  margin: 20px 0px;
  border: 1px solid #999;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

aside div#aside {
  padding: 40px 10px 10px 10px;
}

aside .page-title {
  /* text-transform: uppercase; */
  /* color: black; */
  font-family: 'Fredericka the Great', serif;
  font-size: 32px;
  margin-bottom: 10px;
}

aside .page-description {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  margin-bottom: 80px;
}

main article {
  max-width: 640px;
  padding: 40px;
  min-height: calc(100vh - 120px);
}

main article div.article_bar {
  display: none;
}
main article div.article_text {
  line-height: 1.8em;
}
main article div.article_text a {
  text-decoration: underline;
  text-decoration-style: dotted;
}
main article div.article_text code {
  margin: 2px;
  padding: 0;
  color: #000000;
  font-size: 14px;
  font-family: 'PT Mono', monospace;
  background: #eeeeee;
}

main article div.article_text pre {
  margin: 22px 2px 22px 2px;
  padding: 0.75em;
  color: #000000;
  border-left: 3px solid #0e94ec;
  font-size: 14px;
  font-family: 'PT Mono', monospace;
  background: #eeeeee;
  line-height: 1.3em;
  overflow-x: auto;
}

blockquote p.quote::before {
  content: url("/static/fontawesome-svgs/regular/comment-dots.svg");
  margin-top: 3px;
  margin-left: -30px;
  width: 20px;
  opacity: 0.7;
  position: absolute;
}

blockquote p.point::before {
  content: url("/static/fontawesome-svgs/regular/hand-point-right.svg");
  margin-top: 3px;
  margin-left: -30px;
  width: 20px;
  opacity: 0.7;
  position: absolute;
}

blockquote p.point {
  font-weight: bold;
}

blockquote p.quote {
  font-weight: normal;
  font-style: italic;
  font-size: 15px;
}

main article div.article_text blockquote {
  margin: 32px 2px 32px 2px;
  font-weight: bold;
  /* padding: 5px 20px 5px 40px; */
  /* color: #666; */
  /* font-style: italic; */
  /* font-size: 22px; */
  /* line-height: 1.6em; */
}

main article div.article_acknowledgement {
  font-size: small;
  color: #666;
  margin: 1.5em 0em;
  font-style: italic;
}

.article_meta {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: #999;
}

.article_meta a.taglink {
  color: #999;
  font-style: italic;
}

.article_meta a.taglink:hover {
  color: #f83179;
  text-decoration: underline;
}


.article_meta p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

main div#article_comments {
  margin-top: 40px;
}


main div#article_comments a {
  text-decoration: underline;
}

span.inline_article_meta {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0;
  padding-top: 0;
  font-family: "Poppins", sans-serif;
}

main footer {
  /* border-top: #ccc 1px solid; */
  padding: 40px;
}
main footer a.button_accent {
  padding: 10px;
  border: 2px solid #0e94ec;
  border-radius: 20px;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  text-transform: uppercase;
  color: #0e94ec;
  font-size: 18px;
}
main footer a.button_accent:hover {
  color: #ffffff;
  background-color: #0e94ec;
}
main footer a.button_accent:active {
  color: #ffffff;
  background-color: #0e94ec;
}

div#bottom_bar {
  position: absolute;
  font-family: 'Poppins', sans-serif;
  color: #999;
  margin-top: 80px;
  font-size: 10px;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0 10px 0 5px;
  text-align: right;
  /* border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc; */
  border-left: 10px solid #ccc;
}

div#ending_message {
  display: inline-block;
  padding: 5px 0px 5px 10px;
  text-align: right;
}

div#bottom_bar a {
  color: #999;
  font-style: italic;
}

div.article_text table {
  border-collapse: collapse;
}
div.article_text table td {
  border: 1px solid #ccc;
  padding: 5px;
}
table th {
  font-family: 'Poppins', sans-serif;
}

.sidenote {
  font-size: 15px;
  margin-right: 10px;
}

.sidenote-title {
  font-weight: bold;
}


ol {
  padding-left: 1.5em;
  counter-reset: olcounter
}

ol li {
  list-style: none;
  margin-bottom: 1em;
}

ol li::before {
    counter-increment: olcounter;
    content: counter(olcounter);
    position: absolute;
    font-weight: bolder;
    font-size: 0.9em;
    margin-left: -1.5rem;
}

ul {
  padding-left: 1em;
}

ul li {
  list-style: circle;
  padding-left: 0.5em;
  margin-bottom: 1em;
}


@media screen and (min-width: 1280px) {
  .sidenote {
    position: absolute;
    left: 750px;
    max-width: 300px;  
    margin-top: -10em;
  }
  p.sidenote:before {
    content: "▂";
    display: block;
    margin-left: 0;
    padding-left: 0;
  }

}
@media screen and (max-width: 1279px) {
  .sidenote {
    margin-top: 3em;
    margin-bottom: 3em;
    margin-left: 0px;
    border-left: 1px solid #666;
    border-right: 1px solid #666;
    padding-left: 1em;
    padding-right: 1em;
    border-radius: 5px;
    text-align: right;
  }


}

.navlink .icon {
  display: inline-block;
  margin-left: 5px;
  border-radius: 3px;
  /* border: 1px solid #f83179; */
  color: #f83179;
  /* background-color: #f83179; */
  /* opacity: 0.7; */
  font-size: 15px;
  position: relative;
  top: -1px;
  width: 1.3em;
  text-align: center;
  padding-top: 2px;
  padding-bottom: 2px;
}

.navlink .light {
  color: #ccc;

}

a.navlink:hover .icon {
  color: #f83179;
  /* color: white; */
}

a.navlink:hover {
  text-decoration: none;
}

aside div.navlinks {
  text-align: right;
  vertical-align: middle;
  font-size: 15px;
  padding-right: 10px;
  padding-left: 10px;
}

.navbar {
  text-align:right;
  margin-top: 20px;
  margin-bottom: 40px;
}

a.navlink {
  /* text-transform: uppercase; */
  font-family: 'Poppins', sans-serif;
  display: block;
}

.navbar a.navlink {
  display: inline-block;
}

@media screen and (min-width: 900px) {
  aside {
    width: 25%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* border-right: #eeeeee 1px solid; */
  }
  aside div#aside {
    text-align: right;
    /* padding-top: 0px; */
  }
  a.navlink {
    margin: 0.5em 0px;
  }

  main {
    width: 75%;
    position: relative;
    top: 0;
    left: 25%;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  main article {
    max-width: 640px;
  }
  main header {
    border-top: 0;
  }

  aside div.article_meta {
    /* padding-bottom: 10px; */
    margin-bottom: 80px;
    /* border-bottom: 1px solid #CCC; */
  }
  aside div.navlinks {
    /* background-color: #F0F0F0; */
    padding-right: 10px;
    /* border-left: 30px solid #999; */
    margin-top: 10px;
    /* border-top: 1px solid #999; */
  }

}


@media screen and (max-width: 899px) {
  aside div#aside {
    padding-left: 40px;
  }
  aside img#logo {
    display: none;
  }
  div#bottom_bar {
    border: 0;
    border-top: 1px solid #ccc;
    bottom: 0;
  }

  div.article_text {
    margin-top: 20px;
    /* border-top: 2px dotted #999; */
  }
  main article {
    padding-top: 5px;
  }
  div.page-description {
    margin-bottom: 40px;
  }
  aside div.article_meta {
    text-align: right;
  }
  aside div.navlinks {
    /* background-color: #F0F0F0; */
    padding-right: 10px;
    border-right: 30px solid #F0F0F0;
    margin-top: 10px;
  }
  a.navlink {
    font-size: 0.9em;
  }

  main article div.article_bar {
    display: block;
    height: 5px;
    width: 40px;
    background-color: #333;
    margin-top: 25px;
  }
  /* main article div.article_text blockquote { */
  /*   padding: 0px 0px 0px 20px; */
  /*   margin-top: 30px; */
  /*   margin-bottom: 30px; */
  /*   margin-left: -40px; */
  /*   border-left: 20px solid #F0F0F0; */
  /* } */

}

.article_embed {
  clear: both;
  /* box-shadow: 0 0 2px #999; */
  /* padding-left: 1.75em; */
  margin-left: 2em;
  list-style-type: circle;
  display:list-item;
  
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  max-width: 400px;
  line-height: normal;
}

.article_embed a.navlink {
  /* font-family: 'Fredericka the Great', serif; */
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 0;
  padding-bottom: 0;
  text-transform: none;
  /* font-size: 18px; */
}