/*
 Theme Name: R2F
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Childtheme van Divi voor website run2function
 Author: Elegant Themes / Robert Hertogs
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* koppen algemeen */

figure+h2,
figure+h3 {
    margin-top: 2rem;
}

/* hoofdmenu */

.et_header_style_left #et-top-navigation nav>ul>li.current-menu-item>a {
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
}

/* aanpassingen hoofdmenu */

#top-menu li.current-menu-item>a {
    color: #e09900;
}

#top-menu li {
    padding-right: 10px;
}

#top-menu li:last of type {
    padding-right: 0;
}

#top-menu .menu-item-has-children>a:first-child {
    padding-right: 0;
}

/* pijltjespicto menu verbergen */

#menu-item-4411 a:after {
    display: none;
}

/* submenu uitklijnen met hoofdmenu */

.nav li ul.sub-menu {
    right: 0;
    width: 320px;
    text-align: right;
}

#top-menu li li a {
    width: 260px;
}

/* mobiele menu uitlijnen */

#main-header .et_mobile_menu li ul {
    padding-left: 0;
}

.et_mobile_menu li li {
    padding-left: 0;
}

/* ====== HERO FRONT RH ====== */

.hoverContainer {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url(/media/files/bg_front.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 0;
    overflow: hidden;
}

.hoverContainer.front {
    background-image: url(/wp-content/uploads/2026/02/bg-inhoud-runningtherapie.jpg);
    margin-top: -80px;
}

.linkBox {
    position: relative;
    z-index: 1;
    margin-top: 55px;
    width: 100%;
    height: 100%;
    --button-maat: calc(15px + 3vw);
    --leadTop: 70vh;
    --leadLeft: 40%;
    --bgcolorButton: rgba(140, 140, 140, .4);
    --bgcolorLeadcirkel: rgba(70, 70, 70, .8);
    --bgcolorButtonHover: rgba(140, 140, 140, .95);
}

.bgHardlopen,
.bgInstagram,
.bgRecensie,
.bgTerugblik,
.bgHoewerktdat,
.bgTraining,
.bgRunningtherapie,
.bgWaarom,
.bgVoorwie,
.bgInhoud,
.bgFAQ,
.bgBlog,
.bgRobkekletst,
.bgRunningTHP {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    -webkit-transition: opacity 0.4s cubic-bezier(.41, -0, 0, 1);
    transition: opacity 0.4s cubic-bezier(.41, -0, 0, 1);
}

.bgHome,
.bgFront {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 1;
}

.bgHardlopen {
    background-image: url(/media/files/bg_hardlopen.jpg);
    opacity: 0;
    margin-top: -55px;
}

.bgInstagram {
    background-image: url(/media/files/bg_instagram.jpg);
    opacity: 0;
    margin-top: -55px;
}

.bgRecensie {
    background-image: url(/media/files/bg_recensies.jpg);
    opacity: 0;
    margin-top: -55px;
}

.bgTerugblik {
    background-image: url(/media/files/bg_terugblik.jpg);
    opacity: 0;
    margin-top: -55px;
}

.bgHoewerktdat {
    background-image: url(/media/files/bg_hoewerktdat.jpg);
    opacity: 0;
    margin-top: -55px;
}

.bgTraining {
    background-image: url(/media/files/bg_training.jpg);
    opacity: 0;
    margin-top: -55px;
}

.bgAuthorrh {
    background-image: url(/media/files/bg_authorrh.jpg);
}

.bgRunningtherapie {
    background-image: url(/wp-content/uploads/2026/02/bg-run2function.jpg);
    opacity: 0;
    margin-top: -55px;
}

.bgRunningTHP {
    background-image: url(/media/files/bg-running-thp.jpg);
    opacity: 0;
    margin-top: -55px;
}

.bgWaarom {
    background-image: url(/wp-content/uploads/2026/02/bg_instagram.jpg);
    opacity: 0;
    margin-top: -55px;
}

.bgVoorwie {
    background-image: url(/wp-content/uploads/2026/02/bg_recensies.jpg);
    opacity: 0;
    margin-top: -55px;
}

.bgInhoud {
    background-image: url(/wp-content/uploads/2026/02/bg_terugblik.jpg);
    opacity: 0;
    margin-top: -55px;
}

.bgFAQ {
    background-image: url(/wp-content/uploads/2026/02/bg_training.jpg);
    opacity: 0;
    margin-top: -55px;
}

.bgRobkekletst {
    background-image: url();
    opacity: 0;
    margin-top: -55px;
}

.bgBlog {
    background-image: url(/media/files/bg_front.jpg);
    opacity: 0;
    margin-top: -55px;
}

.collectie.bgBlog,
.collectie.bgHardlopen,
.collectie.bgInstagram,
.collectie.bgRecensie,
.collectie.bgTerugblik,
.collectie.bgHoewerktdat,
.collectie.bgTraining,
.collectie.bgRobkekletst,
.collectie.bgFAQ,
.collectie.bgRunningtherapie,
.collectie.bgRunningTHP {
    opacity: 1;
}

.collectie:after {
    content: "";
    display: block;
    opacity: 1;
    left: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .4), transparent);
}


.buttonFront {
    z-index: 3;
    position: absolute;
    font-family: 'Glory', cursive;
    letter-spacing: 0.5px;
    font-size: calc(10px + 1vw);
    line-height: 0;
}

.buttonFront a {
    position: relative;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 4;
}

.buttonFront:before {
    position: absolute;
    top: calc(var(--button-maat) / -2);
    left: calc(var(--button-maat) / -2);
    content: "";
    background-color: var(--bgcolorButton);
    width: var(--button-maat);
    height: var(--button-maat);
    border-top: 0.2vw solid rgba(124, 125, 125, 0.9);
    border-left: 0.4vw solid rgba(216, 217, 216, 0.9);
    border-bottom: 0.2vw solid rgba(216, 217, 216, 0.9);
    border-radius: 50%;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.buttonFront:hover::before {
    background-color: var(--bgcolorButtonHover);
    -webkit-transform: scale(1.5, 1.5);
    transform: scale(1.15, 1.15);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.hardlopen,
.voorwie {
    top: 25%;
    left: 25%;
}

.instagram,
.runningtherapie {
    top: 10%;
    left: 45%;
}

.recensie,
.waarom {
    top: 27%;
    left: 65%;
}

.training,
.faq {
    top: 60%;
    left: 12%;
}

.hoewerktdat,
.inhoud {
    top: 41%;
    left: 15%;
}

.buttonFront~.cirkel {
    -webkit-clip-path: circle(0% at 50% 50%);
    clip-path: circle(0% at 50% 50%);
    -webkit-transition: all 1s cubic-bezier(.41, -0, 0, 1);
    transition: all 1s cubic-bezier(.41, -0, 0, 1);
}

.buttonFront:hover~.cirkel {
    -webkit-clip-path: circle(100% at 50% 50%);
    clip-path: circle(100% at 50% 50%);
}

.buttonFront.hardlopen:hover~.bgHardlopen {
    opacity: 1;
}

.buttonFront.instagram:hover~.bgInstagram {
    opacity: 1;
}

.buttonFront.recensie:hover~.bgRecensie {
    opacity: 1;
}

.buttonFront.terugblik:hover~.bgTerugblik {
    opacity: 1;
}

.buttonFront.hoewerktdat:hover~.bgHoewerktdat {
    opacity: 1;
}

.buttonFront.training:hover~.bgTraining {
    opacity: 1;
}

.buttonFront.runningtherapie:hover~.bgRunningtherapie {
    opacity: 1;
}

.buttonFront.waarom:hover~.bgWaarom {
    opacity: 1;
}

.buttonFront.voorwie:hover~.bgVoorwie {
    opacity: 1;
}

.buttonFront.inhoud:hover~.bgInhoud {
    opacity: 1;
}

.buttonFront.faq:hover~.bgFAQ {
    opacity: 1;
}

.lead {
    position: absolute;
    z-index: 4;
    width: 40vw;
    font-family: 'Raleway', sans-serif;
    font-size: calc(10px + 0.7vw);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    text-align: center;
    line-height: 150%;
    color: #fff;
}

.lead h3 {
    font-family: 'Glory', cursive;
    font-size: calc(12px + 2vw);
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 1vw;
}

.leadHardlopen,
.leadInstagram,
.leadRecensie,
.leadTerugblik,
.leadHoewerktdat,
.leadTraining,
.leadRunningtherapie,
.leadWaarom,
.leadVoorwie,
.leadInhoud,
.leadFAQ {
    left: 100%;
    top: calc(var(--leadTop) - 5rem);
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.buttonFront.hardlopen:hover~.leadHardlopen,
.buttonFront.instagram:hover~.leadInstagram,
.buttonFront.recensie:hover~.leadRecensie,
.buttonFront.terugblik:hover~.leadTerugblik,
.buttonFront.hoewerktdat:hover~.leadHoewerktdat,
.buttonFront.training:hover~.leadTraining,
.buttonFront.runningtherapie:hover~.leadRunningtherapie,
.buttonFront.waarom:hover~.leadWaarom,
.buttonFront.voorwie:hover~.leadVoorwie,
.buttonFront.inhoud:hover~.leadInhoud,
.buttonFront.faq:hover~.leadFAQ {
    left: var(--leadLeft);
    top: calc(var(--leadTop) - 5rem);
}

@media only screen and (max-width: 980px) {

    .buttonFront.hardlopen:hover~.leadHardlopen,
    .buttonFront.instagram:hover~.leadInstagram,
    .buttonFront.recensie:hover~.leadRecensie,
    .buttonFront.terugblik:hover~.leadTerugblik,
    .buttonFront.hoewerktdat:hover~.leadHoewerktdat,
    .buttonFront.training:hover~.leadTraining,
    .buttonFront.runningtherapie:hover~.leadRunningtherapie,
    .buttonFront.waarom:hover~.leadWaarom,
    .buttonFront.voorwie:hover~.leadVoorwie,
    .buttonFront.inhoud:hover~.leadInhoud,
    .buttonFront.faq:hover~.leadFAQ {
        top: 60vh;
    }
}

@media only screen and (max-width: 550px) {

    .buttonFront.hardlopen:hover~.leadHardlopen,
    .buttonFront.instagram:hover~.leadInstagram,
    .buttonFront.recensie:hover~.leadRecensie,
    .buttonFront.terugblik:hover~.leadTerugblik,
    .buttonFront.hoewerktdat:hover~.leadHoewerktdat,
    .buttonFront.training:hover~.leadTraining,
    .buttonFront.runningtherapie:hover~.leadRunningtherapie,
    .buttonFront.waarom:hover~.leadWaarom,
    .buttonFront.voorwie:hover~.leadVoorwie,
    .buttonFront.inhoud:hover~.leadInhoud,
    .buttonFront.faq:hover~.leadFAQ {
        top: 65vh;
        left: calc(var(--leadLeft) + 3.33vw);
    }
}

.leadCirkel {
    position: relative;
    top: 100vh;
    left: calc(40% - 10vw);
    z-index: 3;
    width: 60vw;
    height: 60vw;
    background-color: var(--bgcolorLeadcirkel);
    border-top: 0.4vw solid rgba(124, 125, 125, 0.9);
    border-left: 0.8vw solid rgba(216, 217, 216, 0.9);
    border-bottom: 0.4vw solid rgba(216, 217, 216, 0.9);
    border-radius: 50%;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.buttonFront:hover~.leadCirkel {
    top: 40vh;
    left: calc(40% - 10vw);
}

@media only screen and (max-width: 980px) {
    .buttonFront:hover~.leadCirkel {
        top: 50vh;
        width: 65vw;
        height: 65vw;
    }

    .lead {
        width: 43.33vw;
    }
}

@media only screen and (max-width: 550px) {
    .buttonFront:hover~.leadCirkel {
        top: 60vh;
        width: 70vw;
        height: 70vw;
    }
}

.hoofdkopSite {
    position: absolute;
    z-index: 5;
    top: 45%;
    left: 40%;
    opacity: 1;
    -webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.hoofdkopSite:hover {
    cursor: pointer;
}

.hoofdkopSite:before {
    position: absolute;
    display: inline;
    background-color: var(--bgcolorButton);
    z-index: -1;
    top: calc(var(--button-maat) * -0.7);
    left: calc(var(--button-maat) * -0.8);
    content: "";
    width: calc(var(--button-maat) * 2.5);
    height: calc(var(--button-maat) * 2.5);
    border-top: 1vw solid rgba(124, 125, 125, 0.9);
    border-left: 1vw solid rgba(216, 217, 216, 0.9);
    border-bottom: 0.5vw solid rgba(216, 217, 216, 0.9);
    border-radius: 50%;
    -webkit-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
}

.buttonFront:hover~.hoofdkopSite:before {
    opacity: 0;
    -webkit-transform: scale(0.1, 0.1) -webkit-transform: rotate(360deg);
    transform: scale(0.1, 0.1) rotate(360deg);
}

.hoofdkopSite img {
    width: 30vw;
    max-width: 320px;
}

.buttonFront:hover~.hoofdkopSite {
    opacity: 0;
    -webkit-transform: scale(0.1, 0.1);
    transform: scale(0.1, 0.1);
}


.hoofdkopSite h1 {
    font-family: 'Glory', cursive;
    font-size: calc(24px + 2vw);
    letter-spacing: 2px;
    color: #F3F0E2;
    margin: 0;
    -webkit-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
}

.hoofdkopSite h1:hover {
    color: #FFE07F;
}

p.motto {
    font-family: 'Raleway', sans-serif;
    font-size: calc(10px + 0.7vw);
    font-weight: 500;
    margin: 0;
}

/* Galleries algemeen */

.et_post_gallery {
    margin-top: 30px;
}

/* Tegels collecties */

.tegel_collectie {
    width: 120px;
    aspect-ratio: 1 / 1;
}

/* Lijsten met artikelen blog */

.listexcerpt {
    overflow: hidden;
}

#imgberichtlijst .et_pb_image_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contactformulier */

#form-contact input[type="text"],
#form-contact input[type="email"],
#form-contact textarea {
    padding: 0.4em 0.75em;
    background: #f9f7ef;
}

#form-contact input[type="submit"] {
    font-size: 16px;
    padding: .3em 1em;
    background: #155288;
    color: #fff;
    border: 2px solid #155288;
    border-radius: 6px;
}

#form-contact input[type="submit"]:hover,
#form-contact input[type="submit"]:focus {
    background: #1a94c9;
    color: #fff;
    border: 2px solid #1a94c9;
    cursor: pointer;
}

#form-contact .wpcf7-list-item.first {
    margin-left: -4px;
}

#form-contact p {
    margin-bottom: 10px;
}

#form-contact input[type="submit"] {
    margin-top: 10px;
}

@media only screen and (max-width:480px) {
    #form-contact {
        max-width: 320px;
    }
}

/* animatie winter vecht */

.vecht {
    background-image: url(/wp-content/uploads/2026/02/vecht_winter.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.vecht img {
    transition: all 1s ease-in-out;
}

.vecht img:hover {
    opacity: 0;
}

/* afbeeldingen recensies */

.inhoud figure {
    text-align: center;
    margin-top: 30px;
}

/* eerste alinea berichten */

.et_pb_post_content p:first-of-type {
    font-weight: 700;
}

.et_pb_post_content p:first-of-type:first-letter {
    float: left;
    font-family: Glory, cursive;
    font-size: 400%;
    line-height: .85;
    color: #466365;
    margin: 0 .5rem 0 0;
}

/* pagina zoekrsultaten */

#zoekresultaten {
    background-attachment: fixed;
}

.zoekreslink {
    position: absolute;
    width: 100% !important;
    height: 100%;
    opacity: 0;
    display: block;
    left: 0;
    bottom: 0;
}