/**********************************************************/
/* https://acorn.firefox.com/latest/styles/color-MZHBVuZc */
/**********************************************************/
:root {
    --fg-primary: #15141a;
    --fg-secondary: #5b5b66;
    --fg-disabled: rgba(21, 20, 26, 0.4);
    --fg-success: #007700;
    --fg-info: #0053cb;
    --fg-warning: #9c5200;
    --fg-critical: #b20037;
    --fg-orange: #9c5200;
    --fg-cyan: #007792;
    --fg-violet: #623ac3;
    --fg-purple: #8627a8;
    --fg-pink: #ad0059;
    --bg-primary: #f9f9fb;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f0f4;
    --bg-success: #e1ffe1;
    --bg-info: #e2f7ff;
    --bg-warning: #fff4d0;
    --bg-critical: #ffe8ea;
    --bg-orange: #fff4d0;
    --bg-cyan: #cfffff;
    --bg-violet: #f4f0ff;
    --bg-purple: #ffecff;
    --bg-pink: #ffe8f4;
    --outline-primary: #15141a;
    --outline-secondary: #5b5b66;
    --outline-success: #007700;
    --outline-info: #0053cb;
    --outline-warning: #9c5200;
    --outline-critical: #b20037;
    --outline-orange: #9c5200;
    --outline-cyan: #007792;
    --outline-violet: #623ac3;
    --outline-purple: #8627a8;
    --outline-pink: #ad0059;
    --link: #0062fa;
    --link-hover: #0053cb;
    --link-active: #0041a4;
    --border: #e0e0e6;
    --nav-height: 80px;
    --box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
@media (prefers-color-scheme: dark) {
    :root {
        --fg-primary: #fbfbfe;
        --fg-secondary: #cfcfd8;
        --fg-disabled: rgba(251, 251, 254, 0.4);
        --fg-success: #b5f0b5;
        --fg-info: #abdfff;
        --fg-warning: #ffe699;
        --fg-critical: #ffc3c9;
        --fg-orange: #ffcd9e;
        --fg-cyan: #a6ecf4;
        --fg-violet: #ddcfff;
        --fg-purple: #f7caff;
        --fg-pink: #ffc2db;
        --bg-primary: #2b2a33;
        --bg-secondary: #42414d;
        --bg-tertiary: #1c1b22;
        --bg-success: #003200;
        --bg-info: #042356;
        --bg-warning: #421b00;
        --bg-critical: #4c0516;
        --bg-orange: #421b00;
        --bg-cyan: #00323d;
        --bg-violet: #281953;
        --bg-purple: #381147;
        --bg-pink: #490624;
        --outline-primary: #f9f9fb;
        --outline-secondary: #bfbfc9;
        --outline-success: #8adf8d;
        --outline-info: #84c6ff;
        --outline-warning: #f5cc58;
        --outline-critical: #ffa0aa;
        --outline-orange: #f5cc58;
        --outline-cyan: #61dce9;
        --outline-violet: #c7b2ff;
        --outline-purple: #eaabff;
        --outline-pink: #ff9fc3;
        --link: #00cadb;
        --link-hover: #61dce9;
        --link-active: #a6ecf4;
    }
}
/************************************/
/* https://github.com/u1ui/norm.css */
/************************************/
:where(html) {
    line-height: 1.1875;
    -webkit-text-size-adjust: none;
    text-size-adjust: none
}
:where(h1) {
    font-size: 2em;
    margin-block: 0.67em
}
:where(dl, ol, ul) :where(dl, ol, ul) {
    margin: 0
}
:where(hr) {
    color: inherit
}
:where(abbr[title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration-thickness: .08em;
    text-underline-offset: 0.1em;
}
:where(b, strong) {
    font-weight: bolder
}
:where(small) {
    font-size: 80%
}
:where(table) {
    border-color: currentColor
}
:where(textarea, button, input, select) {
    margin: 0
}
:where(textarea) {
    baseline-source: first
}
:where(button, input:is([type="button"], [type="reset"], [type="submit"])) {
    -webkit-appearance: button
}
:where([type="search"]) {
    -webkit-appearance: textfield
}
:where(::-webkit-search-decoration) {
    -webkit-appearance: none
}
:where(::placeholder) {
    color: inherit;
    opacity: .54
}
:where(::-webkit-file-upload-button) {
    -webkit-appearance: button;
    font: inherit
}
:where(:-moz-ui-invalid) {
    box-shadow: none
}
:where(summary) {
    display: list-item
}
:where(search) {
    display: block
}
:where([inert]) {
    pointer-events: none;
    cursor: default
}
:where([inert], [inert] *) {
    -webkit-user-select: none;
    user-select: none
}
/******************************************************/
/* based on https://github.com/h5bp/html5-boilerplate */
/******************************************************/
html {
    color: var(--fg-primary);
    font-size: 1em;
    line-height: 1.4;
}
::-moz-selection {
    background: var(--bg-primary);
    text-shadow: none;
}
::selection {
    background: var(--bg-primary);
    text-shadow: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid var(--outline-secondary);
    margin: 1em 0;
    padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    resize: vertical;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}
::after,
::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}
body {
    margin: 0;
    padding-top: 100px;
    font-family: 'Ubuntu', sans-serif;
    background-color: var(--bg-primary);
}
body>header,
body>main,
nav>div {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
a {
    color: var(--link);
    text-decoration: none;
}
/* Navigation */
nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    min-height: 50px;
    margin-bottom: 20px;
    border: solid var(--outline-secondary);
    border-width: 0 0 1px;
    background-color: var(--bg-secondary);
}
button.toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid var(--outline-secondary);
    border-radius: 4px;
}
button.toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: var(--fg-secondary);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
button.toggle .icon-bar+.icon-bar {
    margin-top: 4px;
}
#nav-home>a {
    float: left;
    font-size: 1.125em;
    line-height: 1.25em;
    color: var(--fg-secondary);
    padding: 0;
    height: var(--nav-height);
}
#nav-home>a>img {
    display: block;
}
.collapse {
    display: none;
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid transparent;
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
}
#navbar {
    float: right;
    padding-right: 15px;
    padding-left: 15px;
    border-color: var(--outline-secondary);
}
nav ul {
    list-style: none;
}
nav ul>li {
    position: relative;
    display: block;
}
nav ul>li>a {
    position: relative;
    display: block;
    padding: 10px 15px;
    line-height: 1.25em;
    color: var(--fg-secondary);
}
/* Hide visually and from screen readers */
.hidden,
[hidden] {
    display: none !important;
}
/* Hide only visually, but have it available for screen readers */
.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}
/* Hide visually and from screen readers, but maintain layout */
.invisible {
    visibility: hidden;
}
.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
}
.clearfix::after {
    clear: both;
}
@media only screen and (max-width:768px) {
    /* Navigation */
    button.toggle {
        margin-top: 25px;
    }
    #navbar {
        position: fixed;
        left: 0;
        top: var(--nav-height);
        width: 100%;

        transition: 0.3s;
    }
    #navbar.collapse {
        left: -100%;
    }
    #navbar>ul {
        width: 100%;
        padding: 15px;
        border-radius: 4px;
        box-shadow: var(--box-shadow);
        background-color: var(--bg-primary);
    }
    #nav-home>a>img {
        height: 100%;
        padding: 15px;
        width: auto;
    }
}
@media only screen and (min-width: 768px) {
    body>header,
    body>main,
    nav>div {
        width: 750px
    }
    /* Navigation */
    nav {
        border-radius: 0
    }
    nav #nav-home {
        float: left;
        margin-right: 0;
        margin-left: 0;
    }
    button.toggle {
        display: none
    }
    #nav-home>a {
        margin-left: -15px
    }
    #nav-home>a>img {
        height: 100%;
        padding: 15px;
        width: auto;
    }
    .collapse {
        display: block;
        height: auto;
        max-height: 340px;
        margin-right: 0;
        margin-left: 0;
        padding: 0;
        overflow: visible;
        width: auto;
        border-top: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    nav ul {
        float: left;
        margin: 0;
    }
    #navbar>ul>li {
        float: left
    }
    #navbar>ul>li>a {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    body.template-newsindexpage li#nav-news,
    body.template-articlepage li#nav-news,
    #navbar>ul>li>a:hover,
    #navbar>ul>li>a:focus {
        color: var(--fg-success);
        border-bottom: 5px solid var(--fg-success);
        background-color: inherit;
    }
}
@media only screen and (min-width: 992px) {
    body>header,
    body>main,
    nav>div {
        width: 970px
    }
    /* Navigation */
    /* Prevents vertical stacking of navbar */
    nav {
        font-size: 1.125em
    }
}
@media only screen and (min-width: 1200px) {
    body>header,
    body>main,
    nav>div {
        width: 1170px
    }
}
/* Print styles */
@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]::after {
        content: " (" attr(href) ")";
    }
    abbr[title]::after {
        content: " (" attr(title) ")";
    }
    /* Don't show links that are fragment identifiers, or use the `javascript:` pseudo protocol */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }
    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #000;
        page-break-inside: avoid;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}
