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

/* Colors and fonts */

:root {
    --bg: rgb(249, 253, 246);
    --code-bg: hsl(0, 0%, 97%);
    --notice1-bg: #fffbf0;
    --notice2-bg: #fdf0f0;
    --notice3-bg: #f0f8fe;
    --text: rgb(0, 0, 0);
    --nav-text: #000000;
    --code: #666;
    --link: #d00;
    /* --link: rgb(160, 59, 255); */
    --link-active: #d00;
    ;
    --hover-title: #d00;
    --blockquote-accent: rgb(248, 34, 255);
    --notice1-accent: #fb0;
    --notice2-accent: #d00;
    --notice3-accent: #08e;
    --separator: rgb(158, 179, 138);
    --border: #bbb;
    /* --font: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Social */
    --font: 'Stylish', Stylish;
    /* --monospace-font: Consolas, Menlo, Courier, monospace; */
}

.stylish-regular {
    font-family: "Stylish", serif;
    font-weight: 400;
    font-style: normal;
}


/* @font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(stockholm-opensans-regular.woff) format("woff");
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(stockholm-opensans-bold.woff) format("woff");
} */

/* General */

/* smooth scrolling */
html {
    scroll-behavior: smooth;
    cursor: none;
}

html,
body,
div,
form,
pre,
span,
tr,
th,
td,
img {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

body {
    margin: 0 2em;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1em;
    font-weight: 300;
    line-height: 1.5;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    word-wrap: break-word;

}



body::-webkit-scrollbar {
    display: none;
}

.trail {
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    font-size: 50px;
    animation: fadeOut 0.9s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 0.15;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading);
    font-weight: 400;
}

h1 {
    font-size: 2em;
}

hr {
    height: 1px;
    background: var(--separator);
    border: 0;
}

strong {
    font-weight: bold;
}

code {
    font-size: 1.1em;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    color: var(--link);
    text-decoration: underline;
    cursor: none;
}

/* Content */

.content {
    font-family: var(--font);
    /* padding-top: 6em; //content spacing tot boven */
}

.content h1 {
    margin: 1em 0;
}

.content h1 a {
    color: var(--text);
}

.content h1 a:hover {
    color: var(--text);
    text-decoration: none;
}

.content img {
    max-width: 100%;
    height: auto;
}

.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: 0;
    padding-left: 1em;
    font-weight: bold;
    border-left: 3px 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;
}

/* Honepage */

.centered {
    display: flex;
    align-items: center;
    height: auto;
    /* border: 2px solid #006100;  */
    font-family: var(--font);
}

.centered-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: auto;
    grid-column-gap: 20px;
    font-family: var(--font);
    /* border: 2px solid #006100;  */
}



/* Horizontal rule */

hr {
    background-color: (--text);
}

/* Header */

.header {
    margin: auto;
    position: absolute;
}


/* Agenda dropdown */
#entry-form {
    position: relative;
    display: inline-block;
    border: 1px solid var(--text);
    padding: 5px;
    background-color: var(--bg);
    font-family: var(--font);
}

#entry-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 5px;
    border: none;
    background-color: var(--bg);
    color: var(--text);
    cursor: pointer;
    font-size: inherit;
    font-family: var(--font);
}

#entry-form:hover {
    box-shadow: 3px 3px 5px black;
}

#entry-dropdown option {
    padding: 8px;
}




iframe {
    display: block;
    border: none;
    margin-top: 10px;
    width: 100%;
    left: 0;
    min-height: 70vh;

}


/* agenda frame */

#igenda {
    width: 100vw;
    height: 100vh;
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    z-index: 1;
    z-index: 0;
    padding: 0;
    margin: 0;
    /* border: 1px solid; */
    overflow: hidden;
}

#frameshadow {
    position: absolute;
    left: 0;
    width: 100vw;
    height: 100%;

}

#frameshadow::before {
    /* background-color: rgba(255, 255, 255, .5); */
    content: '';
    position: absolute;
    z-index: 2;
    box-shadow: inset 0px 10px 20px 10px var(--bg);
    ;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}


/* UNICODE SCRIPT */


.unicode {
    display: inline-block;
    text-decoration: none;
    font-size: 1.5em;

}

.unicL {
    display: flex;
    justify-content: left;
    margin-right: 1em;
    /* outline-style: groove;
    outline-color: #111;
    outline-width: 1px;
    background-color: grey; */
}

.unicR {
    /* position: fixed; */
    display: flex;
    justify-content: right;
    margin-left: 1em;
    /* outline-style: groove;
    outline-color: #111;
    outline-width: 1px;
    background-color: grey; */

}


/* Navigation */

#navfix {}

#navcont {

    display: flexbox;
    /* border: 1px solid #000; */
    padding-top: 50px;
    ;
    font-size: 30px;
    width: 100%;
    padding: 3px;
    /* display: flex; */
    /* justify-content: space-between; */
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, var(--bg) 50%, rgba(255, 255, 255, 0) 100%);

}

.navigation {
    /* position: fixed; */
    display: flex;
    justify-content: left;
    /* outline-style: groove; */
    /* outline-color: #111; */
    /* outline-width: 1px; */
    /* background-color: rgb(159, 159, 159); */
    /* box-shadow: inset 0px 0px 5px #000000ae; */

}

/* #navcont {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: space-between;
    align-content: space-between;
    -webkit-align-items: center;
    align-items: center;
} */

.navigation a {
    color: var(--nav-text);
    /* text-shadow: -1px -1px 0px rgba(255, 255, 255, 0.702), 1px 1px 0px rgba(0, 0, 0, 0.8); */
    /* border-bottom: solid 3px var(--bg); */
    text-decoration: none;
    padding: 0.5em 0;
    margin: 0 0.5em;
    font-size: 1.3em;

}

.navigation a:hover {

    /* border-bottom: solid 3px var(--link-active); */
}

.navigation ul {
    margin: 0 -0.5em;
    padding: 0;
    list-style: none;

}

.navigation li {
    display: inline;
}

.navigation li a.active {
    color: var(--link-active);
    text-shadow: 3px 3px 5px var(--separator);
}

.navigation-banner {
    clear: both;
}

/* Footer */

.footer {

    bottom: 0;
    min-height: 2.5em;

    /* 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: 60em;
        margin: 0em auto;
    }

    .content {
        max-width: 60em;
    }

    .page {
        margin: 0;
        max-width: none;
    }


}


@media screen and (max-width: 1000px) {
    body {
        /* margin: 0.5em 1em 1em 0.5em; */
        margin: 0 2em;
        font-size: 0.9em;
    }

    .content h1,
    .content h2 {
        font-size: 1.5em;
    }

    /* #navcont {
        font-size: 20px;
    } */

    .navigation a {
        font-size: 0.9em;

    }

    .content {
        max-width: 90vw;
    }

}

@media screen and (max-width: 650px) {
    body {
        /* margin: 0.5em 1em 1em 0.5em; */
        margin: 0 2em;
        font-size: 0.9em;
    }

    .content h1,
    .content h2 {
        font-size: 1.5em;
    }

    /* #navcont {
        font-size: 20px;
    } */

    .navigation a {
        font-size: 0.6em;

    }

    .navigation {
        line-height: 0.5;
    }

    .content {
        max-width: 90vw;
    }

}

@media screen and (max-width: 450px) {
    body {
        /* margin: 0.5em 1em 1em 0.5em; */
        margin: 0 2em;
        font-size: 0.9em;
    }

    .content h1,
    .content h2 {
        font-size: 1.5em;
    }

    /* #navcont {
        font-size: 20px;
    } */

    .navigation a {
        font-size: 0.5em;

    }

    .navigation {
        line-height: 0;
    }

    .content {
        max-width: 90vw;
    }

}

@media print {
    .page {
        border: none !important;
    }
}