/* Stockholm extension, https://github.com/annaesvensson/yellow-stockholm */

/* Colors and fonts */

:root {
    --bg: #fff;
    --code-bg: #f7f7f7;
    --notice1-bg: #fffbf0;
    --notice2-bg: #fdf0f0;
    --notice3-bg: #f0f8fe;
    --heading: #404040;
    --text: #404040;
    --code: #404040;
/*     --link: #07d; */
    --link: #8b0000;
/*     --link-active: #29f; */
    --link-active: #aa0000;
/*     --blockquote-accent: #29f; */
    --blockquote-accent: #8b0000;
    --notice1-accent: #fb0;
    --notice2-accent: #d00;
    --notice3-accent: #08e;
    --separator: #ddd;
    --border: #bbb;
    /*  UTI: */
/*     --font: "Open Sans", Helvetica, sans-serif; */
/*     --font: LibreBaskerville, serif; */
    --font: NotoSerif, serif;
    --font-serif: NotoSerif, serif;
    --font-sans: NotoSans, sans-serif;
    --monospace-font: Consolas, Menlo, Courier, monospace;
}

@font-face {
    font-family: "NotoSerif";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(NotoSerif.woff) format("woff");
}
@font-face {
    font-family: "NotoSerif";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(NotoSerif-Bold.woff) format("woff");
}
@font-face {
    font-family: "NotoSerif";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(NotoSerif-Italic.woff) format("woff");
}
@font-face {
    font-family: "NotoSans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(NotoSans.woff) format("woff");
}



/* General */

html, body, div, form, pre, span, tr, th, td, img {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}
body {
    margin: 1em;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1em;
    font-weight: 300;
    line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
    font-weight: 500;
}
h1 {
    font-size: 1.3em;
/* UTI: change h1 color*/
/*     color: #404040; */
}
h2 {
    font-size: 1.15em;
    text-transform: uppercase;
}
h3 {
    font-size: 1em;
    text-transform: uppercase;
}

h4 {
    font-weight: bold;
}
.footnotes {
    font-size: 0.88em;
    font-family: var(--font-sans);
    color: #999;
    padding: 0;
/*     max-width: 720px; */
    margin-top: -0.9em;
    margin-bottom: 1em;
}
p {
        text-align: justify;
    text-justify: inter-word;
}

/* UTI: */
.blogtags ul {
    margin: 0 0 0 0;
    font-style: normal;
    padding-left: 0 !important;
    text-align: center;
}

hr {
    height: 1px;
    background: var(--separator);
    border: 0;
}
strong {
    font-weight: 700;
}
code {
    font-size: 1.1em;
}
a {
    color: var(--link);
    text-decoration: none;
}
a:hover {
    color: var(--link);
    text-decoration: underline;
}
ul {
    list-style-type: none;
    padding-left: 1em;
    font-style: normal !important;
}


/* Content */

/* UTI: added .entry-meta */
.entry-meta {
    line-height: 0.001em;
    display: none;
}

.entry-title {
    text-transform: uppercase;

}

.entry {
    margin: 3em 0 6em 0;
    text-align: justify;
    text-justify: inter-word;
}

/*  */
/* .content h1 a { */
/*     color: #aa0000 !important; */
/* } */
p {
    margin: 0 0 1em 0;
}
/* UTI: margin from 1em -> 0.1em */
.content h1 {
    margin: 1em 0 0.5em 0;
}
.content h1 a {
    color: var(--heading);
}
.content h1 a:hover {
    color: var(--heading);
    text-decoration: none;
}

.content img {
    max-width: 100%;
    height: auto;
    padding-bottom: 5px;
}
.content form {
    margin: 1em 0;
}
.content table {
    border-spacing: 0;
    border-collapse: collapse;
}
.content th {
    text-align: left;
    padding: 0.3em;
    border-bottom: 1px solid var(--separator);
}
.content td {
    text-align: left;
    padding: 0.3em;
    padding-right: 2em;
}
.content code,
.content pre {
    font-family: var(--monospace-font);
    font-size: 90%;
}
.content code {
    padding: 0.15em 0.4em;
    margin: 0;
    background-color: var(--code-bg);
    color: var(--code);
    border-radius: 3px;
}
.content pre > code {
    padding: 0;
    margin: 0;
    white-space: pre;
    background: transparent;
    border: 0;
    font-size: inherit;
}
.content pre {
    padding: 1em;
    overflow: auto;
    line-height: 1.45;
    background-color: var(--code-bg);
    color: var(--code);
    border-radius: 3px;
}
.content blockquote {
     margin-left: 0em;
    margin-right: 1em;
   color: #8b0000;
     padding-left: 1em;
/*    font-style: italic; */
/*     font-size: 1em; */
/*      border-left: 1px solid var(--blockquote-accent); */
}
.content .notice1 {
    margin: 1em 0;
    padding: 10px 1em;
    background-color: var(--notice1-bg);
    border-left: 10px solid var(--notice1-accent);
}
.content .notice2 {
    margin: 1em 0;
    padding: 10px 1em;
    background-color: var(--notice2-bg);
    border-left: 10px solid var(--notice2-accent);
}
.content .notice3,
.content .notice4,
.content .notice5,
.content .notice6 {
    margin: 1em 0;
    padding: 10px 1em;
    background-color: var(--notice3-bg);
    border-left: 10px solid var(--notice3-accent);
}
.content .flexible {
    position: relative;
    padding-top: 0;
    padding-bottom: 56.25%;
}
.content .flexible iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.content .task-list-item {
    list-style-type: none;
}
.content .task-list-item input {
    margin: 0 0.2em 0.25em -1.75em;
    vertical-align: middle;
}
.content .toc {
    margin: 0;
    padding: 0;
    list-style: none;
}
.content .wikipages ul,
.content .wikitags ul,
.content .wikilinks ul {
    padding: 0;
    list-style: none;
    column-width: 19em;
}
.content .previousnext .previous {
    margin-right: 1em;
}
.content .pagination .previous {
    margin-right: 1em;
}
.content .pagination {
    margin: 1em 0;
}
.content .left {
    float: left;
    margin: 0 1em 0 0;
}
.content .center {
    display: block;
    margin: 0 auto;
}
.content .right {
    float: right;
    margin: 0 0 0 1em;
}
.content .rounded {
    border-radius: 4px;
}

/* Header */

.header {
    margin: 2em 0;
}
.header .sitename {
    display: block;
    float: left;
}
.header .sitename h1 {
    margin: 0;
    font-size: 1.111em;
    font-weight: 400;
    text-transform: uppercase;
}
.header .sitename h1 a {
    color: var(--link);
    border-bottom: solid 3px var(--bg);
    text-decoration: none;
    padding: 0.5em 0;
}
.header .sitename h1 a:hover {
    color: var(--link);
    border-bottom: solid 3px var(--link-active);
}
.header .sitename p {
    margin-top: 0;
    color: var(--link   );
}

/* Navigation */

.navigation {
    display: block;
    float: right;
}
.navigation a {
    color: var(--text);
    border-bottom: solid 3px var(--bg);
    text-decoration: none;
    padding: 0.5em 0;
    margin: 0 0.5em;
}
.navigation a:hover {
    color: var(--link);
    border-bottom: solid 3px var(--link-active);
}
.navigation ul {
    margin: 0 -0.5em;
    padding: 0;
    list-style: none;
    font-style: normal;
}
.navigation li {
    display: inline;
}
.navigation li a.active {
    border-bottom: solid 3px var(--link-active);
}
.navigation-banner {
    clear: both;
}

/* Footer */

.footer {
    margin: 2em 0;
}
.footer .siteinfo a {
    color: var(--link);
}
.footer .siteinfo a:hover {
    color: var(--link);
    text-decoration: underline;
}

/* Forms and buttons */

.form-control {
    margin: 0;
    padding: 2px 4px;
    display: inline-block;
    min-width: 7em;
    background-color: var(--bg);
    color: var(--text);
    background-image: linear-gradient(to bottom, var(--bg), var(--bg));
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.9em;
    font-family: inherit;
    font-weight: normal;
    line-height: normal;
}
.btn {
    margin: 0;
    padding: 4px 22px;
    display: inline-block;
    min-width: 7em;
    background-color: #eaeaea;
    color: #333333;
    background-image: linear-gradient(to bottom, #f8f8f8, #e1e1e1);
    border: 1px solid var(--border);
    border-color: #c1c1c1 #c1c1c1 #aaaaaa;
    border-radius: 4px;
    outline-offset: -2px;
    font-size: 0.9em;
    font-family: inherit;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}
.btn:hover,
.btn:focus,
.btn:active {
    color: #333333;
    background-image: none;
    text-decoration: none;
}
.btn:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive and print */

.page {
    margin: 0 auto;
    max-width: 1000px;
}

@media screen and (min-width: 62em) {
    body {
        width: 44em;
        margin: 1em auto;
    }
    .page {
        margin: 0;
        max-width: none;
    }
}
@media screen and (max-width: 32em) {
    body {
        margin: 0.5em;
        font-size: 0.9em;
    }
    .content h1,
    .content h2 {
        font-size: 1.5em;
    }
}
@media print {
    .page {
        border: none !important;
    }
}

