/**
Normalize
*/

html {
    box-sizing: border-box;
}

*,
::after,
::before {
    box-sizing: inherit;
}

:root {
    -moz-tab-size: 4;
    tab-size: 4;
}

html {
    line-height: 1.15;
}

body {
    margin: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

hr {
    height: 0;
}

abbr[title] {
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
pre,
samp {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier,
    monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
select {
    text-transform: none;
}

[type="button"],
[type="reset"],
[type="submit"],
button {
    -webkit-appearance: button;
}

[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    padding: 0;
}

progress {
    vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

details {
    display: block;
}

summary {
    display: list-item;
}

img {
    max-width: 100%;
}

/**
Variables
*/

:root {
    --light-gray: #ececec;
    --dark-gray: #434d57;
    --light-yellow: #fefcf6;
    --white: #fff;

    --serif: "Roboto Slab", serif;
    --sans-serif: "Roboto", sans-serif;
}

/**
Animations
*/

@keyframes present-yourself {
    to {
        opacity: 1;
        transform: translate(1, 1, 1);
    }
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/**
Notch save space for iphones
*/

/* Older browsers (do now support CSS Environment variables).*/
.wrap {
    height: 100%;
}

/* Browsers which partially support CSS Environment variables (iOS 11.0-11.2).*/
@supports (padding-top: constant(safe-area-inset-top)) {
    .wrap {
        --safe-area-inset-top: constant(safe-area-inset-top);
        height: calc(100% + var(--safe-area-inset-top));
    }
}

/* Browsers which fully support CSS Environment variables (iOS 11.2+). */
@supports (padding-top: env(safe-area-inset-top)) {
    .wrap {
        --safe-area-inset-top: env(safe-area-inset-top);
        height: calc(100% + var(--safe-area-inset-top));
    }
}

/**
Styling
*/

html,
body {
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--sans-serif);
}

p,
ul,
ol,
li,
a {
    font-family: var(--sans-serif);
}

.news-overview h2,
.page-content h2 {
    position: relative;
    min-height: 3rem;
    width: 100%;
    text-align: center;
    font-family: var(--sans-serif);
    font-weight: 500;
    font-size: 1.875rem;
    color: var(--dark-gray);
}

.news-overview h2:after,
.page-content h2:after {
    content: url(/img/bar.svg);
    position: absolute;
    bottom: -15px;
    left: calc(50% - 57px);
}

.news-overview h3,
.page-content h3 {
    position: relative;
    width: 100%;
    text-align: center;
    font-family: var(--sans-serif);
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--dark-gray);
}

.news-overview h4,
.page-content h4 {
    position: relative;
    width: 100%;
    text-align: center;
    font-family: var(--sans-serif);
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--dark-gray);
}

/**
Grid
*/

.main {
    display: grid;
    grid-template-columns: [sidebar] 1fr [contentblock] 16fr [sidebar] 1fr;
    grid-template-rows: [header] auto [main] 1fr [widebreak] auto [footer] auto;
    grid-row-gap: 1rem;
    margin: 0 auto;
    width: 100%;
    min-height: 100%;
}

header {
    width: 100%;
    grid-column: contentblock;
    grid-row: header;
    display: grid;
    grid-template-rows: [subheader] 35px [navigation] auto;
    margin-top: 0.5rem;
}

@media (min-width: 925px) {

    header {
        grid-template-rows: [subheader] 35px [navigation] 75px;
        margin-bottom: 1rem;
    }

}

.subheader {
    grid-row: subheader;
    display: flex;
    justify-content: flex-end;
    padding: 0 1rem;
}

.subheader ul {
    display: flex;
    list-style: none;
}

.subheader a {
    margin: 0 1ch;
    font-family: var(--serif);
    font-size: 0.8rem;
    color: var(--dark-gray);
    text-decoration: none;
}

.subheader li:not(:last-child):after {
    content: "|";
}

.navigation {
    grid-row: navigation;
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

@media (min-width: 925px) {
    .navigation {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0 1rem;
    }

    .logo {
        display: flex;
        justify-content: flex-start;
        margin-right: auto;
    }

}

@media (min-width: 1200px) {
    .subheader,
    .navigation {
        padding: 0;
    }
}

nav ul {
    display: flex;
    list-style: none;
    font-size: 1.125rem;
}

nav a {
    font-family: var(--serif);
    color: var(--dark-gray);
    font-weight: 700;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

.scroll {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    margin-bottom: 1rem;
    max-width: 100%;
}

.scroll::-webkit-scrollbar {
    display: none;
}

.scroll ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

nav li {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    margin-right: 1rem;
}

@media (min-width: 1200px) {
    nav a {
        margin-left: 2rem;
    }

}

main {
    grid-row: main;
    grid-column: contentblock;
}

.hero {
    z-index: 1;
    opacity: 0;
    animation: present-yourself 1s ease forwards;
}

@media (min-width: 768px) {

    .hero {
        min-height: 50px;
    }

}

.hero figure {
    position: relative;
}

.hero img {
    width: 100%;
    max-width: 100%;
}

.hero figcaption {
    background: rgba(67, 77, 87, 0.8);
    padding: .1em .5em .2em;
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    color: #f5f5f5;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
}

.introduction {
    display: flex;
    flex-direction: column;
    z-index: 2;
    background-color: var(--light-yellow);
    opacity: 0.95;
    width: 90%;
    padding: 1rem;
    margin: -20% auto 2rem auto;
}

@media (min-width: 580px) {
    .introduction {
        width: 80%;
        padding: 3rem;
    }
}


.introduction p {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.introduction p:last-child {
    margin-bottom: 0;
}

.introduction .btn {
    /* color: var(--dark-gray); */
    margin: 1rem auto 0;
}

.btn {
    color: var(--dark-gray);
    text-transform: uppercase;
    padding: 1rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
}

.btn:hover, .btn:focus, .btn:active {
    background: var(--dark-gray);
    color: var(--white);
}

.ghost {
    border: 1px solid currentColor;
}

.news-overview {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    margin: 0 auto;
    padding: 0 3rem;
}

.news-overview.listing {
    max-width: 100%;
    padding: 0;
}

.news-overview.listing hr {
    margin-bottom: 2rem;
}

.news-overview h2 {
    margin: 0 auto 3rem;
}

.news-overview article {
    margin-bottom: 2rem;
}

.news-overview p,
.news-overview h3,
.news-overview h3 a {
    color: var(--dark-gray);
    font-weight: 300;
    text-decoration: none;
}

.news-overview h3 a:hover {
    text-decoration: underline;
}

.news-overview p {
    line-height: 1.4;
    font-weight: 300;
}

.news-overview h3 {
    font-family: var(--sans-serif);
    font-size: 1.875rem;
}

footer {
    grid-column: contentblock;
    grid-row: footer;
    display: grid;
    grid-template-columns: [sidebar] 1fr [contentblock] 16fr [sidebar] 1fr;
    grid-column-start: -4;
    grid-column-end: -1;
    background-color: var(--light-gray);
    border-top: 5px solid var(--dark-gray);
    padding: 1rem;
}

footer .wrapper {
    grid-row: footer;
    grid-column: contentblock;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
}

footer .navigation {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
}

footer nav ul {
    display: flex;
    flex-direction: column;
}

@media (min-width: 580px) {
    footer nav ul {
        flex-direction: row;
    }
}

footer nav a {
    margin-left: 0;
    margin-right: 2rem;
}

footer .social {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-top: 2rem;
    align-self: center;
}

.social li {
    display: inline-block;
    width: 37px;
    height: 37px;
    margin-right: 1.5rem;
}

.twitter,
.facebook,
.instagram {
    display: block;
    width: 37px;
    height: 37px;
    margin-right: 1.5rem;
    background-repeat: no-repeat;
    background-position: top left;
}

.twitter {
    background-image: url(/img/logo-twitter.svg);
}

.instagram {
    background-image: url(/img/logo-instagram.svg);
}

.facebook {
    background-image: url(/img/logo-facebook.svg);
}

@media (min-width: 1190px) {

    footer .wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    footer .navigation {
        flex-direction: column;
        justify-content: flex-start;
        margin: 0 0 1rem;
    }

    footer .social {
        margin-top: auto;
        align-self: flex-start;
    }

}

/**
Content pagina
*/

.page-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
    background-color: var(--white);
    opacity: 0.95;
    width: 90%;
    padding: 1rem;
    margin: -5% auto 2rem auto;
}

@media (min-width: 580px) {
    .page-content {
        width: 80%;
        padding: 3rem;
    }
}

.page-content article {
    display: flex;
    flex-direction: column;
}

.page-content p,
.page-content ul {
    color: var(--dark-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.page-content h2 {
    margin: 0 auto 2rem;
}

.page-content .date {
    margin: 0 auto 3rem;
}

.widebreak {
    grid-row: widebreak;
    display: grid;
    grid-template-columns: [sidebar] 1fr [contentblock] 16fr [sidebar] 1fr;
    background-color: var(--light-yellow);
    grid-column-start: -4;
    grid-column-end: -1;
    margin-bottom: 0;
}

@media (min-width: 945px) {
    .widebreak {
        grid-template-columns: [sidebar] 3fr [contentblock] 15fr;
    }
}

.widebreak .wrapper {
    grid-row: widebreak;
    grid-column: contentblock;
    padding: 2rem 0;
}

.widebreak .wrapper h3 {
    max-width: 80%;
    font-weight: 300;
    font-size: 1.875rem;
    margin: 0 auto;
}

.widebreak .wrapper p {
    max-width: 80%;
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 1.5;
    font-size: 1.1rem;
    margin: 0 auto;
}

@media (min-width: 945px) {
    .widebreak .wrapper h3 {
        max-width: 380px;
        margin: 0;
    }

    .widebreak .wrapper p {
        max-width: 380px;
        margin: 0 0 1rem;
    }

    .widebreak {
        background-image: url(/img/atlantic-wall-geography.png);
        background-position: 150% bottom;
        background-repeat: no-repeat;
        opacity: 0;
        animation: present-yourself 1s ease forwards;
    }
}

@media (min-width: 1100px) {

    .widebreak {
        background-position: 120% bottom;
    }

}

/*
Contentblocks
*/


.responsive-video,
.video {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
    margin-bottom: 3rem;
}

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

.contentblock {
    margin: 2rem 0;
}

.centerblock {
    display: flex;
    justify-content: center;
}

.button-big {
    font-size: 1.5rem;
}


/*
Cycle 2 CSS
*/


.gallery figure {
    vertical-align: bottom;
    border-bottom: 0;
    padding-right: 30px;
}

.gallery figcaption {
    white-space: normal;
    color: var(--dark-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.gallery .slide {
    display: block;
}


.gallery .cycle-pager {
    text-align: center;
    margin-bottom: 4rem;
}

.cycle-pager span {
    color: var(--dark-gray);
    font-size: 2rem;
    margin: 0 0.25rem;
    display: inline-block;
    line-height: 1rem;
    cursor: pointer;
    position: relative;
}

.cycle-pager span.cycle-pager-active {
    color: var(--dark-gray);
    font-size: 4rem;
    top: .5rem;
}


/* Magnific Popup CSS */
.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.8;
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box;
}

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
    display: none;
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto;
}

.mfp-ajax-cur {
    cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out;
}

.mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
    cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.mfp-loading.mfp-figure {
    display: none;
}

.mfp-hide {
    display: none !important;
}

.mfp-preloader {
    color: #CCC;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044;
}

.mfp-preloader a {
    color: #CCC;
}

.mfp-preloader a:hover {
    color: #FFF;
}

.mfp-s-ready .mfp-preloader {
    display: none;
}

.mfp-s-error .mfp-content {
    display: none;
}

button.mfp-close,
button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    box-shadow: none;
    touch-action: manipulation;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    color: #FFF;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
    opacity: 1;
}

.mfp-close:active {
    top: 1px;
}

.mfp-close-btn-in .mfp-close {
    color: #333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    color: #FFF;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #CCC;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.mfp-arrow {
    position: absolute;
    opacity: 0.65;
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
    margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
    opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent;
}

.mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px;
}

.mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7;
}

.mfp-arrow-left {
    left: 0;
}

.mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px;
}

.mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F;
}

.mfp-arrow-right {
    right: 0;
}

.mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px;
}

.mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F;
}

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
    top: -40px;
}

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000;
}

/* Main image in popup */
img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
    line-height: 0;
}

.mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444;
}

.mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px;
}

.mfp-figure figure {
    margin: 0;
}

.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #F3F3F3;
    word-wrap: break-word;
    padding-right: 36px;
}

.mfp-image-holder .mfp-content {
    max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    /**
         * Remove all paddings around the image on small screen
         */
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0;
    }

    .mfp-img-mobile img.mfp-img {
        padding: 0;
    }

    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0;
    }

    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px;
    }

    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        box-sizing: border-box;
    }

    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0;
    }

    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px;
    }

    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0;
    }
}

@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }

    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%;
    }

    .mfp-container {
        padding-left: 6px;
        padding-right: 6px;
    }
}
