/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
/* Elementor animation overwrites */
@keyframes cpx_fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.fadeInDown {
    animation-name: cpx_fadeInDown !important;
}

@keyframes cpx_fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }

    to {
        opacity: 1;
        transform: none
    }
}

.fadeInLeft {
    animation-name: cpx_fadeInLeft !important;
}

@keyframes cpx_fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }

    to {
        opacity: 1;
        transform: none
    }
}

.fadeInRight {
    animation-name: cpx_fadeInRight !important
}

@keyframes cpx_fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.fadeInUp {
    animation-name: cpx_fadeInUp !important;
}

.text-balance {
    text-wrap: balance;
}

.cpx-blurbox {
    background-color: rgba(255, 255, 255, .85);
    backdrop-filter: blur(10px);
}

.cpx-megamenu {
    .e-n-menu-content {
        background-color: rgba(255, 255, 255, .85) !important;
        backdrop-filter: blur(10px);
    }
}

/* Backgrounds */
.cpx-background {
    height: 100%;
}

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

/* Fix all icons */
.elementor-widget-container .elementor-icon-wrapper {
    line-height: 0;
}

/* cpx mt auto */
.cpx-mt-auto {
    margin-top: auto;
}

.cpx-outerblur {
    overflow: visible;

    .elementor-widget-container {
        overflow: visible !important;
    }

    .elementor-open-inline {
        position: relative;

        &:after {
            content: '';
            position: absolute;
            left: 50%;
            top: 50%;
            width: calc(100% + 30px);
            height: calc(100% + 30px);
            background-image: linear-gradient(86deg, var(--e-global-color-7f78ee3) 0%, var(--e-global-color-86e8baf) 100%);
            transform: translate(-50%, -50%);
            z-index: -1;
            filter: blur(30px);
            opacity: .2;
            pointer-events: none;
        }

        iframe {
            z-index: 2;
            position: relative;
        }
    }
}

.no-pointer-events {
    pointer-events: none;
}

.cpx-vacature-count {
    display: none !important;

    .elementor-widget-container {
        height: 24px !important;
        width: 24px !important;
    }

    .elementor-heading-title {
        display: inherit;
    }
}

body.cpx-vacatures-available .cpx-vacature-count {
    display: inline-block !important;
}

@media screen and (max-width: 1024px) {
    body.cpx-vacatures-available .cpx-vacature-count {
        display: none !important;
    }
}

.cpx-btn-green {

    button.elementor-button,
    a.elementor-button {
        background-image: linear-gradient(to bottom right, #008645, #00bf63);
    }
}

.cpx-testimonial__image {
    img {
        aspect-ratio: 16/10;
        object-fit: cover;
        object-position: center;
    }
}

.cpx-image-square {
    img {
        aspect-ratio: 1/1;
        object-fit: cover;
        object-position: center;
    }
}

.cpx2_cookie-balk.cpx2_cookie-balk--v3 .cpx2_cookie-balk__acties button.cpx2_cookie-balk__v3__alles-toestaan,
.cpx2_cookie-balk.cpx2_cookie-balk--v3 .cpx2_cookie-balk__acties button.cpx2_cookie-balk__v3__alles-afwijzen,
.cpx2_cookie-balk.cpx2_cookie-balk--v3 .cpx2_cookie-balk__acties button.cpx2_cookie-balk__v3__selectie-toestaan {
    text-transform: none !important;
}

.cpx2_cookie-balk.cpx2_cookie-balk--v3 .cpx2_cookie-balk__tekst a {
    text-decoration: underline !important;
    color: inherit !important;
}

/* =========================================
   Skip link toegankelijkheid
   ========================================= */

a.skip-link.screen-reader-text {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

a.skip-link.screen-reader-text:focus {
    position: fixed !important;
    top: 8px !important;
    left: 8px;
    z-index: 99999;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    padding: 12px 24px;
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Fix paragraph spacings */
.elementor-widget-text-editor,
.elementor-widget-woocommerce-product-content,
.elementor-widget-theme-post-content {

    h2:first-child {
        margin-top: 0 !important;
    }

    p:not(:last-child),
    ul:not(:last-child) {
        margin-bottom: 1em;
    }
}

.elementor-heading-title {
    mark {
        color: var(--e-global-color-7f78ee3);
        background-color: transparent;
    }
}

.cpx-teamfoto img {
    aspect-ratio: 667 / 1000;
    object-fit: cover;
    object-position: center;
}

.cpx-disable-prefooter .cpx-prefooter {
    display: none !important;
}