@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;700&display=swap');

:root {
	--kleurTekst: #444;
	--kleurAchtergrond: #eee;
	--kleurAchtergrondLicht: #fff;
	--kleurAchtergrondZebra: #f4f4f4;
	--kleurAchtergrondError: #faa;
	--kleurTab: #ddd;
	--kleurSpeciaal: #4fc032;
	--kleurSpeciaalTekst: #fff;
}

* {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	color: var(--kleurTekst);
	box-sizing: border-box;
}

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

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

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

table {
	border-collapse: separate;
	border-spacing: 0;
}

html,
body {
	width: 100%;
	height: 100%;
	background-color: #fff;
	font-family: 'Figtree';
	font-size: 16px;
	font-weight: 400;
}

span.center,
th.center,
td.center {
	text-align: center;
}

td.vcenter {
	vertical-align: middle;
}

table.center {
    margin-inline: auto;
}

table.wide {
    width: 100%;
}

table.includesbuttons td {
    line-height: 2rem;
}

.hidden {
	display: none;
}

small,
.small {
    font-size: 0.8rem;
}

.light {
    color: #888;
}

.right {
	text-align: right;
}

.nopadding {
	padding: 0px;
}

.nopadding-left {
	padding-left: 0px;
}

.nowrap {
	white-space: nowrap;
}

.col2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.placeright {
    display: flex;
    justify-content: end;
}

.fitcontent {
	width: fit-content;
}

.pagination {
	margin: 1rem;
	display: grid;
    grid-template-columns: auto auto;
}

.pagination > div:nth-child(2) {
	text-align: right;
}

.pagination select {
    margin: 0rem 0.25rem;
    padding: 0.25rem;
    cursor: pointer;
    height: 2rem;
    background: #fff;
    display: inline-block;
    text-align: center;
    line-height: 1.5rem;
    vertical-align: middle;
    border-radius: 0.25rem;
    border: 1px solid var(--kleurTab);
}

span.paginationlink {
    margin: 0rem 0.25rem;
    padding: 0.25rem;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    background: #fff;
    display: inline-block;
    text-align: center;
    line-height: 1.5rem;
    vertical-align: middle;
    border-radius: 0.25rem;
    border: 1px solid var(--kleurTab);
}

span.paginationlink:hover {
	background: #eee;
}

span.paginationlink.disabled i {
    color: #ccc;
}

span.paginationlink.disabled,
span.paginationlink.disabled:hover {
    color: #ccc;
    background: #eee;
	cursor: default;
}

span.passwordhide {
    display: inline-block;
    width: 1.25rem;
    height: 1rem;
    cursor: pointer;
    text-align: center;
}

span.passwordhide:hover {
	filter: brightness(1.5);
}

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

nav {
	grid-area: nav;
	background-color: #4fc032;
	box-shadow: 2px 0px 3px #0008;
	z-index: 3;
	display: grid;
	grid-template-areas: "logo . userinfo";
	grid-template-columns: auto 1fr auto;
	min-height: 4rem;
}

aside {
	grid-area: aside;
	background-color: #eee;
	box-shadow: 0px 2px 3px #0008;
	z-index: 2;
	overflow: auto;
}

aside i {
    width: 1.25rem;
    text-align: center;
    margin-right: 0.25rem;
}

main {
	grid-area: main;
	z-index: 1;
	overflow: auto;
	position: relative;
}

nav .logo {
	grid-area: logo;
	background-image: url(../images/logo.png);
	background-size: 100px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	cursor: default;
	width: 150px;
}

nav .slideswitch {
    position: relative;
    display: inline-block;
    background: #fff4;
	height: var(--height);
    width: calc(var(--height) * 2);
    border-radius: 2rem;
    vertical-align: middle;
    margin-right: 1rem;
    --height: 2rem;
	cursor: pointer;
}

nav .slideswitch::before,
nav .slideswitch::after {
	font-family: "Font Awesome 6 Pro";
	font-weight: 900;
	position: absolute;
	font-size: 0.9rem;
    line-height: var(--height);
}

nav .slideswitch::before {
	left: 0.5rem;
	content: "\f028";
}
nav .slideswitch::after {
	right: 0.5rem;
	content: "\f2e2";
}

nav .userinfo label.slideswitch span {
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
    display: block;
    height: calc(var(--height) - 0.4rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: hsl(from #4fc032 h s calc(l * 0.9));
    padding: 0;
    margin: 0;
	z-index: 1;
	transition: left 250ms ease-in-out, background 250ms ease-in-out;
	pointer-events: none;
}

nav label.slideswitch:has(input:checked) span {
	left: calc(var(--height) + 0.2rem);
	background: #fff;
}

nav .userinfo {
	grid-area: userinfo;
	color: var(--kleurSpeciaalTekst);
    padding: 0.25rem;
    text-align: center;
	cursor: default;
	line-height: 2.5rem;
}

nav .userinfo span {
	display: inline-block;
	cursor: pointer;
	margin: 0.25rem 0.25rem 0px 0.25rem;
	padding: 0.25rem;
}

nav .userinfo span i {
	color: var(--kleurSpeciaalTekst);
	font-size: 1.25rem;
	transition: 100ms filter;
}

nav .userinfo span:hover i {
	filter: brightness(0.9) drop-shadow(0px 0px 2px #0008);
}

aside .menublock {
	margin: 1rem;
	/* border: 1px solid var(--kleurTab); */
	border-radius: 0.25rem;
	background-color: var(--kleurAchtergrondLicht);
	box-shadow: 0px 1px 3px #0008;
}

aside .menublock span.title {
	display: block;
	padding: 0.25rem 0.5rem;
	background-color: var(--kleurTab);
	border-top-left-radius: 0.25rem;
	border-top-right-radius: 0.25rem;
	cursor: default;
	font-weight: 700;
	user-select: none;
}

aside .menublock span.divider {
	display: block;
	height: 1px;
	background-color: var(--kleurTab);
}

aside .menublock span.menubutton {
	display: block;
	position: relative;
	padding: 0.25rem 0.5rem;
	transition: 100ms background-color;
	user-select: none;
}

aside .menublock span.menubutton:hover {
	background-color: var(--kleurAchtergrond);
	cursor: pointer;
}

span.menubutton.active {
    background-color: #eee;
}

span.menubutton.active i {
    font-weight: 700;
}

aside .menublock span:last-child {
	border-bottom-left-radius: 0.25rem;
	border-bottom-right-radius: 0.25rem;
}

aside .menublock span.menubutton[data-messages]:not([data-messages="0"]):after {
	content: attr(data-messages);
    position: absolute;
    margin-top: -10px;
    margin-left: 2px;
    font-size: 0.75rem;
    background: #080;
    color: #fff;
    height: 1.25rem;
    min-width: 1rem;
    padding: 0px 0.125rem;
    text-align: center;
    line-height: 1.25rem;
    border-radius: 50%;
    box-shadow: 0 0 1px #333;
}

main table {
	border: 1px solid var(--kleurTab);
	border-radius: 0.5rem;
	box-shadow: 0px 1px 5px #0004;
	margin: 1rem;
	width: fit-content;
	position: relative;
	height: fit-content;
}

span.buttonsmall + div.scrollable table {
	margin: 0rem 1rem 1rem;
}

span.buttonsmall + div.scrollable table table {
    margin: 0.5rem 0rem;
}

a.websitelink:hover i:before {
	font-weight: 600;
}

main table th.actioncheckbox_all.no-sort input,
main table th.actioncheckbox_all.no-sort label {
    pointer-events: all;
}

main table th.actioncheckbox_all.no-sort {
    padding: 0.5rem;
	filter: brightness(1);
}

main table th {
	background-color: var(--kleurTab);
	font-weight: 700;
	position: sticky;
	top: 0px;
	padding: 0.25rem 2rem 0.25rem 1rem;
	text-align: left;
	z-index: 3;
}

main table.zebra.canhaveerrors tr:nth-child(2n):has(.status_error) td,
main table.zebra.canhaveerrors tr:nth-child(2n + 1):has(.status_error) td {
	background: var(--kleurAchtergrondError);
}

main table th.dir-d::after {
	position: absolute;
	right: 1rem;
	content: "\f0d7";
	font-family: "Font Awesome 6 Pro";
    font-weight: 900;
}

main table th.dir-u::after {
	position: absolute;
	right: 1rem;
	content: "\f0d8";
	font-family: "Font Awesome 6 Pro";
    font-weight: 900;
}

main table.sortable.canhaveerrors th:hover {
	/* filter: brightness(0.9); */
	/* cursor: pointer; */
}

main table.sortable th:hover {
	filter: brightness(0.9);
	cursor: pointer;
}

main table th.no-sort {
	pointer-events: none;
	filter: brightness(1);
	cursor: default;
	padding-right: 1rem;
}

main table tr:first-child th:first-child {
	border-top-left-radius: calc(0.5rem - 2px);
}

main table tr:first-child th:last-child {
	border-top-right-radius: calc(0.5rem - 2px);
}

main table.zebra tr:nth-child(2n + 1) td {
	background-color: var(--kleurAchtergrondLicht);
}
main table.zebra tr:nth-child(2n) td {
	background-color: var(--kleurAchtergrondZebra);
}

main table.zebra tr:nth-child(2n) td.status_7_4_33,
main table.zebra tr:nth-child(2n + 1) td.status_7_4_33 {
	background-color: var(--kleurAchtergrondError);
	position: relative;
}

main table.zebra tr:nth-child(2n) td.status_7_4_33::after,
main table.zebra tr:nth-child(2n + 1) td.status_7_4_33::after {
    font-family: "Font Awesome 6 Pro";
	font-weight: 500;
	content: "\f071";
	padding-left: 0.5rem;
}

main table.zebra_expandable tr:nth-child(4n + 3) td,
main table.zebra_expandable tr:nth-child(4n + 4) td {
	background-color: var(--kleurAchtergrondZebra);
}

main table tr td {
	padding: 0.25rem 0.5rem;
}

main table.sortable tr td {
	border-right: 1px solid var(--kleurAchtergrond);
}

main table tr td:last-child {
	border-right: none;
}

tr.expandable,
tr.expandable td {
	transition: 250ms height;
}

td.expandable div {
    display: none;
    position: absolute;
    width: calc(100% - 1rem);
	overflow: hidden;
	height: 0px;
	transition: 250ms height;
	margin-block: 0.5rem;
}

main table.zebra tr:nth-child(2n + 1) td.expandable div td,
main table.zebra tr:nth-child(2n) td.expandable div td {
	background-color: var(--kleurAchtergrondLicht);
}
main table.zebra tr:nth-child(2n + 1) td.expandable div tr:nth-child(2n) td,
main table.zebra tr:nth-child(2n) td.expandable div tr:nth-child(2n) td {
	background-color: var(--kleurAchtergrondZebra);
}

main table tr.clickable:hover td,
main table.zebra tr:hover td.expandable div,
main table.zebra tr:hover td.expandable div {
	background-color: var(--kleurAchtergrond);
	cursor: pointer;
}

main table.canhaveerrors tr.clickable:hover td,
main table.zebra.canhaveerrors tr:hover td.expandable div,
main table.zebra.canhaveerrors tr:hover td.expandable div {
	background-color: auto;
	filter: brightness(0.9);
}

table.singleborder {
	border: 1px solid var(--kleurTab);
    border-radius: 0px;
    box-shadow: none;
	margin: 0px;
}

main table.singleborder th,
main table.singleborder th:first-child,
main table.singleborder th:last-child {
    border-radius: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

table.singleborder th {
	z-index: 2;
}




input[type=text],
input[type=password],
input[type=email],
textarea {
    border: 1px solid var(--kleurTab);
    padding: 0.25rem;
    width: 10rem;
    border-radius: 0.5rem;
}

textarea {
	height: 5rem;
}

select {
    border: 1px solid var(--kleurTab);
    padding: 0.25rem;
    border-radius: 0.5rem;
}

input[type=text].tiny,
input[type=password].tiny,
input[type=email].tiny,
select.tiny,
textarea.tiny {
    width: 3rem;
}

input[type=text].mini,
input[type=password].mini,
input[type=email].mini,
select.mini,
textarea.mini {
    width: 8rem;
}

input[type=text].small,
input[type=password].small,
input[type=email].small,
select.small,
textarea.small {
	font-size: 1rem;
    width: 9rem;
}

input[type=text].medium,
input[type=password].medium,
input[type=email].medium,
select.medium,
textarea.medium {
    width: 20rem;
}

div.medium + .ck.ck-editor,
div.medium + .ck.ck-reset,
div.medium + .ck.ck-editor.ck-reset {
    width: 20rem;
}

input[type=text].large,
input[type=password].large,
input[type=email].large,
select.large,
textarea.large {
    width: 30rem;
}

div.large + .ck.ck-editor,
div.large + .ck.ck-reset,
div.large + .ck.ck-editor.ck-reset {
    width: 30rem;
}

textarea.high {
	height: 10rem;	
}

input[type=file] {
	appearance: none;
	position: absolute;
	height: 0px;
	width: 0px;
	opacity: 0;
}

input[type=file] + label {
	display: block;
	background: #eee;
	border: 1px solid #ccc;
	border-radius: 0.25rem;
	padding: 0.5rem;
	cursor: pointer;
	width: fit-content;
}

input[type=file] + label:hover {
	background: #ddd;
}

div.terminal {
	font-family: monospace;
	background: var(--kleurAchtergrond);
    border: 1px solid var(--kleurTab);
    padding: 0.25rem;
    width: 40rem;
    border-radius: 0.5rem;
	text-align: left;
}

.tabs {
    background: var(--kleurTab);
}

.tab {
    display: inline-block;
	position: relative;
    background: var(--kleurAchtergrond);
    padding: 0.75rem 1rem;
    margin: 0.5rem 0px 0px 0.25rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    box-shadow: 2px -2px 2px #0004, -2px -2px 2px #0004;
	cursor: pointer;
}

.tab:first-child {
	margin-left: 0.5rem;
}

.tab:hover {
	background: var(--kleurTab);
}

.tab.active,
.tab.active:hover {
    background: var(--kleurAchtergrondLicht);
	cursor: default;
}

.tab[data-disabled="true"] {
    background-color: var(--kleurAchtergrond);
    color: var(--kleurTab);
	cursor: default;
}
	
.tab[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;
}



.row_disabled label,
.row_disabled td {
	opacity: 0.5;
}
.row_disabled input {
	opacity: 0.5;
	pointer-events: none;
}



.message {
    box-shadow: 0px 2px 3px #0008;
    /* position: absolute; */
    /* top: 2rem; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    /* border-radius: 0.5rem; */
    top: 2rem;
    border-radius: 0.5rem;
    width: fit-content;
    margin: 2rem auto;
}

.message_title {
    display: block;
    background: var(--kleurTab);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.message_content {
    padding: 1rem;
    display: block;
}

.button,
.buttonsmall,
.buttonicon {
    display: inline-block;
	position: relative;
    width: fit-content;
    background-color: var(--kleurAchtergrond);
    padding: 0.5rem 1rem;
    border: 1px solid var(--kleurTab);
    border-radius: 0.5rem;
	user-select: none;
}

.buttonsmall {
	padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.buttonicon {
	display: inline-block;
	padding: 0.25rem 0.25rem;
    border-radius: 0.25rem;
	line-height: 1rem;
}

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

.button.margin,
.buttonsmall.margin {
    margin: 1rem;
}

.margin-left-1 {
	margin-left: 1rem;
}
.margin-left-2 {
	margin-left: 2rem;
}

.margin-bottom-1 {
	margin-bottom: 1rem;
}
.margin-bottom-2 {
	margin-bottom: 2rem;
}

.margin-top-1 {
	margin-top: 1rem;
}

.margin-top-2 {
	margin-top: 2rem;
}

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

.button[data-disabled="true"],
.buttonsmall[data-disabled="true"],
.buttonicon[data-disabled="true"] {
    background-color: var(--kleurAchtergrond);
    color: var(--kleurTab);
	cursor: default;
}
.button[data-disabled="true"] i,
.buttonsmall[data-disabled="true"] i,
.buttonicon[data-disabled="true"] i {
    color: var(--kleurTab);
}
	
.button[data-wait="true"]:after,
.buttonsmall[data-wait="true"]:after,
.buttonicon[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;
}

.searchemailbar {
    display: grid;
    grid-template-columns: auto auto auto auto;
    padding: 0rem 1rem;
    width: fit-content;
    gap: 1rem;
    align-items: center;
}

.searchemailbar div {
    height: 100%;
    padding-top: 0.5rem;
	user-select: none;
}

.searchemailbar div.cancelsearch {
    position: absolute;
    right: 0.5rem;
    top: 0.4rem;
    padding-top: 0px;
}

.searchemailbar div.cancelsearch i {
	color: var(--kleurTekst);
	cursor: pointer;
}

.searchemailbar div.cancelsearch:hover i {
	opacity: 0.75;
}

.searchemailbar .search {
	position: relative;
	isolation: isolate;
	padding-top: 0px;
}

.searchemailbar .search input {
	padding-left: 2rem;
	padding-right: 1.5rem;
	z-index: 1;
}

.searchemailbar .search::before {
    content: "\f002";
	font-weight: 300;
    font-family: "Font Awesome 6 Pro";
	position: absolute;
	width: 1rem;
	height: 1rem;
	left: 0.5rem;
	top: calc(50% - 0.5rem);
	pointer-events: none;
	z-index: 2;
}

.search input:placeholder-shown + div.cancelsearch {
	display: none;
}

.commentquestion {
	cursor: help;
	font-size: 1rem;
}



div.list_and_details {
	display: grid;
    margin: 1rem;
	grid-template-columns: auto 1fr;
	gap: 1rem;
}


div.draggable_list {
	border: 1px solid var(--kleurTab);
    border-radius: 0.5rem;
    filter: drop-shadow(0px 1px 5px #0004);
    width: fit-content;
    position: relative;
    height: fit-content;
	background-color: var(--kleurAchtergrondLicht);
}

div.draggable_list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

div.draggable_list li {
}

div.draggable_list ul.zebra li:nth-child(2n + 1){
	/* background-color: var(--kleurAchtergrondLicht); */
}

div.draggable_list ul.zebra li:nth-child(2n) {
	background-color: var(--kleurAchtergrondZebra);
}

.draggable_li_row {
	display: grid;
	grid-template-columns: 1fr 1rem;
	border-top: 1px solid #ddd;
}

.draggable_li_row ul {
	grid-column: 1 / -1;
}

.draggable_list ul li ul li {
	overflow: hidden;
	line-height: 0px;
	height: 0px;
	padding-block: 0px;
}

.draggable_list ul li:has(> div > div > input:checked) > ul > li {
	line-height: 1rem;
	height: auto;
}

.draggable_list .li_label {
    padding-left: calc(var(--level) * 2rem);
	padding-block: 0.5rem;
	max-width: 20rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

input[type=checkbox].book + label {
	background-image: url(/images/book.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	border: none;
	width: 2rem;
    height: 2rem;
	outline: none;
}
input[type=checkbox].book + label:hover,
input[type=checkbox].book:focus + label {
	border: none;
}

input[type=checkbox].book:checked + label {
	background-image: url(/images/bookopen.png);
}

input[type=checkbox].book + label::after {
	content: unset;
}

.draggable_list li:not(:has(ul)) input.book.document + label {
	background-image: url(/images/document.png);
	cursor: default;
}

.draggable_list li:not(:has(ul)) input.book.tooltip + label {
	background-image: url(/images/tooltip.png);
	cursor: default;
}

div:has(.li_label) .openrow {
	opacity: 0;
}

div:has(.li_label):hover > .openrow {
	display: flex;
    align-items: center;
    font-size: 1.5rem;
	opacity: 1;
}


/* Toast */

.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;
}


div.scrollable {
	display: grid;
	grid-template-columns: auto 4rem;
}

.to_top {
	position: sticky;
	bottom: 2rem;      
	margin-right: 1rem; 
	place-self: end;
	margin-top: 100vh;
	background: var(--kleurTekst);
	border-radius: 50%;
	white-space: nowrap;
	width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
	transition: 100ms filter;
}

.to_top:hover {
	cursor: pointer;
	filter: brightness(1.5);
}

.to_top i {
	color: var(--kleurAchtergrondLicht);
	font-size: 1.5rem;
}


.fa-check {
    color: green;
}

.fa-xmark {
    color: red;
}


input[type=checkbox] {
	width: 0px;
	height: 0px;
	opacity: 0;
}

input[type=checkbox] + label {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	background: #fff;
	width: 1rem;
	height: 1rem;
	border: 1px solid var(--kleurTab);
	border-radius: 0.25rem;
	cursor: pointer;
}

input[type=checkbox]:focus + label,
input[type=checkbox] + label:hover,
.filterdiv:hover input[type=checkbox] + label {
	border: 1px solid var(--kleurSpeciaal);
}

input[type=checkbox] + label:after {
	--borderColor: var(--kleurSpeciaal);
    position: absolute;
    content: '';
    transform: rotate(45deg);
    width: 0px;
    height: 0px;
    bottom: 0.5rem;
    left: 0px;
    transform-origin: bottom left;
	transition: 100ms 100ms width, 100ms height, 1ms 200ms border;
    border-bottom: 0px solid var(--borderColor);
    border-right: 0px solid var(--borderColor);
}

input[type=checkbox]:checked + label:after {
    width: 50%;
    height: 100%;
	transition: 100ms width, 100ms 100ms height, 1ms border;
    border-bottom: 0.25rem solid var(--borderColor);
    border-right: 0.25rem solid var(--borderColor);
}

input[type=checkbox]:disabled + label:hover {
	border: 1px solid var(--kleurTab);
	cursor: not-allowed;
}

input[type=checkbox]:disabled + label:after {
	--borderColor: #8888;
}

.filterdiv {
	cursor: pointer;
}

progress {
	display: none;
    width: 100%;
    height: 10px;
}

.editor {
    box-shadow: 0px 2px 3px #0008;
    margin: 1rem;
	width: 800px;
}

.ck-editor__editable {
	min-height: 200px;
}

td:has(.list5) {
	vertical-align: middle;
}

input[type=checkbox] + label + label {
	padding: 0.5rem;
    line-height: 1rem;
    cursor: pointer;
    width: calc(100% - 2rem);
    display: inline-block;
}

.list5 {
    overflow-y: scroll;
    height: 11rem;
}

.list5 div {
	/* padding-block: 0.25rem; */
	border-bottom: 1px solid var(--kleurTab);
	padding-left: 0.5rem;
}

.list5 div:hover {
    background: var(--kleurAchtergrond);
}

.list5 div:first-child {
    position: sticky;
    top: 0px;
    background: #fff;
    z-index: 5;
}

textarea.mediumheight {
	height: 11rem;
}

.errormessage {
    margin: 1rem;
    border: 2px solid red;
    padding: 0.5rem;
    border-radius: 0.5rem;
    width: fit-content;
}

.errormessage span.clickable {
    margin: 0.25rem;
    border: 1px solid #888;
    background: #eee;
    padding: 0.25rem;
    border-radius: 0.25rem;
    display: inline-block;
	cursor: pointer;
}

.errormessage span.clickable:hover {
    background: #ccc;
}

input[type=checkbox] + label.clicktoremove {
	display: none;
}

input[type=checkbox]:checked + label.clicktoremove {
	display: inline-block;
    width: fit-content;
    white-space: nowrap;
    height: fit-content;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    border-radius: 0.5rem;
	margin-left: 0.5rem;
}

input[type=checkbox]:checked + label.clicktoremove:after {
	border: none;
    width: 1.5rem;
    height: 2.25rem;
    line-height: 2.25rem;
    content: "\f00d";
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    transform: none;
    top: 0px;
    left: 0px;
    text-align: center;
}

span.info:hover::after {
    content: attr(data-title);
    position: absolute;
    background: #444c;
    left: 0px;
    top: 1.25rem;
    z-index: 10;
    font-size: 0.8rem;
    color: #fff;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 0.25rem;
    width: 20ch;
    text-wrap: pretty;
}

span.info {
    position: relative;
    cursor: pointer;
}


/* Loading spinner */

span.loading {
	display: block;
    width: 100%;
    text-align: center;
}

span.loading i {
	animation: loadinganim 1s linear infinite;
}

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


.templatetag {
    display: inline-block;
    border: 1px solid #888;
    border-radius: 0.25rem;
    background: #eee;
    padding: 0.25rem 0.5rem;
    margin-right: 0.25rem;
	cursor: pointer;
}

.templatetag:hover {
    background: #ddd;
}

.templatetag span {
    margin-right: 0.25rem;
}

.templatetag i {
    cursor: pointer;
}

.templatetag i:hover {
    color: #800;
}



.suggestion {
	display: none;
}

.suggestion.suggestionvisible {
    display: block;
    background: lightgreen;
    text-align: center;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 800;
}

/*
td {
    background: #fff;
}

main {
	background-image: url(../images/1april.jpg);
    background-size: 512px;
}
*/