html {
    font-family: "DejaVu Sans", "Bitstream Vera Sans", sans-serif;
    font-size: 10pt;
    line-height: 16pt;
}

body {
    display: flex;
    flex-direction: row;
    align-items: first baseline;
    justify-content: center;
    gap: 2em;
}

main {
    width: 100%;
    max-width: 48em;
    min-width: 20em;
    padding-bottom: 3em;
    order: 0;
}

nav {
    width: 15em;
    max-width: 24em;
    order: -1;
}

details.nav {
    display: contents;
}
details.nav summary {
    font-size: 1.6em;
    display: none;
    margin-top: 1em;
    margin-bottom: 0;
}

aside {
    max-width: 24em;
    min-width: 10em;
    order: 1;
}

img {
    max-width: 100%;
}

.plaatje {
    margin-top: 1.4em;
    margin-bottom: 1.4em;
}

.valign-top {
    vertical-align: top;
}

aside p {
    font-style: italic;
    hyphens: auto;
}

p {
    margin: 0;
}

article p + p, aside p + p {
    text-indent: 2em;
    margin-top: 0;
}

article p, article li, blockquote {
    text-align: justify;
    hyphens: auto;
}

.parskips p, .smallskip {
    margin-top: 1em;
}

.bigskip, p.asterism, p.asterism + p, dt, .bigskips p {
    margin-top: 1.4em;
    text-indent: 0;
}

h1 + p, h2 + p, h3 + p, h4 + p {
    text-indent: 0;
}

.noindent, .pubdate + p, .plaatje + p { text-indent: 0; }
.rm { font-style: normal; }
.it, .pubdate { font-style: italic; }

.middle, p.asterism, .plaatje {
    text-indent: 0;
    text-align: center;
}

.right { text-align: right; }

p.asterism::after {
    content: "* * *";
}

.emright, .emsurround {
    padding-right: 1em;
}
.emleft, .emsurround {
    padding-left: 1em;
}
.inspring {
    padding-left: 2em;
}

p.asterism + article {
    margin-top: 1.5em;
}

h1, h2, h3, h4, details.nav summary {
    line-height: 1.2;
    font-weight: bold;
}

h1, h2.h1 {
    font-size: 1.5em;
    margin-top: .8em;
    margin-bottom: .8em;
}

h2 {
    font-size: 1.2em;
    margin-top: 1em;
    margin-bottom: 1em;
}

h3 {
    font-size: 1em;
    margin-top: 1.5em;
    margin-bottom: .5em;
    font-weight: normal;
    font-style: italic;
}

article + article {
    margin-top: 3em;
}

main.parallel {
    max-width: 80em;
    display: flex;
    flex-direction: row;
    align-items: first baseline;
    gap: 1em;
}

main.parallel article + article {
    margin-top: unset;
}

ol ul {
    list-style-type: disc;
}

ol ol, ol.latin {
    list-style-type: lower-latin;
}

ol, ul {
    padding-inline-start: 2em;
}

dt, .strong {
    font-weight: bold;
}

@media print {
    nav, aside, .verselinks { display: none; }
    body { max-width: 72em; }
}
.verse p {
    margin-top: 1.6em;
    margin-left: 2.5em;
    text-indent: -2.5em !important;
}
.verseno {
    display: inline-block;
    width: 2.5em;
    text-indent: 0;
}
.verse + p.asterism {
    text-align: left;
    text-indent: 2.5em;
}
.verselinks {
    float: right;
    visibility: hidden;
    font-weight: normal;
}
.verse:hover .verselinks {
    visibility: visible;
}
p.extra {
    font-style: italic;
    text-indent: 0;
    margin-top: 1.2em;
    margin-bottom: -0.6em;
}

@font-face {
    font-family: "etbb-woff";
    src: url(fonts/ETbb-Regular.woff);
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "etbb-woff";
    src: url(fonts/ETbb-Bold.woff);
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: "etbb-woff";
    src: url(fonts/ETbb-Italic.woff);
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: "etbb-woff";
    src: url(fonts/ETbb-BoldItalic.woff);
    font-weight: bold;
    font-style: italic;
}
.bembo p {
    font-family: "ETbb", "etbb-woff", "Bembo", "Cardo", "Minion", "Palatino", serif;
    font-size: 13pt;
}

table {
    margin-top: 1em;
}
th, td {
    vertical-align: top;
    text-align: left;
    margin: 0;
}
th + th, td + td {
    padding-left: 3em;
}

.pubdate {
    margin-top: -1em;
    margin-bottom: 1em;
	text-align: right
}

@media only screen and (max-width: 50em) {
    body { flex-direction: column; }
    aside { order: -1; width: unset; max-width: 40em; }
    main.parallel { gap: 3em; flex-direction: column; }
    details.nav { display: revert; }
    details.nav summary { display: revert; }
}

@media (prefers-color-scheme: dark) {
    body { background: #010101; color: white; }
    a { color: lightblue; }
    img.bw { filter: invert(1); }
}


