html {
    background-color: #fefefe
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #454545;
    font-size: 16px;
    margin: 48px auto;
    max-width: 800px;
    line-height: 1.6;
    text-align: justify
}

@media screen and (max-width:832px) {
    body {
        padding: 16px
    }
}

p {
    text-indent: 5ch;
}

html.serif body {
    font-family: 'Cormorant Garamond', serif;
    font-size: 19.1px;
    line-height: 1.28;
}

html.serif div#serif {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

html.contrast body {
    color: #050505
}

html.contrast a {
    color: #0051c9
}

html.contrast a:visited {
    color: #7d013e
}

html.inverted {
    background-color: #010101
}

html.inverted body {
    color: #bababa
}

html.inverted div#contrast,
html.inverted div#invmode,
html.inverted div#serif {
    color: #fff;
    background-color: #000
}

html.inverted a {
    color: #07a
}

html.inverted a:visited {
    color: #ac5a82
}

html.inverted.contrast {
    background-color: #010101
}

html.inverted.contrast body {
    color: #fff
}

html.inverted.contrast div#contrast,
html.inverted.contrast div#invmode,
html.inverted.contrast div#serif {
    color: #fff;
    background-color: #000
}


html.inverted.contrast a {
    color: #07a
}

html.inverted.contrast a:visited {
    color: #ac5a82
}

a {
    color: #07a
}

a:visited {
    color: #941352
}

a.notyet {
    opacity: 35%;
    cursor: not-allowed
}

div#contrast {
    color: #000;
    top: 10px
}

div#serif {
    color: #000;
    top: 32px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 19.1px;
    line-height: 1.28;
}

div#contrast,
div#invmode,
div#serif,
div#namesbold,
div#md {
    cursor: pointer;
    position: fixed;
    right: 10px;
    text-decoration: underline;
    text-decoration-style: dotted;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

div#invmode {
    color: #fff;
    background-color: #000;
    top: 56px;
    padding: 2px 5px
}

div#namesbold {
    display: none;
}

div#md {
    bottom: 10px;
}

html span.n {
    font-weight: bold
}

html.no-bold span.n {
    font-weight: unset;
}

html.inverted img.bw{
    filter: invert(1);
}

div#md img {
    height: 16px
}

@media screen and (max-width:1200px) {
    div#contrast,
    div#invmode,
    div#serif {
        position: absolute;
    }
    div#md {
        position: unset;
        margin-right: 10px;
        float: right
    }
}
