/* 
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-pannekoek
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
*/

/* Hide recaptcha */
.grecaptcha-badge {
    visibility: hidden;
}

form .elementor-field-type-recaptcha_v3 {
    height: 0;
    margin-bottom: 0 !important;
}

.elementor-form .elementor-form-fields-wrapper small {
    line-height: 1.3em;
    display: block;
    text-wrap: balance;
}

.elementor-form .elementor-form-fields-wrapper small a {
    color: inherit;
    text-decoration: underline;
}

/* Elementor form messages */
.elementor-form .elementor-message {
    background-color: #f8f8f8;
    border-radius: 0px;
    padding: 15px;
    line-height: 1.5;
    border: 1px solid #bdbdbd;
}

.elementor-form .elementor-message.elementor-message-success {
    border-bottom: 3px solid var(--e-global-color-primary);
}

/* Hide hidden form fields */
.elementor-form .elementor-field-type-hidden {
    margin-bottom: 0 !important;
    height: 0 !important;
}

/* CPX form checkboxes and radio buttons */
.cpx-form .elementor-field-type-checkbox .elementor-field-option,
.cpx-form .elementor-field-type-acceptance .elementor-field-option,
.cpx-form .elementor-field-type-radio .elementor-field-option {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option label,
.cpx-form .elementor-field-type-acceptance .elementor-field-option label,
.cpx-form .elementor-field-type-radio .elementor-field-option label {
    padding-left: 1.75em;
    position: relative;
    font-weight: 400;
    font-size: var(--e-global-typography-text-font-size);
    line-height: 1.2;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option label:hover,
.cpx-form .elementor-field-type-acceptance .elementor-field-option label:hover,
.cpx-form .elementor-field-type-radio .elementor-field-option label:hover {
    cursor: pointer;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option input[type="checkbox"],
.cpx-form .elementor-field-type-acceptance .elementor-field-option input[type="checkbox"],
.cpx-form .elementor-field-type-radio .elementor-field-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option label:before,
.cpx-form .elementor-field-type-acceptance .elementor-field-option label:before,
.cpx-form .elementor-field-type-radio .elementor-field-option label:before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    width: 21px;
    height: 21px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #b6b6b6;
    transition: background-color .2s ease-in-out;
    line-height: 0;
}

/* Make the radio buttons round */
.cpx-form .elementor-field-type-radio .elementor-field-option label:before {
    border-radius: 100%;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option label:after,
.cpx-form .elementor-field-type-acceptance .elementor-field-option label:after,
.cpx-form .elementor-field-type-radio .elementor-field-option label:after {
    content: '';
    color: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    width: 17px;
    height: 17px;
    border-radius: 5px;
    background-color: var(--e-global-color-primary);
    transition: opacity .2s ease-in-out, transform .2s ease-in-out;
    line-height: 0;

    opacity: 0;
    transform: scale(0);
}

/* Make the radio buttons round */
.cpx-form .elementor-field-type-radio .elementor-field-option label:after {
    border-radius: 100%;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option:hover label:after,
.cpx-form .elementor-field-type-acceptance .elementor-field-option:hover label:after,
.cpx-form .elementor-field-type-radio .elementor-field-option:hover label:after {
    opacity: 1;
    transform: scale(0.6);
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option input[type="checkbox"]:checked+label:after,
.cpx-form .elementor-field-type-acceptance .elementor-field-option input[type="checkbox"]:checked+label:after,
.cpx-form .elementor-field-type-radio .elementor-field-option input[type="radio"]:checked+label:after {
    opacity: 1;
    transform: none;
}

.cpx-form .elementor-field-type-radio .elementor-field-subgroup,
.cpx-form .elementor-field-type-checkbox .elementor-field-subgroup,
.cpx-form .elementor-field-type-acceptance .elementor-field-subgroup {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-label,
.cpx-form .elementor-field-type-acceptance .elementor-field-label,
.cpx-form .elementor-field-type-radio .elementor-field-label {
    margin-bottom: .5rem;
}

.cpx-form .elementor-field-type-checkbox,
.cpx-form .elementor-field-type-acceptance,
.cpx-form .elementor-field-type-radio {
    margin-bottom: 30px !important;
}

/* End CPX form checkboxes */

/* Fix icons not having auto width defined on ipad */
.elementor-widget-icon svg {
    width: auto !important;
}

/* 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;
}

/* Balance out all headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

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

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

/* Fix elementor default line height for icons. Icons should not affect button height */
.elementor-widget-button .elementor-button-icon {
    line-height: 0;
    /* Flexbox to keep the icon in the middle if it's not big enough to fill height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: .9em; /* Custom adjusted for font height */
}

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

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

/* ::selection {
    background: rgba(251, 80, 0, 0.3);
    color: #FFFFFF;
}
  
::-moz-selection {
    background: rgba(251, 80, 0, 0.3);
    color: #FFFFFF;
} */

/* Some circles that will be behind, and around the logo */
.cpx-logo-circles a {
    position: relative;
    transition: all 1s cubic-bezier(.19,1,.22,1);
}
.cpx-logo-circles a:hover {
    transform: translateY(-3px);
}
.cpx-logo-circles a:before {
    content: '';
    display: block;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: .33;
    pointer-events: none;
    transition: all 1s cubic-bezier(.19,1,.22,1);
    transform-origin: center;
}

.cpx-logo-circles a:hover:before {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: .1;
}

.cpx-logo-circles a img {
    position: relative;
    z-index: 3;
}

/* Override button animation */
.elementor-button {
    transition: all .7s cubic-bezier(.19,1,.22,1) !important; 
}

/* Fix paragraph spacing */
.elementor-widget-text-editor p {
    margin-bottom: 1em;
}

/* blobs */
.cpx-blob.cpx-blob--decorated .elementor-widget-container {
    position: relative;
}
.cpx-blob.cpx-blob--decorated .elementor-widget-container:before {
    content: '';
    position: absolute;
    top: -2.5%;
    left: auto;
    right: -2.5%;
    bottom: auto;
    background-color: transparent;
    border: 2px solid var(--e-global-color-a7e1700);
    z-index: -1;
    height: 100%;
    width: 100%;
}

.cpx-blob.cpx-blob--1 img,
.cpx-blob.cpx-blob--1.cpx-blob--decorated .elementor-widget-container:before {
    border-top-left-radius: 10vw;
    border-top-right-radius: 10vw;
    border-bottom-left-radius: 22vw;
    border-bottom-right-radius: 12vw;
}

@media (max-width: 768px) {
    .cpx-blob.cpx-blob--1 img,
    .cpx-blob.cpx-blob--1.cpx-blob--decorated .elementor-widget-container:before {
        border-top-left-radius: 20vw;
        border-top-right-radius: 20vw;
        border-bottom-left-radius: 44vw;
        border-bottom-right-radius: 24vw;
    }
}


.cpx-blob.cpx-blob--2 img,
.cpx-blob.cpx-blob--2.cpx-blob--decorated .elementor-widget-container:before {
    border-top-left-radius: 22vw;
    border-top-right-radius: 10vw;
    border-bottom-left-radius: 10vw;
    border-bottom-right-radius: 12vw;
}

@media (max-width: 768px) {
    .cpx-blob.cpx-blob--2 img,
    .cpx-blob.cpx-blob--2.cpx-blob--decorated .elementor-widget-container:before {
        border-top-left-radius: 44vw;
        border-top-right-radius: 20vw;
        border-bottom-left-radius: 20vw;
        border-bottom-right-radius: 22vw;
    }
}

.cpx-blob.cpx-blob--3 img,
.cpx-blob.cpx-blob--3.cpx-blob--decorated .elementor-widget-container:before {
    border-top-left-radius: 10vw;
    border-top-right-radius: 17vw;
    border-bottom-left-radius: 12vw;
    border-bottom-right-radius: 10vw;
}

@media (max-width: 768px) {
    .cpx-blob.cpx-blob--3 img,
    .cpx-blob.cpx-blob--3.cpx-blob--decorated .elementor-widget-container:before {
        border-top-left-radius: 20vw;
        border-top-right-radius: 44vw;
        border-bottom-left-radius: 24vw;
        border-bottom-right-radius: 20vw;
    }
}

.cpx-blob.cpx-blob--4 img,
.cpx-blob.cpx-blob--4.cpx-blob--decorated .elementor-widget-container:before {
    border-top-left-radius: 14vw;
    border-top-right-radius: 17vw;
    border-bottom-left-radius: 10vw;
    border-bottom-right-radius: 15vw;
}

@media (max-width: 768px) {
    .cpx-blob.cpx-blob--4 img,
    .cpx-blob.cpx-blob--4.cpx-blob--decorated .elementor-widget-container:before {
        border-top-left-radius: 28vw;
        border-top-right-radius: 34vw;
        border-bottom-left-radius: 20vw;
        border-bottom-right-radius: 30vw;
    }
}

/* Header animation */
header[data-elementor-type="header"] .elementor-sticky {
    width: 100% !important;
}

header[data-elementor-type="header"] .cpx-logo-circles img, header[data-elementor-type="header"] .elementor-sticky {
    transition: all .7s cubic-bezier(.19,1,.22,1);
}

header[data-elementor-type="header"].scrolled-past .cpx-logo-circles img {
    width: 62px;
}

header[data-elementor-type="header"].scrolled-past .cpx-logo-circles a:before {
    transform: translate(-50%, -50%) scale(0);
}

header[data-elementor-type="header"].scrolled-past .elementor-sticky {
    background-color: var(--e-global-color-462d997);
}

/* Prevent the ugly blue tap color on phones */
a {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.cpx-overview-aspect-ratio img {
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
}

.cpx-overview-aspect-ratio--flat img {
    aspect-ratio: 5/3;
    object-fit: cover;
    object-position: center;
}

/* Tijdlijn */ 
.tijdlijn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.tijdlijn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: calc(100% - 16px);
    background-color: var(--e-global-color-a7e1700);
    z-index: 1;
}

.tijdlijn__orchids {
    height: 600px !important;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-left: auto;
    margin-right: auto;
    z-index: 3;
}

.tijdlijn__pot {
    width: 100px;
    margin-left: auto;
    margin-right: auto;
    z-index: 3;
}

.tijdlijn__items {
    padding-top: 50px;
    padding-bottom: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.tijdlijn__item {
    position: relative;
    width: 50%;

    padding-right: 75px;
    margin-bottom: -50px;
}

.tijdlijn__item > * {
    position: relative;
    z-index: 4;
}

.tijdlijn__item__datum {
    margin-bottom: -15px;
}

.tijdlijn__item:after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 125px;
    height: 6px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background-color: var(--e-global-color-a7e1700);
    z-index: 2;
}

.tijdlijn__item:nth-child(even):after {
    right: auto;
    left: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.tijdlijn__item:nth-child(even) {
    align-self: flex-end;
    padding-right: 0;
    padding-left: 75px;
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .tijdlijn:after {
        left: auto;
        right: 10px;
        transform: translate(0, -50%);
    }

    .tijdlijn__orchids {
        left: auto;
        right: -100px;
        transform: none;
    }

    .tijdlijn__item, .tijdlijn__item:nth-child(even) {
        align-self: flex-start;
        padding-left: 0;
        padding-right: 0;
        width: calc(100% - 75px);
        margin-bottom: 0;
    }

    .tijdlijn__item:after, .tijdlijn__item:nth-child(even):after {
        left: auto;
        right: -65px;
    }

    .tijdlijn__pot {
        margin-left: auto;
        margin-right: -35px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .tijdlijn__orchids {
        height: 400px !important;
        right: -75px;
    }

    .tijdlijn__item, .tijdlijn__item:nth-child(even) {
        width: 100%;
    }

    .tijdlijn__item:after, .tijdlijn__item:nth-child(even):after {
        left: auto;
        right: 15px;
    }
}

/* Turn elementor grids into centered flex layout using the gap variables from the grid */
.cpx-grid-to-flex .elementor-grid {
    display: flex;
    flex-wrap: wrap;
    row-gap: var(--grid-row-gap, 30px);
    column-gap: var(--grid-column-gap, 30px);
    justify-content: center;
}

/* Based on the variable --grid-columns (this is an int, say: 5) i need the items (.e-loop-item) to have the correct sizes. calculate the gaps so it doesnt overflow */
.cpx-grid-to-flex .elementor-grid .e-loop-item {
    flex: 0 1 calc(calc(100% / var(--grid-columns, 5)) - var(--grid-column-gap, 30px));
}

/* Vacature eigenschappen */
.vacature-eigenschappen {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px 20px;
    line-height: 1;

    background: #f4fce8;
    display: inline-flex;
    flex-wrap: wrap;
    padding: 8px 12px;
    padding-bottom: 6px;
    border-radius: 12px;

    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
}

.vacature-eigenschappen .vacature-eigenschappen__item__label {
    line-height: 1;
}

.vacature-eigenschappen img {
    height: 1rem !important;
    width: auto;
}

.vacature-eigenschappen .vacature-eigenschappen__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.elementor-field-type-upload input[type="file"] {
    border: 1px solid var(--e-global-color-primary);
}

/* Fix title font offset */
.elementor-heading-title {
    margin-left: -.08em;
}