/* Stijl voor de header */
/* Gestroomlijnde stijl voor de header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Plaatst de header boven de zijbalk en filter-bar */
    background-color: #4CAF50; /* Bovenste kleur consistentie */
    color: rgb(23, 88, 157);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Een schaduw voor diepte */
    height: 80px; /* Hoogte van de header */
}

/* Logo en titelstijl in de header */
header img {
    height: 50px;
    margin-right: 15px;
}

header h1 {
    font-size: 1.4em;
    color: rgb(23, 88, 157);
    margin: 0;
    text-align: center;
    flex: 1;
}


/* Zorg dat de inhoud onder de header begint */
body {
    margin-top: 80px; /* Pas aan zodat de inhoud onder de header begint */
}

/* Stijl voor de zijbalk */
.sidebar {
    width: 200px; /* Pas dit aan om de breedte van de sidebar te bepalen */
    background-color: #f1f1f1;
    padding: 15px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    height: calc(100vh - 130px); /* Volledige hoogte min header en footer */
    position: fixed;
    top: 80px; /* Zorgt ervoor dat het onder de header blijft */
    left: 0;
}

.sidebar h3 {
    font-size: 0.8em;
    margin-bottom: 2px;
}

.sidebar label,
.sidebar button,
.sidebar select {
    display: block;
    width: 100%;
    margin-bottom: 12px;
}

.sidebar button {
    background-color: #4CAF50;
    color: white;
    padding: 5px;
    border: none;
    cursor: pointer;
    font-size: 12px;
}

.sidebar button:hover {
    background-color: #45a049;
}

.sidebar select,
.sidebar input {
    padding: 2px;
    border: 1px solid #ddd;
    font-size: 12px;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-section {
    margin-bottom: 20px;
}

.sidebar-section h4 {
    font-size: 0.7em;
    color: #333;
    margin-bottom: 10px;
}





/* Stijl voor de filter-bar */
.filter-bar {
      background-color: #4CAF50; /* Kleur consistent met de header */
    color: white; /* Tekstkleur */
    padding: 05px;
    position: fixed;
    top: 70px; /* Net onder de header */
    left: 220px; /* Afstand gelijk aan de breedte van de zijbalk */
    width: calc(100% - 220px); /* Resterende ruimte zonder extra ruimte aan de rechterkant */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9;
}

/* Tabelcontainer om ruimte te maken voor vaste header, zijbalk en filter-bar */
.table-container {
    margin-top: 50px; /* Plaats de inhoud onder de filter-bar */
    margin-left: 220px; /* Zelfde breedte als de zijbalk om direct ernaast te beginnen */
    padding: 0 20px;
    width: calc(100% - 240px); /* Resterende ruimte zonder extra ruimte rechts */
}

/* Stijl voor de tabel zelf */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background-color: #4CAF50;
    color: white;
    text-align: center;
}

/* Zorg dat de hele pagina de volledige hoogte heeft */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Inhoud vult de resterende ruimte */
.content {
    flex: 1;
    padding-bottom: 60px; /* Voeg ruimte toe voor de footer */
}

/* Stijl voor de <main> sectie */

/* Zorg dat de main-inhoud onder de header en naast de sidebar begint */
main {
    flex: 1; /* Zorgt ervoor dat de main-sectie alle resterende ruimte vult */
    margin-left: 220px; /* Ruimte voor de sidebar */
    padding: 20px;
    padding-top: 100px; /* Ruimte voor de header */
}



main {
    font-size: 14px; /* Standaard tekstgrootte in <main> */
    line-height: 1.6;
    margin: 20px auto; /* Centraal uitlijnen met wat ruimte */
    padding: 10px;
    max-width: 900px; /* Beperkt de breedte zodat de tekst niet te breed is */
}

/* Kopjes in de <main> sectie */
main h2 {
    font-size: 1.4em; /* Kleinere kopgrootte */
    color: #333;
    margin-top: 20px;
}

main h3 {
    font-size: 1.2em;
    color: #4CAF50;
    margin-top: 15px;
}

/* Stijl voor paragrafen in <main> */
main p {
    margin-bottom: 15px; /* Ruimte onder elke paragraaf */
}

/* Stijl voor lijsten in <main> */
main ul {
    padding-left: 20px; /* Inschuiving voor lijsten */
    margin-bottom: 15px;
}

main ul li {
    margin-bottom: 8px; /* Afstand tussen items */
    line-height: 1.4;
}

main {
    padding-top: 60px; /* Pas aan op basis van de header-hoogte */
}

/* Basisstijl voor de footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
   /* position: fixed;*/
    bottom: 0;
    width: 100%;
    font-size: 14px;
    margin-top: auto; /* Verplaatst de footer naar de onderkant als er ruimte is */
	 z-index: 10; /* Verzeker je dat de footer zichtbaar is boven andere content */
}