/* Non utility CSS */

/**
 * Reset padding bottom on headings
 */
h1, h2, h3, h4, h5, h6 {
    padding-bottom: 0px !important;
}

/**
 * Header logo wrapper
 */
#header-logo-wrapper {
    transform: translateY(7px);
}

/**
 * Reset padding bottom on headings
 */
.wysiwyg h1, .wysiwyg h2 {
    margin-bottom: 1rem;
}

.wysiwyg h3 {
    margin-bottom: 0.5rem;
}

/**
 * Logo graphics
 */
.logo-graphic-top-blue-600::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.25;
    background: url("/wp-content/uploads/2026/08/thermatras-logo-icon-outline-blue-600-rotated-1.svg") no-repeat -10% top;
}

#logo-graphic-bottom-blue-600::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    background: url("/wp-content/uploads/2026/08/thermatras-logo-icon-outline-blue-600.svg") no-repeat 110% 101%;
}

.logo-graphic-top-green-400::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.25;
    background: url("/wp-content/uploads/2026/08/thermatras-logo-icon-outline-green-400-rotated-1.svg") no-repeat -10% top;
}

#logo-graphic-bottom-green-400::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    background: url("/wp-content/uploads/2026/08/thermatras-logo-icon-outline-green-400.svg") no-repeat 110% 101%;
}

.logo-graphic-top-yellow-400::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.25;
    background: url("/wp-content/uploads/2026/08/thermatras-logo-icon-outline-yellow-400-rotated-1.svg") no-repeat -10% top;
}

#logo-graphic-bottom-yellow-400::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    background: url("/wp-content/uploads/2026/08/thermatras-logo-icon-outline-yellow-400.svg") no-repeat 110% 101%;
}

.logo-graphic-top-blue-400::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.25;
    background: url("/wp-content/uploads/2026/08/thermatras-logo-icon-outline-blue-400-rotated-1.svg") no-repeat -10% top;
}

#logo-graphic-bottom-blue-400::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    background: url("/wp-content/uploads/2026/08/thermatras-logo-icon-outline-blue-400.svg") no-repeat 110% 101%;
}

@media only screen and (max-width: 980px) { 
    #logo-graphic-bottom-blue-600::after, #logo-graphic-bottom-green-400::after, #logo-graphic-bottom-yellow-400::after, #logo-graphic-bottom-blue-400::after, .logo-graphic-top-blue-600::before, .logo-graphic-top-green-400::before, .logo-graphic-top-yellow-400::before, .logo-graphic-top-blue-400::before {
        display: none;
    }
}

/**
 * Cutout hero
 */
.cutout-hero {
    position: relative;
}

.cutout-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        rgba(12, 10, 31, 1) 25%,
        rgba(12, 10, 31, 1) 25%,
        rgba(12, 10, 31, 0.75) 70%,
        rgba(12, 10, 31, 0.5) 100%
    );

    -webkit-mask-image:
        linear-gradient(#fff, #fff),
        url("/wp-content/uploads/2026/07/thermatras-logo-icon-svg-cutout.svg");
    mask-image:
        linear-gradient(#fff, #fff),
        url("/wp-content/uploads/2026/07/thermatras-logo-icon-svg-cutout.svg");

    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-repeat: no-repeat, no-repeat;

    -webkit-mask-size: 100% 100%, auto 100%;
    mask-size: 100% 100%, auto 100%;

    -webkit-mask-position: 0 0, 105% center;
    mask-position: 0 0, 105% center;

    -webkit-mask-composite: destination-out;
    mask-composite: subtract;
}

.cutout-hero-homepage {
    position: relative;
}

.cutout-hero-homepage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background-color: #0C0A1F;

    -webkit-mask-image:
        linear-gradient(#fff, #fff),
        url("/wp-content/uploads/2026/07/thermatras-logo-icon-svg-cutout.svg");
    mask-image:
        linear-gradient(#fff, #fff),
        url("/wp-content/uploads/2026/07/thermatras-logo-icon-svg-cutout.svg");

    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-repeat: no-repeat, no-repeat;

    -webkit-mask-size: 100% 100%, auto 100%;
    mask-size: 100% 100%, auto 100%;

    -webkit-mask-position: 0 0, 105% center;
    mask-position: 0 0, 105% center;

    -webkit-mask-composite: destination-out;
    mask-composite: subtract;
}

@media only screen and (max-width: 980px) { 
    .cutout-hero::before, .cutout-hero-homepage::before {
        display: none;
    }
}

.label-kleur-geel {
    background-color: var(--color-yellow-400) !important;
    border-color: var(--color-yellow-400) !important;
    color: var(--color-blue-900) !important;
}

.label-kleur-groen {
    background-color: var(--color-green-400) !important;
    border-color: var(--color-green-400) !important;
    color: var(--color-white) !important;
}

.label-kleur-blauw {
    background-color: var(--color-blue-400) !important;
    border-color: var(--color-blue-400) !important;
    color: var(--color-white) !important;
}

/**
 * Shortcode : [mobile_menu]
 */
#mobile-menu-dialog {
    display: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

#mobile-menu-dialog.show {
    opacity: 1;
}

#mobile-menu-dialog.closing {
    opacity: 0;
}

.mobile-menu-item {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

#mobile-menu-dialog.show .mobile-menu-item {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(0.06s + (var(--stagger, 0) * 0.04s));
}


/**
 * Active menu item styling
 */
.active-menu-item,
.active-mobile-menu-item {
	color: var(--color-blue-400) !important;
}

header[data-theme="default"] #header-link-utiliteit.active-menu-item,
header[data-theme="default"] #header-link-scheepvaart.active-menu-item,
header[data-theme="default"] #header-link-industrie.active-menu-item,
header[data-theme="default"] #header-link-projecten.active-menu-item {
	color: var(--color-blue-600) !important;
}

header[data-theme="yellow"] .active-menu-item,
header[data-theme="yellow"] .active-mobile-menu-item,
#mobile-menu-dialog[data-theme="yellow"] .active-mobile-menu-item {
	color: var(--color-yellow-400) !important;
}

header[data-theme="green"] .active-menu-item,
header[data-theme="green"] .active-mobile-menu-item,
#mobile-menu-dialog[data-theme="green"] .active-mobile-menu-item {
	color: var(--color-green-400) !important;
}


/**
 * Vertical text slider
 */
#vertical-text-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        var(--color-grey-900) 10%,
        transparent 30%,
        transparent 70%,
        var(--color-grey-900) 90%
    );
    z-index: 10;
}

#vertical-text-slider span {
    animation: vertical-text-slider 10s infinite;
}

@keyframes vertical-text-slider {
    10%  { transform: translateY(-102%); }
    25%  { transform: translateY(-100%); }
    35%  { transform: translateY(-202%); }
    50%  { transform: translateY(-200%); }
    60%  { transform: translateY(-302%); }
    75%  { transform: translateY(-300%); }
    85%  { transform: translateY(-402%); }
    100% { transform: translateY(-400%); }
}


/**
 * Slider
 */
.slider--single .f-carousel__dots {
    position: absolute;
    top: 90% !important;
    left: 20px !important;
    display: flex;
    justify-content: left !important;
}

.slider--multiple {
    --f-carousel-gap: 16px;
    --f-carousel-slide-width: min(1000px, 90%);
    --f-carousel-dot-opacity: 1;
    --f-carousel-dot-hover-opacity: 1;
    --f-carousel-dot-bg: color-mix(in srgb, var(--color-white) 25%, transparent);
    --f-carousel-dot-hover-bg: color-mix(in srgb, var(--color-white) 60%, transparent);
    --f-carousel-dot-selected-bg: var(--color-white);
    --f-carousel-dots-width: 8px;
    --f-carousel-dot-width: 8px;
    --f-carousel-dot-height: 8px;
    --f-carousel-dot-border-radius: 80px;
    --f-carousel-dots-gap: 8px;
}

.slider--multiple .f-carousel__dot[aria-current] {
    width: 24px;
}

.slider--multiple .f-carousel__dot[aria-current]::after {
    width: 24px;
}

.slider--multiple .f-carousel__viewport {
    padding-top: 4px;
}

.slider--multiple .f-carousel__slide {
    max-width: none;
    height: auto;
}

.slider--multiple .f-carousel__slide > a {
    height: 100%;
}

.slider--multiple .f-carousel__slide > a > div:first-child {
    align-self: stretch;
    min-height: 100%;
}

.slider--multiple .f-carousel__dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/**
 * Fotogalerij lightbox (nieuwsbericht detailpagina en project detailpagina)
 * Desktop (≥980px): CSS grid met Fancybox voor lightbox.
 * Mobile: Carousel + Fancybox voor lightbox.
 */
.tm-lightbox {
    --f-carousel-slide-width: 100%;
    --f-carousel-spacing: 1rem;
    --f-carousel-dot-opacity: 1;
    --f-carousel-dot-hover-opacity: 1;
    --f-carousel-dot-bg: color-mix(in srgb, var(--color-white) 25%, transparent);
    --f-carousel-dot-hover-bg: color-mix(in srgb, var(--color-white) 60%, transparent);
    --f-carousel-dot-selected-bg: var(--color-white);
    --f-carousel-dots-width: 8px;
    --f-carousel-dot-width: 8px;
    --f-carousel-dot-height: 8px;
    --f-carousel-dot-border-radius: 80px;
    --f-carousel-dots-gap: 8px;
    --f-progressbar-color: var(--color-blue-600);
}

.tm-lightbox .f-carousel__dot[aria-current] {
    width: 24px;
}

.tm-lightbox .f-carousel__dot[aria-current]::after {
    width: 24px;
}

.tm-lightbox__thumb {
    aspect-ratio: 1;
}

.tm-lightbox.f-carousel .f-carousel__slide,
.tm-lightbox.f-carousel .tm-lightbox__thumb {
    height: 300px;
    aspect-ratio: auto;
}

.tm-lightbox .f-carousel__dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

@media only screen and (min-width: 980px) {
    .tm-lightbox {
        display: grid;
        grid-template-columns: repeat(3, 260px);
        gap: 1rem;
    }

    .tm-lightbox .tm-lightbox__thumb {
        width: 260px;
        height: 260px;
    }
}

/**
 * Select
 */
#select-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0;
}

#select-input::-ms-expand {
    display: none;
}

#select-arrow-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 1.25rem;
    height: 1.25rem;
}

.accordion-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/**
 * Reset list styles
 */
ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/**
 * Custom checkbox (checkbox-wrapper)
 */
.checkbox-wrapper input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

.checkbox-wrapper .checkbox {
    margin: auto;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkbox-wrapper .checkbox span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper .checkbox span:first-child {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transform: scale(1);
    vertical-align: middle;
    border: 1px solid var(--color-grey-400);
    transition: all 0.2s ease;
}

.checkbox-wrapper .checkbox span:first-child svg {
    position: absolute;
    top: 5px;
    left: 6px;
    fill: none;
    stroke: var(--color-white);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper .checkbox span:first-child:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-green-500);
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
}

.checkbox-wrapper .checkbox span:last-child {
    padding-left: 0;
}

.checkbox-wrapper .checkbox:hover span:first-child {
    border-color: var(--color-green-500);
}

.checkbox-wrapper .inp-checkbox:checked + .checkbox span:first-child {
    background: var(--color-green-500);
    border-color: var(--color-green-500);
    animation: wave-46 0.4s ease;
}

.checkbox-wrapper .inp-checkbox:checked + .checkbox span:first-child svg {
    stroke-dashoffset: 0;
}

.checkbox-wrapper .inp-checkbox:checked + .checkbox span:first-child:before {
    transform: scale(3.5);
    opacity: 0;
    transition: all 0.6s ease;
}

@keyframes wave-46 {
    50% {
        transform: scale(0.9);
    }
}

/**
 * Ninja Forms
 */
.nf-form-cont .nf-form-title,
.nf-form-cont .nf-form-fields-required,
.nf-form-cont .nf-field-label,
.nf-form-cont .nf-fu-button-cancel {
    display: none !important;
}

.nf-form-cont .nf-field-container {
    clear: both;
    margin-bottom: 16px;
    position: relative;
}

.nf-form-cont .nf-field-container.submit-container {
    margin-bottom: 0;
    margin-top: 32px;
}

#contact-content .nf-form-cont .nf-field-container.submit-container {
    text-align: center;
}

@media only screen and (max-width: 980px) {
    #contact-content .nf-form-cont .nf-field-container.submit-container {
        text-align: left;
    }
}

.nf-form-cont .nf-field-element {
    position: relative;
}

.nf-form-cont input[type="text"].nf-element:not(.nf-field-hp),
.nf-form-cont input[type="email"].nf-element,
.nf-form-cont input[type="tel"].nf-element,
.nf-form-cont select.nf-element,
.nf-form-cont textarea.nf-element,
.nf-form-cont .nf-fu-fileinput-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 1rem;
    font-family: var(--font-family-primary);
    font-size: var(--text-16pt);
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-white);
    background-color: color-mix(in srgb, var(--color-white) 5%, transparent);
    border: 1px solid var(--color-white);
    border-radius: var(--default-border-radius-sm);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: var(--default-transition);
}

.nf-form-cont input[type="text"].nf-element:not(.nf-field-hp),
.nf-form-cont input[type="email"].nf-element,
.nf-form-cont input[type="tel"].nf-element,
.nf-form-cont select.nf-element,
.nf-form-cont .nf-fu-fileinput-button {
    height: auto;
    min-height: 3.25rem;
}

.nf-form-cont textarea.nf-element {
    min-height: 10rem;
    resize: vertical;
}

.nf-form-cont input[type="text"].nf-element:not(.nf-field-hp)::placeholder,
.nf-form-cont input[type="email"].nf-element::placeholder,
.nf-form-cont input[type="tel"].nf-element::placeholder,
.nf-form-cont textarea.nf-element::placeholder {
    color: color-mix(in srgb, var(--color-white) 75%, transparent);
    opacity: 1;
}

.nf-form-cont input[type="text"].nf-element:not(.nf-field-hp):focus,
.nf-form-cont input[type="email"].nf-element:focus,
.nf-form-cont input[type="tel"].nf-element:focus,
.nf-form-cont select.nf-element:focus,
.nf-form-cont textarea.nf-element:focus,
.nf-form-cont .nf-fu-fileinput-button:focus,
.nf-form-cont .nf-fu-fileinput-button:focus-visible {
    border-color: var(--color-white);
    background-color: color-mix(in srgb, var(--color-white) 5%, transparent);
    color: var(--color-white);
}

.nf-form-cont select.nf-element {
    padding-right: 3rem;
    cursor: pointer;
    color: var(--color-white);
}

.nf-form-cont select.nf-element:has(option[value="sector"]:checked) {
    color: color-mix(in srgb, var(--color-white) 75%, transparent);
}

.nf-form-cont select.nf-element:focus {
    color: var(--color-white);
}

.nf-form-cont select.nf-element option {
    background-color: var(--color-blue-950);
    color: var(--color-white);
}

.nf-form-cont select.nf-element::-ms-expand {
    display: none;
}

.nf-form-cont .listselect-container .nf-field-element::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
    background-color: var(--color-white);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9 L12 15 L18 9 Z' fill='%23000'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9 L12 15 L18 9 Z' fill='%23000'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.nf-form-cont .nf-fu-fileinput-button {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0;
    padding-right: 3rem;
    text-align: left;
    cursor: pointer;
    color: color-mix(in srgb, var(--color-white) 75%, transparent);
    box-shadow: none;
    background-image: none;
}

.nf-form-cont .nf-fu-fileinput-button:hover {
    opacity: 0.9;
}

.nf-form-cont .nf-fu-fileinput-button span {
    font-family: var(--font-family-primary);
    font-size: var(--text-16pt);
    font-weight: 300;
    color: color-mix(in srgb, var(--color-white) 75%, transparent);
}

.nf-form-cont .nf-fu-fileinput-button::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 16px;
    pointer-events: none;
    background-color: var(--color-white);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16.667 16'%3E%3Cpath d='M2,14v4H16.667V14M9.333,4V15.333M4.667,8.667,9.333,4,14,8.667' transform='translate(-1 -3)' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16.667 16'%3E%3Cpath d='M2,14v4H16.667V14M9.333,4V15.333M4.667,8.667,9.333,4,14,8.667' transform='translate(-1 -3)' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.nf-form-cont .nf-fu-progress {
    display: none;
    height: 4px;
    margin: 0.5rem 0 0;
    overflow: hidden;
    background-color: color-mix(in srgb, var(--color-white) 10%, transparent);
    border-radius: var(--default-border-radius-sm);
    box-shadow: none;
}

.nf-form-cont .nf-fu-progress-bar {
    background-color: var(--color-blue-600);
    box-shadow: none;
}

.nf-form-cont .files_uploaded:empty {
    display: none;
}

.nf-form-cont .files_uploaded:not(:empty) {
    margin-top: 0.5rem;
    font-family: var(--font-family-primary);
    font-size: var(--text-14pt);
    color: var(--color-grey-300);
}

.nf-form-cont .files_uploaded a {
    color: var(--color-blue-400);
}

.nf-form-cont .submit-container input[type="submit"].nf-element,
.nf-form-cont .submit-container input[type="button"].nf-element {
    display: inline-block;
    width: fit-content;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 10px 20px;
    font-family: var(--font-family-primary);
    font-size: var(--text-18pt);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    background-color: var(--color-blue-600);
    border: none;
    border-radius: var(--default-border-radius-sm);
    cursor: pointer;
    transition: var(--default-transition);
    box-shadow: none;
}

.nf-form-cont .submit-container input[type="submit"].nf-element:hover,
.nf-form-cont .submit-container input[type="button"].nf-element:hover {
    opacity: 0.8;
}

.nf-form-cont .submit-container input[type="submit"].nf-element:active,
.nf-form-cont .submit-container input[type="button"].nf-element:active {
    transform: scale(0.99);
}

.nf-form-cont .nf-error-msg,
.nf-form-cont .nf-error .nf-error-msg {
    margin-top: 0.35rem;
    font-family: var(--font-family-primary);
    font-size: var(--text-14pt);
    color: var(--color-white);
}

.nf-form-cont .nf-form-errors {
    margin-bottom: 1rem;
    font-family: var(--font-family-primary);
    color: var(--color-white);
}
