@charset "utf-8";
/* CSS Document */

/* Companen kleuren:
Kleuren (licht / donker)
Rood  #ea4c50 / #e62a2f
Groen #73b72a / #5f9823
Grijs #e6e6e6 / #7A746F

WCAG approved reds: 
licht: #d24448
donker: #c82428

lichtgroen:
50942a

lichtgrijs:
cbcbcb
*/

*{
    font-family: "Open Sans", sans-serif;
}
html{
    background-color:#ffffff;
    background-size:cover;
    background-position:top center;
    background-repeat:no-repeat;
}
body {
    background-color: rgba(255,255,255,0);
}
header { margin:5px auto 0 auto; height:auto; }


div#zoom_buttons {
    position: absolute;
    top: 5px;
    right: 20px;
    padding: 3px 5px;
}

body.inverted td.noneofthese a, 
body.inverted .OptionFont, 
body.inverted .OptionFont a,
body.inverted .QuestFont,
body.inverted .BigRedFont,
body.inverted #copy{
    color: #fff;
}
body.inverted #content_container,
body.inverted .questcontainer {
    background-color: rgb(0,0,0);
}

#Prg_Background, #Prg_Foreground, #ProgressBar, #content_container, #content_container center input, div.nebui-panel, td.nebui-panel-buttons input.button {
    border-radius: 8px;
}

#content_container center input {
    background-color: #50942a;
}

input#btnPrev:hover {
    background-color: #d24448!important; /* lichtrood */
}
input#btnNext:hover {
    background-color: #50942a !important; /* lichtgroen */
}

input#btnPrev:hover {
    background-color: #c82428 !important; /* donkerrood */
}
input#btnNext:hover {
    background-color: #5f9823 !important; /* donkergroen */
}

#Prg_Foreground {
    background-color: #7A746F;
}
#Prg_Background, #Prg_Foreground {
    height: 20px;
}

#Prg_PercTxt {
    font-size: 12px;
    font-family: sans-serif;
    }

.questcontainer tr:hover td.item, .questcontainer tr:hover td.radio, .questcontainer tr:hover td.select, .questcontainer tr:hover td.text, .questcontainer tr:hover td.checkbox {
    background-color: #cbcbcb !important;
}

@media only screen and (max-width: 800px)
table.n-responsive td {
    border: none;
    border-bottom: 1px solid #cbcbcb !important;
    }

a:hover {
    color: #c82428;
}

.QuestFont div input[type=button]:hover {
    background-color: #50942a !important;
    }

td.checkbox:hover+td.item .OptionFont a,td.item:hover .OptionFont a,td.radio:hover+td.item .OptionFont a{
    color:#c82428 !important
    }

td.radio.n-control input:checked ~ .n-radio, td.noneradio.n-control input:checked ~ .n-radio, td.openradio.n-control input:checked ~ .n-radio, td.checkbox.n-control input:checked ~ .n-checkbox, td.none.n-control input:checked ~ .n-checkbox, td.none.n-control input:checked ~ .n-radio, .NebuJS_Slider_none input:checked ~ .n-radio, td.nonecheckbox.n-control input:checked ~ .n-checkbox, td.noneofthese.n-control input:checked ~ .n-checkbox, td.opencheckbox.n-control input:checked ~ .n-checkbox {
    background-color: #50942a !important;
}

input.chkallbutt {
    background-color: #cbcbcb;
}

div#privacy {
    color: #000;
    }

/* WCAG fix: verbeter contrast van navigatieknoppen */

input.button {
  
background-color: #005a9c;  /* Donkerblauw */
  
color: #ffffff; /* Wit */
  
border: 2px solid #003f6f;
  
font-weight: 700;

}



/* Zorg voor goede zichtbaarheid bij hover/focus */

input.button:hover,
input.button:focus {
  
background-color: #003f6f;
  
border-color: #001f33;
  
outline: 2px solid #ffcc00; /* Toegankelijk voor toetsenbordgebruikers */

}


input.button {
  
background-color: #50942a !important; /* huidige kleur behouden */
  
color: #000000 !important;            /* zwart op groen geeft contrast > 12:1 */

}


/* styles for 'modal'(accessibility) to make it appear inline*/
@media screen and (max-width: 640px) {
    header {
    	height: auto;
    }
    .modal-content {
	width:98%;
	}
}

header {

	height: auto;
}

.modal{
    position:relative;
    width:100%;
}

/* Modal for SEG */

.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 0; 
    left: 0;
    top: 0;
    width: 100%; 
    min-height: 30%;
    overflow: auto; 
	z-index:100;
}

.modal-content {
    background-color: #F5F5F5;
    margin: auto;
    padding: 20px;
    border: 1px solid grey;
    border-radius: 5px;
    width: 60%;
	max-height: 600px;
    overflow: auto;
}

.modal-content span{font-size: 12pt;}

span.visuallyhidden {
    font-size: .9rem;
}

fieldset.auto-wcag {
  border: 0;
  margin: 0;
  padding: 0;
}

legend.auto-wcag {
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); /* accessible hiding */
  white-space: nowrap;
}


/* sr = screenreader */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Verberg standaard fieldset-rand */

.sr-only-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}



/* Zorg dat legend niet zichtbaar is, maar wel toegankelijk */

.sr-only-fieldset legend.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}



/* Zet de headerlabels boven de radiobuttons */

.XPointsTable th {
  vertical-align: bottom;
  text-align: center;
  font-weight: normal;
  padding-bottom: 0.25em;
}

.XPointsTable .radio {
  vertical-align: top;
  text-align: center;
}


#accessibility-alert {
  display: none;
}


#accessibility-alert.visible {
  display: block;
  padding: 0.5em 1em;
  background-color: #ffe0e0;
  border-left: 4px solid #d60000;
  font-weight: 700;
  font-size: 1rem;
}

div#header_logo,
div#header_logo2 {
  background: none !important;
}


a
/* Make input fields responsive and page-filling */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}


/* Override default link hover color for accessibility */
  
a:hover,
  a:focus {
    color: #c82428;  /* WCAG-compliant red (contrast 4.5+:1) */
  }

td.password input.password, td.select select, td.text input.text, textarea, td.item input, td.openitem input, td.opentext input {
 
    border: 1px solid #cbcbcb;
color: #7A746F;}


/* Fieldset layout reset */
fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1em;
}



/* Legend styling */
legend {
  font-weight: bold;
  margin-bottom: 0.75em;
  display: block;
}



/* Verberg label "Keuze" bovenaan elke tabel */
table.SRTable th:first-child,
table.ItemsPopupTable th:first-child {
  font-size: 0 !important;
  color: transparent !important;
  line-height: 0 !important;
}

/* Hover-achtergrond voor regels */
table.SRTable tr:hover td,
table.ItemsPopupTable tr:hover td {
  background-color: #f5f5f5;
}

/* Algemeen font & spacing */
table.SRTable,
table.ItemsPopupTable {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  border-collapse: collapse;
  width: 100%;
}

table.SRTable td,
table.ItemsPopupTable td {
  padding: 12px 10px;
  vertical-align: middle;
  text-align: left;
}


fieldset legend {
  font-size: 0 !important;
  color: transparent !important;
  line-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}


.QuestFont {
    padding: 15px;
}

.language-switch {
  display: flex;
  justify-content: flex-end;
  gap: 0.5em;
  margin: 1em 10% 0;
}

.language-switch a,
.language-switch button {
  font-size: 0.9em;
  padding: 0.3em 0.75em;
  border: 1px solid #888;
  background-color: #f8f8f8;
  border-radius: 4px;
  color: #000;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.language-switch a:hover,
.language-switch a:focus {
  background-color: #e6e6e6;
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

.language-switch button[disabled] {
  background-color: #ccc;
  border-color: #aaa;
  color: #333;
  cursor: default;
}


.mr-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mr-row label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.mr-row input[type="checkbox"],
.mr-row input[type="radio"] {
  width: 1.2em;
  height: 1.2em;
}

.mr-row .labeltext {
  font-size: 1rem;
}

.btn-login {
  font-size: 1rem;
  padding: 0.5em 1.25em;
  border: 1px solid #888;
  background-color: #f5f5f5;
  border-radius: 6px;
  color: #000;
  cursor: pointer;
  font-family: inherit;
}
.btn-login:hover,
.btn-login:focus {
  background-color: #e6e6e6;
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}


input#mr_open_0 {
    font-size: 1rem;
}
input#Q20_1 {
    font-size: 1rem;
}
input#Q44_1 {
    font-size: 1rem;
}

/* Hover-stijl */

#btnPrev:hover {
  background-color: #c82428 !important; /* rood */
  color: #fff !important;   outline: 3px solid #8B0000 !important;
  outline-offset: 2px;
}
#btnNext:hover {
  background-color: #558800 !important; /* groen */
  color: #fff !important;   outline: 3px solid #004d00 !important; 
  outline-offset: 2px;
}


/* Eigen contrasterende focusstijl */

#btnPrev:focus {
  outline: 3px solid #800000 !important; /* donkerrood */
  outline-offset: 2px;
}

#btnNext:focus {
  outline: 3px solid #145214 !important; /* donkergroen */
  outline-offset: 2px;
}

/* Buttons default */
#btnPrev, #btnNext {
  border: none !important;
  outline: none !important;
}

/* Focus state - zowel toetsenbord als muis */
#btnPrev:focus, #btnPrev:focus-visible {
  outline: 3px solid #8B0000 !important;  /* donkerrood */
  outline-offset: 2px;
}

#btnNext:focus, #btnNext:focus-visible {
  outline: 3px solid #004d00 !important;  /* donkergroen */
  outline-offset: 2px;
}