/* Lootsma Engineering multilingual header – C1 */
.le-language-switcher {
    align-items: center;
    align-self: center;
    display: flex;
    gap: 14px;
    justify-self: end;
    margin-right: 16px;
    white-space: nowrap;
    z-index: 20;
}

.le-language-switcher a {
    align-items: center;
    border-bottom: 2px solid transparent;
    color: #f3f3f3 !important;
    display: inline-flex;
    font-size: 14px;
    gap: 6px;
    line-height: 28px;
    padding: 0 2px;
    text-decoration: none !important;
}

.le-language-switcher a:hover,
.le-language-switcher a:focus {
    border-bottom-color: #229948;
    color: #ffffff !important;
    outline: none;
}

.le-language-switcher a.is-active {
    border-bottom-color: #229948;
    color: #ffffff !important;
    font-weight: 600;
}

.le-language-switcher .le-flag {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    display: inline-block;
    flex: 0 0 24px;
    height: 16px;
    line-height: 1;
    width: 24px;
}

.le-language-switcher .le-flag-de {
    background: linear-gradient(to bottom, #111111 0 33.333%, #d7181f 33.333% 66.666%, #ffce00 66.666% 100%);
}

.le-language-switcher .le-flag-nl {
    background: linear-gradient(to bottom, #ae1c28 0 33.333%, #ffffff 33.333% 66.666%, #21468b 66.666% 100%);
}

.le-language-switcher .le-flag-en {
    background-color: #21468b;
    background-image:
        linear-gradient(33deg, transparent 42%, #ffffff 42% 48%, #cf142b 48% 52%, #ffffff 52% 58%, transparent 58%),
        linear-gradient(-33deg, transparent 42%, #ffffff 42% 48%, #cf142b 48% 52%, #ffffff 52% 58%, transparent 58%),
        linear-gradient(to right, transparent 40%, #ffffff 40% 46%, #cf142b 46% 54%, #ffffff 54% 60%, transparent 60%),
        linear-gradient(to bottom, transparent 36%, #ffffff 36% 43%, #cf142b 43% 57%, #ffffff 57% 64%, transparent 64%);
}

.le-language-switcher .le-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

@media (min-width: 769px) {
    #navigation_wrapper {
        display: grid !important;
        grid-template-columns: 270px minmax(0, 1fr);
        grid-template-rows: 100px 58px;
        height: auto !important;
        min-height: 158px;
    }

    #navigation_wrapper > a:first-child {
        align-self: center;
        grid-column: 1;
        grid-row: 1;
        height: 100px;
    }

    #navigation_wrapper #logo {
        height: 100px !important;
        width: 250px !important;
    }

    #navigation_wrapper .le-language-switcher {
        grid-column: 2;
        grid-row: 1;
    }

    #navigation_wrapper #cm_navigation {
        background: transparent !important;
        display: block !important;
        grid-column: 1 / -1;
        grid-row: 2;
        height: 58px !important;
        position: relative !important;
        width: 100% !important;
    }

    #navigation_wrapper #cm_navigation::before {
        background: linear-gradient(180deg, #2d2d2d 0%, #242424 100%);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 1px 3px rgba(0, 0, 0, 0.2);
        content: '';
        height: 58px;
        left: 50%;
        position: absolute;
        top: 0;
        transform: translateX(-50%);
        width: 100vw;
        z-index: 0;
    }

    #navigation_wrapper #cm_navigation > ul {
        align-items: stretch;
        display: flex !important;
        flex-wrap: nowrap !important;
        height: 58px !important;
        justify-content: space-between;
        position: relative !important;
        width: 100% !important;
        z-index: 1;
    }

    #navigation_wrapper #cm_navigation > ul > li {
        background: transparent !important;
        flex: 1 1 auto !important;
        float: none !important;
        height: 58px !important;
        margin: 0 !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    #navigation_wrapper #cm_navigation > ul > li > a {
        background: transparent !important;
        border-bottom: 3px solid transparent !important;
        box-sizing: border-box;
        color: #f1f1f1 !important;
        display: block !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        height: 58px !important;
        line-height: 20px !important;
        padding: 18px 12px 17px !important;
        text-align: center;
        text-decoration: none !important;
        transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
        white-space: nowrap;
    }

    #navigation_wrapper #cm_navigation > ul > li > a:hover,
    #navigation_wrapper #cm_navigation > ul > li > a:focus {
        background: rgba(255, 255, 255, 0.045) !important;
        border-bottom-color: rgba(34, 153, 72, 0.7) !important;
        color: #ffffff !important;
        outline: none;
    }

    #navigation_wrapper #cm_navigation > ul > li.cm_current > a {
        background: #1d1d1d !important;
        border-bottom-color: #229948 !important;
        color: #ffffff !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 768px) {
    #navigation_wrapper {
        box-sizing: border-box;
        height: auto !important;
        padding-top: 44px;
        position: relative !important;
    }

    #navigation_wrapper .le-language-switcher {
        gap: 7px;
        left: 8px;
        margin: 0;
        position: absolute;
        right: 8px;
        top: 7px;
    }

    .le-language-switcher a {
        font-size: 12px;
        gap: 4px;
    }

    .le-language-switcher .le-flag {
        flex-basis: 21px;
        height: 14px;
        width: 21px;
    }

    .le-language-switcher .le-separator {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    #navigation_wrapper .le-language-switcher {
        justify-content: center;
    }

    .le-language-switcher a {
        font-size: 11px;
    }

    .le-language-switcher .le-flag {
        flex-basis: 20px;
        height: 13px;
        width: 20px;
    }
}

.le-legal-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    gap: 10px;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
}

.le-legal-links a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.le-legal-links a:hover,
.le-legal-links a:focus {
    color: #229948;
}

.le-privacy {
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 920px;
    padding: 8px 0 32px;
}

.le-privacy h1 {
    color: #00af4f;
    font-family: "Times New Roman", Times, serif;
    font-size: 38px;
    line-height: 1.2;
    margin: 0 0 8px;
}

.le-privacy h2 {
    color: #167d3d;
    font-family: "Times New Roman", Times, serif;
    font-size: 24px;
    line-height: 1.3;
    margin: 30px 0 8px;
}

.le-privacy p {
    margin: 0 0 14px;
}

.le-privacy a {
    color: #126f37;
    overflow-wrap: anywhere;
}

.le-privacy code {
    background: #f1f4f2;
    border-radius: 3px;
    font-size: 0.92em;
    padding: 2px 5px;
}

.le-privacy-date {
    color: #666;
    font-size: 14px;
}

@media (max-width: 768px) {
    .le-privacy {
        font-size: 15px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .le-privacy h1 {
        font-size: 31px;
    }

    .le-privacy h2 {
        font-size: 21px;
    }
}
