/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


body.page-id-2410 {
    /* Target the specific div with classes you mentioned */

    div.wp-block-columns.is-layout-flex.wp-container-core-columns-layout-1.wp-block-columns-is-layout-flex {
        /* Target the second div inside and add the CSS rule */

        & > div:nth-child(1) {
            margin-top: -33px !important;
        }

        & > div:nth-child(2) {
            margin-top: -160px !important;
        }
    }


    @media (min-width: 783px) {
        .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow:nth-child(2) {
            margin-top: -164px;
        }
    }


}


body.page-id-2463 {
    @media (max-width: 481px) {
        a.wp-block-button__link {
            margin-top: 44px !important;
        }
    }

}


.fancybox-slide--video {
    padding: 0px !important;

}

.fancybox__container{
	z-index: 999999 !important;
}

.gf_login_form form ul {
    margin-top: 0;
    margin-left: 0;
    list-style-type: none;
}

.gf_login_form form ul li {
    margin-bottom: 15px;
}

.gf_login_form form ul li .gfield {
    margin-top: 10px;
}

.gf_login_links a:first-child {
    display: none;
}

.gf_login_links a:nth-child(2) {
    margin-top: 10px;
}

.hidefield {
    opacity: 0 !important;
}


.logginbtn a {
    margin-top: 7px;
    margin-bottom: 25px;
    color: #ffffff !important;
    border-radius: 8px;
    background-color: #2e507c;
    line-height: 48px !important;
}


.logginbtn a:hover {
    color: red !important;
    background-color: #ff0000;
}


.gfield_required, .gform_required_legend {
    display: none !important;
}

.hideTax {
    visibility: hidden;
}

.category-card .card-content {
    height: calc(100% - 230px);
}

.category-card .card-content .content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-card .card-content .content-wrapper .button {
    width: auto;
    max-width: max-content;
}


h3.c-accordion__title {
    display: none !important;
}


.page-id-2410 .wp-block-columns .wp-block-column:nth-child(2) {
    margin-top: -20px !important;
}

a:active{
	color: #2e507c;
}
a:focus{
	color: #2e507c;
}

#\31 sec1,
#\31 sec2,
#\31 sec3,
#\31 sec4,
#\31 sec5,
#\31 sec6,
#\31 sec7,
#\31 sec8,
#\31 sec9,
#\31 sec10,
#\31 sec11,
#\32 sec1,
#\32 sec2,
#\32 sec3,
#\32 sec4,
#\32 sec5,
#\32 sec6,
#\32 sec7,
#\32 sec8,
#\32 sec9,
#\32 sec10,
#\32 sec11,
#\33 sec1,
#\33 sec2,
#\33 sec3,
#\33 sec4,
#\33 sec5,
#\33 sec6,
#\33 sec7,
#\33 sec8,
#\33 sec9,
#\33 sec10,
#\33 sec11 {
    width: 240px;
}

@media (max-width: 819px) {
    #\31 sec1,
    #\31 sec2,
    #\31 sec3,
    #\31 sec4,
    #\31 sec5,
    #\31 sec6,
    #\31 sec7,
    #\31 sec8,
    #\31 sec9,
    #\31 sec10,
    #\31 sec11,
    #\32 sec1,
    #\32 sec2,
    #\32 sec3,
    #\32 sec4,
    #\32 sec5,
    #\32 sec6,
    #\32 sec7,
    #\32 sec8,
    #\32 sec9,
    #\32 sec10,
    #\32 sec11,
    #\33 sec1,
    #\33 sec2,
    #\33 sec3,
    #\33 sec4,
    #\33 sec5,
    #\33 sec6,
    #\33 sec7,
    #\33 sec8,
    #\33 sec9,
    #\33 sec10,
    #\33 sec11 {
        margin-bottom: 5px;
    }
}



/* Automatische zoom voor alle afbeeldingen in Fancybox */


@media (min-width: 1440px) {
    .toolspopup {
        width: 75%;
    }
}

.fancybox__slide.has-video {
    width: 100%;
    height: auto;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (min-width: 481px) {
    .toolspopup .buttons-holder {
        gap: 10px;
        display: flex;
        flex-wrap: wrap;
    }

    .toolspopup .buttons-holder .button {
        flex: 1;
    }
}


@media screen and (min-width: 1024px) {
    .fancybox__iframe {
        max-height: calc(100dvh - 128px);
    }
    
    .fancybox__slide.has-video .fancybox__content {
        width: min(90vw, 1440px) !important;
        height: calc(100dvh - 128px) !important;
        max-height: calc(100dvh - 128px) !important;
        background-color: transparent !important;
    }
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
    .fancybox__slide.has-video .fancybox__content {
      width: 100% !important;
      height: 100dvh !important;
      max-width: 100% !important;
      max-height: 100dvh !important;
      background-color: transparent !important;
    }
  
    .fancybox__slide.has-video .fancybox__iframe,
    .fancybox__slide.has-video video {
      width: 100% !important;
      height: calc(100dvh - 100px) !important;
    }
  }

.fancybox__iframe {
    outline: none !important;
}

.fancybox__content {
    padding: 0 !important;
    background-color: transparent !important;
}

@media screen and (max-width: 768px) {
    .fancybox__iframe {
        margin: 0 auto;
        width: 100% !important;
        height: 100% !important;
    }

    .fancybox__content {
        justify-content: center;
    }
}

#help-popup .popup-content {
    background-color: #fff;
}