 /* Non utility CSS */

#page-container {
    & p,
    & h1,
    & h2, 
    & h3 {
        padding: 0px !important;
    }
}

html, body {
    overflow-x: hidden !important;
}

ul {
    padding: 0px 0px 23px 1.5em !important;
}

*, *::before, *::after { 
    box-sizing: border-box; 
}

 /**
 * Shortcode : [mobile_menu]
 */
#mobile-menu-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    background-color: var(--color-green-500);
    z-index: 9999;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 150ms ease-out, opacity 150ms ease-out;
}

#mobile-menu-dialog.show {
    transform: translateX(0);
    opacity: 1;
}

#mobile-menu-dialog.closing {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 150ms ease-in, opacity 150ms ease-in;
}

#mobile-menu-dialog.closing * {
    transition: none !important;
}

#mobile-menu-dialog-header {
    display: flex;
    justify-content: space-between;
    padding: 25px 20px;
    overflow: hidden;
}

#mobile-menu-dialog-header > * {
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 150ms ease-out, transform 150ms ease-out;
}

#mobile-menu-dialog-header > *:nth-child(2) {
    transform: translateX(12px);
}

#mobile-menu-dialog.show #mobile-menu-dialog-header > *:nth-child(1) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 30ms;
}

#mobile-menu-dialog.show #mobile-menu-dialog-header > *:nth-child(2) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 50ms;
}

#mobile-menu-dialog-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: var(--color-green-500);
    z-index: -1;
}

#mobile-menu-open-button, #mobile-menu-close-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    height: 40px;
    width: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-list-wrapper {
    padding: 25px;
}

#mobile-menu-logo {
    max-width: 60%;
    margin-top: -5px;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-list a {
    color: var(--color-white);
    font-size: 1.5rem;
    font-family: "Ubuntu";
    font-weight: 700;
    text-decoration: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 150ms ease-out, transform 150ms ease-out;
}

#mobile-menu-dialog.show .mobile-menu-list a {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu-dialog.show .mobile-menu-list a:nth-child(1) { transition-delay: 50ms; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(2) { transition-delay: 70ms; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(3) { transition-delay: 90ms; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(4) { transition-delay: 110ms; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(5) { transition-delay: 130ms; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(6) { transition-delay: 150ms; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(7) { transition-delay: 170ms; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(8) { transition-delay: 190ms; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(9) { transition-delay: 210ms; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(10) { transition-delay: 230ms; }

#mobile-cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 25px;
    margin-top: 20px;
    background-color: var(--color-white);
    color: var(--color-grey-800);
    font-size: var(--font-size-200);
    font-family: "Ubuntu";
    font-weight: 700;
    text-decoration: none;
    width: 100%;
    max-width: 500px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 150ms ease-out, transform 150ms ease-out;
}

#mobile-menu-dialog.show #mobile-cta-button {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 100ms;
}

.mobile-menu-link-alternative {
    color: var(--color-grey-800) !important;
    font-size: var(--font-size-200) !important;
}


 /**
 * Active menu item styling
 */
.active-menu-item {
	color: var(--color-green-500) !important;
}

.active-mobile-menu-item {
	color: var(--color-grey-800) !important;
}


/**
 * Shortcode : [masonry]
 */
 @media only screen and (min-width: 1401px) {
    #masonry-grid-tablet, #masonry-grid-mobile {
        display: none;
    }

    #masonry-grid-desktop {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(6, 95px);
        gap: 10px;

        & .masonry-item {
            min-height: 100%;
        }

        & .masonry-item-1 {
            grid-column: 1 / 3;
            grid-row: 1 / 4;
        }

        & .masonry-item-2 {
            grid-column: 3 / 7;
            grid-row: 1 / 3;
        }

        & .masonry-item-3 {
            grid-column: 7 / 9;
            grid-row: 1 / 3;
        }

        & .masonry-item-4 {
            grid-column: 9 / 11;
            grid-row: 1 / 7;
        }

        & .masonry-item-5 {
            grid-column: 11 / 13;
            grid-row: 1 / 4;
        }

        & .masonry-item-6 {
            grid-column: 1 / 3;
            grid-row: 4 / 7;
        }

        & .masonry-item-7 {
            grid-column: 3 / 6;
            grid-row: 3 / 7;
        }

        & .masonry-item-8 {
            grid-column: 6 / 9;
            grid-row: 3 / 7;
        }

        & .masonry-item-9 {
            grid-column: 11 / 13;
            grid-row: 4 / 7;
        }
    }
}

@media only screen and (max-width: 1400px) {
    #masonry-grid-desktop, #masonry-grid-mobile {
        display: none;
    }

    #masonry-grid-tablet {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: repeat(6, 95px);
        gap: 10px;

        & .masonry-item {
            min-height: 100%;
        }

        & .masonry-item-1 {
            grid-column: 1 / 3;
            grid-row: 1 / 4;
        }

        & .masonry-item-2 {
            grid-column: 3 / 7;
            grid-row: 1 / 3;
        }

        & .masonry-item-3 {
            grid-column: 7 / 9;
            grid-row: 1 / 3;
        }

        & .masonry-item-6 {
            grid-column: 1 / 3;
            grid-row: 4 / 7;
        }

        & .masonry-item-7 {
            grid-column: 3 / 6;
            grid-row: 3 / 7;
        }

        & .masonry-item-8 {
            grid-column: 6 / 9;
            grid-row: 3 / 7;
        }
    }
}

@media only screen and (max-width: 680px) {
    #masonry-grid-tablet, #masonry-grid-desktop {
        display: none;
    }

    #masonry-grid-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 95px);
        gap: 10px;

        & .masonry-item {
            min-height: 100%;
        }

        & .masonry-item-1 {
            grid-column: 1 / 3;
            grid-row: 1 / 4;
        }

        & .masonry-item-2 {
            grid-column: 3 / 7;
            grid-row: 1 / 3;
        }

        & .masonry-item-3 {
            display: none;
        }

        & .masonry-item-4 {
            grid-column: 2 / 2;
            grid-row: 1 / 7;
        }

        & .masonry-item-5 {
            grid-column: 1 / 2;
            grid-row: 1 / 3;
        }

        & .masonry-item-6 {
            display: none;
        }

        & .masonry-item-7 {
            display: none;
        }

        & .masonry-item-8 {
            display: none;
        }

        & .masonry-item-9 {
            grid-column: 1 / 2;
            grid-row: 3 / 7;
        }
    }
}

/**
 * Button
 */
.button-white,
.button-green,
.button-grey {
    display: inline-block;
    font-size: var(--font-size-200);
    font-family: "Ubuntu";
    font-weight: 700;
    text-decoration: none;
    padding: 14px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: fit-content;

    &:hover {
        opacity: 0.8;
    }

    &:active {
        transform: scale(0.99);
    }
}

.button-white {
    background-color: var(--color-white);
    color: var(--color-grey-800);
}

.button-green {
    background-color: var(--color-green-500);
    color: var(--color-white);
}

.button-grey {
    background-color: var(--color-grey-800);
    color: var(--color-white);
}


/**
 * Bedrijven grid
 */
 #bedrijven-grid-card::before {
     content: "";
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to top right, rgba(68, 68, 68, 1), rgba(68, 68, 68, 0));
    }
    
#bedrijven-grid-logo {
    transform: translateY(-10px);
}

@media only screen and (max-width: 1500px) {
    #bedrijven-grid-cards-wrapper {
        width: min(1240px, 90%);
    }
}

@media only screen and (max-width: 980px) {
    #bedrijven-grid-cards-wrapper {
        width: 90%;
    }
}

#bedrijven-grid-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    a {
        width: 402px;
        height: 400px;
    }
}

@media only screen and (max-width: 1700px) {
    #bedrijven-grid-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        a {
            width: 100%;
            height: 400px;
        }
    }
}

@media only screen and (max-width: 980px) {
    #bedrijven-grid-cards {
        display: flex;
        flex-direction: column;
        gap: 32px;
        width: 100%;

        a {
            width: 100%;
            height: 300px;
        }
    }
}

#bedrijven-grid-cards {
    margin-left: 20px;
}

@media only screen and (max-width: 1250px) {
    #bedrijven-grid-cards {
        margin-left: 0;
    }
}

/**
* Oplossingen grid
*/
#oplossingen-grid {
    --min-card-width: 400px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(var(--min-card-width), 100%), 1fr));
	gap: 1rem;
}

#oplossingen-grid-image {
    height: 400px;
}

#oplossingen-grid-image::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top right, rgba(68, 68, 68, 1), rgba(68, 68, 68, 0));
}

/**
 * Hover en active effects
 */

.interactive-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interactive-card:hover {
    transform: scale(1.01);
}

.interactive-card:active {
    transform: scale(0.99);
}

.interactive-card .arrow-icon {
    transition: transform 0.3s ease;
}

.interactive-card:hover .arrow-icon {
    transform: translateX(4px);
}

.interactive-link {
    transition: opacity 0.3s ease, color 0.3s ease;
}

.interactive-link:hover {
    opacity: 0.7;
}

.interactive-link:active {
    opacity: 0.5;
}

.accordion-toggle {
    transition: background-color 0.3s ease;
}

.accordion-toggle:hover {
    background-color: #e8e8e8;
}

.accordion-toggle:active {
    background-color: #e0e0e0;
}

.interactive-select {
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.interactive-select:hover {
    border-color: var(--color-green-500);
}

.interactive-select:focus {
    outline: none;
    border-color: var(--color-green-500);
}

.nav-link {
    transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-link:active {
    opacity: 0.7;
}

.quicklink-item {
    transition: opacity 0.3s ease;
}

.quicklink-item:hover {
    opacity: 0.8;
}

.quicklink-item:active {
    opacity: 0.6;
}

.quicklink-item .arrow-icon {
    transition: transform 0.3s ease;
}

.quicklink-item:hover .arrow-icon {
    transform: translateX(4px);
}


/**
 * Clip path voor decoratieve driehoek
 */
.clip-path-container--green, .clip-path-container--grey, .clip-path-container--white {
    position: relative;
}

.clip-path-cutoff {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%);
}

@media only screen and (min-width: 981px) {
    .clip-path-container--green::after, .clip-path-container--grey::after, .clip-path-container--white::after {
        content: "";
        position: absolute;
        right: -20px;
        bottom: -20px;
        width: 20px;
        height: 20px;
        clip-path: polygon(100% 0%, 100% 100%, 0% 100%, 100% 0%);
    }

    .clip-path-container--green::after {
        background-color: var(--color-green-500);
    }
    .clip-path-container--grey::after {
        background-color: var(--color-grey-800);
    }
    .clip-path-container--white::after {
        background-color: var(--color-white);
    }
}

@media only screen and (max-width: 980px) {
    .clip-path-container--green::after, .clip-path-container--grey::after, .clip-path-container--white::after {
        content: "";
        position: absolute;
        right: -10px;
        bottom: -10px;
        width: 25px;
        height: 25px;
        clip-path: polygon(100% 0%, 100% 100%, 0% 100%, 100% 0%);
    }

    .clip-path-container--green::after {
        background-color: var(--color-green-500);
    }
    .clip-path-container--grey::after {
        background-color: var(--color-grey-800);
    }
    .clip-path-container--white::after {
        background-color: var(--color-white);
    }
}

/**
 * Vacature slider (desktop and mobile)
 */
#vacature-slider .f-carousel__dots,
#vacature-slider-mobile .f-carousel__dots {
    color: white;
    opacity: 1 !important;
}

#vacature-slider .f-carousel__dot[aria-current]:after,
#vacature-slider-mobile .f-carousel__dot[aria-current]:after {
    background-color: var(--color-green-500);
}

.f-carousel__dots {
    position: absolute;
    top: 90% !important;
    left: 20px !important;
    display: flex;
    justify-content: left !important;
}


/**
 * Certificeringen
 */
#certificering-logo {
    height: 400px;
    max-width: 300px;
    width: 100%;
}

@media only screen and (max-width: 980px) {
    #certificering-logo {
        height: 150px;
        max-width: 100%;
    }
}

/**
 * Post footer links
 */
#post-footer-links {
    display: flex;
    gap: 24px;
}

@media only screen and (max-width: 420px) {
    #post-footer-links {
        flex-direction: column;
        gap: 12px;
    }
}


/**
 * Select
 */
#select-arrow {
    position: absolute;
    transform: translate(-30px, 20px);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0;
}
  
select::-ms-expand {
    display: none;
}
