:root {
    color-scheme: light dark;
}

body,
html {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
    line-height: 1.1;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.36rem;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1.1rem;
}

body {
    margin: 0;
    padding: 0;
    background-color: light-dark(#fff, #000);
    color: light-dark(#242121, #cfd1d2);
    font-family:
        Source Sans Pro,
        Roboto,
        Open Sans,
        Liberation Sans,
        DejaVu Sans,
        Verdana,
        Helvetica,
        Arial,
        sans-serif;
    font-size: 1.2em;
    line-height: 1.2;
}

a {
    color: light-dark(#00549f, #8ebae5);
    text-decoration: none;
}

a:hover {
    color: light-dark(#407fb7, #c7ddf2);
}

hr {
    color: #eee;
    background-color: #eee;
    height: 1px;
    border: none;
    margin-top: 10px;
    margin-bottom: 10px;
}

nav > ul > hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

img {
    max-width: 100%;
    aspect-ratio: auto;
}

img.portrait {
    width: 100%;
    aspect-ratio: auto;
    padding-top: 8pt;
    margin: 1%;
}
figure.frontpage {
    aspect-ratio: auto;
    margin: 1%;
}
figure.frontpage > img {
    max-height: 16rem;
}

figure.halfpage {
    width: 49.5%;
    margin-left: 0;
    margin-right: 0;
    display: inline-block;
    vertical-align: top;
}

figure.halfpage > img {
    width: 100%;
}

figcaption {
    font-size: 12pt;
}

aside {
    background-color: #00549f;
    text-align: center;
}

aside,
aside a {
    color: #fff;
}

aside a.thispage {
    font-weight: bold;
}

aside > div > nav > ul > li {
    text-align: left;
}

aside a:hover {
    color: #eee;
}

aside div {
    padding: 20px;
    margin: 0;
}

aside div img {
    max-width: 100%;
}

aside div h1 {
    margin: 15px 0 5px;
}

aside div p {
    margin: 0 0 15px;
    font-size: 1.2rem;
}

aside nav ul li {
    line-height: 1.4rem;
    font-size: 1.4rem;
}

aside nav ul.sublist {
    padding-left: 10px;
    list-style-type: none;
}

aside nav ul.sublist li {
    line-height: 1.3rem;
    font-size: 1.3rem;
}

main nav {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.72rem;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

main .translations a,
main nav a {
    padding: 0 4px;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

main .translations:first-child,
main nav:first-child {
    border-left: none;
}

main .translations:last-child,
main nav:last-child {
    border-right: none;
}

main .neighbors {
    margin: 4% 0;
    height: 20px;
}

main .pagination {
    margin: 4% 8%;
    height: 20px;
}

main article {
    margin: 0 4% 2%;
    font-size: 1rem;
    text-align: justify;
    hyphens: auto;
}

main article header h1,
main article header h2 {
    margin-bottom: 0;
    text-align: left;
}

main article header p {
    color: #999;
    font-size: 0.86rem;
}

main article header .translations {
    float: right;
}

main article header .translations .active {
    font-weight: 600;
}

main article code,
main article kbd,
main article pre,
main article samp {
    font-family:
        Source Code Pro,
        Consolas,
        Liberation Mono,
        DejaVu Sans Mono,
        monospace;
}

main article blockquote,
main article pre {
    background-color: hsla(0, 0%, 50%, 0.05);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: 8px solid hsla(0, 0%, 50%, 0.075);
    border-left-width: 10px;
}

main article blockquote {
    padding: 10px 20px;
    font-weight: 300;
    font-size: 1.1rem;
}

main article pre {
    padding: 4px;
    font-size: 0.9rem;
    overflow-x: auto;
}

main article samp {
    white-space: pre;
    display: block;
    overflow-x: auto;
}

main article kbd {
    padding: 0.1rem 0.6rem;
    border: 1px solid rgba(63, 63, 63, 0.25);
    box-shadow: 0 1px 0 rgba(63, 63, 63, 0.25);
    background-color: #fff;
    color: #00549f;
    border-radius: 3px;
    display: inline-block;
    margin: 0 0.1rem;
    white-space: nowrap;
    font-size: 0.78rem;
}

main article:not(pre) > code {
    font-size: 0.8rem;
    white-space: nowrap;
    color: #c25;
    padding: 1px 3px;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    border-radius: 3px;
}

main article table {
    border-collapse: collapse;
    border-spacing: 0;
}

main article table thead:first-child tr:first-child th {
    border-top: 0;
}

main article table td,
main article table th {
    padding: 8px;
    line-height: 20px;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

main article div.middle p {
    margin-top: 2pt;
    margin-bottom: 2pt;
}

main footer {
    padding-top: 4px;
    border-top: 1px solid #eee;
}

main footer p {
    margin: 2px;
    text-align: center;
    padding: 0 40px;
    color: #999;
    font-size: 11px;
}

a.btn {
    background-color: #8ebae5;
    padding: 0.6rem;
    font-size: 0.8rem;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

a.btn:hover {
    background-color: #407fb7;
}

.center,
.text-center {
    text-align: center;
}

.align-center,
.img-center {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.img-banner {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 800px;
    max-width: 100%;
}
figure.img-banner > img {
    width: 100%;
}

.img-halfbanner {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 50%;
    max-width: 100%;
}
figure.img-halfbanner > img {
    width: 100%;
}

.img-thirdbanner {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 33%;
    max-width: 100%;
}
figure.img-thirdbanner > img {
    width: 100%;
}

.img-slideshow {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
    max-width: 100%;
    height: 100%;
    display: none;
}

figure.img-slideshow > img {
    object-fit: contain;
}

div.slideshow-container {
    width: 800px;
    max-width: 100%;
    height: 600px;
    margin-left: auto;
    margin-right: auto;
}
div.slideshow-button-container {
    width: 800px;
    max-width: 100%;
    height: 2pc;
    margin-left: auto;
    margin-right: auto;
}

button.btn-right {
    float: right;
}

button.slideshow-button {
    color: #ffffff;
    background-color: #00549f;
    font-size: 14pt;
    border: none;
    border-radius: 3pt;
    padding: 1ex;
    transition-duration: 0.25s;
}
button.slideshow-button:hover {
    background-color: #407fb7;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

div.related-posts {
    margin: 15px 0;
    padding-bottom: 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

div.related-posts h4 {
    margin: 20px 0 25px;
}

div.related-posts ul {
    font-size: 1.1rem;
    padding-left: 12px;
}

div.related-posts ul li {
    padding: 4px 0;
}

ul.list,
ul.related-posts,
ul.social {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.list {
    padding: 10px 0;
}

ul.list li {
    padding: 4px;
}

ul.list li.menu-title {
    font-weight: bold;
}

img.wrapimg {
    display: block;
    margin: 10px auto;
}
img.wrapimg-large {
    display: block;
    margin: 10px auto;
    width: 25%;
}

@media screen and (min-width: 1200px) {
    h1 {
        font-size: 3.2rem;
    }
    h2 {
        font-size: 2.8rem;
    }
    h3 {
        font-size: 2.1rem;
    }
    main {
        font-size: 1.1rem;
    }
    main article {
        font-size: 1.32rem;
        max-width: 65rem;
    }
}

aside a#logomobile {
    display: none;
}

@media screen and (max-width: 800px) {
    aside nav,
    aside h2,
    aside h3,
    aside p#langchoice {
        /*display: none;*/
        height: 0pc;
        opacity: 0;
        overflow: hidden;
        margin: 0px;
    }
    aside:focus-within nav,
    aside:focus-within h2,
    aside:focus-within h3,
    aside:focus-within p#langchoice {
        /*display: block;*/
        height: 100%;
        opacity: 100;
    }
    aside a#logomobile {
        display: block;
    }
    aside a#logo {
        display: none;
    }
}

@media screen and (min-width: 800px) and (max-width: 1200px) {
    main article {
        font-size: 1rem;
        max-width: 65rem;
    }
}

@media screen and (min-width: 800px) {
    aside nav ul li {
        line-height: 1.6rem;
        font-size: 1.4rem;
    }
    nav > a#menu {
        display: none;
    }
    aside {
        min-width: 220px;
        width: 22%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        overflow-y: auto;
    }
    aside div {
        padding-top: 18px;
        padding-bottom: 2px;
        padding-left: 18px;
        padding-right: 18px;
    }
    aside div nav ul li {
        padding: 0 !important;
        display: block;
    }
    main {
        width: 75%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 25%;
    }
    main article.single {
        min-height: 80%;
    }
    main article ul.list li {
        padding: 2px;
    }

    img.wrapimg {
        display: inline;
        float: right;
        margin: 0 0 0 20px;
    }
    img.wrapimg-large {
        display: inline;
        float: right;
        margin: 0 0 0 20px;
        min-width: 50%;
    }
}

h2.sitetitle {
    margin-top: 0px;
    margin-bottom: 5px;
}

h3.sitetitle {
    margin-top: 5px;
    margin-bottom: 0px;
}

.fotogalerie {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}

.img_card_h {
    display: inline-block;
    width: 27rem;
    height: 18rem;
    padding: 0.5rem;
}

.img_card_h img {
    box-shadow: 0 0 5px rgba(100, 100, 100, 1);
}

.img_card_v {
    display: inline-block;
    width: 12rem;
    height: 18rem;
    padding: 0.5rem;
}

.img_card_v img {
    box-shadow: 0 0 5px rgba(100, 100, 100, 1);
}

.news_image {
    padding-left: 18px;
}

div.flex-row {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    max-width: 65rem;
    text-align: left;
}
div.flex-row > div > h3 {
    margin: 4pt 0 1pc 0;
}

div.flex-row > div.left {
    flex: 0 1 112px;
    padding-right: 10pt;
}
div.flex-row > div.middle {
    flex: 1 1 40%;
}
div.flex-row > div.right {
    flex: 1 1 20%;
}
div.flex-row > div.p60 {
    flex: 1 1 60%;
}
div.flex-row > div.p50 {
    flex: 1 1 50%;
}
div.flex-row > div.p40 {
    flex: 1 1 40%;
}
div.flex-row > div.p20 {
    flex: 0 0 20%;
}
div.flex-row > div.p33 {
    flex: 0 0 33%;
}
div.flex-row > div.image {
    flex: 1 1 100px;
}
