/* 
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 */
header{
	width:100%!important;
}
html, body {
  overflow-x: clip;  
  overflow-y: visible;
  position: relative;
}

::selection {
  background:var(--e-global-color-secondary) !important;
	color:white;
}

.doorlopend .swiper{
    overflow: visible!important;
}
body { font-size: 1.0vw !important; }              /* was 1.1vw */

@media screen and (min-width:1920px) {
  body { font-size: 20px !important; }             /* was 21px */
}

@media screen and (min-width:1101px) and (max-width:1400px) {
  body { font-size: 1.2vw !important; }            /* was 1.3vw */
}

@media screen and (min-width:768px) and (max-width:1100px) {
  body { font-size: 1.8vw !important; }            /* was 1.9vw */
}

@media screen and (max-width:767px) {
  body { font-size: 3.2vw !important; }            /* was 3.4vw */
}

@media screen and (max-width:380px) {
  body { font-size: 12px !important; }             /* was 13px */
}
}

/* Make text look crisper and more legible in all browsers */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
}
.wp-block-heading:not(:first-of-type) {
    margin-top: 2em;
}
.elementor-toc__list-item-text-wrapper{
        align-items: flex-start!important;
    display: flex!important;
}

/* Gravity Forms – submit button styling passend bij Elementor buttons */

#gform_submit_button_1,
.gform_button.button {
    background-color: var(--e-global-color-accent);
    color: #ffffff;
    border: none;
    border-radius: 4px; /* pas aan naar jouw buttons */
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    width: auto;
}

#gform_submit_button_1:hover,
.gform_button.button:hover {
    background-color: var(--e-global-color-71214bf);
    color: #ffffff;
}

/* Gravity Forms – labels en veldtekst passend bij Elementor typografie */

.gform_wrapper .gfield_label,
.gform_wrapper .gform-field-label,
.gform_wrapper .gfield_description,
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper textarea,
.gform_wrapper .charleft {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-text);
}


/* Breadcrumb styling */
.rank-math-breadcrumb p {
    font-size: 0.9em;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75em;
}

.rank-math-breadcrumb a,
.rank-math-breadcrumb .last {
    font-weight: 700;
}

.rank-math-breadcrumb a {
    text-decoration: none;
}

.rank-math-breadcrumb a:hover {
    text-decoration: underline;
}

/* Verberg de ">" tekst, behoud font-size voor em-berekeningen */
.rank-math-breadcrumb .separator {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    text-indent: -9999px;
    overflow: hidden;
}

/* SVG pijl als vervanging */
.rank-math-breadcrumb .separator::before {
    content: "";
    display: inline-block;
    width: 1.6em;
    height: 1.6em;
    background-image: url("https://gym.internetbureaudenhaag.nl/wp-content/uploads/2026/05/Right.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    text-indent: 0; /* reset zodat het pseudo-element niet meeschuift */
}


footer .elementor-icon-list-item .elementor-icon-list-icon {
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

footer .elementor-icon-list-item .elementor-icon-list-icon svg {
    transition: transform 0.4s ease;
}

footer .elementor-icon-list-item:hover .elementor-icon-list-icon svg {
    animation: erm-arrow-slide 0.7s ease-in-out;
}

@keyframes erm-arrow-slide {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    49% {
        transform: translateX(150%);
        opacity: 0;
    }
    50% {
        transform: translateX(-150%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.contentblok {
    position: relative;
}

/* Desktop: schuine vorm aan de rechterkant */
.contentblok::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 150px;
    transform: translateX(100%);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54.07 156.8' preserveAspectRatio='none'><path d='M53.25,122.82L0,0v156.8l48.05-20.83c5.07-2.2,7.39-8.09,5.2-13.15Z' fill='%2318456b' stroke='%23ffffff' stroke-width='0'/></svg>");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 2;
}

/* Mobiel: bovenop, kwartslag tegen de klok in gedraaid */
@media (max-width: 767px) {
    .contentblok::after {
        top: 0;
        bottom: auto;
        right: auto;
        left: 0;
        width: 100%;
        height: 80px;
        transform: translateY(-100%);
        /* roteer de SVG zelf in de data-URL door viewBox/path aan te passen,
           óf gebruik transform op het element */
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 156.8 54.07' preserveAspectRatio='none'><path d='M33.98,0.82L156.8,54.07H0L20.83,6.02C23.03,0.95,28.92-1.37,33.98,0.82Z' fill='%2318456b' stroke='%23ffffff' stroke-width='1'/></svg>");
    }
}
/* Bereken hoeveel ruimte er links over moet blijven tot aan de 70em-rand */
.elementor-element-f5a2f52 {
    padding-left: max(20px, calc((100vw - 80em) / 2));
    padding-right: 40px; /* wat ademruimte naar de rechterkant */
    box-sizing: border-box;
}

/* Op kleinere schermen alleen een normale gutter */
@media (max-width: 1024px) {
    .elementor-element-f5a2f52 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Underline op hover, in dezelfde kleur als de tekst */
footer .elementor-icon-list-item a {
    text-decoration: none;
    transition: text-decoration-color 0.2s ease;
}

footer .elementor-icon-list-item a:hover .elementor-icon-list-text,
footer .elementor-icon-list-item a:hover {
    text-decoration: underline;
    text-decoration-color: currentColor;
}