/* include font /wp-content/uploads/et-fonts/din-regular.otf
*/
@font-face {
    font-family: "DIN Regular";
    src: url("/wp-content/uploads/et-fonts/din-regular.otf") format("opentype");
    font-display: swap;
}

#wpadminbar{
    z-index: 999999999!important;
}

/* The menu above everything : Divi's header container has z-index 3 and the z-index of the menu only counts inside it.
   Modals and panels stay below the menu, see --menu-height in coffee.css and --rbd-vac-panel-max-height in job-overview.css */
.et-l--header .et_builder_inner_content {
    z-index: 999999999 !important;
}

.rbd_menu_wrapper,
.rbd_menu_wrapper>*,
.rbd_menu_wrapper>*>*,
.rbd_menu_wrapper>*>*>*,
.rbd_menu_wrapper>*>*>*>*,
.rbd_menu_wrapper>*>*>*>*>*,
.rbd_menu_wrapper>*>*>*>*>*>*,
.rbd_menu_wrapper>*>*>*>*>*>*>* {
    padding: 0px !important;
    margin: 0px !important;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    height: 100%;
}

:root {
    --menu-height: 125px;
    --secondary-menu-height: 40px;
    /* set by header.php when the admin bar is showing */
    --rbd_adminbar_height: 0px;
    /* side space of the bottom bar : 125px on large screens, down to the 75px of the page content at the breakpoint */
    --rbd-menu-gutter: clamp(75px, 12.5vw - 75px, 125px);
}

/* Top menu */
.rbd_menu_wrapper {
    position: fixed;
    left: 0px;
    top: 0px !important;
    width: 100%;
    height: var(--menu-height);
    z-index: 999999999 !important;
}

.rbd_menu_desktop_spacer {
    height: var(--menu-height);
}

/* Links to an anchor (/downloads#request) and scrollIntoView stop below the fixed menu */
html {
    scroll-padding-top: calc(var(--menu-height) + var(--rbd_adminbar_height));
}

.rbd_menu_wrapper .rbd_menu_top {
    background-color: var(--gcid-primary-color);
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    height: calc(var(--secondary-menu-height));
    /* the language list opens over the bottom bar */
    z-index: 2;
}

.rbd_menu_wrapper .rbd_menu_top .rbd_menu_top_inner {
    /* same edges as the bottom bar */
    width: calc(100% - var(--rbd-menu-gutter) * 2);
    max-width: 1600px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.rbd_menu_wrapper .rbd_menu_top .rbd_menu_top_inner .rbd_menu_top_menucontent {}

.rbd_menu_wrapper .rbd_menu_top .rbd_menu_top_inner .rbd_menu_top_menucontent #menu-secondary {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    gap: 0px;
    height: 100%;
}

/* Secondary menu items (top) */
.rbd_menu_wrapper .rbd_menu_top .rbd_menu_top_inner .rbd_menu_top_menucontent #menu-secondary.rbd_menu_top_menucontent_list .menu-item {
    display: flex;
    flex-direction: column;
    align-content: center !important;
    justify-content: center;
    align-items: center;
    padding: 0px 11px !important;
}

.rbd_menu_wrapper .rbd_menu_top .rbd_menu_top_inner .rbd_menu_top_menucontent #menu-secondary.rbd_menu_top_menucontent_list .menu-item a {
    color: white;
    font-family: "DIN REGULAR";
    font-weight: 500;
    font-size: 17px;
    display: block;
    margin-top: -2px!important;
    float: left;
    height: auto;
    /* border: 1px solid red; */
}

/* Bottom menu */
.rbd_menu_wrapper .rbd_menu_bottom {
    width: 100%;
    height: calc(var(--menu-height) - var(--secondary-menu-height));
    background: rgb(255 255 255 / 95%);
    backdrop-filter: blur(8px);
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner {
    height: 100%;
    width: calc(100% - var(--rbd-menu-gutter) * 2);
    max-width: 1600px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 20px;
    align-items: center;
}

.rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_logo {
    height: calc(100% - 21px);
    width: 250px;
    position: relative;
    display: block;
    float: left;
}

.rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_logo .rbd_menu_bottom_logo_svg {
    display: block;
    width: 100%;
    height: 100%;
}

.rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent #menu-primary.rbd_menu_bottom_menucontent_list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

/* Primary menu items (bottom) */
.rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent #menu-primary.rbd_menu_bottom_menucontent_list .menu-item {
    display: flex;
    align-content: center;
    align-items: center;
}

.rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent #menu-primary.rbd_menu_bottom_menucontent_list .menu-item a {
    color: var(--primary);
    font-family: "DIN Regular";
    font-weight: 500;
    font-size: 20px;
    height: auto;
    letter-spacing: -.2px;
}


/* contact CTA : the contact page (class added in header.php) or any item with the css class "rbd_menu_cta" */
#menu-primary > li.menu-item.rbd_menu_cta > a {
    /* background-color: white; */
    color: var(--gcid-secondary-color)!important;
    padding: 7px 15px !important;
    border-radius: 3px !important;
    font-size: 21px !important;
    border: 2px solid var(--gcid-secondary-color);
}


#menu-secondary > li.current-menu-item,
#menu-secondary > li.current-page-ancestor{
    background-color: #405B82;
    color: white !important;
}
/* Gekozen marktkleur van de huidige pagina (market-color.php), anders --secondary.
   Ook voor de bovenliggende pagina van een subpagina of CPT-bericht (current-page-ancestor, header.php). */
#menu-primary > li.current_page_item > a,
#menu-primary > li.current-menu-item > a,
#menu-primary > li.current-page-ancestor > a{
    color: var(--market-color-selected, var(--secondary, var(--gcid-secondary-color)))!important;
}
#menu-primary > li.rbd_menu_cta.current-menu-item > a{
    background-color: var(--gcid-secondary-color)!important;
    color: white !important;
}

/* Search + language */
.rbd_menu_wrapper .rbd_menu_top .rbd_menu_top_inner .rbd_menu_top_tools {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;
    margin-left: 11px !important;
    /* the line of the arrow in the language button ends on the edge, in line with the bottom bar
       (8px padding of the button + 3px white space in the icon) */
    margin-right: -11px !important;
}

.rbd_menu_wrapper .rbd_menu_search_toggle,
.rbd_menu_wrapper .rbd_menu_lang_toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    background-color: transparent;
    color: white;
    font-family: "DIN Regular", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background-color var(--rbd-menu-transition);
}

.rbd_menu_wrapper .rbd_menu_search_toggle {
    width: 40px;
    font-size: 21px;
}

.rbd_menu_wrapper .rbd_menu_search_toggle .rbd-vac-icon,
.rbd_menu_wrapper .rbd_menu_lang_toggle .rbd-vac-icon {
    width: 1em;
    height: 1em;
}

.rbd_menu_wrapper .rbd_menu_search_toggle[aria-expanded="true"],
.rbd_menu_wrapper .rbd_menu_top .rbd_menu_lang_open .rbd_menu_lang_toggle {
    background-color: #405B82;
}

.rbd_menu_wrapper .rbd_menu_search_toggle:focus-visible,
.rbd_menu_wrapper .rbd_menu_top .rbd_menu_lang_toggle:focus-visible {
    outline: 2px solid white;
    outline-offset: -2px;
}

/* Language : globe + code + arrow, the list opens underneath */
.rbd_menu_wrapper .rbd_menu_lang {
    position: relative;
    z-index: 2;
}

.rbd_menu_wrapper .rbd_menu_lang_toggle {
    gap: 8px;
    padding: 0px 8px !important;
    white-space: nowrap;
}

.rbd_menu_wrapper .rbd_menu_lang_toggle .rbd_menu_lang_globe {
    display: block;
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
}

.rbd_menu_wrapper .rbd_menu_lang_toggle .rbd_menu_lang_code {
    height: auto;
}

.rbd_menu_wrapper .rbd_menu_lang_toggle .rbd-vac-icon {
    font-size: 15px;
    transition: transform var(--rbd-menu-transition);
}

.rbd_menu_wrapper .rbd_menu_lang_open .rbd_menu_lang_toggle .rbd-vac-icon {
    transform: rotate(180deg);
}

.rbd_menu_wrapper .rbd_menu_lang .rbd_menu_lang_list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0px;
    min-width: 180px;
    height: auto;
    padding: 6px 0px !important;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 36, 88, 0.15);
    overflow: hidden;
    border-radius: var(--rbd-border-radius);
}

.rbd_menu_wrapper .rbd_menu_lang_open .rbd_menu_lang_list {
    display: block;
}

.rbd_menu_wrapper .rbd_menu_lang .rbd_menu_lang_list li {
    height: auto;
}

.rbd_menu_wrapper .rbd_menu_lang .rbd_menu_lang_list a {
    display: block;
    height: auto;
    padding: 11px 16px !important;
    color: var(--gcid-primary-color);
    font-family: "DIN Regular", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color var(--rbd-menu-transition);
}

.rbd_menu_wrapper .rbd_menu_lang .rbd_menu_lang_list a[aria-current] {
    color: var(--rbd-menu-accent);
}

.rbd_menu_wrapper .rbd_menu_lang .rbd_menu_lang_list a:focus-visible {
    outline: 2px solid var(--gcid-primary-color);
    outline-offset: -2px;
}

/* Search field : same look as the search on the downloads page, with the framed arrow as submit button */
.rbd_menu_wrapper .rbd_menu_search_form {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    height: 56px;
    background-color: #f4f8fa;
    border-radius: var(--rbd-border-radius);
}

.rbd_menu_wrapper .rbd_menu_search_form .rbd_menu_search_icon {
    position: absolute;
    top: 50%;
    left: 16px;
    display: block;
    height: 20px;
    margin-top: -10px !important;
    color: var(--gcid-primary-color);
    font-size: 20px;
    pointer-events: none;
}

/* With the form class in front, otherwise Divi's input[type=search] wins */
.rbd_menu_wrapper .rbd_menu_search_form .rbd_menu_search_input {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 0px 60px 0px 48px !important;
    color: var(--gcid-primary-color) !important;
    background: transparent;
    border: 0;
    border-radius: var(--rbd-border-radius);
    box-shadow: none;
    font-family: "DIN Regular", Helvetica, Arial, sans-serif;
    font-size: 20px;
    line-height: 1.2;
    transition: box-shadow var(--rbd-menu-transition);
    appearance: none;
    -webkit-appearance: none;
}

.rbd_menu_wrapper .rbd_menu_search_form .rbd_menu_search_input::placeholder {
    color: var(--gcid-primary-color);
    opacity: 0.75;
}

/* No browser clear button : there is already a submit arrow, and a close button in the top bar */
.rbd_menu_wrapper .rbd_menu_search_form .rbd_menu_search_input::-webkit-search-cancel-button {
    display: none;
    -webkit-appearance: none;
}

.rbd_menu_wrapper .rbd_menu_search_form .rbd_menu_search_input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(0, 36, 88, 0.25);
}

.rbd_menu_wrapper .rbd_menu_search_form .rbd_menu_search_submit {
    position: absolute;
    top: 50%;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--rbd-arrow-button-size);
    height: var(--rbd-arrow-button-size);
    margin-top: calc(var(--rbd-arrow-button-size) / -2) !important;
    border: var(--rbd-arrow-border-width) solid var(--rbd-arrow-color);
    border-radius: var(--rbd-arrow-button-radius);
    background-color: transparent;
    color: var(--rbd-arrow-color);
    cursor: pointer;
    transition: background-color var(--rbd-menu-transition), color var(--rbd-menu-transition);
}

.rbd_menu_wrapper .rbd_menu_search_form .rbd_menu_search_submit:focus-visible {
    outline: 2px solid var(--gcid-primary-color);
    outline-offset: 2px;
}

/* Top bar : the search field opens over the bottom bar */
.rbd_menu_wrapper .rbd_menu_search {
    position: absolute;
    top: var(--secondary-menu-height);
    left: 0px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(var(--menu-height) - var(--secondary-menu-height));
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 36, 88, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--rbd-menu-transition), visibility var(--rbd-menu-transition);
}

.rbd_menu_wrapper.rbd_menu_search_open .rbd_menu_search {
    opacity: 1;
    visibility: visible;
    /* visible straight away, so the input can take the focus */
    transition: opacity var(--rbd-menu-transition), visibility 0s;
}

.rbd_menu_wrapper .rbd_menu_search .rbd_menu_search_inner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - var(--rbd-menu-gutter) * 2);
    max-width: 1600px;
    height: auto;
}

.rbd_menu_wrapper .rbd_menu_search .rbd_menu_search_close {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background-color: transparent;
    color: var(--gcid-primary-color);
    font-size: 26px;
    cursor: pointer;
}

.rbd_menu_wrapper .rbd_menu_search .rbd_menu_search_close .rbd-vac-icon {
    width: 1em;
    height: 1em;
}

.rbd_menu_wrapper .rbd_menu_search .rbd_menu_search_close:focus-visible {
    outline: 2px solid var(--gcid-primary-color);
    outline-offset: 2px;
}

@media (hover: hover) {
    .rbd_menu_wrapper .rbd_menu_search_toggle:hover,
    .rbd_menu_wrapper .rbd_menu_top .rbd_menu_lang_toggle:hover {
        background-color: #405B82;
    }

    .rbd_menu_wrapper .rbd_menu_lang .rbd_menu_lang_list a:hover {
        background-color: #f4f8fa;
    }

    .rbd_menu_wrapper .rbd_menu_search_form .rbd_menu_search_submit:hover {
        background-color: var(--rbd-arrow-color);
        color: white;
    }
}

/* Mobile menu : call button + toggle button + panel (hidden on desktop, see media query below)
   Same style as the other components : navy + red, DIN, square corners, framed arrows (job-overview.css, job-cta.css) */
.rbd_menu_wrapper {
    --rbd-menu-accent: var(--market-color-selected, var(--secondary, var(--gcid-secondary-color)));
    --rbd-menu-divider: rgba(0, 36, 88, 0.12);
    --rbd-menu-backdrop: rgba(0, 20, 50, 0.6);
    --rbd-menu-primary-hover: #001a40;
    --rbd-menu-transition: 0.2s ease;
}

.rbd_menu_wrapper .rbd_menu_call,
.rbd_menu_wrapper .rbd_menu_toggle,
.rbd_menu_wrapper .rbd_menu_mobile {
    display: none;
}

/* Call button : same shape as the toggle, navy frame with a navy icon */
.rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent .rbd_menu_call {
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 1.5px solid currentColor;
    border-radius: var(--rbd-border-radius);
    background-color: white;
    color: var(--gcid-primary-color);
    transition: background-color var(--rbd-menu-transition), color var(--rbd-menu-transition);
}

.rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent .rbd_menu_call svg {
    display: block;
    width: 18px;
    height: 18px;
}

.rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent .rbd_menu_toggle {
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0px 14px !important;
    border: none;
    border-radius: var(--rbd-border-radius);
    background-color: var(--gcid-primary-color);
    color: white;
    font-family: "DIN Regular", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    transition: background-color var(--rbd-menu-transition);
}

/* Only with a real mouse : on a touch screen a hover state stays behind after the tap */
@media (hover: hover) {
    .rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent .rbd_menu_call:hover {
        background-color: var(--gcid-primary-color);
        color: white;
    }

    .rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent .rbd_menu_toggle:hover {
        background-color: var(--rbd-menu-primary-hover);
    }
}

.rbd_menu_wrapper .rbd_menu_call:focus-visible,
.rbd_menu_wrapper .rbd_menu_toggle:focus-visible {
    outline: 2px solid var(--gcid-primary-color);
    outline-offset: 2px;
}

.rbd_menu_wrapper .rbd_menu_toggle .rbd_menu_toggle_label {
    height: auto;
}

/* Hamburger : the span is the middle bar, ::before / ::after are the top and bottom bar */
.rbd_menu_wrapper .rbd_menu_toggle .rbd_menu_toggle_bars {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 22px;
    height: 2px;
    background-color: currentColor;
    transition: background-color var(--rbd-menu-transition);
}

.rbd_menu_wrapper .rbd_menu_toggle .rbd_menu_toggle_bars::before,
.rbd_menu_wrapper .rbd_menu_toggle .rbd_menu_toggle_bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: transform 0.3s ease;
}

.rbd_menu_wrapper .rbd_menu_toggle .rbd_menu_toggle_bars::before {
    top: -7px;
}

.rbd_menu_wrapper .rbd_menu_toggle .rbd_menu_toggle_bars::after {
    top: 7px;
}

/* Open : the three bars turn into a cross */
.rbd_menu_wrapper .rbd_menu_toggle[aria-expanded="true"] .rbd_menu_toggle_bars {
    background-color: transparent;
}

.rbd_menu_wrapper .rbd_menu_toggle[aria-expanded="true"] .rbd_menu_toggle_bars::before {
    transform: translateY(7px) rotate(45deg);
}

.rbd_menu_wrapper .rbd_menu_toggle[aria-expanded="true"] .rbd_menu_toggle_bars::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* Panel : slides in under the header, fills the rest of the screen */
.rbd_menu_wrapper .rbd_menu_mobile {
    position: absolute;
    top: 100%;
    left: 0px;
    width: 100%;
    height: calc(100vh - var(--menu-height) - var(--rbd_adminbar_height));
    height: calc(100dvh - var(--menu-height) - var(--rbd_adminbar_height));
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background-color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.rbd_menu_wrapper.rbd_menu_open .rbd_menu_mobile {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_inner {
    width: 100%;
    height: auto;
    min-height: 100%;
    padding: 6px var(--rbd-menu-gutter) 0px !important;
    display: flex;
    flex-direction: column;
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_inner .rbd_menu_mobile_list {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
}

/* A single menu fills the panel, so the contact button (margin-top: auto) ends up at the bottom */
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_inner .rbd_menu_mobile_list:only-of-type {
    flex: 1 0 auto;
}

/* Search + language at the top of the panel */
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_inner .rbd_menu_mobile_tools {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    height: auto;
    padding: 12px 0px 6px !important;
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_search_form {
    height: 48px;
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_search_form .rbd_menu_search_input {
    padding-right: 50px !important;
    font-size: 18px;
}

/* Suggestions (search.css) : as wide as the row with the search field + language */
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_search_form .rbd-search-suggest {
    width: calc(100vw - var(--rbd-menu-gutter) * 2);
    margin-top: 4px !important;
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_lang {
    flex: 0 0 auto;
    height: 48px;
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_lang_toggle {
    padding: 0px 12px !important;
    background-color: #f4f8fa;
    color: var(--gcid-primary-color);
    border-radius: var(--rbd-border-radius);
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_lang_toggle:focus-visible {
    outline: 2px solid var(--gcid-primary-color);
    outline-offset: 2px;
}

/* Menu items */
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item {
    display: block;
    height: auto;
    border-bottom: 1px solid var(--rbd-menu-divider);
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item > a {
    position: relative;
    display: flex;
    align-items: center;
    height: auto;
    min-height: 56px;
    padding: 10px 44px 10px 0px !important;
    color: var(--gcid-primary-color);
    font-family: "DIN Regular", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.2px;
    transition: color var(--rbd-menu-transition);
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item > a:focus-visible {
    outline: 2px solid var(--gcid-primary-color);
    outline-offset: 2px;
}

/* Arrow in a red frame (like the arrows on the job cards) : ::before is the frame, ::after is the arrow */
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list > .menu-item > a::before,
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list > .menu-item > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0px;
    box-sizing: border-box;
    width: var(--rbd-arrow-button-size);
    height: var(--rbd-arrow-button-size);
    margin-top: calc(var(--rbd-arrow-button-size) / -2);
    transition: background-color var(--rbd-menu-transition), color var(--rbd-menu-transition);
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list > .menu-item > a::before {
    border: var(--rbd-arrow-border-width) solid var(--rbd-arrow-color);
    border-radius: var(--rbd-arrow-button-radius);
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list > .menu-item > a::after {
    background-color: var(--rbd-arrow-color);
    -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.717 15.517"><path d="M6.959 15.517 5.842 14.4l6.642-6.642-6.642-6.641L6.959 0l7.758 7.758ZM0 6.958h13.6v1.6H0Z"/></svg>') center / var(--rbd-arrow-icon-size) var(--rbd-arrow-icon-size) no-repeat;
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.717 15.517"><path d="M6.959 15.517 5.842 14.4l6.642-6.642-6.642-6.641L6.959 0l7.758 7.758ZM0 6.958h13.6v1.6H0Z"/></svg>') center / var(--rbd-arrow-icon-size) var(--rbd-arrow-icon-size) no-repeat;
}

/* Current page : market color (same as the desktop menu) and a filled arrow */
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .current-menu-item > a,
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .current-page-ancestor > a {
    color: var(--rbd-menu-accent);
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list > .current-menu-item > a::before,
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list > .current-page-ancestor > a::before {
    border-color: var(--rbd-menu-accent);
    background-color: var(--rbd-menu-accent);
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list > .current-menu-item > a::after,
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list > .current-page-ancestor > a::after {
    background-color: white;
}

@media (hover: hover) {
    .rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list > .menu-item > a:hover::before {
        background-color: var(--rbd-arrow-color);
    }

    .rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list > .menu-item > a:hover::after {
        background-color: white;
    }
}

/* Jobs badge : light red with darker red text, also on the current page (hence the !important, see job-overview.css).
   The reset at the top of this file removes its padding */
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .rbd-menu-badge {
    flex: 0 0 auto;
    margin-left: 10px !important;
    padding: 0px 6px !important;
    color: color-mix(in srgb, var(--gcid-secondary-color) 85%, black);
    background: color-mix(in srgb, var(--gcid-secondary-color) 14%, white) !important;
    border-radius: 2px;
    top: 0px;
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .rbd-menu-badge > * {
    height: auto;
}

/* Secondary menu : smaller, below the primary menu */
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list_secondary .menu-item > a {
    min-height: 48px;
    font-size: 18px;
}

/* Sub menu items (only when the mobile menu has them) */
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .sub-menu {
    display: flex;
    flex-direction: column;
    height: auto;
    padding-bottom: 8px !important;
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .sub-menu .menu-item {
    border-bottom: none;
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .sub-menu .menu-item > a {
    min-height: 44px;
    padding: 8px 0px 8px 20px !important;
    font-size: 18px;
}

/* contact CTA : the contact page (class added in header.php) or any item with the css class "rbd_menu_cta".
   Always the last item and stays in view while the list scrolls, like the footer of the filter panel */
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item.rbd_menu_cta {
    position: sticky;
    bottom: 0px;
    z-index: 1;
    order: 99;
    margin: auto calc(var(--rbd-menu-gutter) * -1) 0px !important;
    padding: 14px var(--rbd-menu-gutter) calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    border-bottom: none;
    background-color: white;
    box-shadow: 0 -1px 0 var(--rbd-menu-divider);
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item.rbd_menu_cta > a {
    padding: 10px 58px 10px 16px !important;
    background-color: var(--gcid-secondary-color);
    color: white !important;
    transition: background-color var(--rbd-menu-transition);
    border-radius: var(--rbd-border-radius);
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item.rbd_menu_cta > a::before,
.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item.rbd_menu_cta > a::after {
    right: 13px;
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item.rbd_menu_cta > a::before {
    border-color: white;
    background-color: transparent !important;
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item.rbd_menu_cta > a::after {
    background-color: white !important;
}

.rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item.rbd_menu_cta.current-menu-item > a {
    background-color: var(--gcid-primary-color);
}

@media (hover: hover) {
    .rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item.rbd_menu_cta > a:hover {
        background-color: var(--gcid-primary-color);
    }
}

@media (max-width: 1200px) {
    :root {
        --menu-height: 64px;
        --secondary-menu-height: 0px;
        /* Follows the side space of the page content (Divi rows) */
        --rbd-menu-gutter: 75px;
    }

    /* No top bar : the secondary menu, search and language move into the panel */
    .rbd_menu_wrapper .rbd_menu_top,
    .rbd_menu_wrapper .rbd_menu_search {
        display: none;
    }

    /* Bottom bar : logo left, toggle right */
    .rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-gap: 12px;
    }

    .rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_logo {
        height: calc(100% - 16px);
        width: 100%;
        max-width: 215px;
    }

    .rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent .rbd_menu_bottom_menucontent_list {
        display: none !important;
    }

    .rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent {
        gap: 10px;
    }

    .rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent .rbd_menu_call,
    .rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent .rbd_menu_toggle {
        display: flex;
    }

    .rbd_menu_wrapper .rbd_menu_mobile {
        display: flex;
    }

    /* Open : the header and the panel become one solid surface and the page behind it can't scroll */
    .rbd_menu_wrapper.rbd_menu_open .rbd_menu_bottom {
        background: white;
        backdrop-filter: none;
        box-shadow: inset 0 -1px 0 var(--rbd-menu-divider);
    }

    body.rbd_menu_open {
        overflow: hidden;
    }

    /* Backdrop : a tap on it closes the menu (header.php). Only visible when the panel doesn't fill the screen */
    .rbd_menu_wrapper::after {
        content: "";
        position: fixed;
        top: var(--rbd_adminbar_height);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: -1;
        background: var(--rbd-menu-backdrop);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .rbd_menu_wrapper.rbd_menu_open::after {
        opacity: 1;
        visibility: visible;
    }
}

/* Tablet + phone in landscape : panel as high as its content, the items in two columns */
@media (min-width: 601px) and (max-width: 1200px) {
    .rbd_menu_wrapper .rbd_menu_mobile {
        height: auto;
        max-height: calc(100vh - var(--menu-height) - var(--rbd_adminbar_height));
        max-height: calc(100dvh - var(--menu-height) - var(--rbd_adminbar_height));
    }

    .rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_inner {
        min-height: 0;
    }

    .rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_inner .rbd_menu_mobile_list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
    }

    .rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item.rbd_menu_cta {
        grid-column: 1 / -1;
        margin-top: 0px !important;
    }
}

@media (max-width: 980px) {
    :root {
        --rbd-menu-gutter: 50px;
    }
}

@media (max-width: 767px) {
    :root {
        --rbd-menu-gutter: 25px;
    }
}

/* Low screens : smaller rows, so more of the list fits without scrolling */
@media (max-width: 1200px) and (max-height: 640px) {
    .rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item > a {
        min-height: 48px;
        font-size: 20px;
    }

    .rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_mobile_list .menu-item.rbd_menu_cta {
        padding-top: 10px !important;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* Phone : smaller logo, more white space around it in the bar */
@media (max-width: 767px) {
    .rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_logo {
        max-width: 170px;
    }
}

/* From this width WordPress lets the admin bar scroll away, the header stays : keep them together */
@media (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
    }
}

/* Very small screens : tighter search + language, so the placeholder stays readable */
@media (max-width: 360px) {
    .rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_search_form .rbd_menu_search_icon {
        left: 10px;
    }

    .rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_search_form .rbd_menu_search_input {
        padding: 0px 42px 0px 36px !important;
    }

    .rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_search_form .rbd_menu_search_submit {
        right: 6px;
    }

    .rbd_menu_wrapper .rbd_menu_mobile .rbd_menu_lang_toggle {
        gap: 6px;
        padding: 0px 8px !important;
    }
}

/* Small screens : only the hamburger (the label stays available for screen readers) */
@media (max-width: 480px) {
    .rbd_menu_wrapper .rbd_menu_bottom .rbd_menu_bottom_inner .rbd_menu_bottom_menucontent .rbd_menu_toggle {
        width: 44px;
        padding: 0px !important;
    }

    .rbd_menu_wrapper .rbd_menu_toggle .rbd_menu_toggle_label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rbd_menu_wrapper .rbd_menu_mobile,
    .rbd_menu_wrapper.rbd_menu_open .rbd_menu_mobile,
    .rbd_menu_wrapper::after,
    .rbd_menu_wrapper .rbd_menu_search,
    .rbd_menu_wrapper .rbd_menu_toggle .rbd_menu_toggle_bars::before,
    .rbd_menu_wrapper .rbd_menu_toggle .rbd_menu_toggle_bars::after {
        transition: none;
    }

    .rbd_menu_wrapper .rbd_menu_mobile {
        transform: none;
    }
}



div#page-container::after{

    content: "";
    position: fixed;
    width: 600px;
    height: 90%;
    bottom: 5%;
    left: 0;
    background-image: url("/wp-content/uploads/2026/10/watermark-rev2.webp");
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}
@media (max-width: 480px) {
    div#page-container::after{
        width: 300px;
        height: 45%;
        bottom: 5%;
    }
}


/* disable horizontal scrolling */
body {
    overflow-x: hidden;
}