/* Gerichte aanvullingen op de oorspronkelijke Chiasmo-opmaak. */
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: #fff;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url(image/background_left.png), url(image/background_right.png);
  background-position: top left, top right;
  background-repeat: repeat-y;
  background-size: 50%, 50%;
  filter: blur(3px);
  opacity: .55;
  clip-path: inset(0);
}

#page1,
#page2,
#page3,
#page4,
#page5 {
  height: auto;
  min-height: 700px;
  display: flow-root;
  padding-bottom: 35px;
}

#kop {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 76px;
  padding: 0 20px;
  border-bottom: 1px solid #b8d8d4;
}

#tekstbalk {
  position: static;
  flex: 0 0 370px;
  margin: 0;
}

#navbar.menuBar {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  word-spacing: normal;
}

#navbar ul {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}

#navbar li {
  margin: 0;
}

#navbar a {
  display: block;
  padding: 10px 8px;
  border: 1px solid #b8d8d4;
  border-radius: 11px 11px 6px 6px;
  background: #f2fbfa;
  color: #254061;
  font: bold 14px/1.3 Arial, Helvetica, sans-serif;
  text-decoration: none !important;
  white-space: nowrap;
}

#navbar a:hover {
  background: #e1f4f1;
  border-color: #43bfb5;
}

#navbar a.active {
  background: #004960;
  border-color: #004960;
  color: #fff;
}

#navbar a:focus-visible,
.keuze-richting:focus-visible,
.video-popup-sluiten:focus-visible {
  outline: 3px solid #27bcb4;
  outline-offset: 3px;
}

.menu-pagina[hidden] {
  display: none !important;
}

#image {
  padding-top: 96px;
}

.keuze-richtingen {
  clear: both;
  display: grid;
  grid-template-columns: 128px 92px 128px;
  justify-content: center;
  padding: 28px 0 24px;
}

.keuze-of {
  align-self: center;
  justify-self: center;
  margin: 0;
  color: #254061;
  font: 16px/1.3 Arial, Helvetica, sans-serif;
}

.keuze-richting {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 128px;
  gap: 6px;
  margin: 0;
  color: #254061;
  font: 15px/1.3 Arial, Helvetica, sans-serif;
  text-align: center;
}

.keuze-richting img {
  display: block;
  width: 128px;
  height: 128px;
}

.keuze-richting:hover span:last-child {
  text-decoration: underline;
}

.counselling-video {
  clear: both;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-sizing: border-box;
  width: 580px;
  margin: 0 auto 20px;
  padding: 10px 14px;
  border: 1px solid #43bfb5;
  background: #f2fbfa;
  color: #254061;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.video-knop:focus-visible {
  outline: 2px solid #004960;
  outline-offset: 3px;
}

.video-tekst {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.video-knop {
  margin: 0;
  padding: 8px 14px;
  border-radius: 4px;
  background: #004960;
  color: #fff;
  font: bold 14px/1.4 Arial, Helvetica, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.video-knop:hover {
  background: #086878;
}

.rbcz-actueel {
  width: 125px;
  height: 125px;
  object-fit: contain;
  margin-left: 30px;
}

.opleiding-lijst {
  margin: 10px 0 16px;
  padding-left: 20px;
}

#opleidingen {
  margin-top: 20px;
}

.opleiding-lijst li {
  margin: 0 0 7px;
}

.kwaliteit-pagina #page,
.privacy-pagina #page {
  height: auto;
  min-height: 1300px;
  display: flow-root;
  padding-bottom: 40px;
}

.kwaliteit-pagina #box {
  font-size: 11pt;
  line-height: 14pt;
  color: #254061;
}

.privacy-aanvulling {
  margin: 0 0 24px;
}

.privacy-aanvulling p {
  margin: 8px 0;
}

.privacy-aanvulling ul {
  padding-left: 40px;
  margin: 10px 0;
}

.privacy-aanvulling li {
  margin: 0 0 8px;
}

.contact-shortcut {
  position: fixed;
  z-index: 300;
  top: 16px;
  right: 24px;
  padding: 11px 22px;
  border: 2px solid #fff;
  border-radius: 6px;
  background: #004960;
  color: #fff !important;
  font: bold 16px/1.3 Arial, Helvetica, sans-serif;
  text-decoration: none !important;
  box-shadow: 0 2px 8px #00496033;
}

.contact-shortcut:hover {
  background: #086878;
}

.contact-afbeelding:focus-visible,
.informatiebalk a:focus-visible,
.verzend-knop:focus-visible {
  outline: 3px solid #27bcb4;
  outline-offset: 3px;
}

.contact-en-informatie {
  clear: both;
  box-sizing: border-box;
  width: 890px;
  max-width: 100%;
  margin: 16px auto 24px;
}

.contactblok {
  text-align: center;
}

.contact-afbeelding {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 30px;
  border: 2px solid #43bfb5;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #f2fbfa);
  box-shadow: 0 3px 10px #00496015;
  color: #004960;
  font: bold 16px/1.4 Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.contact-afbeelding img {
  display: block;
  width: 82px;
  height: 32px;
  margin: 0;
}

.contact-afbeelding:hover {
  border-color: #004960;
  text-decoration: underline;
}

nav.informatiebalk {
  box-sizing: border-box;
  width: 100%;
  margin: 12px 0 0;
  padding: 16px 24px;
  border: 1px solid #43bfb5;
  border-radius: 999px;
  background: #f2fbfa;
  color: #43bfb5;
  font: 14px/1.7 Arial, Helvetica, sans-serif;
  text-align: center;
}

nav.informatiebalk a {
  display: inline-block;
  color: #254061;
  text-decoration: none;
}

nav.informatiebalk a:hover {
  text-decoration: underline;
}

dialog.video-popup {
  width: min(760px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 2px solid #43bfb5;
  border-radius: 16px;
  background: #fff;
  color: #254061;
  box-shadow: 0 14px 60px #00496055;
  overflow: auto;
}

.video-popup::backdrop {
  background: #003f50a6;
  backdrop-filter: blur(3px);
}

.video-popup-kop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}

.video-popup h2 {
  margin: 0;
  color: #004960;
  font: bold 18px/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: normal;
}

.video-popup-sluiten {
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #43bfb5;
  border-radius: 999px;
  background: #f2fbfa;
  color: #004960;
  font: 14px/1.4 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.video-popup iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

dialog.pagina-popup {
  width: min(900px, calc(100vw - 40px));
}

.pagina-popup iframe {
  height: min(72dvh, 720px);
  aspect-ratio: auto;
}

body.in-pop-up {
  min-height: 0;
  margin: 0;
  background: #fff;
}

.in-pop-up::before,
.in-pop-up #header,
.in-pop-up .contact-en-informatie {
  display: none;
}

.in-pop-up #page {
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  height: auto;
  padding: 0 24px 28px;
}

.in-pop-up #image {
  padding-top: 0;
  text-align: center;
}

.in-pop-up #image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.in-pop-up #box,
.in-pop-up #box11 {
  float: none;
  box-sizing: border-box;
  width: 100%;
  max-width: 640px;
  margin: 20px auto;
}

.in-pop-up #box10 {
  float: none;
  width: 100%;
  margin: 0;
}

.in-pop-up .contact-form {
  width: min(540px, 100%);
}

@media (max-width: 520px) {
  .in-pop-up #page { padding: 0 14px 22px; }
  .in-pop-up .contact-form { padding: 14px; }
  .in-pop-up .form-namen { grid-template-columns: 1fr; }
}

#page {
  height: auto;
  min-height: 1300px;
  display: flow-root;
}

#page5 #box3-2 {
  height: auto;
}

.contact-form {
  box-sizing: border-box;
  width: 540px;
  margin: 24px auto;
  padding: 22px;
  border: 1px solid #43bfb5;
  background: #f4fafb;
  color: #254061;
  text-align: left;
  font: 15px/1.5 Arial, Helvetica, sans-serif;
}

.form-uitleg,
.form-privacy {
  margin: 0 0 15px;
  font-size: 13px;
}

.form-privacy a {
  text-decoration: underline;
}

.form-namen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-veld {
  margin: 0 0 15px;
}

.form-veld label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-veld input,
.form-veld textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  border: 1px solid #7a9ca7;
  border-radius: 3px;
  background: #fff;
  color: #254061;
  font: inherit;
}

.form-veld textarea {
  resize: vertical;
}

.form-veld input:focus,
.form-veld textarea:focus {
  outline: 2px solid #004960;
  outline-offset: 2px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-veld {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid #b8d8d4;
  border-radius: 5px;
  background: #fff;
}

.captcha-veld legend {
  margin: 0;
  padding: 0 5px;
  font-weight: bold;
}

.captcha-veld .form-veld {
  margin-bottom: 8px;
}

.captcha-veld input[type="text"] {
  width: 110px;
  margin: 0;
}

.captcha-uitleg {
  margin: 0 0 8px;
  font-size: 13px;
}

.captcha-vernieuw {
  padding: 4px 0;
  border: 0;
  background: none;
  color: #004960;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.captcha-vernieuw:focus-visible {
  outline: 2px solid #004960;
  outline-offset: 3px;
}

.verzend-knop {
  padding: 12px 24px;
  border: 0;
  border-radius: 4px;
  background: #004960;
  color: #fff;
  font: bold 16px/1.4 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.verzend-knop:disabled {
  cursor: wait;
  opacity: .65;
}

.form-status {
  margin: 14px 0 0;
}

.form-status:empty {
  display: none;
}

.form-fout {
  color: #9b3027;
}

@media (max-width: 1160px) {
  .contact-shortcut {
    top: 72px;
    right: 12px;
  }
}
