/*
 * Inhoud
 *
 * -Header
 * -Footer
 * -Pagina hoogte
 *  -Header
 * -Overgang naar mobiel
 * --Header
 * --Mobiel menu
 * --Footer
 * --Lettertypes algemeen
 */

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 2;
    background: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
}
header.sticky {
    height: 120px;
}
.header-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0 270px 0 70px;
    max-width: 1790px;
}
header.sticky .header-container {
    margin: 0 70px;
}

header .logo-sticky,
header.sticky .logo {
    display: none;
}
header.sticky .logo-sticky,
header .logo {
    display: flex;
}
header .logo {
    padding-top: 45px;
}
header .logo,
header .logo-sticky {
    width: auto;
    position: relative;
}
header .logo-sticky {
    height: 170px;
    top: 43px;
}
header .logo a,
header .logo-sticky a {
    position: relative;
}
header .logo img,
header .logo-sticky img {
    width: auto;
    position: relative;
    z-index: 1;
}
header .logo img {
    height: 100px;
}
header .logo-sticky img {
    height: 170px;
}

.navigation {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: self-end;
    justify-content: space-between;
}
header.sticky .navigation {
    display: none;
}
.header-container .nav {
    display: flex;
    margin: 0;
    padding: 0;
}
.header-container .nav .nav-item {
    list-style: none;
    font-size: 24px;
}
.header-container .nav .nav-item a {
    text-decoration: none;
    font-weight: bold;
}

.navigation .top-navigation {
    padding-top: 45px;
}
.navigation .top-navigation .nav .nav-item:not(:first-child) {
    margin-left: 44px;
}
.navigation .top-navigation .nav .nav-item a {
    color: var(--default-color);
    font-size: var(--nav-top-fontsize);
    height: 100%;
    display: flex;
    align-items: center;
}
.navigation .top-navigation .nav .nav-item.search {
    margin-left: 80px;
    width: 30px;
}
.navigation .top-navigation .nav .nav-item.search img {
    width: 30px;
    height: 30px;
}

.navigation .main-navigation {
    height: 70px;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 0;
}
.main-navigation-extention {
    position: fixed;
    left: 0;
    top: 200px;
    width: 100%;
    height: 500px;
    background: var(--secondary-color);
    display: none;
    align-items: center;
    justify-content: center;
}
.main-navigation-extention .extention-container {
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
}
.main-navigation-extention .extention-container a:hover h4,
.main-navigation-extention .extention-container a:hover p {
    color: var(--default-color);
}
.main-navigation-extention .extention-container p {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: bold;
    line-height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}
.navigation .main-navigation .nav .nav-item:not(:first-child) {
    margin-left: 30px;
}
.navigation .main-navigation .nav .nav-item {
    border-top-right-radius: 35px;
    background-color: var(--thirtary-color);
    display: flex;
    height: 70px;
    overflow: hidden;
}
.navigation .main-navigation .nav .nav-item a {
    padding: 20px 50px;
    color: var(--white-color);
    transition: var(--hover-transition);
}
.navigation .main-navigation .nav .nav-item:hover a {
    background-color: var(--secondary-color);
}
.navigation .main-navigation .nav .nav-item:hover .main-navigation-extention {
    display: flex;
}

.header-container .nav-slogan {
    display: none;
    align-items: center;
}
header.sticky .header-container .nav-slogan {
    display: flex;
}
.header-container .nav-slogan h3 {
    color: var(--default-color);
    font-size: 18px;
    font-family: "Teko", Sans-Serif;
    font-weight: normal;
}

header.sticky .navbar-toggler {
    display: flex;
}
.navbar-toggler {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    -webkit-appearance: none;
    outline: none;
    padding: 0;
    width: 40px;
}
.navbar-toggler:hover {
    cursor: pointer;
}
.navbar-toggler img {
    width: 40px;
    height: auto;
    pointer-events: none;
}
.navbar-toggler-icon {
    display: block;
    pointer-events: none;
}
.nav-open .navbar-toggler-icon {
    display: none;
}
.navbar-toggler-times {
    display: none;
}
.nav-open .navbar-toggler-times {
    padding: 0;
    display: block;
    pointer-events: none;
}
.navbar-toggler-times img {
    width: 40px;
    pointer-events: none;
}

.fullpage-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
}
.nav-open .fullpage-menu::after {
    content: "";
    background: var(--default-color);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.nav-open .fullpage-menu {
    display: flex;
    justify-content: center;
}
.fullpage-menu .navbar-container {
    width: 100%;
    display: flex;
    height: 100%;
    flex-direction: column;
    max-width: 100%;
    margin: 0 75px;
}
.fullpage-menu .navbar-container .navbar-header {
    display: flex;
    justify-content: space-between;
}
.fullpage-menu .navbar-container .navbar-header .logo {
    display: flex !important;
    width: auto;
    position: relative;
    z-index: 4;
    padding-top: 40px;
}
.fullpage-menu .navbar-container .navbar-header .logo-mobile {
    display: none;
}
.nav-open .fullpage-menu .navbar-toggler {
    z-index: 11;
    display: flex;
    justify-content: flex-start;
    padding-top: 40px;
    height: auto;
    align-items: flex-start;
}
.navbar-header-buttons {
    display: flex;
    flex-direction: row;
}
.navbar-header-buttons li.nav-item.search {
    display: flex;
    z-index: 11;
    position: relative;
    width: 40px;
    padding-top: 40px;
    margin-right: 30px;
}
.navbar-header-buttons li.nav-item.search img {
    width: 40px;
    height: 40px;
}
.nav-container {
    width: 100%;
    height: calc(100vh - 230px);
    z-index: 4;
    overflow-x: auto;
}
.page-navigation {
    display: block;
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
}
.page-navigation .nav {
    list-style: none;
    padding: 60px 0;
    margin: 0;
}
.page-navigation .nav .nav-item {
    padding: 0;
    text-align: center;
}
.page-navigation .nav .nav-last-subitem {
    padding-bottom: 30px;
}

.page-navigation .nav .nav-item .nav-link {
    color: var(--thirtary-color);
    text-decoration: none;
    font-family: var(--site-font);
    font-weight: bold;
    font-size: var(--fullscreen-menu-font-size);
}
.page-navigation .nav .nav-item.nav-subitem .nav-link {
    font-size: var(--fullscreen-submenu-font-size);
}
.page-navigation .nav .nav-item:hover .nav-link {
    color: var(--secondary-color);
}
.fullpage-menu .navbar-socials {
    display: flex;
    z-index: 4;
    position: relative;
    justify-content: flex-end;
    margin-bottom: 50px;
}
.fullpage-menu .navbar-socials a:not(:first-child) {
    margin-left: 20px;
}
.fullpage-menu .navbar-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.fullpage-menu .navbar-socials a img {
    width: auto;
    height: 30px;
    position: relative;
}


/* Footer */
footer {
    width: 100%;
    background-color: var(--white-color);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
footer .footer {
    width: 100%;
    max-width: 1540px;
}
footer .footer-container {
    display: flex;
    padding: 80px 70px 40px 70px;
}
footer .footer-container .col-contact {
    width: 35%;
}
footer .footer-container .col-contact p a {
    color: inherit;
    font-size: inherit;
}
footer .footer-container .col-links {
    width: calc(65% - 240px);
}
footer .footer-container .col-certification {
    width: 240px;
    display: flex;
    flex-direction: column;
}
footer .footer-container h4 {
    color: var(--thirtary-color);
    margin-bottom: 30px;
}
.footer-row {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}
.footer-row .footer-icon {
    position: absolute;
    left: -45px;
    top: 0;
    width: 30px;
    min-width: 30px;
    max-width: 30px;
    display: flex;
    justify-content: center;
}
.footer-row .footer-icon img {
    width: auto;
    height: 30px;
}
.footer-row .footer-content p {
    font-size: var(--default-font-size);
    font-family: var(--site-font);
    margin: 0;
    line-height: 26px;
}
.footer-row .footer-content h5 {
    font-size: 24px;
    color: var(--default-color);
    margin-bottom: 0;
}
.footer-container .col-contact a {
    text-decoration: none;
    color: var(--default-color);
    font-size: 24px;
}
.footer-row .nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 50%;
    font-size: 24px;
}
.footer-row .footer-list-item a,
.footer-row .footer-list-item span {
    text-decoration: none;
    color: var(--default-color);
    font-family: var(--site-font-header);
    font-size: 24px;
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
.footer-row .footer-list-item a {
    margin-bottom: 30px;
}
.footer-row .footer-list-subitem a {
    text-decoration: none;
    color: var(--default-color);
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}
.footer-row .footer-list-lastsubitem {
    margin-bottom: 30px;
}
.footer-row .footer-list-item a:hover,
.col-contact a:hover,
.footer-row .footer-list-subitem a:hover {
    color: var(--thirtary-color);
}
footer .certifications {
    display: flex;
    justify-content: space-between;
}
footer .certifications .outer-img img {
    width: 100%;
    height: auto;
    max-width: 100px;
    opacity: 0.4;
}

footer .lower-footer {
    width: 100%;
    max-width: 1495px;
}
footer .lower-container {
    display: flex;
    justify-content: space-between;
    height: 90px;
    align-items: center;
    margin: 0 25px;
    padding: 0 0 0 45px;
}
footer .lower-container .bottom-navigation {
    display: flex;
}
footer .lower-container .bottom-navigation a {
    font-size: 18px;
    text-decoration: none;
    color: var(--footer-lower-color);
}
footer .lower-container .bottom-navigation a:not(:first-child) {
    margin-left: 20px;
}

footer .lower-container .footer-socials {
    display: flex;
    justify-content: space-between;
}
footer .lower-container .footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
}
footer .lower-container .footer-socials a:not(:first-child) {
    margin-left: 20px;
}
footer .lower-container .footer-socials a img {
    width: auto;
    height: 30px;
    position: relative;
}

/* Overgang naar mobiel */
@media (max-width: 1599px) {
    .header-container {
        margin: 0 75px;
    }
}
@media (max-width: 1475px) {
    /* Footer */
    .footer .footer-container {
        padding: 80px 25px 40px 70px;
    }
    .footer .footer-socials {
        position: relative;
        justify-content: flex-start;
    }

    footer .lower-container {
        padding: 0;
    }
}
@media (max-width: 1199px) {
    /* Header */
    header,
    .header-container,
    header.sticky {
        height: 85px;
    }
    .header-container,
    header.sticky .header-container {
        max-width: 100%;
        margin: 0 25px;
    }
    header .navigation,
    header .header-container .logo {
        display: none;
    }
    header .header-container .logo-sticky,
    header .header-container .nav-slogan {
        display: flex;
    }
    header .logo-sticky {
        height: 100px;
        top: 40px;
        left: -15px;
    }
    header .logo-sticky img {
        height: 100px;
    }
    header .header-container .nav-slogan {
        flex-wrap: wrap;
        padding: 0 25px;
        text-align: center;
    }

    /* Mobiel menu */
    .navbar-toggler {
        display: flex;
    }

    /* Footer */
    footer .footer {
        max-width: calc(100vw - 90px);
    }
    .footer .footer-container {
        display: block;
        padding: 80px 25px 40px 25px;
    }
    footer .footer-container .col-contact,
    footer .footer-container .col-links,
    footer .footer-container .col-certification {
        width: 100%;
    }
    footer .footer-container .col-contact .footer-row {
        width: 50%;
        float: left;
    }
    footer .footer-container .col-contact .footer-row .footer-icon {
        position: relative;
        left: 0;
        margin-right: 15px;
    }
    footer .footer-container .col-certification .certifications {
        justify-content: flex-start;
    }
    footer .footer-container .col-certification .certifications .outer-img:not(:first-child) {
        margin-left: 50px;
    }

    .footer .footer-container .col:not(:first-child) {
        width: 50%;
        float: left;
    }
    .footer .footer-container .footer-nav {
        justify-content: flex-end;
    }
    .footer .footer-container .footer-socials a,
    .footer .footer-container .footer-nav a,
    .footer .footer-container .content {
        padding: 15px 20px;
    }
}
@media (max-width: 768px) {
    /* Header */
    header .fullpage-menu .navbar-container .navbar-header .logo {
        display: none !important;
    }
    header .fullpage-menu .logo-mobile {
        display: flex !important;
        height: 100px;
        top: 40px;
        position: relative;
        z-index: 4;
    }
    header .fullpage-menu .logo-mobile img {
        height: 100px;
    }

    .page-navigation .nav .nav-item .nav-link {
        font-size: 40px;
    }
    .page-navigation .nav .nav-item.nav-subitem .nav-link {
        font-size: 30px;
    }

    /* Footer */
    footer .lower-container {
        flex-direction: column;
        justify-content: center;
    }
    footer .lower-container .bottom-navigation {
        margin-bottom: 15px;
    }
    footer .lower-container .bottom-navigation a {
        font-size: 14px;
    }
    footer .lower-container .footer-socials a img {
        height: 20px;
    }
}

@media (max-width: 576px) {
    header .header-container .nav-slogan h3 {
        font-size: 14px;
        word-wrap: initial;
    }
    header .logo-sticky,
    header .fullpage-menu .logo-mobile {
        top: 0;
        left: 0;
        height: 100%;
        align-items: center;
    }
    header .logo-sticky img,
    header .fullpage-menu .logo-mobile  img {
        height: 70px;
    }

    .nav-container {
        height: calc(100vh - 170px);
    }

    .fullpage-menu .navbar-container .navbar-header {
        height: 85px;
    }
    .fullpage-menu .navbar-container {
        margin: 0 25px;
    }
    .navbar-toggler img {
        width: 30px;
    }
    .navbar-header-buttons li.nav-item.search {
        margin-right: 5px;
    }
    .nav-open .navbar-toggler-times img,
    .navbar-header-buttons li.nav-item.search img {
        width: 20px;
        height: 20px;
    }
    .page-navigation .nav .nav-item .nav-link {
        font-size: 30px;
    }
    .page-navigation .nav .nav-item.nav-subitem .nav-link {
        font-size: 25px;
    }

    /* Footer */
    footer .footer-container .col-contact .footer-row {
        width: 100%;
    }
    .footer-container .col-contact a,
    .footer-row .footer-content h5 {
        font-size: 18px;
    }
    footer .footer-container .col-links .footer-row {
        flex-direction: column;
    }
    .footer-row .footer-list-item a,
    .footer-row .footer-list-subitem a,
    .footer-row .footer-list-item span {
        margin-bottom: 10px;
        font-size: 18px;
    }
    footer .footer-container .footer-row .nav-list {
        width: 100%;
    }

    footer .lower-container {
        height: auto;
    }
    footer .lower-container .bottom-navigation {
        flex-wrap: wrap;
        margin-bottom: 15px;
        justify-content: center;
    }
    footer .lower-container .bottom-navigation a {
        margin-bottom: 15px;
    }
    footer .lower-container .footer-socials {
        margin-bottom: 30px;
    }
}

/* Lettertypes algemeen */
@media (max-width: 1094px) {
    .sp-article .article-header {
        font-size: 31px;
    }
}
@media (max-width: 632px) {
    .sp-article .article-header {
        font-size: 26px;
    }
}
@media (max-width: 480px) {
    .sp-article .article-header {
        font-size: 21px;
    }
}
@media (max-width: 420px) {
    .sp-article .article-header {
        font-size: 18px;
    }
}
@media (max-width: 410px) {
    h1 {
        font-size: 25px;
    }
}
@media (max-width: 382px) {
    .sp-article .article-header {
        font-size: 12px;
    }
}
@media (max-width: 460px) {
    h4 {
        font-size: 23px;
    }
    h2 {
        font-size: 23px;
    }
}
@media (max-width: 400px) {
    h4 {
        font-size: 17px;
    }
}