@font-face {
    font-family: "Source Sans Pro";
    font-display: auto;
    src: url('../fonts/sourcesanspro-regular-webfont.woff2') format("woff2"),
    url('../fonts/sourcesanspro-regular-webfont.woff') format("woff");
}

@font-face {
    font-family: "ZonaPro-Bold";
    font-display: auto;
    font-weight: bold;
    font-style: normal;
    src: url('../fonts/ZonaPro-Bold.woff2') format("woff2"),
    url('../fonts/ZonaPro-Bold.woff') format("woff"),
    url('../fonts/ZonaPro-Bold.otf') format("opentype");
}

@font-face {
    font-family: "CynthoSlabPro-Regular";
    font-display: auto;
    src: url('../fonts/CynthoSlabPro-Regular.woff2') format("woff2"),
    url('../fonts/CynthoSlabPro-Regular.woff') format("woff"),
    url('../fonts/CynthoSlabPro-Regular.otf') format("opentype");
}

@font-face {
    font-family: "ZonaPro-SemiBold";
    font-display: auto;
    src: url('../fonts/ZonaPro-SemiBold.woff2') format("woff2"),
    url('../fonts/ZonaPro-SemiBold.woff') format("woff"),
    url('../fonts/ZonaPro-SemiBold.otf') format("opentype");
}

* {
    box-sizing: border-box;
}

html {
    height: 100vh;
}

body {
    background-color: #fff;
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: "ZonaPro-Bold", Helvetica, Arial, serif;
}


body {
    display: -ms-grid;
    display: grid;
    height: 100vh;
    grid-template-columns: auto auto 1080px auto auto;
    grid-template-rows: 7.5rem 34rem auto auto auto 4.6rem;
    grid-template-areas: ". . . . ." "h h h h h" ". ab ab ab . " "c c c c c" "bc bc bc bc bc" "f f f f f";
    justify-items: center;
}

a {
    text-decoration: none;
    color: rgba(232, 52, 70, 1.0);
}

@media screen and (max-width: 1440px) {
    body {
        /*todo: there is a small bug to fix, here. If 1080px is not in center, the column widths are wrong.*/
        /*todo: Changed some things. Check if ok now. */
        grid-template-columns: auto auto minmax(1060px, 1080px) auto auto;
        grid-template-areas: ". . . . ." "h h h h h" "ab ab ab ab ab" "c c c c c" "bc bc bc bc bc" "f f f f f";
    }
}

@media screen and (max-width: 1080px) {
    body {
        grid-template-columns: auto;
        grid-template-rows: 7.5rem 24rem auto auto auto 4.6rem;
        grid-template-areas: "." "h" "ab" "c" "bc" "f";
    }
}

@media screen and (max-width: 720px) {
    body {
        grid-template-areas: "." "h" "ab" "c" "bc" "f";
        grid-template-rows: 5rem 12rem auto auto auto 4.6rem;
    }
}

@media screen and (max-width: 320px) {
    body {
        grid-template-areas: "." "h" "ab" "c" "bc" "f";
    }
}


.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
}

.header {
    background-color: #553745;
    height: 7.5rem;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 60;
    justify-content: space-between;
    display: -ms-grid;
    display: grid;
    grid-template-columns: auto 1060px auto;
    grid-template-areas: ". m .";
    justify-items: normal;
    align-items: baseline;
}

.browser-warning {
    background-color: #ff5d24;
    padding: 50px;
    border: 5px solid #ffffff;
    width: 100%;
    position: fixed;
    top: 7.5rem;
    min-height: 100px;
    left: 0;
    z-index: 200;
    font-weight: bold;
    vertical-align: center;
    text-align: center;
    display: block !important;
}

.browser-warning > a:link, .browser-warning > a:hover, .browser-warning > a:visited {
    color: #ffffff;
}

header {
    margin-bottom: 8rem;
}

/*cover Main Browsers with Grid support and a secondary filter to make sure we only get the right grid support.*/
@supports (justify-content: space-evenly) and (display: grid) {
    .browser-warning {
        display: none !important;
    }

    footer {
        margin-top: initial;
    }
}

/*cover Samsung Internet and UC Browser with Grid support and a secondary filter to make sure we only get the right grid support.*/
@supports (font-family: system-ui) and (display: grid) {
    .browser-warning {
        display: none !important;
    }

    footer {
        margin-top: initial;
    }
}


@media screen and (max-width: 1440px) {
    .header {
        padding: 0 10px;
    }

}

@media screen and (max-width: 1080px) {
    .header {
        grid-template-columns: 0 10fr 0;
        padding: 0 10px;
    }
}


@media screen and (max-width: 720px) {
    .header {
        height: 5rem;
    }

    .logo-ct img {
        height: 3.4rem;
        width: unset;
    }
}

.open {
    display: block !important;
    overflow: hidden;
}

.menu-ct {
    display: flex;
    grid-area: m;
    align-items: center;
    justify-content: space-between;
    align-self: center;
}

.menu, .language-switcher {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
}


.logo {
    top: 28px;
    /*height: 64px;*/
    width: 5rem;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: inherit;
}


.main-menu__items > li {
    font-family: "ZonaPro-Bold", Helvetica, Arial, serif;
    font-size: 0.87rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 1.0);
    text-align: left;
    letter-spacing: 1.0px;
    line-height: 21.0px;
    margin-right: 20px;
    font-weight: bold;
}

.main-menu__items > li.active {
    border-bottom: 2px solid #E83446;
}

.main-menu__items > li:first-child {
    display: none;
}


.language-switcher > li {
    font-family: "ZonaPro-Bold", Helvetica, Arial, serif;
    font-size: 0.87rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 1.0);
    text-align: left;
    letter-spacing: 1.0px;
    line-height: 21.0px;
    /*margin-right: 20px;*/
    font-weight: bold;
    margin-right: 6px;

}

.language-switcher > li.lang-active {
    border-bottom: 2px solid #E83446;

}

.search-toggle-button:hover > svg {
    cursor: pointer;
}

.search-toggle-button.open > svg {
    stroke: #E83446;
}


.search-box {
    display: none;
    position: fixed;
    right: 0;
    top: 7.5rem;
    width: 20rem;
    background-color: #553745;
    justify-content: center;
    align-content: center;
    padding: 0.8rem 0 0.8rem 0.8rem;
    align-items: center;
}


.search-box > div {
    flex-grow: 4;
    margin: 5px 0.8rem;
}

.search-box div:hover {
    stroke: #E83446;
    cursor: pointer;
}

.search-box.open {
    display: flex !important;
}

@media screen and (max-width: 720px) {
    .search-box {
        top: 5rem;

    }
}

@media screen and (max-width: 320px) {
    .search-box {
        width: 100%;
    }
}


.search-field {
    font-family: "ZonaPro-Bold", Helvetica, Arial, serif;
    font-size: 0.87rem;
    color: #553745;
    padding: 4px;
    width: 90%;
    flex-grow: 10;
    flex-basis: fit-content;

}

.search-field:focus {
    outline: solid #E83446 2px;
}

.search-toggle-button {

}

.toggle-button {
    width: 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding-top: 0;
    padding-bottom: 0;
    vertical-align: middle;
}

.toggle-button:focus {
    outline: none;
}

.toggle-button__bar {
    width: 100%;
    height: 3px;
    background: #ffffff;
    display: block;
    margin: 6px 0;
}

@media (max-width: 1080px) {
    .main-menu {
        display: none;
    }
}

@media (min-width: 1080px) {
    .toggle-button {
        display: none;
    }

    .main-menu {
        display: flex;
    }
}

.mobile-menu {
    display: none;
    position: fixed;
    z-index: 101;
    top: 0;
    left: 0;
    background: #553745;
    width: 80%;
    height: 100%;
    overflow: auto;
}

.mobile-menu__items {
    width: 80%;
    list-style: none;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    overflow: auto;
    height: 100%;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

@media screen and (max-width: 320px) {
    .mobile-menu {
        width: 80%;

    }

    .mobile-menu__items {
        width: 100%;
    }
}

.mobile-menu__items > li {
    margin: 1rem 0;
    font-weight: bold;
    text-align: center;
}

.mobile-menu__items > li.active {
    border-bottom: 2px solid #E83446;
}

.mobile-menu__item a {
    font-size: 1.5rem;
}


.hero-container {
    grid-area: h;
    display: -ms-grid;
    display: grid;
    align-items: center;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    grid-template-columns: auto auto 1060px auto auto;
    grid-template-rows: 3fr 1fr 3fr 3fr;
    grid-template-areas: ". . . . ." ". . m . ." ". . sl . ." ". . . . .";
}

.hero-container a {
    text-decoration: none;
    color: inherit;
}

@media screen and (max-width: 1124px) {
    .hero-container > .hero-header {
        padding: 0 1rem;
    }

    .hero-container > .hero-text {
        padding: 0 1rem;
    }
}

@media screen and (max-width: 1080px) {
    .hero-container {
        grid-template-columns: auto;
        grid-template-areas: "." "m" "sl" ".";
    }
}

.hero-container > .hero-header {
    grid-area: m;
    background-color: rgba(255, 255, 255, 0.0);
    font-family: "ZonaPro-Bold", Helvetica, Arial, serif;
    color: rgba(232, 52, 70, 1.0);
    font-size: 12.0px;
    letter-spacing: 2.0px;
    line-height: 18.0px;
    width: fit-content;
}


.hero-container > .hero-text {
    grid-area: sl;
    font-family: "CynthoSlabPro-Regular", Helvetica, Arial, serif;
    font-size: 3.5rem;
    color: rgba(0, 0, 0, 1.0);
    line-height: 3.8rem;
    align-self: normal;
    width: fit-content;
}


.hero-container > .hero-text > div {
    width: 40rem;
}

@media screen and (max-width: 1080px) {
    .hero-container > .hero-text {
        font-size: 3rem;
        line-height: 3.3rem;
    }

    .hero-container > .hero-text > div {
        width: 35rem;
    }
}

@media screen and (max-width: 720px) {
    .hero-container {
        grid-template-rows: 2fr 1fr 3fr 1.5fr;
    }

    .hero-container {
        grid-template-rows: 2fr 1fr 3fr 1.5fr;
    }

    .hero-container > .hero-text {
        font-size: 2.0rem;
        line-height: 2.3rem;
    }

    .hero-container > .hero-text > div {
        width: 23rem;
    }
}

@media screen and (max-width: 25rem) {
    .hero-container {
        grid-template-rows: 2fr 1fr 3fr 1.3fr;
    }


    .hero-container > .hero-text {
        font-size: 1.6rem;
        line-height: 1.9rem;
    }

    .hero-container > .hero-text > div {
        width: 23rem;
    }

    .hero-container > .hero-text > div {
        width: 18rem;
    }
}

@media screen and (max-width: 320px) {
    .hero-container {
        padding: 0.5rem;
    }

    .hero-container > .hero-text {
        font-size: 1.4rem;
        line-height: 1.8rem;
    }

    .hero-container > .hero-text > div {
        width: 15rem;
    }
}

@media screen and (max-width: 280px) {
    .hero-container > .hero-text > div {
        width: 100%;
    }
}


.content {
    display: -ms-grid;
    display: grid;
    /*margin-top: 120px;*/
    margin-top: 90px;

    width: 100%;
    grid-area: c;
    grid-template-columns: auto;
    grid-template-areas: "newsevents";
}


.footer {
    background-color: #553745;
    grid-area: f;
    justify-self: stretch;
    height: 4.6rem;
    width: 100%;
    left: 0;
    justify-content: space-between;
    display: -ms-grid;
    display: grid;
    grid-template-columns: auto 1060px auto;
    grid-template-areas: ". m .";
    justify-items: normal;
}


@media screen and (max-width: 1080px) {
    .footer {
        grid-template-columns: auto 10fr auto;
        padding: 0 10px;
    }

}


.footer-ct {
    display: flex;
    grid-area: m;
    align-items: center;
    justify-content: space-between;
}

.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.footer-logo {
    top: 28px;
    /*height: 44px;*/
    width: 72px;
    margin: 0;
}


.copyright {
    font-family: "Source Sans Pro", Helvetica, Arial, serif;
    font-weight: 300;
    font-style: normal;
    font-size: 14.0px;
    color: rgba(255, 255, 255, 1.0);
    text-align: left;
    letter-spacing: 1.0px;
    line-height: 18.0px;
}

.footer-links a {
    font-family: "Source Sans Pro", Helvetica, Arial, serif;
    font-weight: 300;
    font-style: normal;
    font-size: 14.0px;
    color: rgba(255, 255, 255, 1.0);
    text-align: left;
    letter-spacing: 1.0px;
    line-height: 18.0px;
}

@media screen and (max-width: 320px) {
    .copyright {
        font-weight: 200;
    }
}
