* {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: sans-serif;
}

/* Body, Wrapper and Content */

body {
    width: 900px;
    margin: 0 auto 0;
}

#content {
    margin-right: 180px;
    padding-right: 2em;
    font-size: 0.9em;
}

a img {
    border: none;
    display: block;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Banner */

#banner {
    border-bottom: 1px solid #000;
}

/* Navigation */

#nav {
    overflow: auto;
    font-size: 1em;
    margin-bottom: 1em;
    border-bottom: 1px solid #000;
}

#nav li {
    float: left;
    padding: 0 1em;
}

#nav a,
#nav strong {
    text-decoration: none;
    color: #000;
    height: 2em;
    line-height: 2em;
    font-weight: 900;
}

#nav strong span,
#nav a:hover span {
    color: #0F65a3;
}

#navMobile {
    display: none;
}

.navClass {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navClass > li {
    margin: 0 1rem;
    overflow: hidden;
}

.nav-button-container {
    display: none;
    height: 100%;
    width: 100vw;
    height: 45px;
    cursor: pointer;
    flex-direction: row;
    justify-content: right;
    align-items: center;
}

#nav-toggle {
    display: none;
}

.nav-button,
.nav-button::before,
.nav-button::after {
    display: inline-block;
    background-color: #0F2543;
    position: absolute;
    height: 6px;
    width: 45px;
    border-radius: 3px;
}

.nav-button::before {
    content: '';
    margin-top: -12px;
}

.nav-button::after {
    content: '';
    margin-top: 12px;
}

#nav-toggle:checked+.nav-button-container .nav-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#nav-toggle:checked+.nav-button-container .nav-button {
    background: rgba(255, 255, 255, 0);
}

#nav-toggle:checked+.nav-button-container .nav-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

/* Right column with sponsors */

#rightColumn {
    float: right;
    display: block;
    overflow: auto;
    width: 180px;
}

#languageChanger {
    padding-bottom: 1em;
}

#languageChanger a {
    text-decoration: none;
    color: #000;
    height: 2em;
    line-height: 2em;
    font-weight: 900;
}

#languageChanger a:hover {
    color: #0F65a3;
}

#sponsors ul {
    text-align: center;
    font-size: 0.7em;
}

#sponsors li {
    padding-bottom: 3em;
}

#sponsors a,
#sponsors strong {
    display: block;
    font-weight: normal;
}

#sponsorsMobile {
    display: none;
}

/* Content */

#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    color: #0F2543;
    margin: 1em 0 0.5em 0;
}

#content p,
#content img {
    margin-bottom: 1em;
    line-height: 1.4em;
}

#content img {
    max-width: 700px;
}

#content img.left {
    float: left;
    margin: 0 1em 1em 0;
}

#content img.right {
    float: right;
    margin: 0 0 1em 1em;
}

#content img.border {
    border: 1px solid #000;
}

#content ul li {
    list-style-type: circle;
    position: relative;
    left: 50px;
    top: 0;
    margin: 5px;
    margin-right: 1em;
    padding-right: 50px;
}

/* Footer */

#footer {
    clear: both;
    text-align: center;
    padding: 2em 0;
    font-size: 0.8em;
}

#footer li {
    padding: 0 8px;
    display: inline-block;
}

/* Form */

.answertext {
    font-weight: 900;
    color: #0F2543;
    font-size: 1.5em;
}

.form_warning {
    color: #a00;
}

#form_formular label {
    float: left;
    clear: left;
    display: block;
    width: 10em;
}

#form_formular input {
    display: block;
    width: 18em;
}

.formsubmit {
    margin-left: 10em;
}

.antispam {
    display: none;
}

/* Video */

.video.youtube {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin: 1em 0;
}

.video.youtube.no-controls {
    padding-top: 0;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

video {
    height: auto;
    max-width: 100%;
    width: auto;
}

/* Gallery */

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
    opacity: 0;
    -webkit-backface-visibility: hidden;
    /* ideally, transition speed should match zoom duration */
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}

.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}

.vertical-center {
    vertical-align: middle;
    width: 200px;
}

.zoom-gallery a img {
    display: inline-block;
}

.zoom-gallery {
    text-align: center;
}

/* Special */

.social {
    vertical-align: middle;
    width: 20px;
    display: inline;
    margin: 5px;
}

/* Mobile style */

@media (max-width: 900px) {
    hr {
        width: 100vw;
        border: 0;
        border-top: solid 1px #000;
        position: absolute;
        right: 0;
    }

    #rightColumn {
        display: none;
    }

    #sponsorsMobile {
        display: inline-block;
        text-align: center;
        margin-right: 1em;
        margin-left: 1em;
    }

    #sponsorsMobile li {
        padding: 10px 10px;
        display: inline-block;
        clear: both;
        text-align: center;
        font-size: 0.8em;
    }

    body {
        width: 100vw;
        margin: 0;
    }

    #content {
        margin-right: 1em;
        margin-left: 1em;
        font-size: 0.9em;
        padding-right: 0em;
    }

    #nav {
        display: none;
    }

    #navMobile {
        display: inline-block;
        overflow: auto;
        font-size: 1.5em;
        border-bottom: 1px solid #000;
    }

    #navMobile li {
        float: center;
        padding: 0 1.5em;
    }

    #navMobile a,
    #navMobile strong {
        text-decoration: none;
        color: #000;
        height: 2em;
        line-height: 2em;
        font-weight: 900;
        width: 100vw;
        text-align: center;
    }

    #navMobile strong span,
    #navMobile a:hover span {
        color: #0F65a3;
    }

    .nav-button-container {
        display: flex;
    }

    .navClass {
        position: relative;
        top: 0;
        left: 0;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    #nav-toggle~.navClass li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    #nav-toggle:checked~.navClass li {
        border-top: 1px solid #333;
        height: 45px;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .navClass > li {
        display: flex;
        justify-content: center;
        margin: 0;
        width: 100vw;
        color: #0F2543;
        background-color: #fff;
    }

    #content ul li {
        list-style-type: circle;
        position: relative;
        left: 5vw;
        top: 0;
        margin: 5px;
        margin-right: 0px;
        width: 90%;
        padding-right: 0px;
    }

    #content img {
        max-width: 100%;
    }
}
