/* =========================================================
   GET INVOLVED — PAGE BACKGROUNDS
   ========================================================= */

/* Basis: alle getInvolved-detailpagina’s geel */
html,
body {
  min-height: 100%;
}

/* Nieuwsbrief / bg-green pagina’s: groen wint van geel */
html.bg-green,
body.bg-green,
body.bg-green main,
body.bg-green .sections,
body.bg-green section,
body.bg-green nav,
body.bg-green footer,
body.bg-green footer .row,
body.bg-green footer [class*="col-"],
body.bg-green .container,
body.bg-green .container-fluid,
body.bg-green .sonsbeek-navbar,
body.bg-green .sonsbeek-navbar.scrolled,
body.bg-green .sonsbeek-navbar-mobile,
body.bg-green .sonsbeek-navbar-mobile.scrolled {
  background: #4E2C2D !important;
  background-color: #4E2C2D !important;
}

/* Zorgt dat footer onderaan blijft zonder witte strook eronder */
body.detail {
  display: flex;
  flex-direction: column;
}

body.detail main {
  flex: 1 0 auto;
}

body.detail footer {
  flex-shrink: 0;
}


/* =========================================================
   GET INVOLVED — FORM STRUCTURE
   ========================================================= */

.form-group {
  margin-top: 0 !important;
  margin-bottom: 0.75rem;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  transition: background-color 9999s ease-in-out 0s;
  background-color: white !important;
  -webkit-text-fill-color: inherit;
}


/* =========================================================
   GET INVOLVED — FILE UPLOAD
   ========================================================= */

.custom-file-upload {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  border: 2px solid black;
  background: white;
  color: inherit;
  padding: 0.75rem var(--font-size-base);
  font-size: inherit;
  position: relative;
  width: 100%;
  gap: 0.5rem;
  cursor: pointer;
  margin-top: -0.35rem;
}

.custom-file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.form-arrow {
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%; 
}

.form-arrow svg {
  width: 32px;
  height: 31px;
  display: block;
  margin-bottom: 2px;
}

.file-label {
  color: #B1B1B1;
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}


/* =========================================================
   GET INVOLVED — INPUTS / TEXTAREA / SELECT
   ========================================================= */

.vrijwilligers-form input[type="text"],
.vrijwilligers-form input[type="email"],
.vrijwilligers-form input[type="file"],
.vrijwilligers-form textarea,
.vrijwilligers-form select {
  width: 100%;
  background: white;
  color: inherit;
  border: 3px solid black;
  padding: 0.75rem var(--font-size-base);
  font-size: inherit;
}

.vrijwilligers-form input::placeholder,
.vrijwilligers-form textarea::placeholder {
  color: #B1B1B1;
}

.vrijwilligers-form select {
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.custom-select {
  position: relative;
}

.custom-select::after {
  content: "";
  position: absolute;
  right: var(--font-size-base);
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-right: 3px solid #B1B1B1;
  border-bottom: 3px solid #B1B1B1;
  transform: rotate(45deg);
  pointer-events: none;
}

#taal:invalid {
  color: #B1B1B1;
}

#taal option {
  color: inherit;
}

.vrijwilligers-form select:focus {
  outline: none;
}

.custom-select:hover::after {
  border-color: #999;
}


/* =========================================================
   GET INVOLVED — RADIO BUTTONS
   ========================================================= */

.form-check {
  margin-bottom: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.form-check label,
.form-check .custom-radio {
  font-size: inherit;
}

.custom-radio {
  position: relative;
  padding-left: 1.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-mark {
  position: absolute;
  left: 0;
  height: 1.05rem;
  width: 1.05rem;
  border: 3px solid black;
  border-radius: 50%;
  background-color: inherit;
}

.custom-radio:hover input ~ .radio-mark {
  border: 2px solid #B1B1B1;
}

.custom-radio input:checked ~ .radio-mark {
  background-color: black;
  border: 2px solid black;
}


/* =========================================================
   GET INVOLVED — BUTTONS / ACCESSIBILITY
   ========================================================= */

.vrijwilligers-form button {
  padding: 0;
  font-size: inherit;
  border: none;
  background-color: inherit;
  color: inherit;
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}


/* =========================================================
   GET INVOLVED — RESPONSIVE
   ========================================================= */

@media (min-width: 768px) and (max-width: 1199.98px) {
  .form-arrow svg {
    width: 25px;
    height: 24px;
  }

  .custom-radio {
    padding-left: 1.2rem;
  }

  .custom-file-upload {
    gap: 0.4rem;
  }

  .radio-mark {
    height: 0.9rem;
    width: 0.9rem;
    border: 3px solid black;
  }

  .custom-select::after {
    width: 8px;
    height: 8px;
    margin-top: -4px;
  }
}

@media (min-width: 1600px) {
  .form-arrow svg {
    width: 42px;
    height: 41px;
  }

  .custom-file-upload {
    gap: 0.75rem;
  }

  .radio-mark {
    height: 1.4rem;
    width: 1.4rem;
  }

  .custom-radio {
    padding-left: 1.8rem;
  }

  .custom-select::after {
    width: 12px;
    height: 12px;
    margin-top: -6px;
  }
}



/* =========================================================
   EDITIE 2026 START!
   ========================================================= */


body.detail {
  min-height: 100vh;
  background: #4E2C2D !important;
  background-color: #4E2C2D !important;
}


/* =========================================================
   GET INVOLVED — WHITE NAVIGATION
   ========================================================= */

body.detail .sonsbeek-navbar,
body.detail .sonsbeek-navbar.scrolled,
body.detail .sonsbeek-navbar-mobile,
body.detail .sonsbeek-navbar-mobile.scrolled {
  color: #fff !important;
}

/* =========================================================
   GET INVOLVED — WHITE NAVIGATION, HOVER ONGEWIJZIGD
   ========================================================= */

body.detail .sonsbeek-navbar a:not(:hover):not(:focus):not(:focus-visible),
body.detail .sonsbeek-navbar button:not(:hover):not(:focus):not(:focus-visible),
body.detail .sonsbeek-navbar .nav-link:not(:hover):not(:focus):not(:focus-visible),
body.detail .sonsbeek-navbar-mobile a:not(:hover):not(:focus):not(:focus-visible),
body.detail .sonsbeek-navbar-mobile button:not(:hover):not(:focus):not(:focus-visible),
body.detail .sonsbeek-navbar-mobile .nav-link:not(:hover):not(:focus):not(:focus-visible) {
  color: #fff !important;
}

/* =========================================================
   GET INVOLVED — WHITE TEXT / LINKS, HOVER UNCHANGED
   ========================================================= */

/* Algemene tekst wit */
body.detail main,
body.detail .sections,
body.detail section,
body.detail nav,
body.detail footer,
body.detail footer .row,
body.detail footer [class*="col-"],
body.detail .container,
body.detail .container-fluid,
body.detail .sonsbeek-navbar,
body.detail .sonsbeek-navbar.scrolled,
body.detail .sonsbeek-navbar-mobile,
body.detail .sonsbeek-navbar-mobile.scrolled {
  background: #4E2C2D !important;
  background-color: #4E2C2D !important;
  color: #fff !important;
}

/* Links wit in normale staat — hover/focus ongemoeid */
body.detail a:not(:hover):not(:focus):not(:focus-visible),
body.detail button:not(:hover):not(:focus):not(:focus-visible),
body.detail .nav-link:not(:hover):not(:focus):not(:focus-visible) {
  color: #fff !important;
  text-decoration-color: #fff !important;
}


/* Menu- en footer-lijnen wit op detailpagina's */
body.detail hr,
body.detail .footer-line {
  border-color: #fff !important;
  background-color: #fff !important;
  opacity: 1 !important;
}

body.detail .sonsbeek-submenu .submenu-border-wrap::before,
body.detail .sonsbeek-submenu .submenu-border-wrap::after {
  background-color: #fff !important;
  border-color: #fff !important;
}

/* =========================================================
   GET INVOLVED — CHECKBOX / RADIO WHITE ON DETAIL
   ========================================================= */

body.detail .form-check .custom-radio {
  padding-left: 1.5rem;
}

body.detail .form-check .radio-mark {
  box-sizing: border-box;
  position: absolute;
  left: 0;
  width: 1.05rem !important;
  height: 1.05rem !important;
  min-width: 1.05rem !important;
  min-height: 1.05rem !important;
  max-width: 1.05rem !important;
  max-height: 1.05rem !important;
  border: 3px solid #fff !important;
  border-radius: 50%;
  background-color: transparent !important;
}

/* Hover-effect helemaal uit */
body.detail .form-check .custom-radio:hover input ~ .radio-mark,
body.detail .form-check .custom-radio input:hover ~ .radio-mark {
  border: 3px solid #fff !important;
  background-color: transparent !important;
}

/* Checked: wit gevuld, zelfde maat houden */
body.detail .form-check .custom-radio input:checked ~ .radio-mark {
  width: 1.05rem !important;
  height: 1.05rem !important;
  min-width: 1.05rem !important;
  min-height: 1.05rem !important;
  max-width: 1.05rem !important;
  max-height: 1.05rem !important;
  border: 3px solid #fff !important;
  background-color: #fff !important;
}
/* =========================================================
   GET INVOLVED — FORM FIELDS ON DARK DETAIL BACKGROUND
   ========================================================= */

/* Basis: lege velden transparant met witte rand */
body.detail .vrijwilligers-form input[type="text"],
body.detail .vrijwilligers-form input[type="email"],
body.detail .vrijwilligers-form textarea {
  background-color: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
}

/* Placeholder wit */
body.detail .vrijwilligers-form input::placeholder,
body.detail .vrijwilligers-form textarea::placeholder {
  color: #fff !important;
  opacity: 1 !important;
}

/* Focus */
body.detail .vrijwilligers-form input[type="text"]:focus,
body.detail .vrijwilligers-form input[type="email"]:focus,
body.detail .vrijwilligers-form textarea:focus {
  outline: none !important;
  background-color: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
}

/* Ingevuld: witte vulling, bruine tekst */
body.detail .vrijwilligers-form input[type="text"]:not(:placeholder-shown),
body.detail .vrijwilligers-form input[type="email"]:not(:placeholder-shown),
body.detail .vrijwilligers-form textarea:not(:placeholder-shown) {
  background-color: #fff !important;
  color: #4E2C2D !important;
  border-color: #fff !important;
}

/* =========================================================
   GET INVOLVED — CUSTOM LANGUAGE DROPDOWN
   ========================================================= */

body.detail .vrijwilligers-form .custom-language-select {
  position: relative;
  width: 100%;
  z-index: 50;
}

body.detail .vrijwilligers-form .custom-language-button {
  width: 100%;
  border: 3px solid #fff !important;
  background: transparent !important;
  color: #fff !important;
  padding: 0.75rem var(--font-size-base) !important;
  font-size: inherit !important;
  line-height: inherit !important;
  text-align: left !important;
  position: relative;
  text-transform: none !important;
  text-decoration: none !important;
  appearance: none;
  -webkit-appearance: none;
}

body.detail .vrijwilligers-form .custom-language-button:hover,
body.detail .vrijwilligers-form .custom-language-button:focus,
body.detail .vrijwilligers-form .custom-language-button span {
  text-transform: none !important;
  text-decoration: none !important;
}

body.detail .vrijwilligers-form .custom-language-button::after {
  content: "";
  position: absolute;
  right: var(--font-size-base);
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -6px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  pointer-events: none;
}

body.detail .vrijwilligers-form .custom-language-select.is-open .custom-language-button {
  background: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
}

body.detail .vrijwilligers-form .custom-language-select.has-value .custom-language-button {
  background: #fff !important;
  color: #4E2C2D !important;
  border-color: #fff !important;
}

body.detail .vrijwilligers-form .custom-language-options {
  position: absolute;
  z-index: 999;
  left: 0;
  right: 0;
  top: 100%;
  margin: -3px 0 0;
  padding: 0;
  list-style: none;
  border: 3px solid #fff;
  background: #4E2C2D;
  color: #fff;
  text-transform: none !important;
}

body.detail .vrijwilligers-form .custom-language-options li {
  display: block;
  padding: 0.75rem var(--font-size-base);
  cursor: pointer;
  color: #fff !important;
  background: #4E2C2D !important;
  text-transform: none !important;
  text-decoration: none !important;
  outline: none;
}

body.detail .vrijwilligers-form .custom-language-options li[aria-selected="true"] {
  background: #4E2C2D !important;
  color: #fff !important;
}

body.detail .vrijwilligers-form .custom-language-options li:hover,
body.detail .vrijwilligers-form .custom-language-options li:focus,
body.detail .vrijwilligers-form .custom-language-options li[aria-selected="true"]:hover,
body.detail .vrijwilligers-form .custom-language-options li[aria-selected="true"]:focus {
  background: #fff !important;
  color: #4E2C2D !important;
  outline: none;
}

body.detail .vrijwilligers-form .custom-language-button::after {
  content: "";
  position: absolute;
  right: var(--font-size-base);
  top: 50%;
  width: 14px;
  height: 8px;
  margin-top: -4px;
  border: 0 !important;
  background:
  linear-gradient(40deg, transparent 38%, currentColor 39%, currentColor 61%, transparent 62%) left center / 50% 100% no-repeat,
  linear-gradient(-40deg, transparent 38%, currentColor 39%, currentColor 61%, transparent 62%) right center / 50% 100% no-repeat;
  transform: none !important;
  pointer-events: none;
}

#sonsbeek-membership-form,
#sonsbeek-membership-form .sonsbeek-form-field,
#sonsbeek-membership-form .sonsbeek-form-select,
#sonsbeek-membership-form .sonsbeek-form-submit {
  width: 100%;
}

#sonsbeek-membership-form .sonsbeek-form-select {
  display: block;
  box-sizing: border-box;
}

/* Membershipformulier direct onder de tekst */

body.detail .membership-form-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.detail .membership-form-section > .col-12 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.detail #membership-form {
  width: 100%;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.detail #membership-form .custom-language-select {
  margin-top: 0 !important;
}
/* =========================================================
   EDITIE 2026 EIND!
   ========================================================= */
