/*
-----------------------------------------
Variables
-----------------------------------------
*/

/** {
    border: 1px solid red;
}*/

:root {
    /*
-----------------------------------------
Color declarations
-----------------------------------------
*/
    /* Color Palette */
    /* Main colors */
    --primary-color: #1b1e4b;
    --secondary-color: #f04f0f;
    --tertiary-color: #1b1e4b;
    --secondary-color-3: #E1EFF4;
    --primary-transparent: rgba(0, 110, 153, .9);
    --secondary-transparent: rgba(131, 188, 210, .9);
    --secondary-transparent-2: rgba(206, 229, 237, .9);
    --secondary-transparent-3: rgba(225, 239, 244, .9);
    --white-color: #fff;
    --dark-color: #3a3a3a;
    --bg-light: #e9e9e9;
    --secondary-lightgrey-color: #F1F1E6;
    --grey-color: #45483A;
    --accent-color: var(--primary-color);
    /* Bootstrap */
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-color) !important;
    --bs-btn-active-border-color: var(--primary-color) !important;
    /* Overlays */
    --transparent: rgba(0, 0, 0, 0);
    --overlay-primary: rgba(0, 0, 0, 0.2);
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-light: rgba(255, 255, 255, 0.2);
    /* Box shadow */
    --box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.25);
    /*
    -----------------------------------------
    Color applications
    -----------------------------------------
    */
    /* Text */
    --text-dark: var(--dark-color);
    --text-white: var(--white-color);
    --text-primary: var(--primary-color);
    --text-secondary: var(--secondary-color);
    /* Headlines */
    --headline-dark: var(--dark-color);
    --headline-white: var(--white-color);
    --headline-primary: var(--primary-color);
    --headline-secondary: var(--secondary-color);
    /* Hover */
    --hover-primary: var(--primary-color);
    /*--hover-secondary: #ccc;*/
    --hover-secondary: var(--secondary-color-2);
    /* Links */
    --link-primary: var(--primary-color);
    --link-secondary: #111;
    /* Backgrounds */
    --background-dark: #000;
    --background-white: #fff;
    --background-primary: var(--primary-color) !important;
    --background-secondary: var(--tertiary-color);
    /* Nav */
    --nav-primary: var(--primary-color);
    --nav-secondary: #742100;
    --nav-primary-light: #E4E4E4;
    --nav-secondary-light: #E4E4E4;
    /*
    -----------------------------------------
    Typography variables
    -----------------------------------------
    */
    --font-family-main: "Lato", sans-serif;
    --font-family-headers: "Archivo Narrow", sans-serif;
    --font-size-small: 0.875rem;
    --font-size-base: 1rem;
    --font-size-large: 1.25rem;
    --line-height-base: 1.5;
    /*
    -----------------------------------------
    Spacing variables
    -----------------------------------------
    */
    --spacing-default: 15px;
    --spacing-small: 0.5rem;
    --spacing-medium: 2rem;
    --spacing-large: 5rem;
    --spacing-xl: calc(50% - 580px);
    --spacing-xxl: calc(50% - 780px);
    --max-container-width-small: 500px;
    --max-container-width-medium: 650px;
    --max-container-width-large: 768px;
    --max-container-width-xl: 992px;
    --max-container-width-xxl: 1200px;
}

/* ------ Spacing utilities ------ */

.rte-container {
    max-width: 1000px ;
    margin: 0 auto;
}

.content-section {
    max-width: 1000px !important;
    margin-right: auto !important;
    margin-left: 0 !important;
}

    .rte-container.richtext-content img {
        max-width: 100%;
        height: auto;
    }

@media (min-width: 992px) {
    .rte-container.richtext-content img {
        float: left;
        padding: 1rem;
        padding-left: 0;
        padding-right: 2rem;
    }
}

.container-x {
    max-width: 1420px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.container-y {
    padding-top: clamp(2.5rem, calc(2.5rem + ((1vw - 0.36rem) * 4.6875)), 5rem);
    padding-bottom: clamp(2.5rem, calc(2.5rem + ((1vw - 0.36rem) * 4.6875)), 5rem);
}

@media (min-width: 576px) {
    .container-x {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* 
-----------------------------------------
BASE
-----------------------------------------
*/

::selection {
    background-color: #000000;
    color: #fff;
}

.bg-white {
    background-color: #fff !important;
}

.txt-white {
    color: #fff;
}

.scroll-to {
    display: block;
    position: relative;
    top: -112px;
    visibility: hidden;
}

a, a:link, a:active {
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.2s;
    font-weight: 600;
    font-family: var(--font-family-main);
}

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

ul {
    padding-left: 1rem;
}

a:hover {
    color: #000;
    text-decoration: none;
}

a.text-dark:hover {
    color: #000 !important;
}

img {
    max-width: 100%;
}

figure {
    margin-bottom: 0;
}

html {
    scroll-behavior: smooth;
}

body, p, li {
    font-family: var(--font-family-main);
    font-weight: 400;
    font-size: 1rem;
    color: var(--dark-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

blockquote {
    margin: 0;
    font-size: 1.1em;
    line-height: inherit;
    position: relative;
    border-left: 5px solid #ddd;
    padding: 1.2em;
    font-size: 1.2em;
    font-style: italic;
    position: relative;
    quotes: "" "";
    overflow-wrap: break-word;
    color: #000;
}

@media(min-width: 768px) {
    blockquote {
        margin: 1.5em 1em 1.5em 3em;
    }
}

b, strong {
    font-weight: 900;
}

p strong {
    font-weight: 700;
}

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

h1 {
    text-transform: none;
    font-size: clamp(2.5rem, 2.2857rem + 0.5952vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
}

h2 {
    font-weight: 700;
    font-size: clamp(2rem, 1.7857rem + 0.5952vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.3em;
    color: var(--primary-color);
}

h3 {
    font-size: 1.875rem;
    text-transform: none;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

h4 {
    color: #3a3a3a;
    line-height: 1.2em;
    font-size: 1.25rem;
    text-transform: none;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

h1 + h2, p + h2, h3 + h4, ul + h2, p + h3, ul + h3 {
    margin-top: 2rem;
}

h2 + h3 {
    margin-top: 1.5rem;
}

p.ingress {
    font-weight: 700;
    font-size: 1.125rem;
}

.max-width-300 {
    max-width: 300px;
}

.limit-1-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*@media screen and (min-width: 576px) {

    h1 {
        font-size: 1.875rem;
    }
}

@media screen and (min-width: 992px) {

    h1 {
        font-size: 2.125rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

}


@media screen and (min-width: 1700px) {

    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    p.ingress {
        font-size: 1.25rem;
    }
}
*/
article h1 {
    font-size: 1.75rem;
    font-weight: 700;
}

article h2 {
    font-weight: 700;
}


article p:last-child {
    margin-bottom: 0;
}

article p.ingress {
    font-size: 1.25rem;
}

@media screen and (min-width: 992px) {

    article h1 {
        font-size: 2rem;
        
    }

    article h2 {
        font-size: 1.5rem;
    }
}

@media screen and (min-width: 1700px) {

    article h1 {
        font-size: 2.25rem;
    }

    article h2 {
        font-size: 1.75rem;
    }

    article p.ingress {
        font-size: 1.375rem;
    }
}

.text-primary {
    color: var(--primary-color) !important;
}
.text-secondary {
    color: var(--secondary-color) !important;
}
.text-dark {
    color: var(--dark-color) !important;
}
.text-white {
    color: var(--white-color) !important;
}

/* ---------- Padding x space ---------- */

.padding-x-space {
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .padding-x-space {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1200px) {
    .padding-x-space {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

@media (min-width: 1700px) {
    .padding-x-space {
        padding-left: 8vw;
        padding-right: 8vw;
    }
}

/* ---------- Backgrounds ---------- */

.bg-img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cover-img {
    object-fit: cover;
    object-position: center;
}

.bg-light {
    background-color: var(--bg-light) !important;
}
.bg-primary {
    background-color: var(--primary-color) !important;
}
.bg-secondary {
    background-color: var(--secondary-color) !important;
}
.bg-tertiary {
    background-color: var(--tertiary-color) !important;
}

/* ---------- Button ---------- */

a.btn, button.btn, input.btn {
    display: inline-block;
    font-size: 0.875rem;
    background-color: var(--primary-color);
    padding: 1.125rem 2.5rem;
    color: var(--white-color);
    font-weight: 500;
    font-size: 1.125rem;
    transition: all ease 0.2s;
    border: 1px solid var(--white-color);
    border-radius: 0;
    text-transform: uppercase;
}

input.btn {
    border: 1px solid var(--primary-color);
}
input.btn:hover {
    border-color: var(--white-color);
    color: var(--white-color);
    background-color: var(--secondary-color);
}

    a.btn:hover,
    a.btn:focus,
    a.btn:active {
        background-color: var(--secondary-color);
        outline: none;
        box-shadow: none;
        border: 1px solid var(--white-color);
        color: var(--white-color);
    }

a.btn-white {
    color: #FFFFFF;
    border-color: #FFFFFF;
    background: transparent;
}

a.btn-white:hover {
    color: #9D8955;
    border-color: #9D8955;
    background: transparent;
}

@media screen and (min-width: 1200px) {

    a.btn {
        padding: 1.125rem 2.5rem;
    }
}

/* Gaps */
.gap-1 {
    gap: 1rem !important;
}

.gap-2 {
    gap: 2rem !important;
}

.gap-3 {
    gap: 3rem !important;
}

/* ----------Split blocks ---------- */

.split-blocks .split-block {
    margin-top: 0;
    margin-bottom: 0;
    background-color: #fff;
}

.split-block {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    max-width: 1920px;
    margin: 0 auto;
    flex-direction: column;
    margin-top: clamp(2.5rem, calc(2.5rem + ((1vw - 0.36rem) * 4.6875)), 5rem);
    margin-bottom: clamp(2.5rem, calc(2.5rem + ((1vw - 0.36rem) * 4.6875)), 5rem);
}

    .split-block:first-child {
        margin-top: 0;
    }

    .split-block:last-child {
        margin-bottom: 0;
    }

    .split-block .split-block-content {
        flex-basis: 100%;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        order: 1;
    }

    .split-block .split-block-img {
        flex-basis: 100%;
        width: 100%;
        aspect-ratio: 3/1;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

.alternating .split-block .split-block-img {
    /*aspect-ratio: 2/3;*/
}

.split-block .split-block-img:not(.bg-img) {
    width: 100%;
}

.split-block .split-block-img img.centered-img {
    max-width: 100%;
    min-width: 280px;
}

@media (min-width: 992px) {
    .split-block {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        /*min-height: 50vh;*/
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
        /*position: relative;*/
        flex-direction: row;
        max-height: fit-content;
    }

        .split-block .split-block-content{
            flex: 1 1 auto;
        }

        .split-block .split-block-img {
            height: auto;
            max-width: 33%;
            aspect-ratio: 5/6;
            flex: 0 1 auto;
        }

        /*.split-block .split-block-content{
            flex-basis: 50%;
            width: 50%;
        }

        .split-block .split-block-img {
            flex-basis: 50%;
            width: 50%;
        }*/

    .alternating .split-block:nth-child(odd) .split-block-img {
        order: 2;
    }

    .alternating .split-block:nth-child(odd) > img {
        order: 2;
        margin-left: auto;
    }

    .alternating .split-block:nth-child(even) .split-block-content {
        order: 1;
    }

    .alternating .split-block:nth-child(even) .split-block-content > div {
        right: -14%;
        left: unset;
    }

    .alternating .split-block:nth-child(odd) .split-block-content > div {
        right: unset;
        left: -14%;
    }
}

/* ---------- Text blocks ---------- */

hr.separator {
    width: 15%;
    border-top: 4px solid var(--secondary-color);
    margin-bottom: .75rem;
    opacity: 1;
}

.text-blocks {
    gap: 2.5rem;
}

    .text-blocks .text-block {
        padding: 4.375rem 3.75rem 3.75rem;
        padding-top: 70px;
        padding-bottom: 60px;
        padding-left: 55px;
        padding-right: 60px;
        flex-basis: 100%;
    }


        .text-blocks .text-block.bg-primary h2,
        .text-blocks .text-block.bg-primary p {
            color: var(--white-color);
        }

@media (min-width: 992px) {
    .text-blocks .text-block {
        flex-basis: calc(50% - 1.25rem);
    }

    .text-blocks .text-block.text-block-small {
        flex-basis: calc(33% - 1.75rem);
    }
}

/* ---------- Text columns ---------- */

.text-columns > div {
    flex-basis: 100%;
}

.text-columns h3 {
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .text-columns > div {
        flex-basis: 50%;
    }
}

/* 
-----------------------------------------
Cards Container
-----------------------------------------
*/

.cards-container .news-item {
    flex-basis: 100%;
}

.cards-container .card {
    border-radius: 0;
    background-color: var(--bg-light);
    border: none;
}

@media (min-width: 768px) {
    .cards-container .card {
        flex-basis: calc(50% - 1rem);
    }

    .card .card-body {
        padding: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .cards-container .card {
        flex-basis: calc(33% - 1.33rem);
    }

    .cards-container .small-cards .card {
        flex-basis: 33%;
    }
}

/* ---------- Overlay ---------- */
.dark-overlay {

}

/* ---------- Header section ---------- */

.section-header {
    margin-bottom: 1.5rem;
}

.section-header.container{
    max-width: 600px;
}

    .section-header h2 {
        margin-bottom: 0;
    }



@media screen and (min-width: 992px) {

    .section-header {
        margin-bottom: 2rem;
    }
        .section-header h2 {
            font-size: 2rem;
        }
}

@media screen and (min-width: 1200px) {

    .section-header {
        margin-bottom: 2.25rem;
    }

        .section-header h2 {
            margin-bottom: 0.75rem;
            font-size: 2.5rem;
        }
}


/*
-----------------------------------------
NAVBAR
-----------------------------------------
*/

.navbar {
    justify-content: space-between;
    align-items: initial;
    padding-top: 0;
    padding-bottom: 0;
    top: 0;
    transition: all ease 0.4s;
    height: 56px;
    z-index: 1200;
}

.navbar-light {
    background-color: #FFFFFF;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.navbar-show {
    transform: none;
}

.nav-spacer {
    margin-top: 56px;
}

.scroll-margin {
    scroll-margin-top: 56px;
}

@media screen and (min-width: 992px) {
    .navbar {
        height: 100px;
    }

    .nav-spacer {
        margin-top: 100px;
    }

    .scroll-margin {
        scroll-margin-top: 100px;
    }
}


/* ---------- Logo ---------- */

.navbar-brand {
    display: flex;
}

.navbar-brand img {
    width: 120px;
    transition: 0.15s;
}

@media screen and (min-width: 992px) {
    .navbar .navbar-brand img {
        width: 175px;
    }

}

.navbar-dark .logo-dark {
    display: block;
    opacity: 1;
}

.navbar-dark .logo-light {
    display: none;
    opacity: 0;
}

.navbar-light .logo-light {
    display: block;
    opacity: 1;
}

.navbar-light .logo-dark {
    display: none;
    opacity: 0;
}


/* ---------- Mobile menu button ---------- */

.navbar-toggler:focus-visible {
    outline: 1px solid #000;
}

.navbar .navbar-toggler {
    width: 35px;
    height: 28px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    padding: 0;
    box-shadow: none !important;
    border: none;
    z-index: 1032;
}

.navbar-toggler {
    position: relative;
    width: 30px;
    height: 22px;
    border: none;
}

    .navbar-toggler span {
        display: block;
        position: absolute;
        height: 2px;
        width: 30px;
        background: #000000;
        opacity: 1;
        left: 0;
    }

.navbar-dark .navbar-toggler span {
    background: #FFFFFF;
}

.navbar-toggler span:nth-child(1) {
    top: 0;
}

.navbar-toggler span:nth-child(2) {
    top: 10px;
}

.navbar-toggler span:nth-child(3) {
    top: 20px;
}

@media screen and (min-width: 992px) {

    .navbar-toggler {
        display: none;
    }
}

/* ----- Offcanvas mobile menu ----- */

.offcanvas-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    overflow-y: auto;
    transition: -webkit-transform .4s ease-in-out;
    transition: transform .4s ease-in-out;
    transition: transform .4s ease-in-out, -webkit-transform .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    z-index: 1032;
    overflow-x: hidden;
}

    .offcanvas-collapse.open {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        box-shadow: 0 0 40px rgba(0,0,0,0.1);
    }

#mob-nav {
    padding: 0;
}

@media screen and (min-width: 400px) {

    .offcanvas-collapse {
        width: 380px;
        right: 0;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

        .offcanvas-collapse.open {
            -webkit-transform: translateX(0);
            transform: translateX(0);
        }
}

#mobileMenu .nav-item {
    border-bottom: 1px solid #D4D4D6;
}

#mobileMenu .nav-link {
    color: #000000;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

#mobileMenu button.nav-link {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    border: none;
    background-color: transparent;
}

/* Mobile menu close button */

.close-button {
    cursor: pointer;
    font-size: 36px;
    padding: 0 0.25rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    color: #000000;
    height: 30px;
    width: 30px;
    margin-right: 0.75rem;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background-color: transparent;
}

.main-menu-mobile .top-nav-item {
    height: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

    .main-menu-mobile .top-nav-item span {
        display: block;
        position: absolute;
        height: 2px;
        width: 30px;
        background: #000000;
        opacity: 1;
        right: 0;
    }

        .main-menu-mobile .top-nav-item span:nth-child(1) {
            top: 15px;
            transform: rotate(45deg);
        }

        .main-menu-mobile .top-nav-item span:nth-child(2) {
            top: 15px;
            transform: rotate(-45deg);
        }

#mobileMenu #language-menu .nav-link {
    font-weight: 400;
    opacity: 0.8;
}

/* Mobile submenu */

.main-menu-mobile .offcanvas-submenu-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;
    overflow-y: auto;
    transition: all .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    z-index: 10;
    padding: 0;
    opacity: 0;
    visibility: hidden;
}

    .main-menu-mobile .offcanvas-submenu-collapse.open {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
        background-color: #fff;
        visibility: visible;
    }

    .main-menu-mobile .offcanvas-submenu-collapse .top-nav-item {
        justify-content: space-between;
    }

.main-menu-mobile .back-button {
    justify-content: flex-start;
    font-size: 30px;
    margin-left: 1rem;
    color: #000000;
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: none;
}

.main-menu-mobile .submenu {
    list-style: none;
    padding-left: 0;
}

.main-menu-mobile .offcanvas-submenu-collapse .submenu:first-child .nav-item:first-child .nav-link {
    border-top: none;
}

.main-menu-mobile .submenu-submenu {
    list-style: none;
    padding-left: 0;
}

#mobileMenu .main-menu-mobile .submenu-submenu .nav-item .nav-link {
    white-space: normal;
    font-weight: 400;
}

.main-menu-mobile .submenu-submenu .nav-item:first-child .nav-link {
    border-top: none;
}

.main-menu-mobile .submenu-submenu .nav-item:first-child .nav-link {
    border-top: none;
}

.main-menu-mobile .submenu-submenu > .nav-item:last-child {
    border-bottom: 1px solid #A1B7B6;
}

.main-menu-mobile .submenu .submenu .nav-item:last-child .nav-link {
    border-bottom: none;
}

.main-menu-mobile .submenu-item .nav-link {
    text-transform: none;
}


/* ---------- Desktop menu ---------- */

#desktopMenu {
    display: none;
}

@media screen and (min-width: 992px) {

    #desktopMenu {
        display: flex;
    }
}

#main-menu {
    flex-direction: row;
    align-items: center;
}

    #main-menu .nav-item {
        position: relative;
    }

    #main-menu .nav-link {
        font-weight: 500;
        color: var(--primary-color);
        padding: 1.5rem 0;
        transition: all ease 0.15s;
        text-transform: none;
        font-size: 1.125rem;
    }


.navbar-dark #main-menu .nav-link:hover {
    color: var(--primary-color);
    /*color: rgba(255, 255, 255, 0.7);*/
}

.navbar-light #main-menu .nav-link:hover {
    /*color: #7D2638;*/
    color: var(--primary-color);
}

#main-menu .dropdown-menu .nav-link:hover {
    /*color: #7D2638 !important;*/
    color: var(--primary-color);
}

#main-menu > .nav-item > .nav-link {
    margin-right: 1.5rem;
}


    #main-menu > .nav-item:last-child > .nav-link {
        margin-right: 0;
    }

.navbar-dark #main-menu .nav-link {
    color: #FFFFFF;
}

@media screen and (min-width: 1700px) {


    #main-menu > .nav-item > .nav-link {
        margin-right: 2rem;
    }
}

/* Desktop dropdown menus */

#main-menu .dropdown-toggle::after {
    display: none;
}

#main-menu .dropdown-toggle svg {
    font-size: .8rem;
    padding-bottom: 1px;
}


#main-menu .dropdown-menu {
    background-color: var(--white-color);
    border: none;
    border-radius: 0;
    position: absolute;
    top: calc(100% - 2px);
    padding: 0;
    min-width: 260px;
    border: 1px solid #eaeaea;
}

    #main-menu .dropdown-menu .nav-link {
        color: #324158;
        font-size: 1.125rem;
        font-weight: 400;
        padding: 1rem;
        border-bottom: 1px solid #D4D4D6;
        line-height: 1;
    }

    #main-menu .dropdown:hover .dropdown-menu{
        display: block;
    }

    #main-menu .dropdown-menu .nav-item:last-child .nav-link {
        border-bottom: none;
    }


/* Desktop language menu */


#desktopMenu #language-menu {
    flex-direction: row;
}

    #desktopMenu #language-menu .nav-link {
        font-weight: 400;
        font-size: 0.875rem;
        color: #000000;
        padding: 0.5rem 1.5rem 0.5rem 0;
        transition: all ease 0.15s;
    }

    #desktopMenu #language-menu .nav-item:last-child .nav-link {
        padding-right: 0;
    }

.navbar-dark #desktopMenu #language-menu .nav-link {
    color: #FFFFFF;
}

@media screen and (min-width: 1700px) {

    #desktopMenu #language-menu .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1.875rem 0.5rem 0;
    }
}

/* ------- Skip to content ------- */

.skip-to-content {
    position: absolute;
    z-index: 1201;
    opacity: 1;
    left: 1rem;
    height: 0;
}

a.skip-to-content-btn {
    display: inline-block;
    font-weight: 500;
    background-color: #000;
    padding: 0.75em 2em;
    color: #FFF;
    border: 1px solid #FFFFFF;
    transform: translateY(-100%);
}

    a.skip-to-content-btn:hover,
    a.skip-to-content-btn:focus {
        background-color: #fff;
        color: #FFF;
        transform: translateY(1rem);
    }

/* 
-----------------------------------------
Contact Section
-----------------------------------------
*/

.contact-section {
    position: relative;
}

.contact-section .overlay {
    position: absolute;
    top: 0;
    right: 0; 
    bottom: 0;
    left: 0;
    opacity: .85;
    z-index:1;
}

.contact-section .container-x {
    position: relative;
    z-index: 2;
}

.contact-section .container-x > div {
    flex-basis: 100%;
}

@media(min-width: 768px) {
    .contact-section .container-x > div {
        flex-basis: calc(50% - 1.5rem);
    }
}

/* Contact Form */


.contact-section .umbraco-forms-form fieldset {
    padding: 0;
}

.contact-section .umbraco-forms-form input.text,
.contact-section .umbraco-forms-form textarea {
    padding: 0.625rem !important;
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
    width: 100%;
    max-width: 100% !important;
    border-radius: 5px;
}


.contact-section .umbraco-forms-form textarea {
    height: 80px;
}

.contact-section .umbraco-forms-form label {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.contact-section .umbraco-forms-form input[type="checkbox"] {
    margin-right: .5rem;
}

.contact-section .umbraco-forms-form .umbraco-forms-navigation {
    padding: 0;
}

/* 
-----------------------------------------
HEADER
-----------------------------------------
*/
.header {
    min-height: 50vh;
    position: relative;
}

    .header .overlay {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #262626;
        opacity: 0.36;
        z-index: 0;
    }

    .header > .container-x {
        position: relative;
        z-index: 1;
    }

/* 
-----------------------------------------
FOOTER
-----------------------------------------
*/

footer {
    position: relative;
}

footer > .container-x {
    padding-bottom: 2rem;
}

footer h3,
footer p,
footer a,
footer li {
    color: var(--white-color) !important;
}

footer p,
footer a,
footer li {
    font-weight: 400 !important;
}

footer a:hover {
    color: var(--secondary-color) !important;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer .footer-logo {
    max-width: 190px;
    margin-top: 2rem
}

footer > div > div {
    flex-basis: 100%;
}

    footer .footer-copyright {
        background-color: #0D1149;
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
    }

@media(min-width: 768px) {
    footer > div > div {
        flex-basis: calc(25% - 1.5rem);
    }
}

/* 
-----------------------------------------
HOMEPAGE
-----------------------------------------
*/

/* Hero */

.hero {
    flex-direction: column;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 0;
    background-position: left;
    position: relative;
    /*height: 75vh;*/
}

    .hero h1,
    .header h1 {
        font-size: 2rem;
        color: #fff;
        line-height: 1.1em;
        margin-bottom: 1.5rem;
    }

    .hero p.ingress {
        color:#fff;
        font-size: 1.35rem;
    }

    .hero .hero-img {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }

    .hero .hero-img img {
        object-fit: cover;
        object-position: center;
        width:100%;
        height: auto;
    }

    .hero .hero-content {
        position: relative;
        z-index: 1;
        padding-bottom: 4rem;
    }

    .hero .hero-content .btn {
       margin-top: 2rem;
    }


@media(min-width: 375px) {
    .hero h1,
    .header h1 {
        /*font-size: clamp(2.75rem, calc(2.75rem + ((1vw - 0.36rem) * 1.9531)), 4rem);*/
        font-size: clamp(2rem, 0.9821rem + 2.8274vw, 4.375rem);
    }
}

@media (min-width: 992px) {

    @media (min-width: 992px) {
        .hero .hero-content > div {
            max-width: 55%;
        }
    }
}

.home-top-blocks {
    position: relative;
    margin-top: -6rem;
    padding-bottom: 4rem;
}

    .home-top-blocks .text-blocks {
        position: static;
    }

/* Home News */

.home-news .card {
    flex-basis: 100%;
    border-radius: 0;
    border: none;
    background-color: var(--bg-light);
}

@media (min-width: 768px) {
    .home-news .card {
        flex-basis: calc(50% - 1rem);
    }
}

@media (min-width: 992px) {
    .home-news .card {
        flex-basis: calc(33% - 1.33rem);
    }
}

/* 
-----------------------------------------
TEXTPAGE
-----------------------------------------
*/

.content-section h2 {
    color: var(--text-dark);
}

.content-section .ingress {
    color: var(--primary-color);
}

.bottom-img {
    min-height: 45vh;
}

/* 
-----------------------------------------
ABOUTPAGE
-----------------------------------------
*/

.keywords,
.keywords-img {
    flex-basis: 100%;
}

.sponsor-text,
.sponsor-imgs {
    flex-basis: 100%;
}

    .sponsor-imgs .sponsor-img {
        height: 150px;
        width: auto;
    }

@media (min-width: 768px) {
    .keywords,
    .sponsor-text {
        flex-basis: 33.33%;
    }

    .keywords-img,
    .sponsor-imgs {
        flex-basis: 66.66%;
    }
}

/* 
-----------------------------------------
CAREER & POSITIONS
-----------------------------------------
*/

.positions .text-blocks {
    
}
    .positions .text-blocks .text-block {
        padding: 2rem;
        height: fit-content;
    }

    .career .anchor-block,
    .position .anchor-block {
        height: fit-content;
    }

  

@media(min-width: 992px) {
    .positions .text-blocks .text-block {
        flex-basis: calc(33% - .33rem);
    }
    .left-column {
        flex: 1 0 auto;
    } 
    .right-column {
        width: 35%;
    } 
}

.umbraco-forms-hidden {
    display: none;
}

.application-form .umbraco-forms-label {
    color: #1b1e4b;
    font-weight: 700;
    font-size: 1rem;
    padding-bottom: .5rem;
}

    .application-form .umbraco-forms-form fieldset {
        padding: 0;
    }

    .application-form .umbraco-forms-form input.text,
    .application-form .umbraco-forms-form textarea {
        padding: 0.625rem !important;
        margin-bottom: 1rem !important;
        margin-top: 0 !important;
        width: 100%;
        max-width: 100% !important;
        border-radius: 2px;
        border: 1px solid #bbb;
        background: #fafafa;
    }

    input[type="file"] {
        max-width: 100%;
    }

    .application-form .umbraco-forms-form textarea {
        height: 80px;
    }

    .application-form .umbraco-forms-form label {
        color: var(--primary-color);
        font-size: 1.125rem;
    }

    .application-form .umbraco-forms-form input[type="checkbox"] {
        margin-right: .5rem;
    }

    .application-form .umbraco-forms-form .umbraco-forms-navigation {
        padding: 0;
    }

    .application-form .umbraco-forms-form .fileupload,
    .application-form .umbraco-forms-form .dataconsent {
        margin-bottom: 1.5rem;
    }

.open-application .open-application-img {
    flex-basis: 30%;
}

.open-application .open-application-form {
    flex-basis: 70%;
}

@media(min-width: 1200px) {
    .anchor-block {
        max-width: 35%;
    }
}

/* 
-----------------------------------------
NEWSPAGE
-----------------------------------------
*/

.news-item .date-tags {
    margin-left: 4px;
}

.news-item .date-tags p {
    color: #595959;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 500;
    line-height: 23px;
}

.filters .active-filter {
    text-decoration: underline;
    font-weight: 700;
}

.filters a {
    cursor: pointer;
    font-weight: 500;
}

.news-img {
    width: 100%;
    height: auto;
}

.sidebar {
    flex-basis: 100%;
}

@media(min-width: 768px) {
    .sidebar {
        flex-basis: 30%;
        border-left: 1px solid #ddd;
    }
}

/* 
-----------------------------------------
CONTACTPAGE
-----------------------------------------
*/

.contact-info > div {
    flex-basis: 100%;
}

.contact-info .contact-blocks {
    min-height: 100%;
}
.contact-info .contact-blocks > div {
    flex-grow: 1;
}

.office ul {
    list-style: none;
    padding-left: 0;
}

.contacts .separator {
    width: 30%;
    border-top-width: 2px;
    border-top-color: #333;
    border-top-style: solid;
}

.contacts .text-block {
    flex-basis: 100%;
}

.contacts:nth-of-type(odd) {
    background-color: var(--bg-light);
}

.contacts:nth-of-type(even) .text-block {
    background-color: var(--bg-light);
}

.contacts:nth-of-type(odd) .text-block {
    background-color: var(--white-color);
}

@media (min-width: 992px) {

    .contacts .text-block {
        flex-basis: calc(33% - 2rem);
    }

    .contact-info > div {
        flex-basis: calc(33% - 2rem);
    }
}