/*
Theme Name: P2C
Author: Pixel2code
Author URI: http://pixel2code.nl/
Description: Wordpress theme for p2c.
Version: 1.0
Text Domain: p2c
*/
.text-center{
    text-align: center;
}
.gform-theme--foundation .gform_fields {
    --gf-form-gap-y: 0 !important;
}
.video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 30px;
}

.video-container iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Ensures responsive scaling */
    display: block;
}
.current-menu-item > a{
    text-decoration: underline;
}

.gform-theme--framework label.gform-field-label:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    color: #FFFFFF !important;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 30px;
}

.video-container iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Ensures responsive scaling */
    display: block;
}

.featured-module__video.video-wrap{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
}
.featured-module__video.video-wrap:after{
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 62.9166666667%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.55) 25%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}
.featured-module__video.video-wrap iframe{
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    aspect-ratio: 1;
    transform: translateY(-50%);
}

.header-bottom .site-navigation .submenu {
    max-width: none;
    width: 100%;
}

.header-bottom .site-navigation > ul > li > a {
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 767px) {
    .featured-module__video.video-wrap iframe {
        height: 100%;
        width: auto;
        min-width: 100%;
        aspect-ratio: 16 / 9;
        left: 50%;
        right: auto;
        top: 50%;
        transform: translate(-50%, -50%);
        border: 0;
        pointer-events: none;
    }
}

.site-footer #menu-products-2 .sub-menu {
    display: none;
}