﻿@charset "UTF-8";
@import url('https://fonts.googleapis.com');
@import url('https://fonts.gstatic.com');
@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet"');
@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;700&display=swap');

:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}

*, :after, :before {
    box-sizing: border-box
}

/* Algemene lettertype- en basisstijlinstellingen */
html {
    font-size: 14px;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
    min-height: 100vh;
}

#logo img {
    width: 300px; /* Of een vaste breedte naar keuze */
    height: auto; /* Behoudt de automatische hoogte */
}

/* Header layout */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

    header .help {
        font-size: 14px;
        text-align: right;
    }

footer {
    bottom: 10px;
    position: absolute;
    text-align: center;
    width: 100vw;
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #0064B4;
}

html {
    position: relative;
}

body {
    background-color: #f9f7fd;
    margin: 0;
    font-family: 'myriad-pro';
    font-weight: 400;
    line-height: 1.5;
}

/* Container: Om de inhoud van de pagina te centreren */
.container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Titelstijlen */
h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    line-height: 20px;
    letter-spacing: 0;
    font-weight: 700;
    margin-top: 50px;
}

h1, h2 {
    font-optical-sizing: auto;
    font-family: Bitter, serif;
    font-weight:700;
    letter-spacing:-.05px;
    padding: 0;
    color: #20126e;
}

/* Formulier layout */
form {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    form h1 {
        font-size: 24px;
        margin-bottom: 20px;
        color: #20126E;
    }

    form label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: #20126E;
    }

    form input, form select {
        width: 100%;
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
    }

        form input:focus, form select:focus {
            border-color: #20126E;
            outline: none;
            box-shadow: 0 0 4px rgba(0, 123, 255, 0.2);
        }

    form .gender {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }

        form .gender label {
            font-weight: normal;
        }

    form button {
        display: block;
        width: 100%;
        padding: 10px;
        background-color: #FF8F1C;
        border: none;
        border-radius: 4px;
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        cursor: pointer;
    }

        form button:hover {
            background-color: #FFC800;
        }

.form-actions {
    display: flex; /* Gebruik van Flexbox */
    gap: 10px; /* Ruimte tussen knoppen */
}

    .form-actions button {
        flex: 1; /* Alle knoppen worden even groot */
        padding: 10px; /* Voeg padding toe aan de knopinhoud */
        text-align: center; /* Tekst centreren */
        cursor: pointer; /* Cursor op knop */
    }

/* Fieldset Header */
.legend-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

    .legend-container h3 {
        text-align: right;
        margin: 0;
        font-size: 1em;
        color: #FF8F1C;
    }

/* Stapnummers */
.step {
    text-align: right;
    font-size: 14px;
    color: #20126E;
}

.step-counter {
    text-align: right;
    font-size: 22px;
    color: #FF8F1C;
    float: right;
    line-height: 56px;
}

    .step-counter span {
        color: #20126E;
    }

/* Als span element leeg is (voor formulier) */
li:has(span:empty) {
    display: none;
}

/* Stijl voor info-iconen */
.info-icon {
    color: #20126E; /* Blauwe kleur */
    font-size: 20px;
    cursor: pointer;
}

.info-tooltip {
    display: none;
    position: absolute;
    background-color: #fff;
    color: #20126E;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    font-size: 12px;
    width: 200px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.info-container {
    position: relative;
    display: inline-block;
}

    .info-container:hover .info-tooltip {
        display: block;
    }

.flex-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

/*ouder/verzorger radio button styling*/
table.form-group label {
    display: inline-flex; /* Plaatst knop en tekst naast elkaar */
    align-items: center; /* Centreert verticale uitlijning */
    gap: 5px; /* Voegt ruimte toe tussen knop en tekst */
}

table.form-group input[type="radio"],
table.form-group input[type="checkbox"] {
    margin: 0; /* Reset standaardmarge */
}

.form-group input {
    display: block; /* Standaard weergave */
    margin-bottom: 4px; /* Vermindert ondermarge */
}

.single-line {
    display: inline-flex; /* Lijnt inhoud horizontaal uit */
    align-items: center; /* Centreert verticale uitlijning */
    gap: 5px; /* Voegt ruimte toe tussen checkbox en tekst */
    white-space: nowrap; /* Voorkomt tekstterugloop */
}

td {
    max-width: 100%; /* Past celbreedte aan op inhoud */
}

.form-group {
    position: relative; /* Regelt positie van elementen binnen de form-groep */
}

.form-text {
    margin-top: 4px; /* Vermindert afstand tot bovenliggend element */
    margin-bottom: 10px; /* Voorkomt te nauwe afstand tot onderliggend element */
    font-size: 0.85rem; /* Verkleint lettergrootte indien nodig */
    color: #20126E; /* Standaard kleur voor hulptekst */
    line-height: 1.2; /* Vermindert regelhoogte */
}

.error-message {
    color: #FF8F1C;
}

.equally-space {
    column-gap: 2em;
    display: flex;
    justify-content: space-between;
}