/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.0
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 */
body .gform-theme,
body .gform_wrapper.gform-theme,
body .gform-theme--framework {
    --gf-form-gap-y: 28px;
    --gf-form-gap-x: 24px;

    --gf-label-space-y-secondary: 10px;
    --gf-legend-space-y: 14px;

    --gf-ctrl-font-size: 16px;
    --gf-ctrl-line-height: 1.4;
    --gf-ctrl-size: 56px;
    --gf-ctrl-padding-x: 16px;
    --gf-ctrl-padding-y: 12px;

    --gf-ctrl-bg-color: transparent;
    --gf-ctrl-color: #213047;
    --gf-ctrl-placeholder-color: #7d8694;

    --gf-ctrl-border-color: #E6710A;
    --gf-ctrl-border-width: 1px;
    --gf-ctrl-radius: 10px;
    --gf-ctrl-shadow: none;
    --gf-ctrl-outline-color-focus: #E6710A;

    --gf-ctrl-textarea-bg-color: transparent;
    --gf-ctrl-textarea-color: #213047;
    --gf-ctrl-textarea-border-color: #E6710A;
    --gf-ctrl-textarea-radius: 10px;

    --gf-checkbox-size: 20px;
    --gf-checkbox-border-color: #E6710A;
    --gf-checkbox-border-width: 1px;
    --gf-checkbox-radius: 4px;
    --gf-checkbox-checked-bg-color: #E6710A;
    --gf-checkbox-checked-border-color: #E6710A;

    --gf-radio-size: 20px;
    --gf-radio-border-color: #E6710A;
    --gf-radio-border-width: 1px;
    --gf-radio-checked-color: #E6710A;

    --gf-color-primary: #2f54eb;
    --gf-color-primary-rgb: 47, 84, 235;
    --gf-color-primary-contrast: #ffffff;
    --gf-color-primary-contrast-rgb: 255, 255, 255;
    --gf-color-primary-darker: #2447cf;
    --gf-color-primary-lighter: #4f70f0;

    --gf-color-secondary: transparent;
    --gf-color-secondary-rgb: 255, 255, 255;
    --gf-color-secondary-contrast: #213047;
    --gf-color-secondary-contrast-rgb: 33, 48, 71;

    --gf-font-size-primary: 16px;
    --gf-font-size-secondary: 15px;

    --gf-ctrl-label-font-size-primary: 18px;
    --gf-ctrl-label-font-size-secondary: 16px;
    --gf-label-color-primary: #213047;
    --gf-label-color-secondary: #213047;

    --gf-description-font-size: 14px;
    --gf-description-color: #213047;

    --gf-error-color: #d63638;
    --gf-success-color: #1e7e34;

    --gf-ctrl-btn-font-size: 18px;
    --gf-ctrl-btn-font-weight: 500;
    --gf-ctrl-btn-line-height: 1.2;
    --gf-ctrl-btn-padding-y: 16px;
    --gf-ctrl-btn-padding-x: 26px;
    --gf-ctrl-btn-radius: 10px;
    --gf-ctrl-btn-shadow: none;
    --gf-ctrl-btn-border-width-primary: 0;
    --gf-ctrl-btn-bg-color-primary: #2f54eb;
    --gf-ctrl-btn-color-primary: #ffffff;
    --gf-ctrl-btn-bg-color-hover-primary: #2447cf;
    --gf-ctrl-btn-border-color-primary: #2f54eb;

    --gf-ctrl-textarea-height: 150px;
}

/* Extra afdwingen voor inputs/selects/textarea */
body .gform-theme input[type="text"],
body .gform-theme input[type="email"],
body .gform-theme input[type="tel"],
body .gform-theme input[type="url"],
body .gform-theme input[type="number"],
body .gform-theme select,
body .gform-theme textarea {
    background: transparent !important;
    border: 1px solid #E6710A !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: #213047;
    height: 56px;
}

/* Focus */
body .gform-theme input:focus,
body .gform-theme select:focus,
body .gform-theme textarea:focus {
    border-color: #E6710A !important;
    box-shadow: 0 0 0 1px #E6710A !important;
    outline: none;
}

body .gform-theme input[type="file"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body .gform-theme select.gfield_select {
    padding-top: 16px !important;
    padding-bottom: 0 !important;
}

body .gform-theme .ginput_container {
    cursor: pointer;
}


/* ACF */
.acf-form .acf-fields {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.acf-field {
    grid-column: span 6;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
}
.acf-field.d-none {
    display: none !important;
}

.acf-field[data-width="50"] { grid-column: span 3; }
.acf-field[data-width="33"] { grid-column: span 2; }

.acf-form input[type="text"],
.acf-form input[type="email"],
.acf-form input[type="url"],
.acf-form input[type="tel"],
.acf-form textarea,
.acf-form select {
    width: 100%;
    height: 56px;
    padding: 12px 16px !important;
    border: 1px solid #E6710A;
    border-radius: 10px;
    background: transparent;
    color: #213047;
    font-size: 16px;
    box-shadow: none;
}
.acf-form textarea {
    height: auto;
    min-height: 120px;
}

.acf-form input:focus,
.acf-form textarea:focus,
.acf-form select:focus {
    border-color: #E6710A;
    box-shadow: 0 0 0 1px #E6710A;
    outline: none;
}

.acf-form .acf-label label {
    font-size: 18px;
    font-weight: 500;
    color: #213047;
    margin-bottom: 8px;
    display: block;
}

.acf-form .acf-field {
    margin-bottom: 4px;
}
.acf-image-uploader {
    border: 1px dashed #E6710A;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.acf-image-uploader .acf-button {
    background: #E6710A;
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
}
.acf-radio-list li {
    margin-bottom: 10px;
}

.acf-radio-list input[type="radio"] {
    accent-color: #E6710A;
}
.acf-form-submit input[type="submit"] {
    background: #2f54eb;
    color: #fff;
    border: none;
    padding: 16px 26px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
}

.acf-form-submit input[type="submit"]:hover {
    background: #2447cf;
}
/* placeholder */
.acf-form ::placeholder {
    color: #7d8694;
}

/* required sterretje */
.acf-required {
    color: #E6710A;
}

.acf-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}



/*ACF frontend formulier*/
.acf-field[data-width="25"] {
    grid-column: span 1 !important;
}

/* Tekst op hover vervangen door oog-icoon */
.elementor-flip-box__back .elementor-flip-box__layer__description {
    color: transparent;
    text-indent: -9999px;
    overflow: hidden;
}
.elementor-flip-box__back .elementor-flip-box__layer__description {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    display: block;
    color: transparent;
    text-indent: -9999px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/>\
<circle cx='12' cy='12' r='3'/>\
</svg>");
}