@view-transition {
	navigation: auto;
}

:root {
	--colorBG: #eee;
	--colorMainBG: #f8f8f8;
	--colorPanelBG: #fff;
	--colorText: #444;
	--colorSpecial: #399791;
	--colorSpecialInv: #fff;
	
	--colorBorder: hsl(from var(--colorSpecial) h s l / 0.5);
	--colorBGHover: hsl(from var(--colorSpecial) h s l / 0.1);
	--colorBGActive: hsl(from var(--colorSpecial) h s l / 0.25);
	--colorBGMenu: hsl(from var(--colorSpecial) h s l / 0.1);
}

*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	transition-behavior: allow-discrete;
}

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

.container {
	display: grid;
	grid-template-rows: auto 1fr auto;
	@media (min-width: 600px) {
		grid-template-columns: auto 1fr;
	}
}

img {
	display: block;
	max-width: 100%;
}


h1 {
	font-size: 1.5rem;
}

h2 {
	font-size: 1.25rem;
}

h3 {
	font-size: 1.1rem;
}

.vspace {
	margin-block: 0.5rem;
}

input[type="radio"].hidden,
input[type="checkbox"].hidden {
	position: absolute;
	height: 0px;
	width: 0px;
	opacity: 0;
	appearance: none;
}
input[type="radio"].hidden.styledradio,
input[type="checkbox"].hidden.styledcheckbox {
	height: 1rem;
    width: 1.5rem;
    margin-top: 1rem;
}

input[type="radio"].hidden.styledradio + label,
input[type="checkbox"].hidden.styledcheckbox + label {
    padding-left: 2rem;
    position: relative;
    margin-block: 0.25rem;
    display: inline-block;
    cursor: pointer;
}
input[type="radio"].hidden.styledradio + label::before {
    content: "";
    position: absolute;
    font-weight: 900;
    font-size: 2rem;
    line-height: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--colorBG);
    color: var(--colorText);
    border: 1px solid var(--colorSpecial);
    border-radius: 1.5rem;
    left: 0px;
    top: calc(50% - 0.75rem);
}
input[type="checkbox"].hidden.styledcheckbox + label::before {
    content: "";
    position: absolute;
    font-weight: 900;
    font-size: 2rem;
    line-height: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--colorBG);
    color: var(--colorText);
    border: 1px solid var(--colorSpecial);
    border-radius: 0.5rem;
    left: 0px;
    top: calc(50% - 0.75rem);
}
input[type="radio"].hidden.styledradio + label:hover::before,
input[type="checkbox"].hidden.styledcheckbox + label:hover::before {
    background: var(--colorBGActive);
}
input[type="radio"]:checked.hidden.styledradio + label::before,
input[type="checkbox"]:checked.hidden.styledcheckbox + label::before {
    content: '\2713';
}

option:disabled {
    color: hsl(from currentColor h s l / 0.25);
}

span.link {
	text-decoration: underline;
	cursor: pointer;
}

span.link:hover {
	text-decoration: none;
}

.fout {
    background: orangered;
    color: #fff;
    text-align: center;
	width: 100%;
    padding: 0.5rem;
}




main {
	grid-column: 1 / 2;
	grid-row: 2 / 3;
	overflow: auto;
	padding: 1rem;
	background: var(--colorMainBG);
	container-type: inline-size;
	@media (min-width: 600px) {
		grid-column: 2 / 3;
		grid-row: 1 / 3;
	}
}

nav {
	position: absolute;
	display: grid;
	background: #eee;
	overflow: auto;
	width: 100%;
	top: 3rem;
	bottom: 2rem;
	translate: -100%;
	transition: 250ms translate;
	z-index: 10;
	@media (min-width: 600px) {
		position: relative;
		width: fit-content;
		grid-column: 1 / 2;
		grid-row: 1 / 3;
		translate: 0%;
		top: auto;
        bottom: auto;
	}
}

nav > div {
	padding-inline: 1rem;
}

input:checked + nav {
    translate: 0%;
}

nav img {
    max-height: 5rem;
    max-width: 10rem;
    margin-inline: auto;
    margin-block: 1rem;
}

.topbar {
	height: 3rem;
	grid-column: 1 / 2;
	grid-row: 1 / 2;
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid var(--colorBGActive);
	align-items: center;
	@media (min-width: 600px) {
		display: none;
	}
}

.topbar label.togglemenu {
    line-height: 3rem;
    width: 3rem;
    text-align: center;
	@media (min-width: 600px) {
		display: none;
	}
}

header > div {
    color: var(--colorB);
    font-size: 0.9rem;
}

span.infolabel {
	display: inline-block;
    border: 1px solid var(--colorBorder);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: var(--colorMainBG);
}

div.infolabel {
    border: 1px solid var(--colorSpecial);
    padding: 0.5rem;
    border-radius: 0.25rem;
    background: var(--colorBG);
    margin-block: 0.5rem;
}

div.notificationlabel {
    margin-block: 0.25rem;
    border: 1px solid var(--colorBorder);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: var(--colorMainBG);
	pointer-events: none;
}








/* menu buttons */
.beheer_menulabel {
    font-weight: 600;
    margin-top: 1rem;
	color: var(--colorText);
}


.beheer_menubutton {
	position: relative;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: auto 1fr;
    margin: 0.25rem 0.5rem;
    padding: 0.25rem;
    transition: 150ms width;
    cursor: pointer;
    align-items: center;
	user-select: none;

	@media (min-width: 600px) {
		margin-bottom: 0px;
	}
}

.beheer_menubutton.active {
    background: var(--colorBGActive);
    border-radius: 0.5rem;
}

.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: 1rem;
    line-height: 2rem;
    transition: 150ms width;
    pointer-events: none;
    color: var(--colorSpecial);
}

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

.beheer_menubutton.active .menubutton_pill,
.beheer_menubutton.active:hover .menubutton_pill {
    color: var(--colorBG);
    background: var(--colorSpecial);
}

.menubutton_label {
	transition: 150ms width, 150ms opacity, 150ms margin;
	pointer-events: none;
	padding-right: 4rem;
}

/* /menu buttons */


/* buttons */
span.buttonsmallprim {
	display: inline-block;
    border: 1px solid var(--colorSpecial);
    background: var(--colorSpecial);
    color: var(--colorSpecialInv);
    font-size: 1rem;
    padding: 0.25rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

span.buttonsmallsec {
	display: inline-block;
    border: 1px solid var(--colorSpecial);
    background: var(--colorBG);
    color: var(--colorSpecial);
    font-size: 1rem;
    padding: 0.25rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

span.buttonsmallprim:hover,
span.buttonsmallsec:hover {
    filter: brightness(0.9);
}
/* /buttons */



/* tabs */

.tabs {
	display: flex;
	max-width: 100%;
    overflow: auto;
    gap: 1rem;
	margin-block: 1rem;
	border-bottom: 1px solid var(--colorSpecial);
}

.tabs .tab {
	white-space: nowrap;
	cursor: pointer;
	padding-block: 0.5rem;
	position: relative;
}

.tabs .tab:hover,
.tabs .tab.active {
	color: var(--colorSpecial);
}

.tabs input:checked + .tab::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 3px;
	left: 0px;
	bottom: 0px;
	background: var(--colorSpecial);
}

/* /tabs */



/* window */

.window {
	margin-block: 1rem;
    background: var(--colorPanelBG);
    /* box-shadow: 0px 1px 3px #0004; */
	border: 1px solid var(--colorSpecial);
    border-radius: 0.5rem;
	max-width: 50rem;
}

.window.center {
    margin-inline: auto;
	width: fit-content;
}

.windowtitle {
    font-size: 1rem;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--colorBGActive);
    margin: 1rem;
	user-select: none;
}

.windowcontent {
    display: grid;
    gap: 0.5rem;
    margin: 1rem;
}

.windowcontent.centercontent {
    justify-items: center;
}

.windowcontentrow {
    background: var(--colorBGMenu);
    padding: 1rem;
    border-radius: 0.5rem;
	user-select: none;
}
.windowcontentrow.clickable:hover {
	cursor: pointer;
	background: var(--colorBGActive);
}

.windowcontentrow.cta i {
	pointer-events: none;
}

.windowcontentrow.cta {
    background: var(--colorSpecial);
    color: var(--colorPanelBG);
    text-align: center;
    cursor: pointer;
}

.windowcontentrow.cta:hover {
    filter: brightness(0.9);
}

.windowcontent .logo {
	width: 16rem;
}

.window .vlinespacer {
    background: var(--colorSpecial);
    height: 1px;
    width: 100%;
    margin-block: 1rem;
}
/* /window */



/* inputs */

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

textarea {
	min-height: 5rem;
}

select {
    border: none;
    padding: 1rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 1rem;
    width: 100%;
    min-width: 14rem;
	color: var(--colorText);
    background: transparent;
	appearance: none;
	background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5rem;
}

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

div.infoinput, div.textinput, div.selectinput, div.labelinput, div.dateinput {
    border: 1px solid var(--colorSpecial);
    position: relative;
    border-radius: 0.25rem;
    margin-block: 0.5rem;
	width: 100%;
}

div.submitinput {
    position: relative;
    margin-block: 0.5rem;
    width: 100%;
}

div.textareainput {
    border: 1px solid var(--colorSpecial);
    position: relative;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
	width: 100%;
}

.infoinput {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    align-items: center;
	min-height: 3rem;
}

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

.windowcontent:has(.preselect) {
	counter-reset: preselect;
}

div.label {
	margin-top: 1rem;
	font-weight: 700;
}

div + .preselect {
    margin-top: 2rem;
}

.preselect {
	position: relative;
	padding-left: 2.25rem;
    font-size: 1rem;
}

.preselect::before {
    font-family: var(--fa-family-classic);
    font-weight: 900;
    counter-increment: preselect;
    content: counter(preselect);
    position: absolute;
    color: var(--colorSpecial);
    background: var(--colorSpecialInv);
    border: 2px solid var(--colorSpecial);
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    top: calc(50% - 0.8rem);
    left: 0.25rem;
}

/* .preselect:has(+div select:valid)::before, */
/* .preselect:has(+div .dateinput_days input:checked)::before, */
/* .preselect:has(+div.inputrow input:checked)::before { */
    /* content: "\f00c"; */
    /* background: var(--colorSpecial); */
    /* color: var(--colorSpecialInv); */
	/* justify-content: flex-start; */
    /* align-items: flex-end; */
	/* font-size: 1.5rem; */
    /* padding-left: 0.125rem; */
    /* padding-bottom: 0.125rem; */
    /* text-shadow: 0px 0px 3px var(--colorSpecial), 0px 0px 2px var(--colorSpecial), 0px 0px 1px var(--colorSpecial); */
/* } */

.preselect:has(+div select:valid)::after,
.preselect:has(+div textarea:valid)::after,
.preselect:has(+div .dateinput_days input:checked)::after,
.preselect:has(+div.inputrow input:checked)::after {
    content: "\f336";
    color: var(--colorSpecial);
    font-size: 2rem;
    font-family: var(--fa-family-classic);
    font-weight: 900;
    position: absolute;
    margin-top: -0.5rem;
    margin-left: 0.5rem;
}
/* div.textinput:has(:focus-within)::before, div.textinput:not(:has(:placeholder-shown))::before, div.selectinput:has(:focus-within)::before, div.selectinput:has(:valid)::before, div.selectinput:has(select option:checked[value=""])::before { */
div.infoinput::before, div.labelinput::before, div.textinput:has(:focus-within)::before, div.textareainput:has(:focus-within)::before, div.textinput:not(:has(:placeholder-shown))::before, div.textinputtextinput:has(input:-webkit-autofill)::before, div.textareainput:not(:has(:placeholder-shown))::before, div.textareainput:has(input:-webkit-autofill)::before, div.selectinput:has(:focus-within)::before, div.selectinput:has(:valid)::before, div.selectinput:has(:disabled)::before, div.selectinput:has(select option:checked[value=""])::before {
    top: -0.5rem;
    font-size: 0.75rem;
    width: auto;
    opacity: 1;
}

.labelinput .notice {
    padding: 1rem;
    display: block;
    font-style: italic;
}

.doubletextinput {
    width: 100%;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.textinputsmall {
    flex: 1;
}

.textinputmedium {
    flex: 2;
}

input[type=submit], button[type=submit], .button {
    display: inline-block;
    background: var(--colorSpecial);
    color: var(--colorSpecialInv);
    border: 1px solid var(--colorSpecial);
    /* color: var(--prim40); */
    /* box-shadow: 0px 1px 3px #0008; */
    /* padding: 0.5rem 1rem; */
    padding: 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    text-align: center;
    transition: 50ms color, 50ms background;
    font-size: 1rem;
    width: 100%;
}

.button.btnsec {
    background: var(--colorBG);
    color: var(--colorSpecial);
}

input[type=submit]:hover, button[type=submit]:hover, .button:hover {
    filter: brightness(0.9);
}

.labelinput input[type="radio"].hidden {
    height: 1rem;
    width: 1rem;
    bottom: 0px;
    left: calc(50% - 0.5rem);
    pointer-events: none;
}

.labelinput {
	display: grid;
    justify-content: space-around;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

div.inputrow {
	position: relative;
}

.inputrow .alternative {
    display: none;
}

.inputrow:has(> input:checked) .alternative {
    display: block;
	width: fit-content;
    border: 1px solid var(--colorBorder);
    padding: 0.5rem 0.5rem;
    border-radius: 0.25rem;
    margin: 0.25rem 0 0 2rem;
    background: var(--colorMainBG);
}

.inputinfo {
    width: fit-content;
    font-size: 0.8rem;
    font-weight: 500;
    font-style: italic;
    color: var(--colorSpecial);
    background: var(--colorBGMenu);
    padding: 0.5rem 1rem;
    border: 1px solid var(--colorSpecial);
    border-radius: 0.5rem;
    justify-self: left;
	position: relative;
}

.inputinfo.fullwidth {
    width: 100%;
	text-align: center;
}

.inputinfo.ok {
	background: #8f8;
    color: var(--colorText);
    font-style: normal;
}

.inputinfo.ok::before {
    font-family: "Font Awesome 7 Pro";
    font-weight: 500;
    content: "\f2f7";
	padding-right: 0.5rem;
    font-size: 1rem;
}

.inputinfo.error {
	background: #fcc;
    color: var(--colorText);
    font-style: normal;
}
.inputinfo.error::before {
    font-family: "Font Awesome 7 Pro";
    font-weight: 500;
    content: "\f071";
	padding-right: 0.5rem;
    font-size: 1rem;
}

/* /inputs */



/* startdate */
label.label_startdate {
    padding: 0.5rem;
    margin: 0.5rem;
    border: 1px solid var(--colorSpecial);
    border-radius: 0.5rem;
	cursor: pointer;
	position: relative;
	display: inline-grid;
    grid-template-columns: 1fr auto;
	/* order: 1; */
}

.labelinput:not(:has(> input:checked ~ label)) label.label_startdate:nth-child(n + 5) {
	display: none;
}

.labelinput:has(label > :checked) label.label_startdate:not(:has(> :checked)):not(:hover) {
    display: none;
}

.labelinput:has(:checked ~ label > :checked) label.label_startdate:not(:has(> :checked)):not(:hover) {
    opacity: 0.5;
	display: inline-grid;
}

label.label_startdate:hover,
.labelinput:has(label > :checked) label:not(:has(> :checked)):hover{
    background: var(--colorBG);
}

label.label_startdate:has(input:checked),
.labelinput:not(:has(> input:checked ~ label)) label.label_startdate:nth-child(n + 5):has(input:checked) {
    background: var(--colorBGActive);
	display: inline-grid;
}


span.label_startdate_date {
    font-weight: 700;
}

span.label_startdate_actualdate {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    font-weight: 500;
}

label.showmore_selected {
    padding: 0.5rem;
    margin: 0.5rem;
    border: 1px solid var(--colorSpecial);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
	gap: 1rem;
}

label.showmore_bottom {
    width: 100%;
	grid-column: 1 / -1;
    padding: 0.25rem;
    text-align: center;
    border-top: 1px solid var(--colorSpecial);
    background: var(--colorBG);
    cursor: pointer;
	border-radius: 0px 0px 0.25rem 0.25rem;
}

label.showmore_selected:hover,
label.showmore_bottom:hover {
    background: var(--colorBGActive);
}

.labelinput:not(:has(.label_startdate > :checked)) label.showmore_selected,
.labelinput:has(.label_startdate > :checked) label.showmore_bottom,
.labelinput > :checked ~ label.showmore_selected,
.labelinput > :checked ~ label.showmore_bottom {
	display: none;
}

/* /startdate */




/* datumselectie */
.dateinput_nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    justify-items: center;
    align-items: center;
	border-bottom: 1px solid var(--colorSpecial);
    padding: 0.5rem;
}

.dateinput_nav label {
    cursor: pointer;
}

.dateinput_nav label:hover {
    color: var(--colorSpecial);
}

.dateinput_nav label.disabled,
.dateinput_nav label.disabled:hover {
    color: var(--colorText);
    cursor: default;
    opacity: 0.25;
}
.dateinput_warning {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: #fff4;
    backdrop-filter: blur(3px);
    inset: 0px;
}

.dateinput_warning span {
    border: 1px solid var(--colorBorder);
    background: var(--colorBG);
    padding: 1rem;
    border-radius: 0.5rem;
}

.dateinput_days {
	position: relative;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center;
    justify-items: center;
    gap: var(--daySizeGap);
    padding: 1rem 0.5rem;
}

.dateinput_daylabel {
	font-weight: bold;
}

.dateinput_daylabel,
.dateinput_day {
    grid-column: var(--col);
	position: relative;
}

.dateinput_days input[type="radio"].hidden,
.dateinput_day input[type="radio"].hidden,
.dateinput_warning input[type="radio"].hidden {
	width: var(--daySize);
	height: var(--daySize);
	pointer-events: none;
}

.dateinput_day label {
    display: flex;
    /* border: 2px solid var(--colorSpecial); */
    background: var(--colorBG);
    /* color: var(--colorSpecialInv); */
    width: var(--daySize);
    height: var(--daySize);
	font-size: var(--dayFontSize);
    align-items: center;
    justify-content: center;
    border-radius: var(--daySize);
    cursor: pointer;
    font-weight: 600;
}

.dateinput_day label:hover {
	background: var(--colorBGActive);
}

.dateinput_day input:checked + label {
    background: var(--colorSpecial);
    color: var(--colorSpecialInv);
    cursor: default;
}

.dateinput_day input:disabled + label,
.dateinput_day input:disabled + label:hover {
    background: var(--colorPanelBG);
    opacity: 0.25;
    cursor: default;
	font-weight: 400;
}

.dateinput_day input:disabled + label.past {
    position: relative;
}

.dateinput_day input:disabled + label.past::before {
    width: 100%;
    height: 2px;
    background: var(--colorBorder);
    position: absolute;
    content: "";
    rotate: 45deg;
}

.dateinput_day input:disabled + label.past::after {
    width: 100%;
    height: 2px;
    background: var(--colorBorder);
    position: absolute;
    content: "";
    rotate: -45deg;
}

.dateinput_day input + label.today {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

div.dateinput {
    display: grid;
	--daySize: 1.5rem;
    --daySizeGap: 0.5rem 0rem;
	--dayFontSize: 0.8rem;
	@container (min-width: 300px) {
		--daySize: 1.75rem;
	}
	@container (min-width: 400px) {
		--daySize: 2rem;
		--daySizeGap: 1rem 0.5rem;
		--dayFontSize: 1rem;
	}
}

.dateinput_month {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
	display: none;
}
.dateinput_month:has(.monthselected:checked) {
    display: grid;
    grid-template-rows: auto auto;
}

.dateinput:has([name="selectdate"]:checked):not(:has(>input:checked)) .dateinput_days {
	padding: 0.5rem 1rem;
	grid-template-columns: 1fr;
	@container (min-width: 720px) {
		grid-template-columns: 1fr auto;
		justify-items: start;
	}
}

.changedate {
    padding: 0.5rem;
    margin: 0.5rem;
    border: 1px solid var(--colorSpecial);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
	gap: 1rem;
}

.changedate:hover {
    background: var(--colorBGActive);
}

.dayinfo {
	display: none;
}

.dateinput:has([name="selectdate"]:checked):not(:has(>input:checked)) .dayinfo {
	display: block;
}

.dateinput:has([name="selectdate"]:checked):not(:has(>input:checked)) .dateinput_day label,
.dateinput:has([name="selectdate"]:checked):not(:has(>input:checked)) .dateinput_nav,
.dateinput:has([name="selectdate"]:checked):not(:has(>input:checked)) .dateinput_daylabel,
.dateinput:has([name="selectdate"]:checked):not(:has(>input:checked)) .dateinput_day:not(:has(>:checked)),
.dateinput:not(:has([name="selectdate"]:checked)) .changedate,
.dateinput:has([name="selectdate"]:checked):has(>input:checked) .changedate {
	display: none;
}

.dateinput:has([name="selectdate"]:checked):not(:has(>input:checked)) .dateinput_day:has(>:checked) {
    grid-column: 1;
}

/* /datumselectie */



/* footer */
footer {
	grid-column: 1 / 2;
	grid-row: 3 / 4;
    bottom: 0px;
    background: var(--colorG);
    padding: 0.5rem;
    width: 100%;
    text-align: center;
	color: var(--colorFooter);
	border-top: 1px solid #ddd;
}

@media (min-width: 600px) {
	footer {
		grid-column: 1 / 3;
	}
}

footer img {
	max-width: 100%;
	max-height: 100%;
}

footer a {
	color: var(--colorFooter);
	text-decoration: underline;
}

footer a:hover {
	text-decoration: none;
}
/* /footer */





/* waiting animation */
[data-wait="true"] {
	position: relative;
}

[data-wait="true"]:after,
input.hidden[data-wait="true"] + label:before {
    position: absolute;
    top: calc(50% - 0.5rem);
    left: calc(50% - 0.5rem);
	color: var(--colorText);
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    content: "\f110";
    animation: loadinganim 1s linear infinite;
}

input.hidden[data-wait="true"]:after {
	display: none;
}

[data-disabled="true"],
input[type=submit][data-disabled="true"],
button[type=submit][data-disabled="true"] {
    background-color: var(--colorBG);
    color: var(--colorSpecial);
    cursor: default;
	pointer-events: none;
}


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

/* /waiting animation */


/* alerts */
.alertok {
    background: lightgreen;
    border: 2px dashed forestgreen;
    padding: 0.5rem 1rem;
    width: fit-content;
    margin: 0.5rem;
}

.alertwarning {
    background: red;
    border: 2px dashed darkred;
    padding: 0.5rem 1rem;
    width: fit-content;
    margin: 0.5rem;
}


.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;
}
/* /alerts */
