@charset "UTF-8";

:root {
	--colorA: #000;
	--colorB: #444;
	--colorC: #888;
	--colorD: #ccc;
	--colorE: #eee;
	--colorF: #f8f8f8;
	--colorG: #fff;
	
	--h: 97.6deg;
	--s: 55.53%;
	--l: 26.49%;
	--light: calc(var(--l) + (100% - var(--l)) * 0.4);
	--dark: calc(var(--l) - var(--l) * 0.4);
	--colorTest: hsl(var(--h) var(--s) var(--light));
	
	--colorBackgroundHeader: var(--colorD);
	--colorHeader: var(--colorB);
	--colorBackgroundSidebar: var(--colorE);
	--colorSidebar: var(--colorA);
	--colorBackgroundMain: var(--colorF);
	--colorMain: var(--colorA);
	--colorBackgroundFooter: var(--colorG);
	--colorFooter: var(--colorA);
	
	/*--primH: 110; --primS: 15.8%; --primL: 35.9%; --secH: 170; --secS: 69.9%; --secL: 42.9%; --tertH: 201; --tertS: 45.7%; --tertL: 36.1%; */
	
	--prim0: hsl(var(--primH) var(--primS) calc(var(--primL) - var(--primL) * 1));
	--prim10: hsl(var(--primH) var(--primS) calc(var(--primL) - var(--primL) * 0.8));
	--prim40: hsl(var(--primH) var(--primS) calc(var(--primL) - var(--primL) * 0.2));
	--prim60: hsl(var(--primH) var(--primS) calc(var(--primL) + (100% - var(--primL)) * 0.2));
	--prim90: hsl(var(--primH) var(--primS) calc(var(--primL) + (100% - var(--primL)) * 0.8));
	--prim95: hsl(var(--primH) var(--primS) calc(var(--primL) + (100% - var(--primL)) * 0.9));
	--prim100: hsl(var(--primH) var(--primS) calc(var(--primL) + (100% - var(--primL)) * 1));
	
	--sec0: hsl(var(--secH) var(--secS) calc(var(--secL) - var(--secL) * 1));
	--sec10: hsl(var(--secH) var(--secS) calc(var(--secL) - var(--secL) * 0.8));
	--sec40: hsl(var(--secH) var(--secS) calc(var(--secL) - var(--secL) * 0.2));
	--sec60: hsl(var(--secH) var(--secS) calc(var(--secL) + (100% - var(--secL)) * 0.2));
	--sec90: hsl(var(--secH) var(--secS) calc(var(--secL) + (100% - var(--secL)) * 0.8));
	--sec95: hsl(var(--secH) var(--secS) calc(var(--secL) + (100% - var(--secL)) * 0.9));
	--sec100: hsl(var(--secH) var(--secS) calc(var(--secL) + (100% - var(--secL)) * 1));
	
	--tert0: hsl(var(--tertH) var(--tertS) calc(var(--tertL) - var(--tertL) * 1));
	--tert10: hsl(var(--tertH) var(--tertS) calc(var(--tertL) - var(--tertL) * 0.8));
	--tert40: hsl(var(--tertH) var(--tertS) calc(var(--tertL) - var(--tertL) * 0.2));
	--tert60: hsl(var(--tertH) var(--tertS) calc(var(--tertL) + (100% - var(--tertL)) * 0.2));
	--tert90: hsl(var(--tertH) var(--tertS) calc(var(--tertL) + (100% - var(--tertL)) * 0.8));
	--tert95: hsl(var(--tertH) var(--tertS) calc(var(--tertL) + (100% - var(--tertL)) * 0.9));
	--tert100: hsl(var(--tertH) var(--tertS) calc(var(--tertL) + (100% - var(--tertL)) * 1));
	/* --prim10: #121511; --prim40: #495542; --prim90: #dee3db; --prim95: #eef1ed; --prim100: #ffffff; --sec10: #111514; --sec40: #42554e; --sec90: #dbe3e0; --sec95: #edf1f0; --sec100: #ffffff; --tert10: #111515; --tert40: #425255; --tert90: #dbe2e3; --tert95: #edf0f1; --tert100: #ffffff; */
}

*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
*::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 6px;
    border: 1px solid #aaa;
}

*::-webkit-scrollbar-thumb:hover {
	background: #bbb;
	cursor: pointer;
}

*::-webkit-scrollbar-track {
    box-shadow: inset 0 0 3px #bbb;
    border-radius: 8px;
    background: #f8f8f8;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1px #0004, 0 0 0 2rem #fff inset;
}

main h2 {
    padding: 0.5rem 1rem 0rem;
    color: var(--prim10);
    font-weight: 400;
    font-size: 1.25rem;
}

html,
body,
.container {
    width: 100%;
    height: 100%;
	font-family: 'Roboto';
	color: var(--colorMain);
}

.center {
	/* text-align: center; */
    display: flex;
    justify-content: center;
}

td.center {
    display: table-cell;
	text-align: center;
}

.vcenter {
	vertical-align: middle;
}

.fullwidth {
    width: 100%;
}

.marginleft {
	margin-left: 1rem;
}
.margintop {
	margin-top: 1rem;
}

table {
	border-collapse: collapse;
}

td {
	vertical-align: baseline;
}

input[type="color"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: transparent;
	width: 3rem;
	height: 3rem;
	vertical-align: middle;
	border: none;
	cursor: pointer;
	filter: drop-shadow(0px 1px 3px #0004);
}
input[type="color"]::-webkit-color-swatch {
	border-radius: 50%;
	border: none;
}
input[type="color"]::-moz-color-swatch {
	border-radius: 50%;
	border: none;
}

.colorpreview {
	display: block;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	box-shadow: 0px 2px 3px #0004;
}

.container {
    display: grid;
    grid-template-areas:
        "logo logo logo header"
        "nav controls main main"
        "nav aside main main";
    /* grid-template-areas: */
        /* "header header header" */
        /* "nav controls main" */
        /* "nav aside main"; */
    grid-template-rows: auto auto 1fr;
    grid-template-columns: auto auto  auto 1fr;
    max-height: 100%;
}

header {
	position: relative;
    grid-area: header;
    /* background-color: var(--colorBackgroundHeader); */
    background-color: var(--prim90);
	border-bottom: 1px solid #0002;
    /* box-shadow: 2px 0px 3px #0008; */
    z-index: 5;
    /* display: grid; */
    /* grid-template-areas: "logo . userinfo"; */
    /* grid-template-columns: auto 1fr auto; */
    min-height: 4rem;
	display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.logo {
	position: relative;
	grid-area: logo;
	cursor: default;
	padding: 0.25rem 1rem;
	border-bottom: 1px solid #0002;
    /* background-color: var(--colorBackgroundHeader); */
    background-color: var(--prim90);
    /* box-shadow: 2px 0px 3px #0008; */
    z-index: 5;
	/* display: flex; */
    /* justify-content: center; */
}

span.textlogo {
    font-size: 2.5rem;
    font-weight: 300;
}

/* header::after, */
/* .logo::after { */
    /* position: absolute; */
    /* content: ''; */
    /* height: 3px; */
    /* width: 100%; */
    /* background: linear-gradient(180deg, #0008, transparent); */
    /* bottom: -3px; */
    /* left: 0px; */
/* } */

header .selected {
    padding: 0.5rem 1rem 0.5rem 0.25rem;
    color: var(--colorB);
    /* opacity: 0.75; */
}

.logo img {
	display: block;
    height: 4rem;
}

.leerlingfoto img {
    height: 4rem;
    width: 4rem;
    object-fit: cover;
	display: block;
	border-radius: 50%;
}


nav {
    grid-area: nav;
    /* background-color: var(--colorBackgroundSidebar); */
    background-color: var(--prim95);
    /* box-shadow: 0px 2px 3px #0008; */
    z-index: 4;
	overflow: auto;
    padding-bottom: 1rem
}

main {
    grid-area: main;
    z-index: 1;
    overflow: auto;
    position: relative;
	background: var(--prim95);
}

aside {
    grid-area: aside;
	background-color: var(--sec100);
	border-left: 1px solid #0002;
	border-right: 1px solid #0002;
    z-index: 2;
    overflow: auto;
	max-width: 25rem;
}

.controls {
    grid-area: controls;
	background-color: var(--sec100);
	border: 1px solid #0002;
	border-top: none;
    z-index: 3;
}

.controls table {
    margin: 0.25rem;
}

.controls table td {
	padding-block: 0.25rem;
}

main form {
    display: inline-block;
    vertical-align: top;
	isolation: isolate;
}

main form.centerblock {
	display: block;
}

/* input[type="text"], */
/* input[type="email"], */
/* input[type="password"], */
/* input[type="time"], */
/* input[type="date"] { */
	/* padding: 0.25rem; */
    /* border-radius: 0.25rem; */
	/* border: 1px solid var(--colorD); */
/* } */

input.klein {
    width: 5rem;
}

.light_buttonsmall {
	position: relative;
	display: inline-block;
    width: fit-content;
    padding: 0.25rem;
    font-size: 1rem;
    line-height: 1rem;
    border: 1px solid var(--colorD);
    border-radius: 0.25rem;
	background: var(--colorE);
	cursor: pointer;
}

.tablebutton_center {
	margin: 0 auto;
}

/* .tablebutton, */
/* input[type="submit"], */
/* button[type="submit"] { */
	/* position: relative; */
	/* display: block; */
    /* padding: 0.25rem; */
    /* font-size: 1rem; */
    /* line-height: 1rem; */
    /* border: 1px solid var(--colorD); */
    /* border-radius: 0.25rem; */
	/* background: var(--colorE); */
	/* cursor: pointer; */
/* } */

.tablebutton,
.tablebutton[type="submit"] {
    width: fit-content;
}

input[type="submit"],
button[type="submit"] {
    width: 100%;
}
/* .light_buttonsmall:hover, */
/* .tablebutton:hover, */
/* input[type="submit"]:hover, */
/* button[type="submit"]:hover { */
	/* background: var(--colorD); */
/* } */

textarea {
    border-radius: 0.25rem;
    font-size: 1rem;
    width: 30rem;
    height: 8rem;
	
	display: block;
    border: none;
    background: transparent;
    min-width: 100%;
    padding: 1rem 0.5rem 0.5rem;
}

textarea.klein {
    width: 24rem;
    height: 4rem;
    vertical-align: top;
}

table.form {
    margin: 1rem auto;
	/* box-shadow: 0px 1px 3px #0008; */
	box-shadow: 0px 0px 0px 8px #0004;
    border-radius: 1.5rem;
	background: var(--prim100);
}

table.formswitches {
    margin: 1rem;
}

table.formswitches label {
	padding: 0.5rem;
    display: block;
    border-radius: 50%;
    background: #fff;
}

table.formswitches label i.tag_student {
	margin-left: 0;
}

table.formpage.inline {
	display: inline-table;
}

table.formpage {
    margin: 1rem;
	/* box-shadow: 0px 1px 3px #0008; */
	background: var(--prim100);
	box-shadow: 0px 1px 3px #0004;
    border-radius: 0.5rem;
}

table.form th,
table.formpage th {
	/* font-size: 1.1rem; */
	/* background: var(--colorBackgroundHeader); */
	/* color: var(--colorHeader); */
	/* padding: 0.25rem; */
	font-size: 1.25rem;
    font-weight: 400;
    text-align: left;
    padding: 1rem;
}

tr.columnhead th {
	font-weight: 400;
	font-size: 1rem;
}

table.form td,
table.formpage td {
	padding: 0.25rem 1rem;
}

table.form tr:first-child th,
table.form tr:first-child td {
	padding-top: 1rem;
}

table.form tr:last-child th,
table.form tr:last-child td,
table.formpage tr:last-child th,
table.formpage tr:last-child td {
	padding-bottom: 1rem;
}

table.form.no-bottom tr:last-child th,
table.form.no-bottom tr:last-child td,
table.formpage.no-bottom tr:last-child th,
table.formpage.no-bottom tr:last-child td,
table.formswitches tr:last-child th,
table.formswitches tr:last-child td {
	padding: 0.25rem;
}

table.form tr:first-child th:first-child {
	border-top-left-radius: 0.25rem;
}

table.form tr:first-child th:last-child {
	border-top-right-radius: 0.25rem;
}

table.form tr:last-child td:first-child {
	border-bottom-left-radius: 0.25rem;
}

table.form tr:last-child td:last-child {
	border-bottom-right-radius: 0.25rem;
}

.toast {
    position: fixed;
    z-index: 100;
    top: -4rem;
    left: 50%;
    width: fit-content;
    max-width: calc(100% - 6rem);
    transform: translateX(-50%);
    background: #444;
    filter: drop-shadow(-1px 1px 0px #fff) drop-shadow(1px 1px 0px #fff) drop-shadow(0px 0px 2px #000);
    transition: 500ms top ease-in-out;
}

.toastcontent {
	position: relative;
    color: #fff;
    background: #444;
    padding: 0.5rem 0rem;
	text-align: center;
    font-weight: 600;
	z-index: 101;
}

.toastcontent i {
	padding-right: 0.5rem;
	color: #fff;
}

.toastcontent:before,
.toastcontent:after {
    content: '';
    position: absolute;
    width: 2rem;
    height: 200%;
    background: #444;
    top: -100%;
    border-radius: 100%;
    z-index: -1;
}

.toastcontent:before {
    left: -1rem;
}
.toastcontent:after {
    right: -1rem;
}

.toastcontent.toastok,
.toastcontent.toastok:before,
.toastcontent.toastok:after {
	background: #080;
}

.toastcontent.toasterror,
.toastcontent.toasterror:before,
.toastcontent.toasterror:after {
	background: #c00;
}

.list_header {
    padding: 0.25rem 0.5rem;
    /* background: var(--colorC); */
    /* color: var(--colorG); */
    /* font-weight: 600; */
	color: var(--sec40);
    font-size: 1.2rem;
    cursor: default;
}

div.list_row {
	--lesstijl: #fff0;
	display: grid;
	/* grid-template-areas: */
        /* "img titel" */
        /* "img subtitel"; */
	grid-template-areas:
        "img titel list_msg_subject list_msg_date"
        "img subtitel list_msg_subject list_msg_time";
	position: relative;
    padding: 0.75rem;
	justify-content: start;
    align-content: center;
    /* padding: 0.25rem 1.5rem 0.25rem 0.5rem; */
	/* border-bottom: 1px solid var(--colorD); */
}

div.list_row::before {
    content: '';
    position: absolute;
    width: 100%;
    /* height: 1px; */
    bottom: 0px;
	left: 0px;
    /* background: #0002; */
	height: 100%;
    border-bottom: 1px solid #0002;
    border-left: 5px solid var(--lesstijl);
}

span.list_row_content {
	display: block;
    grid-area: titel;
	pointer-events: none;
}

span.list_row_subcontent {
	display: block;
    grid-area: subtitel;
    font-size: 0.9rem;
	opacity: 0.75;
	pointer-events: none;
}

span.list_row_img {
    grid-area: img;
    padding-right: 1rem;
}

span.list_row_img img {
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
}

div.list_row,
td.list_clickable {
	cursor: pointer;
	border-left: 1px solid #0000;
}

/* .list_row:nth-child(2n + 1) { */
	/* background: #0001; */
/* } */

div.list_row:hover {
	background: var(--sec95);
	/* border-left: 1px solid #0002; */
}

div.textinput,
div.selectinput {
    border: 1px solid var(--prim90);
    position: relative;
    border-radius: 0.25rem;
    margin-block: 0.25rem;
}

div.textinput::before,
div.selectinput::before {
    content: attr(data-title);
    position: absolute;
	top: 0.75rem;
    left: 0.5rem;
	width: calc(100% - 2rem);
    background: var(--prim100);
    color: var(--prim40);
    padding: 0px 0.5rem;
    font-size: 1rem;
    transition: 100ms font-size, 100ms top, 100ms width;
	pointer-events: none;
	opacity: 0.5;
}

div.textinput:has(:focus-within)::before,
div.textinput:not(:has(:placeholder-shown))::before,
div.selectinput:has(:focus-within)::before,
div.selectinput:has(:valid)::before {
    top: -0.5rem;
    font-size: 0.75rem;
	width: auto;
	opacity: 1;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="time"],
input[type="date"] {
    padding: 1rem;
    border-radius: 0.25rem;
    border: none;
    font-size: 1rem;
    background: none;
	min-width: 100%;
}

select {
    border: none;
    padding: 1rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 1rem;
    width: 100%;
    background: transparent;
}

select.basic {
    border: 1px solid var(--prim90);
    padding: 0.5rem 0.75rem;
}

/* div.list_row:hover::after, */
/* tr.list_row td.list_clickable:hover::after { */
    /* font-family: "Font Awesome 6 Pro"; */
    /* font-weight: 900; */
    /* content: "\f054"; */
    /* position: absolute; */
    /* top: 50%; */
    /* right: 0.25rem; */
    /* translate: 0px -50%; */
    /* line-height: 1.5rem; */
	/* color: var(--colorB); */
/* } */

/* table.form td.list_row, */
/* table.formpage td.list_row */
/* tr.list_row td.list_clickable { */
	/* position: relative; */
	/* padding-right: 1.5rem; */
/* } */

/* tr.list_row:hover::after { */
    /* line-height: 2rem; */
/* } */

.list_msg {
    display: grid;
    grid-template-areas:
        "list_msg_select list_msg_colorlabel list_msg_subject list_msg_date"
        "list_msg_select list_msg_colorlabel list_msg_subject list_msg_time";
	grid-template-columns: auto auto 1fr auto;
	padding: 0.25rem 1.5rem 0.25rem 0rem;
}

.list_msg_select {
	grid-area: list_msg_select;
    display: flex;
    align-items: center;
    padding-inline: 0.1rem;
}

.list_msg_select input.checkboxsquare + label::before {
    color: var(--colorC);
    font-weight: 300;
}

.list_msg_select input.checkboxsquare:checked + label::before {
    color: var(--colorA);
    font-weight: 400;
}

.list_row:has(.list_msg_select > input[type=checkbox]:checked) {
    background: var(--colorD);
}

.list_msg_colorlabel {
	grid-area: list_msg_colorlabel;
    display: flex;
    align-items: center;
    padding-inline: 0.1rem;
}

.list_msg_colorlabel div {
	width: 1.5rem;
    height: 1.5rem;
    border: 1px solid var(--colorC);
    background: var(--colorG);
    border-radius: 50%;
}


.list_msg_subject {
	grid-area: list_msg_subject;
    position: relative;
	display: flex;
    align-items: center;
	padding-left: 1.5rem;
	padding-right: 0.5rem;
    max-width: 32ch;
	pointer-events: none;
}

.list_msg.important .list_msg_subject::before {
	font-family: "Font Awesome 6 Pro";
    content: "\f005";
    position: absolute;
    left: 0rem;
    color: #ee0;
    text-shadow: 0px 0px 1px #000, 0px 1px 1px #000;
	font-weight: 700;
}

.list_msg.urgent .list_msg_subject::before {
	font-family: "Font Awesome 6 Pro";
    content: "\e405";
    position: absolute;
    left: 0rem;
    font-size: 1.25rem;
    color: #f00;
    font-weight: 700;
}

.list_msg.new .list_msg_subject {
	font-weight: 600;
}

.list_msg_date {
	grid-area: list_msg_date;
    color: var(--colorC);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: right;
	pointer-events: none;
}

.list_msg_time {
	grid-area: list_msg_time;
    color: var(--colorC);
    font-size: 0.85rem;
    font-weight: 400;
    text-align: right;
	pointer-events: none;
}

.message {
    display: inline-grid;
    grid-template-areas:
        "message_sender message_date"
        "message_text message_text";
	grid-template-columns: 1fr auto;
    box-shadow: 0px 0px 3px #0008;
    border-radius: 0.25rem;
    margin: 0.5rem;
}

.message_sender {
	grid-area: message_sender;
	padding: 0.25rem;
	background: var(--colorC);
	color: var(--colorG);
	border-top-left-radius: 0.25rem;
}

.message_date {
	grid-area: message_date;
	padding: 0.25rem;
	background: var(--colorC);
	color: var(--colorG);
    font-size: 0.9rem;
	line-height: 1.4rem;
	border-top-right-radius: 0.25rem;
}

.message_text {
	grid-area: message_text;
	padding: 0.25rem;
}

.message_internallink {
    text-decoration: underline;
    cursor: pointer;
}

.message_internallink:hover {
	text-decoration: none;
}

.messagebuttons {
    padding: 0.5rem;
	display: grid;
    grid-auto-flow: column;
    width: fit-content;
    gap: 0.5rem;
}

.messagebuttons .buttonround[data-switch="on"] i,
.messagebuttons .buttonnormal[data-switch="on"] i {
	color: #ee0;
	text-shadow: 0px 0px 1px #000, 0px 1px 1px #000;
}
/*
.beheer_menubutton {
    display: block;
	position: relative;
    margin: 0.5rem;
    border-radius: 0.25rem;
    background-color: var(--colorD);
    box-shadow: 0px 1px 3px #0008;
	font-size: 0.9rem;
    text-align: center;
    padding: 0.25rem 0.5rem;
	cursor: pointer;
}

.beheer_menubutton i {
    font-size: 1.5rem;
    width: 2rem;
    line-height: 2rem;
    display: block;
    margin: 0 auto;
	pointer-events: none;
}

.beheer_menubutton:hover {
    background-color: var(--colorF);
}

.beheer_menubutton::before {
	right: -15px;
    top: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: var(--colorB);
    border-width: 10px;
    margin-top: -10px;
	opacity: 0;
	transition: opacity 250ms;
}
.beheer_menubutton::after {
    content: attr(data-title);
    position: absolute;
    left: calc(100% + 15px);
    vertical-align: middle;
    top: -0.25rem;
    background: var(--colorB);
    color: var(--colorG);
    padding: 1rem;
    border-radius: 0.25rem;
    pointer-events: none;
	opacity: 0;
	transition: opacity 250ms;
}

.beheer_menubutton:hover::before,
.beheer_menubutton:hover::after {
	opacity: 1;
	transition: opacity 250ms 1000ms;
}

.beheer_menubutton.active {
    background: var(--colorG);
    box-shadow: 0px 0px 2px #0008;
}

.beheer_menubutton.active i.fa-light {
	font-weight: 700;
}
*/

.beheer_menubutton {
	position: relative;
    margin-top: 0.5rem;
    padding-inline: 0.5rem;
	width: 3rem;
	transition: 150ms width;
	cursor: pointer;
}

.beheer_menubutton[data-counter]:not([data-counter="0"])::after {
	content: attr(data-counter);
	position: absolute;
	display: block;
	top: 0px;
    left: calc(50% + 0.25rem);
    background: red;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.25rem;
    border-radius: 1rem;
}

.menubutton_pill {
    display: block;
    position: relative;
    text-align: center;
    background: transparent;
    border-radius: 2rem;
    height: 2rem;
    width: 2rem;
    font-size: 1.25rem;
    line-height: 2rem;
	/* margin: 1rem auto 0.25rem; */
	margin: 0.5rem auto 0rem;
	transition: 150ms width;
	pointer-events: none;
	color: var(--prim10);
}

.menubutton_label {
	display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
	opacity: 0;
	overflow: hidden;
	width: 0%;
	transition: 150ms width, 150ms opacity, 150ms margin;
    margin-left: 50%;
	pointer-events: none;
}

.open .beheer_menubutton {
	width: 100%;
}

.open .menubutton_pill {
    width: 3.5rem;
}

.open .menubutton_label {
	opacity: 1;
    width: 100%;
    margin-left: 0px;
}

.beheer_menubutton:hover .menubutton_pill {
	background: var(--prim90);
}

.beheer_menubutton.active .menubutton_pill {
	background: var(--prim40);
	color: var(--prim90);
}

.button,
.buttonsmall {
    display: block;
	position: relative;
    width: fit-content;
    background-color: var(--colorD);
    padding: 0.5rem 1rem;
    border: 1px solid var(--colorB);
    border-radius: 0.5rem;
}

.buttonsmall {
    display: inline-block;
	padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
	margin: 0rem 0.125rem;
}

.button.center,
.buttonsmall.center {
    margin: 0.25rem auto;
}

.button.margin {
    margin: 1rem;
}

.buttonsmall.margin {
    /* margin: 1rem 1rem 0.25rem; */
}

.button:hover,
.buttonsmall:hover {
    background-color: var(--kleurTab);
	cursor: pointer;
}

.beheer_button i,
.tablebutton i,
.button i,
.buttonsmall i {
	pointer-events: none;
}

/* input[data-disabled="true"], */
.tablebutton[data-disabled="true"],
.button[data-disabled="true"],
.buttonsmall[data-disabled="true"] {
    background-color: var(--kleurAchtergrond);
    color: var(--kleurTab);
	cursor: default;
}
	
/* input[data-wait="true"]:after, */
.tablebutton[data-wait="true"]:after,
.button[data-wait="true"]:after,
.buttonsmall[data-wait="true"]:after {
    position: absolute;
    top: calc(50% - 0.5rem);
    left: calc(50% - 0.5rem);
	color: var(--kleurTekst);
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    content: "\f110";
    animation: loadinganim 1s linear infinite;
}


input.onoffswitch,
input.onoffswitch + input {
    position: absolute;
    height: 0;
    width: 0;
    opacity: 0;
}

/* input.onoffswitch + label { */
    /* position: relative; */
    /* background: #f00; */
    /* width: 3rem; */
    /* height: 1.6rem; */
    /* border-radius: 1rem; */
    /* display: grid; */
    /* box-shadow: 0px 1px 2px #0008 inset; */
	/* grid-template-columns: 1fr 1fr; */
    /* justify-items: center; */
    /* align-items: center; */
	/* cursor: pointer; */
	/* transition: 250ms background; */
/* } */

/* input.onoffswitch:checked + label { */
    /* background: #0a0; */
/* } */

/* input.onoffswitch + label i { */
	/* pointer-events: none; */
	/* color: #fff; */
/* } */

/* input.onoffswitch + label::before { */
    /* content: ''; */
    /* position: absolute; */
    /* width: 1.4rem; */
    /* height: 1.4rem; */
    /* background: #ccc; */
    /* border-radius: 50%; */
    /* box-shadow: 0px 1px 3px #0008; */
	/* transition: 250ms margin; */
	/* margin-left: -1.4rem; */
/* } */

/* input.onoffswitch:checked + label::before { */
	/* margin-left: 1.4rem; */
/* } */

/* input.onoffswitch[data-onbekend="true"] + label { */
    /* background: #88f; */
/* } */

/* input.onoffswitch[data-onbekend="true"] + label i { */
	/* opacity: 0; */
/* } */

/* input.onoffswitch[data-onbekend="true"] + label::before, */
/* input.onoffswitch[data-onbekend="true"]:checked + label::before { */
	/* margin-left: 0; */
/* } */

/* input.onoffswitch[data-onbekend="true"] + label::after { */
	/* position: absolute; */
	/* content: "\3f"; */
    /* color: var(--colorB); */
    /* font-weight: 900; */
    /* font-family: "Font Awesome 6 Pro"; */
/* } */

/* input[type=search] { */
    /* border: 1px solid var(--colorD); */
    /* padding: 0.25rem 1.5rem 0.25rem 0.5rem; */
    /* width: 100%; */
    /* border-radius: 0.5rem; */
	/* position: relative; */
/* } */

/* *:has(input[type=search] + i) { */
	/* position: relative; */
/* } */

/* input[type=search] + i { */
	/* position: absolute; */
	/* right: 0.5rem; */
	/* margin-top: 0.375rem; */
	/* width: 1rem; */
	/* height: 1rem; */
	/* pointer-events: none; */
/* } */

.buttonnormal,
.buttonround {
	display: inline-block;
    background: var(--prim100);
	color: var(--prim40);
    box-shadow: 0px 1px 3px #0008;
    border-radius: 2rem;
    cursor: pointer;
	transition: 50ms color, 50ms background;
}

.buttonnormal {
    padding: 0.5rem 1rem;
}

.buttonround {
    padding: 0.5rem;
}

input[type=submit],
button[type=submit] {
	display: inline-block;
    background: var(--prim40);
    color: var(--prim90);
    border: 2px solid var(--prim40);
	/* color: var(--prim40); */
    /* box-shadow: 0px 1px 3px #0008; */
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    cursor: pointer;
	transition: 50ms color, 50ms background;
	font-size: 1rem;
}

input[type=submit]:hover,
button[type=submit]:hover {
    background: var(--prim95);
    color: var(--prim10);
}

.buttonnormal:hover {
    background: var(--prim90);
    color: var(--prim40);
}

.list_add_and_active {
    padding: 0.5rem;
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
}

.list_sort {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 0rem 0.5rem;
	gap: 0.25rem;
}

.list_sort select {
    padding: 0.5rem 0.75rem;
}

.list_search {
    padding: 0.5rem;
    position: relative;
}

.list_search input[type=search] {
    border: 0px;
    background: var(--sec95);
	color: var(--sec10);
	/* border: 2px solid var(--sec90); */
    padding: 0.75rem 0.5rem 0.75rem 2.5rem;
    width: 100%;
    border-radius: 2rem;
    position: relative;
	font-size: 1rem;
}

.list_search i {
    position: absolute;
    left: 1.5rem;
    font-size: 0.8rem;
    line-height: 2.5rem;
    /* line-height: calc(2.5rem + 4px); */
    width: 1rem;
    height: 1rem;
    pointer-events: none;
}

input.onoffswitch + label,
input.onoffswitch + input + label {
    position: relative;
    background: var(--sec90);
    width: 3rem;
    height: 1.8rem;
    border-radius: 1rem;
    display: grid;
    /* box-shadow: 0px 1px 2px #0008 inset; */
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    cursor: pointer;
    transition: 250ms background;
}

input.onoffswitch + label:has(+ span) {
	display: inline-grid;
	vertical-align: middle;
	margin-right: 1rem;
}

input.onoffswitch:checked + label,
input.onoffswitch:checked + input + label {
    background: var(--sec40);
}

input.onoffswitch:checked + label::before,
input.onoffswitch:checked + input + label::before {
    background: var(--prim90);
    margin-left: 1.2rem;
    content: "\f00c";
    width: 1.2rem;
    height: 1.2rem;
}
input.onoffswitch + label::before,
input.onoffswitch + input + label::before {
    font-family: "Font Awesome 6 Pro";
    content: "";
    font-weight: 900;
    position: absolute;
    width: 0.8rem;
    height: 0.8rem;
    text-align: center;
    line-height: 1.4rem;
    font-size: 0.75rem;
    background: var(--prim40);
    border-radius: 50%;
    /* box-shadow: 0px 1px 3px #0008; */
    transition: 250ms margin;
    margin-left: -1.2rem;
}

td.fout {
    background: #a00;
    color: #fff;
    text-align: center;
    font-weight: 500;
}

/* .tabs { */
    /* background: var(--colorE); */
    /* display: flex; */
    /* gap: 0.25rem; */
    /* padding: 0.25rem 0.5rem 0; */
/* } */

/* .beheer_tabbutton { */
    /* background: var(--colorE); */
    /* width: fit-content; */
    /* padding: 0.5rem 1.5rem; */
    /* border-top-left-radius: 0.25rem; */
    /* border-top-right-radius: 0.25rem; */
    /* border: 1px solid #0002; */
    /* border-bottom: none; */
    /* cursor: pointer; */
	/* position: relative; */
/* } */

/* .beheer_tabbutton:hover { */
    /* background: var(--colorF); */
/* } */

/* .beheer_tabbutton.active { */
    /* background: var(--colorG); */
/* } */

.beheer_tabbutton {
    width: fit-content;
    padding: 1.5rem 1.5rem 0.5rem;
    border-bottom: none;
    cursor: pointer;
    position: relative;
    display: inline-grid;
    justify-items: center;
	user-select: none;
}

.beheer_tabbutton span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--prim10);
	position: relative;
	pointer-events: none;
}

.beheer_tabbutton i {
    color: var(--prim10);
	pointer-events: none;
}

.beheer_tabbutton.active span,
.beheer_tabbutton.active i {
    color: var(--prim40);
}

header .beheer_tabbutton::before {
    content: '';
    position: absolute;
    background: var(--prim90);
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
    z-index: -1;
    bottom: -1px;
    border: 1px solid #8888;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

header .beheer_tabbutton:hover::before {
    background: var(--prim95);
}

header .beheer_tabbutton.active::before {
    background: var(--prim95);
    border-bottom: 0px;
}

header .beheer_tabbutton[data-disabled="true"] {
	background: unset;
}

.beheer_tabbutton.cattab.active span::after {
    background: var(--prim40);
    content: '';
    width: 100%;
    height: 4px;
    bottom: -0.5rem;
	left: 0px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    position: absolute;
}

.list_header:has(.cattab) {
    border-bottom: 1px solid #0002;
    padding: 0.25rem 0.5rem 0px;
}

.beheer_tabbutton.cattab {
	padding: 0px 0.5rem 0.5rem;
    width: 33%;
    white-space: nowrap;
}

.letop {
    font-size: 0.9rem;
    background: var(--colorE);
    color: var(--colorB);
    width: fit-content;
    padding: 0.5rem;
    border: 3px solid var(--colorD);
    border-radius: 1rem;
    margin: 1rem 0 0 1rem;
}

/* select { */
    /* border: 1px solid var(--colorD); */
    /* padding: 0.25rem; */
    /* border-radius: 0.25rem; */
/* } */

.weekselectie {
    border-radius: 0.5rem;
    box-shadow: 0px 1px 5px #0004;
    margin: 1rem;
    width: fit-content;
    position: relative;
	color: var(--colorB);
}

.weekselectie td {
	padding: 0.5rem;
}

.weekselectie td.weekbutton:first-child {
	border-top-left-radius: 0.5rem;
	border-bottom-left-radius: 0.5rem;
}

.weekselectie td.weekbutton:last-child {
	border-top-right-radius: 0.5rem;
	border-bottom-right-radius: 0.5rem;
}

.weekselectie td.weekcurrent {
    font-size: 1.5rem;
    vertical-align: bottom;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	cursor: default;
}

.weekselectie td.week1 {
	position: relative;
    font-size: 1.25rem;
    vertical-align: bottom;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
    background: var(--colorF);
	cursor: pointer;
}

.weekselectie td.week2 {
	position: relative;
    font-size: 1.15rem;
    vertical-align: bottom;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
    background: var(--colorE);
	cursor: pointer;
}

.week1 .weeknr,
.week1 .jaar,
.week1 .data,
.week2 .weeknr,
.week2 .jaar,
.week2 .data {
	pointer-events: none;
}

.weekselectie .weeknr {
    font-size: 1em;
    text-align: center;
}

.weekselectie .jaar {
    font-size: 0.75em;
    text-align: center;
}

.weekselectie .data {
    font-size: 0.5em;
    font-weight: 600;
    text-align: center;
	white-space: nowrap;
}

.weekselectie .weekbutton {
	position: relative;
    vertical-align: middle;
	padding: 0.5rem;
    background: var(--colorD);
	cursor: pointer;
}

.weekselectie td.week1:hover,
.weekselectie td.week2:hover,
.weekselectie .weekbutton:hover {
	background: var(--colorG);
}

.weekselectie select {
    border: none;
    padding: 0;
    font-size: 1.5rem;
    appearance: none;
    text-indent: 0.01px;
	cursor: pointer;
	color: var(--colorB);
}

.weekselectie td.dezeweekdisabled,
.weekselectie td.dezeweek {
    padding: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0px 2px 2px #0008 inset;
    border-radius: 0;
    background: var(--colorF);
}

.weekselectie td.dezeweek {
	position: relative;
    cursor: pointer;
	color: var(--colorB);
}

.weekselectie td.dezeweekdisabled {
    cursor: default;
	color: var(--colorE);
}

.weekselectie td.dezeweek:hover {
    background: var(--colorG);
}

.weekselectie td.dezeweek[data-wait="true"],
.weekselectie td.dezeweekdisabled[data-wait="true"] {
	background: var(--colorE);
    color: var(--colorD);
}

.sticky {
	position: sticky;
	top: 0px;
	background: var(--prim90);
	z-index: 10;
}

input.checkbox,
input.checkboxsquare,
input.checkboxhidden,
input[data-disabled="true"].checkbox,
input[data-disabled="true"].checkboxhidden {
	position: absolute;
	width: 0px;
	height: 0px;
	opacity: 0;
}

input.checkboxhidden + label {
	cursor: pointer;
	text-align: center;
	box-shadow: 0px 0px 2px #0004 inset;
	background: #fff8;
}

input.checkboxhidden:checked + label {
	opacity: 1;
	box-shadow: 0px 2px 3px #0008;
	background: #fff;
}

input.checkboxhidden + label i {
	opacity: 0.35;
}

input.checkboxhidden:checked + label i {
	opacity: 1;
}

input.checkbox ~ label,
input.checkboxsquare ~ label {
	cursor: pointer;
	display: block;
	padding: 0.25rem;
}

input.checkbox + label::before,
input.checkboxsquare + label::before {
	font-weight: 500;
    font-family: "Font Awesome 6 Pro";
	content: "\f111";
	cursor: pointer;
    vertical-align: middle;
    font-size: 1.25rem;
	margin-right: 0.25rem;
}

input.checkbox + label::before {
	content: "\f111";
}

input.checkboxsquare + label::before {
	content: "\f0c8";
}

input.checkbox:checked + label::before {
	content: "\f058";
}

input.checkboxsquare:checked + label::before {
	content: "\f14a";
}

table.selectrow td {
	padding: 0px;
    border-top: 1px solid var(--colorD);
}

table.selectrow tr:hover td {
	background: var(--colorE);
}

table.selectrow tr td:has(:checked) {
	background: var(--colorE);
}

.filter {
    background: var(--colorE);
    border: 1px solid var(--colorD);
    padding: 0.25rem 1.5rem 0.25rem 0.5rem;
    width: fit-content;
    display: inline-block;
    border-radius: 0.5rem;
    position: relative;
	margin: 0.25rem;
}

.filter .remove {
    position: absolute;
    right: 0;
    top: 0;
    width: 1rem;
    height: 2rem;
	cursor: pointer;
	color: var(--colorD);
}

.filter .remove:hover {
	color: var(--colorB);
}

.filter .remove::before {
	font-weight: 400;
    font-family: "Font Awesome 6 Pro";
	content: "\f00d";
	line-height: 2rem;
}

img.schoollogo {
    max-width: 10rem;
    max-height: 4rem;
}

.stats {
    display: inline-block;
    width: 40rem;
    /* height: 24rem; */
	padding: 0.5rem;
	box-shadow: 0px 1px 3px #0004;
	border-radius: 0.5rem;
	margin: 0.5rem;
	background: var(--prim100);
}

.stats canvas {
    max-width: 40rem;
    max-height: 24rem;
}

.tag_student {
    vertical-align: top;
    line-height: 1.4rem;
    font-size: 1.2rem;
    width: 1.2rem;
    margin-left: 0.25rem;
	color: var(--tagColor);
	text-shadow: 0px 0px 1px #000;
}

/* td[data-disabled="true"], */
/* input[data-disabled="true"], */
/* input[type="checkbox"][data-disabled="true"] + label, */
/* button[data-disabled="true"], */
/* .beheer_button[data-disabled="true"], */
/* .beheer_tabbutton[data-disabled="true"], */
/* .button[data-disabled="true"], */
/* .buttonsmall[data-disabled="true"], */
/* .buttonicon[data-disabled="true"] { */
[type=submit][data-disabled="true"],
[data-disabled="true"] {
	/* position: relative; */
	background: var(--colorE);
    color: var(--colorD);
    pointer-events: none;
}

/* td[data-wait="true"]:after, */
/* input[data-wait="true"]:after, */
/* button[data-wait="true"]:after, */
/* .beheer_button[data-wait="true"]:after, */
/* .beheer_tabbutton[data-wait="true"]:after, */
/* .button[data-wait="true"]:after, */
/* .buttonsmall[data-wait="true"]:after, */
/* .buttonicon[data-wait="true"]:after { */
[data-wait] {
	position: relative;
}
[data-wait="true"]:after {
    position: absolute;
	inset: 0px;
	display: flex;
	align-items: center;
    justify-content: center;
    /* top: calc(50% - 0.5rem); */
    /* left: calc(50% - 0.5rem); */
	color: var(--colorB);
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    content: "\f110";
    animation: loadinganim 1s linear infinite;
}

@keyframes loadinganim {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
