/* Maak het menu-item plaatje kleiner */
.sp-megamenu-parent img {
    height: 70px;      /* kies jouw ideale hoogte */
    width: auto;
    object-fit: contain;
    display: block;
}



.offcanvas-menu {
    background-color: #545454 !important;
    color: #ffffff !important;
}



/* Zorg dat de carousel zelf geen vaste hoogte meer forceert */
.sppb-carousel-extended-outer-stage,
.sppb-carousel-extended-item {
    height: auto !important;
}

/* Behoud aspect ratio en zorg voor nette crop */
.sppb-carousel-extended-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* of 'contain' als je geen crop wilt */
    aspect-ratio: 16/9; /* wijzig naar gewenste verhouding */
}

/* Fix voor center-item (layout 4) */
.sppb-carousel-extended-item-center img {
    object-fit: cover;
}

#sp-footer {
    font-size: 14px;
    padding: 0;
    background-color: #545454 !important;
    color: #ffffff;
}

/* DESKTOP – 1 regel */
.footer-bottom-line {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    align-items: center;
}

.footer-bottom-line .ms-auto {
    margin-left: auto !important;
}

/* MOBIEL – onder elkaar */
@media (max-width: 767px) {
    .footer-bottom-line {
        flex-wrap: wrap !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .footer-bottom-line .ms-auto {
        margin-left: 0 !important;
    }
}

/* linkstijlen */
#sp-footer a,
.footer-link {
    color: #ffffff !important;
    text-decoration: none;
}

#sp-footer a:hover,
.footer-link:hover {
    color: #ff0000 !important;
}

#sp-bottom:after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    height: 0 !important;
    width: 0 !important;
}


/* ================================
   RSFORM – FRONT-END FORM STYLING
   Identiek aan ACA Machinery ontwerpen
   ================================ */

/* LABELS */
#userForm label.formControlLabel {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
}

/* INPUTVELDEN */
#userForm .rsform-input-box,
#userForm input[type="text"],
#userForm input[type="email"],
#userForm input[type="tel"],
#userForm input[type="number"],
#userForm textarea.rsform-text-box {   /* <-- textarea toegevoegd */
    background: rgba(255, 255, 255, 0.35) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    color: #545454 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* TEXTAREA HOOGTE */
#userForm textarea.rsform-text-box {
    height: auto !important;       /* laat rows bepalen */
    min-height: 120px !important;  /* prettige standaard */
    resize: vertical !important;   /* verticaal vergroten toegestaan */
}

/* PLACEHOLDERS */
#userForm .rsform-input-box::placeholder,
#userForm input[type="text"]::placeholder,
#userForm input[type="email"]::placeholder,
#userForm input[type="tel"]::placeholder,
#userForm textarea.rsform-text-box::placeholder {
    color: rgba(255,255,255,0.8) !important;
}

/* SUBMIT BUTTON */
#userForm .rsform-submit-button {
    width: 100% !important;
    background: #ffffff !important;
    color: #545454 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    border: none !important;
    padding: 16px 10px !important;
    font-size: 17px !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
}

#userForm .rsform-submit-button:hover {
    opacity: 0.9 !important;
}

/* SPACING TUSSEN VELDEN */
#userForm .mb-3 {
    margin-bottom: 18px !important;
}

/* FOUT-TEKSTEN */
#userForm .formValidation span {
    color: #ffffff !important;
    font-size: 13px !important;
}

/* ALGEMENE MARGE FORM */
#userForm {
    margin-top: 10px !important;
}

/* FORMBLOKKEN ALTIJD 100% BREEDTE */
#userForm .formControls {
    width: 100% !important;
}



.sppb-addon-content {
  font-size: 20px;
}


#btn-1688720211543 {
    background-color: rgba(255, 255, 255, 0.4); /* 40 procent wit */
    color: #fff;
    border: none; /* optioneel: geen rand */
}

#btn-1688720211543:hover {
    background-color: rgba(255, 255, 255, 0.55); /* iets lichter bij hover */
    color: #fff;
}

.sppb-dynamic-content-gallery li a {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;      /* kies jouw verhouding */
    overflow: hidden;
}

.sppb-dynamic-content-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* vult de ruimte perfect */
    object-position: center;
}

.sppb-addon-dynamic-content-filter-fake-radio-input {
    margin-top: -21px;
}

label.sppb-addon-dynamic-content-filter-item-count {
    margin-right: 15px;
}

.sppb-addon-dynamic-content-filter-reset-btn-alt {
    background-color: #ff0000 !important;   /* rood */
    color: #fff !important;
    border-color: #ff0000 !important;
}

.sppb-addon-dynamic-content-filter-reset-btn-alt:hover {
    background-color: #b00000 !important;   /* donkerder rood op hover */
    border-color: #b00000 !important;
    color: #fff !important;
}

button.sppb-addon-dynamic-content-filter-reset-btn-alt.dc-filter-btn.dc-filter-btn-default.dc-filter-btn-rounded.dc-filter-btn-outline {
    margin-top: -11px;
}

.sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span {
    display: inline-block;
    padding: 0 40px;
    line-height: 90px;
    font-size: 18px;
    margin: 0;
}

.flipbox-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 767px) {
    #header {
        background-size: cover !important;
        background-position: top center !important;
        background-attachment: scroll !important;
    }
}


@media (max-width: 767px) {
    .sp-page-builder .page-content #header > .sppb-row-overlay {
        background: linear-gradient(0deg, #000000 0%, #ffffff 75%) transparent !important;
    }
}

@media (max-width: 767px) {

    /* Lijst van filteropties onder elkaar */
    #section-id-1764850061815 .sppb-addon-dynamic-content-filter-item-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    /* Individuele radio-opties full width */
    #section-id-1764850061815 .sppb-addon-dynamic-content-filter-item-radio-option {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    /* Reset-knop onderaan */
    #section-id-1764850061815 .sppb-addon-dynamic-content-filter-reset-btn-alt {
        order: 99 !important;               /* forceer naar de onderkant */
        align-self: flex-start !important;  /* links uitlijnen */
        margin-top: 10px !important;
    }
}
