/* RESET START */

/* 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, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ul {
	list-style: disc;
    margin: 0;
    padding: 0
}
li {
  margin: 0;
  padding: 0}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
table {
	border-spacing: 0;
}

/* RESET END */


/* Overrides */

html {
    height: 100%;
}

body {
    margin: 0;
    background-color: #F9F9F9;
    height: 100%;
}

.container {
    min-height: 100%;
    position: relative;
}

.topbar {
    position:fixed;
    background-color: #F0F0F0;
    padding: 2px 0 2px 0;
    color: #919191;
    width: 100%;
    z-index: 10;
    font: 400 13pt/1.2 -apple-system, 'Avenir', 'Segoe UI', sans-serif;
    height: 1.5em;
    border-color: #777777;
    border-style: solid;
    border-width: 0 0 2px 0;
}

.topcontent {
    padding-top: 0.2em;
    margin-left: auto;
    margin-right:auto;
    text-align: center;
}

.topcontent table {
    width: 100%;
    padding: 0 1em 0 1em;
}

.topcontent a {
    color: #0000ee;
}

.nav {
}

.nav_mobile {
    display: none
}

.body {
    padding: 2.5em 0 2.5em 0;
    font: 400 13pt/1.3 -apple-system, 'Avenir', 'Segoe UI', sans-serif;
    max-width: 45rem;
    margin: auto auto auto auto;
    text-align: justify;
}

.bottombar {
    position: absolute;
    bottom: 0;
    background-color: #F0F0F0;
    padding: 2px 0 2px 0;
    color: #919191;
    width: 100%;
    font: 400 13pt/1.2 -apple-system, 'Avenir', 'Segoe UI', sans-serif;
    height: 1.5em;
    border-color: #777777;
    border-style: solid;
    border-width: 2px 0 0 0;
}

.bottomcontent {
    padding-top: 0.2em;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.bottomcontent a {
    color: #0000ee;
}

.bottomcontent table {
    width: 100%;
    padding: 0 1em 0 1em;
}

#title {
    margin: .5em 0 .5em 0;
    padding: 0;
    text-align: center
}

h1 {
    font: 700 30pt/1.2 -apple-system, 'Avenir', 'Segoe UI', sans-serif;
    text-align: center;
    color: #222;
    text-align: left;
}

h2 {
    font: 700 22pt/1.2 -apple-system, 'Avenir', 'Segoe UI', sans-serif;
    margin: 1.7em 0 0.3em 1em;
    color: #222;
    text-align: left;
}

h3 {
    font: 400 20pt/1.2 -apple-system, 'Avenir', 'Segoe UI', sans-serif;
    margin: 1.5em 0 .3em 1em;
    color: #222;
    text-align: left;
}

h4 {
    font: 400 18pt/1.2 -apple-system, 'Avenir', 'Segoe UI', sans-serif;
    margin: 1.5em 0 2px 1em;
    color: #222;
    text-align: left;
}

h5 {
    font: 400 16pt/1.2 -apple-system, 'Avenir', 'Segoe UI', sans-serif;
    margin: 1.5em 0 0px 1em;
    color: #222;
    text-align: left;
}

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

ul {
    margin: .4em 0 .4em 2em;
    padding: 0
}

ul ul {
    margin: 0 0 0 1em;
    padding: 0
}

ol {
    margin: .5em 0 .5em 2em;
    padding: 0
}

ol ol {
    margin: 0 0 0 1em;
    padding: 0
}

p {
    margin-top: .8em
}

pre {
    background-color: #EEEEEE;
    border: .2ch solid #CCCCCC;
    border-radius: .5ch;
    margin: 1.3ch .6ch 1.3ch .6ch;
    padding: .4ch .4ch .4ch .5ch;
    font: 400 100%/1.1 'Liberation Mono', 'Consolas', 'Lucida Console', monospace;
    overflow-x: auto;
}

.pre-count {
    margin: .8em 0 .8em 1em;
    font: 400 100%/1.1 'Liberation Mono', 'Consolas', 'Lucida Console', monospace;
    counter-reset: line
}

.pre-count span:before {
display: inline-block;
    background-color: #f9f9f9;
    border-right: 1px solid;
    content: counter(line);
    width: 1.5em;
    padding-right: .2em;
    margin-right: -1em;
    text-align: right;
    color: #AAAAAA;
    -webkit-user-select: none;
}

.pre-count span {
    padding-right: 2em;
    counter-increment: line
}

blockquote {
    margin: .7em 2em .7em 2em;
    font-style: italic
}

b {
    font-weight: bold
}

em {
    font-style: oblique
}

i {
    font-style: oblique
}

sub {
    font-size: 70%
}

code {
    font: 400 100%/1.2 'Liberation Mono', 'Consolas', 'Lucida Console', monospace;
}

table.booktabs {
  border-collapse: collapse;
  border: 2px solid black;
  border-width: 2px 0 2px 0;
  text-align: left;
  margin: 2ch auto 2ch auto;
}

table.booktabs th, td {
  line-height: 1.4;
  padding-right: 12px;
}

table.booktabs th:first-child, td:first-child {
  padding-left: 5px;
}

table.booktabs th:last-child, td:last-child {
  padding-right: 5px;
}

table.booktabs th:not(:empty) {
  border-bottom: 1px solid black;
  font-weight: 800;
}

table.booktabs thead:first-child th {
  text-align: center;
}

table.booktabs tbody tr td:last-child {
  text-align: right;
}

.filelink {
    padding-left: 5px;
    padding-right: 5px;
    margin-right: 10px;
    font-size: 10pt;
    background-color: #EEEEEE;
    border: 1px solid;
}

.filelink:hover {
    background-color: #CCCCCC;
    border: 1px solid #000;
    text-decoration: none;
}

@media only screen and (max-device-width: 768px) {
    h1 {
        font-size: 25pt
    }

    h1, h2, h3, h4, h5 {
        margin: 2em 0 0.3em 0;
        text-align: center;
    }

    .body {
        padding: 2.5em .6em 2.5em .6em
    }

    .nav {
        display: none;
    }

    .nav_mobile {
        display: inline-block;
    }

    .nav_mobile button {
        font-size: 1.5ch;
        background-color: #00000000;
        padding: 0;
        margin: 0;
        border: none;
        outline: none;
    }

    .navdrop {
      float: left;
      overflow: hidden;
    }

    .navdrop_links {
      display: none;
      position: absolute;
      z-index: 1;
      background-color: #F9F9F9;
      box-shadow: 0px 12px 20px 0px rgba(0,0,0,0.4);
    }

    .navdrop_links a {
      float: none;
      color: black;
      padding: 3px 12px 3px 12px;
      text-decoration: none;
      display: block;
      text-align: left;
    }

    .navdrop a:hover, .dropdown:hover .dropbtn {
      background-color: #E9E9E9;
    }

    .navdrop:hover .navdrop_links {
      display: block;
    }
}


#title-rss {
    text-align: center;
    margin: 0 0 20px 0;
    font: 400 13pt/1 -apple-system, 'Avenir', 'Segoe UI', sans-serif;
    color: #333;
}

#article-table {
    width: 70em;
    table-layout: fixed
}

#article-audio {
    display: flex;
    justify-content: center;
    align-items: center;
}

#article-audio-download {
    text-align: center;
    padding-bottom: 1em
}

#article-body {
    position: relative;
    margin: 0 auto 0 auto;
    width: 40rem;
    vertical-align: top;
    text-align: justify;
    font: 400 13pt/1.4 -apple-system, 'Avenir', 'Segoe UI', sans-serif;
    color: #333;
}

#article-other-blogs {
    float: right;
    width: 13em;
    margin-right: -13em;
    vertical-align: top;
    text-align: left;
    padding-left: 3em;
    font: 400 10pt/1.4 -apple-system, 'Avenir', 'Segoe UI', sans-serif;
    color: #333;
}

#article-title {
    padding: 0;
    margin: .5em 0 0 0;
    text-align: center
}

#article-date {
    text-align: center;
    padding: 0 0 1em 0;
    margin: 0
}

#article-other-blogs table tbody tr td {
    padding-left: 10px;
}

#article-other-blogs h4 {
    margin: 0
}

#comments {
    font-size: 90%;
}

#comment-form {
    display: inline;
}

#comment-form input {
    font-size: 90%
}

#comment-form textarea {
    font-size: 90%
}

#comment-form label {display: inline-block;}

#user-comments {
    display: flex;
    max-width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
}

#user-comments object {
    flex-grow: 1;
    height: 100%;
}

.comment {
    border-radius: 8px
}

.comment-name {
    padding: 6px
}

.comment-body {
    padding: 4px 6px 6px 6px
}

.footnote_pu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: .4em .4em .4em .4em;
    margin: 1.2em 2.7em 0 2.7em;
    border-style: solid;
    border-color: black;
    border-width: 2px;
    z-index: 10;
    text-decoration: none;
    background: #DDDDDD;
    color: black
}

.footnote_pu:onclick {
    display: block
}

.footnote_close {
    text-align: right;
    font-size: 18pt;
    padding-bottom: 5pt
}

.footnote_close_icon:hover {
    cursor: pointer;
    cursor: hand
}

.footnote_image {
    max-width: 100%
}

@media only screen and (max-device-width: 768px) {
    #article-other-blogs {
        display: none
    }
    #article-body {
        width: 100%
    }
    #article-body h3 {
        margin-left: 0em;
    }
    #article-body img {
       width: 100%
    }
    #article-body object {
        width: 100%
    }
    #comment-form textarea {
        width: 100%
    }
    #comment-form input {
        width: 50%
    }
}

