html {
	font-size: clamp(12px,10px + 0.5vw,18px);
	font-family: var(--fontfamily-mlg1);
	color: var(--fontcolor-main);
    line-height: 1.5;
}

[aria-disabled], [disabled] { transition: opacity .2s; }
[aria-disabled="true"], [disabled] { cursor: not-allowed; opacity: .30; pointer-events: none; }
[aria-busy="true"] { cursor: not-allowed; opacity: .5; pointer-events: none; white-space: nowrap; display: inline-flex; align-items: center; line-height: 0; text-indent: -9999px; }
[aria-busy="true"]::before { width: 1em; height: 1em; background-image: var(--loading-img); background-size: 1em auto; background-repeat: no-repeat; content: ""; filter: brightness(0) invert(1); }
button.invisible[aria-busy="true"]::before { filter: unset; }
[aria-invalid="true"] {	background-image: var(--invalid-img); padding-right: 2.3rem !important; background-position: center right .75rem; background-size: 1rem auto; background-repeat: no-repeat; border-color: var(--color-red) !important; }
[aria-invalid="true"]:focus { box-shadow: 0 0 3px .06rem color-mix(in srgb, var(--color-red), transparent 70%) !important; }
[aria-hidden="true"] { display: none !important; }

h1, h2, h3, h4, h5, h6 {
	font-size: 1rem;
	font-weight: 400;
    line-height: 1.1;
    font-family: var(--fontfamily-mlg2);
}

.fontfamily-mlg1 { font-family: var(--fontfamily-mlg1); }
.fontfamily-mlg2 { font-family: var(--fontfamily-mlg2); }
.fontfamily-mlg3 { font-family: var(--fontfamily-mlg3); }

hr { height: 0; border-top: 3px solid var(--color-mlg4); }

img.loading { 
    width: 100%; 
    max-width: clamp(40px,33.36px + 1.667vw,60px); 
    content: var(--loading-img);
    filter: var(--color-mlg3-filter);
}

img.nieuw { 
    width: 100%; 
    max-width: clamp(40px,33.36px + 1.667vw,60px); 
    content: var(--nieuw-img);
    filter: var(--color-mlg3-filter);
}

img.chevron {
    width: 100%; 
    content: var(--chevron-img);
}

.stacked.img-shadow {
    padding-right: calc(clamp(20px,16.68px + 0.833vw,30px) + 1px);
    padding-bottom: calc(clamp(20px,16.68px + 0.833vw,30px) + 1px);
}
.stacked.img-shadow > :nth-child(1) {
    border: 1px solid var(--color-mlg1);
    translate: clamp(20px,16.68px + 0.833vw,30px) clamp(20px,16.68px + 0.833vw,30px);
}

ol {
    counter-reset: item;
    margin-left: 0;
    padding-left: 0;
}

ol li {
    counter-increment: item;
    display: flex;
    align-items: flex-start;
}

ol li::before {
    content: counter(item) ".";
    text-align: right;
    margin-right: 0.5em;
    flex-shrink: 0;
}

/* ===== GRID FLEX TABLE ===== */

.grid {
	display: grid;
	grid-template-columns: 1fr var(--screen-padding) repeat(12, minmax(0, 120px)) var(--screen-padding) 1fr;
}

.grid > * {
	z-index: 1;
	min-width: 0;
	min-height: 0;
}

.flex {
	display: flex;
	align-items: center;
	column-gap: 20px;
    row-gap: 7px;
}

.stacked { display: grid; overflow: hidden; }
.stacked > * { grid-area: 1 / 1 / -1 / -1; z-index: 1; }
.stacked > *:not(:last-child) { min-height: 100%; height: 0; }
.st-label { place-self: end start; border: 1px solid #aaaaaa; margin-left: 5px; margin-bottom: 5px; padding: 2px 4px; background-color: color-mix(in srgb, var(--color-mlg3), transparent 10%); color: #ffffff; font-size: .7rem; }


table {
	width: fit-content;
}

table tr > * {
	text-align: left;
	vertical-align: middle;
	padding: 0px 25px 3px 0px;
}

table tr > *:last-child {
	padding-right: 0;
}

table th { 
	font-weight: 700;
	font-size: .75rem;
}

table.border tr > * { border: 1px solid #dddddd; padding: 7px 14px 7px 9px; }
table.border tr.noborder > * { border: 0; }
table.border tr > *.noborder { border: 0; }
table.border tr > *.noborder-right { border-right: 0; }
table.border tr > *.noborder-right + * { border-left: 0; }

/* -- */ 

.sg-footer {
    grid-template-columns: auto 1fr;
    align-items: start; 
}
.sg-footer > :nth-child(1){
    grid-column: 1;
    grid-row: 1 / 3;
}
.sg-footer > :nth-child(2){
    grid-column: 2;
    grid-row: 1;
    text-align: end;
}

.sg-footer > :nth-child(3){
    grid-column: 2;
    grid-row: 2;
    text-align: end;
}

@media (width < 900px){
    .sg-footer > :nth-child(1){
        grid-row: 1;
    }
    .sg-footer > :nth-child(3){
        grid-column: 1 / 3;
        text-align: start;
    }
    .sg-footer > :nth-child(3) > :nth-child(2){
        justify-content: start;
    }
}

@media (width < 600px){
    .sg-footer {
        grid-template-columns: 1fr;
        align-items: start; 
    }
    .sg-footer > :nth-child(1) > :nth-child(2){
        flex-wrap: wrap;
    }
    .sg-footer > :nth-child(2){
        grid-column: 1;
        grid-row: 2;
        text-align: start;
    }
    .sg-footer > :nth-child(2) > :nth-child(2){
        justify-content: start;
    }
    .sg-footer > :nth-child(3){
        grid-column: 1;
        grid-row: 3;
    }
}

/* -- */ 
.sg-prijzenfotografie {
    grid-template-columns: 1fr 1fr 1fr;
}

.sg-prijzenfotografie > :nth-child(3) {
    align-self: center;
}

@media (width < 800px){
    .sg-prijzenfotografie {
        grid-template-columns: auto 1fr;
    }
    .sg-prijzenfotografie > :nth-child(2) {
        grid-column: 1;
    }
    .sg-prijzenfotografie > :nth-child(3) {
        grid-column: 2;
        grid-row: 1 / 3;
    }
}

@media (width < 600px){
    .sg-prijzenfotografie {
        grid-template-columns: 1fr 1fr;
    }
    .sg-prijzenfotografie > :nth-child(2) {
        grid-column: 2;
    }
    .sg-prijzenfotografie > :nth-child(3) {
        grid-column: 1 / 3;
        grid-row: 2;
    }
}

@media (width < 500px){
    .sg-prijzenfotografie {
        grid-template-columns: 1fr;
    }
    .sg-prijzenfotografie > :nth-child(2) {
        grid-column: unset;
    }
    .sg-prijzenfotografie > :nth-child(3) {
        grid-column: unset;
        grid-row: unset;
    }
}

/* -- */ 

.sg-prijzenalbums {
    grid-template-columns: 1fr 1fr 1fr;
}

.sg-prijzenalbums > :nth-child(3) {
    align-self: center;
}

@media (width < 700px){
    .sg-prijzenalbums {
        grid-template-columns: 1fr 1fr;
    }
    .sg-prijzenalbums > :nth-child(2) {
        grid-column: 1;
    }
    .sg-prijzenalbums > :nth-child(3) {
        grid-column: 2;
        grid-row: 1 / 3;
    }
}

@media (width < 600px){
    .sg-prijzenalbums {
        grid-template-columns: 1fr 1fr;
    }
    .sg-prijzenalbums > :nth-child(2) {
        grid-column: 2;
    }
    .sg-prijzenalbums > :nth-child(3) {
        grid-column: 1 / 3;
        grid-row: 2;
    }
}

@media (width < 500px){
    .sg-prijzenalbums {
        grid-template-columns: 1fr;
    }
    .sg-prijzenalbums > :nth-child(2) {
        grid-column: unset;
    }
    .sg-prijzenalbums > :nth-child(3) {
        grid-column: unset;
        grid-row: unset;
    }
}

/* ===== EINDE GRID FLEX TABLE ===== */
/* ===== TEMPLATE LAYOUT ===== */


.template-header {
    grid-template-rows: calc(var(--screen-padding) * 2) 1fr calc(var(--screen-padding) * 2);
}
.template-header > :nth-child(1){
    grid-area: 1 / 1 / -1 / -1;
    height: 50svh;
}
.template-header > :nth-child(2) { 
    grid-area: 3 / 3 / -3 / -3; 
    place-self: center; 
}
.template-header.headermain > :nth-child(1) { height: 75svh; }
.template-header.headermain > :nth-child(2) { place-self: center start; }
.template-header.banner > :nth-child(1) { height: unset; contain: size; }
.template-header.banner > :nth-child(2) { place-self: center start; }
@media (width < 600px){
    .template-header.banner > :nth-child(2) { place-self: center; text-align: center;}  
}

.template-voordeliefde { grid-template-rows: 50px 50px auto 50px 50px; }
.template-voordeliefde > :nth-child(1) { grid-column: 1 / -1; grid-row: 2 / -1; }
.template-voordeliefde > :nth-child(2) { grid-column: 2 / 11; grid-row: 1 / 5; contain: size; }
.template-voordeliefde > :nth-child(3) { grid-column: 9 / 14; grid-row: 3 / 4; background-color: white; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); border-radius: 20px; }
@media (width < 1000px){
    .template-voordeliefde > :nth-child(3) { grid-column: 7 / 14; }  
}
@media (width < 700px){
    .template-voordeliefde { grid-template-rows: 150px 50px auto 50px; }
    .template-voordeliefde > :nth-child(1) { grid-column: 1 / -1; grid-row: 2 / 4; }
    .template-voordeliefde > :nth-child(2) { grid-column: 2 / -2; grid-row: 1 / 3; }
    .template-voordeliefde > :nth-child(3) { grid-column: 4 / -4; grid-row: 2 / 5; }
}
@media (width < 400px){
    .template-voordeliefde > :nth-child(3){ grid-column: 3 / -3; }
}

.template-blogoverzicht { gap: 20px; background-color: #ffffff;  border: 1px solid #e7e7e7; border-radius: 20px; overflow: hidden;  }
.template-blogoverzicht > :nth-child(1) { aspect-ratio: 3 / 2; }
.template-blogoverzicht > :nth-child(2) { place-self: center; }

.template-referenties { position: relative; margin-left: 35px; margin-top: 35px; }
.template-referenties > :nth-child(1) { position: absolute; top: -30px; left: -30px; width: 150px; height: 150px; border-radius: 50%; }
.template-referenties > :nth-child(2) { background-color: var(--color-softgrey); padding: 40px; border-bottom-right-radius: 50px; }
.template-referenties > :nth-child(2)::before { content: ""; float: left; width: 150px; height: 150px; shape-outside: circle(50% at 5px 5px); shape-margin: 25px; }


.template-awardwinnendefotografie > :nth-child(1) { grid-column: 1 / -1; grid-row: 2 / 4; }
.template-awardwinnendefotografie > :nth-child(2) { grid-column: 5 / -5; grid-row: 1 / 3; border-bottom-right-radius: 50px; border-top-left-radius: 50px; overflow: hidden; }
.template-awardwinnendefotografie > :nth-child(3) { grid-column: 3 / -3; grid-row: 3 / 4; }
@media (width < 1300px){
    .template-awardwinnendefotografie > :nth-child(2) { grid-column: 4 / -4; }  
}
@media (width < 500px){
    .template-awardwinnendefotografie > :nth-child(2) { grid-column: 3 / -3; }  
}

/* ===== EINDE TEMPLATE LAYOUT ===== */
/* ===== CMS ===== */

.grid.cms {
	grid-template-columns: auto 1fr;
    & > :nth-child(1){
		grid-column: 1;
		grid-row: 1;
		transition: grid-template-columns .3s;
		display: grid;
		grid-template-columns: 1fr;
		height: 100dvh;
		overflow-y: auto;
		overflow-x: hidden;
		background-color: var(--color-mlg3);
		& > div {
			min-width: 0;
			padding: 15px 3px;
			display: flex;
			flex-direction: column;
			row-gap: 8px;
			& > div {
				padding-inline: 5px;
				& a {
					text-decoration: none;
					display: block;
					border: 1px solid transparent;
					border-radius: 7px;
					background-color: transparent;
					padding: 6px 7px;
					cursor: pointer;
					&:hover, &.selected { 
						background-color: color-mix(in srgb, var(--color-mlg1), transparent 60%);
						border: 1px solid var(--color-mlg1);
					}
				}
				& [data-cmsmenu-dropdown]{
					display: grid;
					grid-template-rows: 1fr;
					overflow: hidden;
					transition: grid-template-rows .3s;
					& > :nth-child(1){
						min-height: 0;
						display: grid;
						grid-template-columns: 1fr;
						row-gap: 10px;
						padding-left: 12px;
						justify-items: start;
						& > :nth-child(1){
							margin-top: 10px;
						}
					}
					&[data-cmsmenu-dropdown="closed"]{
						grid-template-rows: 0fr; 
					}
				}
				&:has([data-cmsmenu-dropdown="open"]) [data-cmsmenu-dropdownindicator]{ 
					transition: rotate .3s; rotate: 180deg;
				}
			}
		}
    }
 	& > :nth-child(2){
		display: none;
	}
    & > :nth-child(3){
		scrollbar-gutter: stable;
		grid-column: 2;
		grid-row: 1;
		padding: 20px clamp(20px,16.68px + 0.833vw,30px) 50px clamp(20px,16.68px + 0.833vw,30px);
        height: 100dvh;
		overflow-y: auto;
		max-width: 2200px;
    }
	
	&[data-menustatus="closed"]{
    	& > :nth-child(1){
			grid-template-columns: 0fr;
			overflow-y: hidden;
		}
		& > :nth-child(2){
			display: unset;
			grid-column: 2;
			grid-row: 1;
			z-index: 99999;
			align-self: start;
			justify-self: start;
			height: auto;
			background-color: var(--color-mlg3);
			padding: 5px 0;
			margin-top: 5px;
			border-top-right-radius: 7px;
			border-bottom-right-radius: 7px;
			& img {
				rotate: 270deg;
				translate: -3px;
			}
		}
        & > :nth-child(3){
		    padding-left: 50px;
        }
	}
}

.cms-inlogpaginas-overzicht {
	grid-template-columns: repeat(7,auto) 1fr;
	& > div {
		border: 1px solid hsl(0,0%,80%);
		padding: 10px;
		grid-column: 1 / -1;
		grid-template-columns: subgrid;
		grid-auto-flow: column;
		row-gap: 8px;
		& > div {
			grid-row: 1;
		}
		& >:nth-child(1), & >:nth-child(2) {
			grid-row: span 2;
		}
		& >:last-child {
			grid-column: 3 / -1;
			grid-row: 2;
		}
	}
	& >:nth-child(1) {
		border: none;
		padding-block: 0;
	}
}

.cms-inlogpaginas-acties {
	grid-template-columns: repeat(4,auto) 1fr;
	& > div {
		border: 1px solid hsl(0,0%,80%);
		padding: 10px;
		grid-column: 1 / -1;
		grid-template-columns: subgrid;
		grid-auto-flow: column;
		row-gap: 8px;
	}
}


/* ===== EINDE CMS ===== */
/* ===== KNOPPEN EN LINKS ===== */

button {
	--button-bgcolor: var(--color-mlg2);
	font-size: .9rem;
	color: hsl(0,0%,100%);
	border-radius: 6px;
	border: 2px solid color-mix(in srgb, var(--button-bgcolor), black 5%);
	padding: 6px 15px;
	background-color: var(--button-bgcolor);
}

button.mlg2 { --button-bgcolor: var(--color-mlg5); }
button.jmo1 { --button-bgcolor: var(--color-jmo1); }
button.jmo2 { --button-bgcolor: var(--color-jmo2); }
button.bfi1 { --button-bgcolor: var(--color-bfi1); }
button.hma1 { --button-bgcolor: var(--color-hma1); }
button.green { --button-bgcolor: var(--color-green); }
button.red { --button-bgcolor: var(--color-red); }
button.grey { --button-bgcolor: hsl(0,0%,70%); }
button.white { 
    --button-bgcolor: hsl(0,100%,100%); 
    color: hsl(0,0%,0%);
    &::after{
        filter: brightness(0) !important;
    }
}
button.transwhite { --button-bgcolor: transparent; border: 2px solid hsl(0,0%,100%); color: hsl(0,0%,100%); }

button.large {
	font-size: 1.2rem;
	padding: 8px 20px;
}

button.small {
	font-size: .8rem;
	padding: 4px 10px;
}

button.extra-small {
	font-size: .6rem;
	padding: 2px 5px;
}

button.invisible {
	padding: 0;
	color: initial;
	background: none;
	border: 0;
}

button.invisible.withborder {
	border: 2px solid hsl(0,0%,80%);
	padding: 3px 9px 3px 7px;
	&:hover {
		background-color: hsl(0,0%,95%);
	}
}

button:not(.invisible):hover {
	filter: brightness(1.15);
	transition: filter .2s, border .2s;
}

button.white:hover {
	filter: brightness(.85);
}

button.transwhite:hover {
	background-color: white;
    color: black;
	transition: background-color .2s, color .2s;
    &::after{
        filter: brightness(0);
    }
}

button > img { max-width: unset; }

button.cms-menu-item {
	border: 1px solid transparent;
	background-color: transparent;
	&:hover, &.selected { 
		background-color: color-mix(in srgb, var(--color-mlg1), transparent 50%);
		border: 1px solid var(--color-mlg1);
		filter: unset;
	}
}

a:not(:has(button,img)){
    color: var(--color-mlg5);
    text-decoration: none;
    position: relative;
    transition: color .2s, background-color .2s;
    display: inline-flex;
    align-items: center;
    &::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: .1rem; /* this pulls the underline closer than default */
        width: 100%;
        height: 1px;
        background-color: color-mix(in srgb, var(--color-mlg5), transparent 60%);
        transition: background-color 0.2s, bottom 0.2s ease;
    }
    &::after{
        flex-shrink: 0;
        content: "";
        filter: var(--color-mlg5-filter);
        background-image: var(--chevron-img);
        background-size: 100% 100%;
        height: 1em;
        width: 1em;
        transition: filter 0.2s;
    }
	&:hover {
        color: var(--color-mlg3);
        border-color: transparent;
        &::before {
            background-color: transparent;
            bottom: -.5rem;
        }
        &::after{
            filter: var(--color-mlg3-filter);
        }
	}
}

a.no-decoration {
    text-decoration: none;
    &::before { all: unset; }
    &::after { all: unset; }
}

a:not(.no-decoration) button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    &::after{
        flex-shrink: 0;
        content: "";
        background-image: var(--chevron-img);
        background-size: 100% 100%;
        height: 1em;
        width: 1em;
        filter: brightness(0) invert(1);
    }
}

a.white {
    color: #ffffff;
    &::before{
        background-color: white;
    }
    &::after{
        filter: brightness(0) invert(1);
    }
	&:hover {
        color: #cccccc;
        &::after{
            filter: brightness(0) invert(.8);
        }
	}
}


/* ===== EINDE KNOPPEN EN LINKS ===== */
/* ===== NAVIGATIEBALK ===== */

	nav { 
        transition: background-color 0.2s linear, opacity 0.1s linear; 
        padding-top: 8px; 
        padding-bottom: 9px; 
        position: sticky; 
        left: 0; top: 0; right: 0; 
        z-index: 99999; 
        background-color: #ffffff; 
        box-shadow: 0 8px 6px -6px rgba(0,0,0,0.2); 
        color: var(--color-mlg3);
        font-size: 1.2rem;
    }
	
    @media not all and (pointer: coarse) {
		nav { opacity: 0.95; }
		nav:hover { opacity: 1; }
	}

    nav > div > :nth-child(2) a {
        white-space: nowrap;
        color: #555555; 
    }

    nav > div > :nth-child(2).mlg a:hover { color: var(--color-mlg6); }
    nav > div > :nth-child(2).jmo a:hover { color: var(--color-jmo2); }
    nav > div > :nth-child(2).bfi a:hover { color: var(--color-bfi2); }
    nav > div > :nth-child(2).hma a:hover { color: var(--color-hma2); }

    nav > div > :nth-child(2) a::before { all: unset; }
    nav > div > :nth-child(2) a::after { all: unset; }

	nav > div > :nth-child(2) .nav-dropdown { 
        position: relative; display: inline-block; 
    }

	nav > div > :nth-child(2) .nav-dropdown div { 
        display: none; 
        opacity: 0; 
        position: absolute; 
        padding: 6px; 
        background-color: #ffffff; 
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
        z-index: 2; 
    }
	nav > div > :nth-child(2) .nav-dropdown.nav-dropdown-last div { 
        right: 0; 
    }
	nav > div > :nth-child(2) .nav-dropdown:hover div { 
		transition: opacity 0.2s; 
        display: block; 
        opacity: 1; 
        transition-behavior: allow-discrete;
		@starting-style { opacity: 0; }	
	}
	nav > div > :nth-child(2) .nav-dropdown div a { 
        padding: 9px 15px;
    }


    #nav-xs, #nav-sm, #nav-md, #nav-lg, #nav-xl, #nav-xxl { display: none; }
    @media (width > 1400px){ #nav-xxl { display: flex; } }
    @media (1200px < width <= 1400px){ #nav-xl { display: flex; } }
    @media (1000px < width <= 1200px){ #nav-lg { display: flex; } }
    @media (800px < width <= 1000px){ #nav-md { display: flex; } }
    @media (600px < width <= 800px){ #nav-sm { display: flex; } }
    @media (width <= 600px){ #nav-xs { display: flex; } }
	

	nav.transparent { background-color: rgba(0,0,0,0.2); box-shadow: none; }
	nav.transparent * { color: #eeeeee; }
	nav.transparent .nav-dropdown div { background-color: rgba(0,0,0,0.2); }
	nav.transparent img { filter: brightness(0) saturate(100%) invert(100%); }

/* ===== EINDE NAVIGATIEBALK ===== */
/* ===== INPUTS ===== */


input, textarea, select {
	font-size: .9rem;
	padding: 8px;
	border: 1px solid var(--color-mlg3);
	border-radius: 5px;
	width: 100%;
	&.jmo { border-color: var(--color-jmo1); }
	&.bfi { border-color: var(--color-bfi1); }
	&.hma { border-color: var(--color-hma1); }
	&:focus { border-color: var(--color-mlg2); box-shadow: 0 0 5px color-mix(in srgb, var(--color-mlg1), transparent 50%); }
}

textarea { 
	min-height: 300px; 
}

input[type="radio"], input[type="checkbox"] { 
	padding: 0;
	width: clamp(17px,14.33px + 0.667vw,25px);
	height: clamp(17px,14.33px + 0.667vw,25px);
	appearance: none;
	cursor: pointer;
}

input[type="radio"] {
	border-radius: 50%;
}

input[type="checkbox"]:checked {
  	background-size: 60%;
	background-position: center;
	background-repeat: no-repeat;
	background-image: var(--vinkje-img);
	filter: var(--color-mlg3-filter);
	&.jmo { filter: var(--color-jmo1-filter); }
	&.bfi { filter: var(--color-bfi1-filter); }
	&.hma { filter: var(--color-hma1-filter); }
}

input[type="radio"]:checked {
  	background: radial-gradient(ellipse at center, var(--color-mlg3) 50%, white 40%);
	&.jmo { background: radial-gradient(ellipse at center, var(--color-jmo1) 50%, white 40%); }
	&.bfi { background: radial-gradient(ellipse at center, var(--color-bfi1) 50%, white 40%); }
	&.hma { background: radial-gradient(ellipse at center, var(--color-hma1) 50%, white 40%); }
}

input.small, textarea.small, select.small {
	font-size: .7rem;
	padding: 4px 5px;
}

input.agenda {
    border-color: var(--color-mlg1);
    padding: 4px 6px;
}

input.size-25 {
	width: clamp(17px,14.33px + 0.667vw,25px);
	height: clamp(17px,14.33px + 0.667vw,25px);
}

.input-label {
	display: block;
	font-size: 0.85rem;
	color: var(--color-mlg3);
	margin-bottom: 7px;
}

.input-error {
	font-size: 0.8rem;
	color: var(--color-red);
	margin-top: 5px;
}

.input-success {
	font-size: 0.8rem;
	color: var(--color-green);
	margin-top: 5px;
}

.input-info {
	font-size: 0.8rem;
	color: var(--color-mlg3);
	margin-top: 5px;
}

@property --bg-angle { inherits: false;	initial-value: 0deg; syntax: "<angle>"; }
.opslaan-wachten {
	animation: spin 2s infinite linear;
	background:
		linear-gradient(to bottom, #ffffff, #ffffff) padding-box,
		conic-gradient(from var(--bg-angle), transparent, red, transparent, transparent, transparent, transparent) border-box;
	border-color: transparent !important;
}
.opgeslagen {
	border-color: hsl(120, 100%, 38%) !important;
	animation: flashgreen .3s ease-in 1 !important;
}
@keyframes spin { to { --bg-angle: 360deg; } }
@keyframes flashgreen {
	from { box-shadow: 0 0 10px hsl(120, 100%, 38%); }
	to { box-shadow: 0 0 0px hsl(120, 100%, 38%); }
}

/* ===== EINDE INPUTS ===== */
/* ===== INFORMATIE POPUP ===== */


.informatie-popup { 
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	translate: 0 0;
	background-color: var(--color-jmo1);
	z-index: 999;
	padding: 15px 25px;
	transition: translate .2s;
}

.informatie-popup:empty { 
	translate: 0 100%;
}


/* ===== EINDE INFORMATIE POPUP ===== */
/* ===== MODAL DIALOG ===== */

dialog, dialog:active, dialog:enabled {
	overscroll-behavior: contain;
	width: clamp(500px, 90dvw, 1300px);
	outline: 0;
	border: 0;
	padding: 2rem;
	border-radius: 14px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.3);
	position: fixed;
	place-self: center;
}

dialog::backdrop {
	backdrop-filter: blur(2px);
	background-color: color-mix(in srgb, var(--color-mlg1), transparent 75%);
}

/* ===== EINDE MODAL DIALOG ===== */
/* ===== DROPZONE ===== */

@keyframes passing-through {
	0% { opacity: 0; transform: translateY(40px); }
	30%, 70% { opacity: 1; transform: translateY(0px); }
	100% { opacity: 0; transform: translateY(-40px); }
}

@keyframes slide-in {
  	0% { opacity: 0; transform: translateY(40px); }
  	30% { opacity: 1; transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  10% { transform: scale(1.1); }
  20% { transform: scale(1); }
}

.dropzone, .dropzone * { box-sizing: border-box; }
.dropzone { border: 2px solid rgba(0, 0, 0, 0.3); background: color-mix(in srgb, var(--color-mlg1), transparent 75%);  padding: 5px; border-radius: 10px; }
.dropzone.dz-clickable { cursor: pointer; }
.dropzone.dz-clickable * { cursor: default; }
.dropzone.dz-clickable .dz-message, .dropzone.dz-clickable .dz-message * { cursor: pointer; }
.dropzone.dz-started .dz-message { display: none; }
.dropzone.dz-drag-hover { border-style: solid; }
.dropzone.dz-drag-hover .dz-message { opacity: 0.5; }
.dropzone .dz-message { text-align: center; margin: 2em 0; font-weight: bold; color: var(--color-mlg4);}
.dropzone .dz-message .dz-button { background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit; }
.dropzone .dz-preview { position: relative; display: inline-block; vertical-align: top; margin: 16px; min-height: 100px; }
.dropzone .dz-preview:hover { z-index: 1000; }
.dropzone .dz-preview:hover .dz-details { opacity: 1; }
.dropzone .dz-preview.dz-file-preview .dz-image { border-radius: 20px; background: #999; background: linear-gradient(to bottom, #eee, #ddd); }
.dropzone .dz-preview.dz-file-preview .dz-details { opacity: 1; }
.dropzone .dz-preview.dz-image-preview { background: transparent; }
.dropzone .dz-preview.dz-image-preview .dz-details { transition: opacity 0.2s linear; }
.dropzone .dz-preview .dz-remove { font-size: 14px; text-align: center; display: block; cursor: pointer; border: none; }
.dropzone .dz-preview .dz-remove:hover { text-decoration: underline; }
.dropzone .dz-preview:hover .dz-details { opacity: 1; }
.dropzone .dz-preview .dz-details { z-index: 20; position: absolute; top: 0; left: 0; opacity: 0; font-size: 13px; min-width: 100%; max-width: 100%; padding: 2em 1em; text-align: center; color: rgba(0, 0, 0, 0.9); line-height: 150%; }
.dropzone .dz-preview .dz-details .dz-size { margin-bottom: 1em; font-size: 16px; }
.dropzone .dz-preview .dz-details .dz-filename { white-space: nowrap; }
.dropzone .dz-preview .dz-details .dz-filename:hover span { border: 1px solid rgba(200, 200, 200, 0.8); background-color: rgba(255, 255, 255, 0.8); }
.dropzone .dz-preview .dz-details .dz-filename:not(:hover) { overflow: hidden; text-overflow: ellipsis; }
.dropzone .dz-preview .dz-details .dz-filename:not(:hover) span { border: 1px solid transparent; }
.dropzone .dz-preview .dz-details .dz-filename span, .dropzone .dz-preview .dz-details .dz-size span { background-color: rgba(255, 255, 255, 0.4); padding: 0 0.4em; border-radius: 3px; }
.dropzone .dz-preview:hover .dz-image img { transform: scale(1.05, 1.05); filter: blur(8px); }
.dropzone .dz-preview .dz-image { border-radius: 20px; overflow: hidden; width: 120px; height: 120px; position: relative; display: block; z-index: 10; }
.dropzone .dz-preview .dz-image img { display: block; }
.dropzone .dz-preview.dz-success .dz-success-mark { animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1); }
.dropzone .dz-preview.dz-error .dz-error-mark { opacity: 1; animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1); }
.dropzone .dz-preview .dz-success-mark, .dropzone .dz-preview .dz-error-mark { pointer-events: none; opacity: 0; z-index: 500; position: absolute; display: block; top: 50%; left: 50%; margin-left: -27px; margin-top: -27px; }
.dropzone .dz-preview .dz-success-mark svg, .dropzone .dz-preview .dz-error-mark svg { display: block; width: 54px; height: 54px; }
.dropzone .dz-preview.dz-processing .dz-progress { opacity: 1; transition: all 0.2s linear; }
.dropzone .dz-preview.dz-complete .dz-progress { opacity: 0; transition: opacity 0.4s ease-in; }
.dropzone .dz-preview:not(.dz-processing) .dz-progress { animation: pulse 6s ease infinite; }
.dropzone .dz-preview .dz-progress { opacity: 1; z-index: 1000; pointer-events: none; position: absolute; height: 16px; left: 50%; top: 50%; margin-top: -8px; width: 80px; margin-left: -40px; background: rgba(255, 255, 255, 0.9); transform: scale(1); border-radius: 8px; overflow: hidden; }
.dropzone .dz-preview .dz-progress .dz-upload { background: #333; background: linear-gradient(to bottom, var(--color-mlg1), var(--color-mlg3)); position: absolute; top: 0; left: 0; bottom: 0; width: 0; transition: width 300ms ease-in-out; }
.dropzone .dz-preview.dz-error .dz-error-message { display: block; }
.dropzone .dz-preview.dz-error:hover .dz-error-message { opacity: 1; pointer-events: auto; }
.dropzone .dz-preview .dz-error-message { pointer-events: none; z-index: 1000; position: absolute; display: block; display: none; opacity: 0; transition: opacity 0.3s ease; border-radius: 8px; font-size: 13px; top: 130px; left: -10px; width: 140px; background: #be2626; background: linear-gradient(to bottom, #be2626, #a92222); padding: 0.5em 1.2em; color: white; }
.dropzone .dz-preview .dz-error-message:after { content: ""; position: absolute; top: -6px; left: 64px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 6px solid #be2626; }


/* ===== KLEUREN ===== */

.fontcolor-mlg1 { color: var(--color-mlg1) !important; }
.fontcolor-mlg2 { color: var(--color-mlg2) !important; }
.fontcolor-mlg3 { color: var(--color-mlg3) !important; }
.fontcolor-mlg4 { color: var(--color-mlg4) !important; }
.fontcolor-mlg5 { color: var(--color-mlg5) !important; }
.fontcolor-mlg6 { color: var(--color-mlg6) !important; }
.fontcolor-jmo1 { color: var(--color-jmo1) !important; }
.fontcolor-jmo2 { color: var(--color-jmo2) !important; }
.fontcolor-bfi1 { color: var(--color-bfi1) !important; }
.fontcolor-bfi2 { color: var(--color-bfi2) !important; }
.fontcolor-hma1 { color: var(--color-hma1) !important; }
.fontcolor-hma2 { color: var(--color-hma2) !important; }
.fontcolor-green { color: var(--color-green) !important; }
.fontcolor-yellow { color: var(--color-yellow) !important; }
.fontcolor-red { color: var(--color-red) !important; }
.fontcolor-orange { color: var(--color-orange) !important; }
.fontcolor-blue { color: var(--color-blue) !important; }
.fontcolor-white { color: #ffffff !important; }

.imgcolor-mlg1 { filter: var(--color-mlg1-filter) !important; }
.imgcolor-mlg2 { filter: var(--color-mlg2-filter) !important; }
.imgcolor-mlg3 { filter: var(--color-mlg3-filter) !important; }
.imgcolor-mlg4 { filter: var(--color-mlg4-filter) !important; }
.imgcolor-mlg5 { filter: var(--color-mlg5-filter) !important; }
.imgcolor-mlg6 { filter: var(--color-mlg6-filter) !important; }
.imgcolor-jmo1 { filter: var(--color-jmo1-filter) !important; }
.imgcolor-jmo2 { filter: var(--color-jmo2-filter) !important; }
.imgcolor-bfi1 { filter: var(--color-bfi1-filter) !important; }
.imgcolor-bfi2 { filter: var(--color-bfi2-filter) !important; }
.imgcolor-hma1 { filter: var(--color-hma1-filter) !important; }
.imgcolor-hma2 { filter: var(--color-hma2-filter) !important; }
.imgcolor-white { filter: brightness(0) invert(1) !important; }
.imgcolor-green { filter: var(--color-green-filter) !important; }
.imgcolor-yellow { filter: var(--color-yellow-filter) !important; }
.imgcolor-red { filter: var(--color-red-filter) !important; }
.imgcolor-orange { filter: var(--color-orange-filter) !important; }
.imgcolor-blue { filter: var(--color-blue-filter) !important; }
.imgcolor-purple { filter: var(--color-purple-filter) !important; }
.imgcolor-disabled { filter: brightness(0) !important; opacity: .2  !important; }

.bgcolor-mlg1 { background-color: var(--color-mlg1) !important; }
.bgcolor-mlg2 { background-color: var(--color-mlg2) !important; }
.bgcolor-mlg3 { background-color: var(--color-mlg3) !important; }
.bgcolor-mlg4 { background-color: var(--color-mlg4) !important; }
.bgcolor-mlg5 { background-color: var(--color-mlg5) !important; }
.bgcolor-mlg6 { background-color: var(--color-mlg6) !important; }
.bgcolor-jmo1 { background-color: var(--color-jmo1) !important; }
.bgcolor-jmo2 { background-color: var(--color-jmo2) !important; }
.bgcolor-bfi1 { background-color: var(--color-bfi1) !important; }
.bgcolor-bfi2 { background-color: var(--color-bfi2) !important; }
.bgcolor-hma1 { background-color: var(--color-hma1) !important; }
.bgcolor-hma2 { background-color: var(--color-hma2) !important; }
.bgcolor-softgrey { background-color: var(--color-softgrey) !important; }
.bgcolor-softgreen { background-color: var(--color-softgreen) !important; }
.bgcolor-softred { background-color: var(--color-softred) !important; }
.bgcolor-softgreen-softred { background: linear-gradient(to right bottom,var(--color-softgreen) 50%,var(--color-softred) 51%) !important; }

.bgpattern-hearts { background: url('/resources/img/achtergronden/hearts.webp') repeat; }
.bgpattern-stripes-1 { background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E"); }
.bgpattern-stripes-3 { background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.3' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E"); }

/* ===== EINDE KLEUREN ===== */

/* ===== SALVATTORE MASONRY ===== */

[data-salvattore] { overflow: auto; }
@media screen and (max-width: 499px){ [data-salvattore]::before { content: '1 .column.size-1of1'; } }
@media screen and (min-width: 500px) and (max-width: 749px){ [data-salvattore]::before { content: '2 .column.size-1of2'; } }
@media screen and (min-width: 750px) and (max-width: 999px){ [data-salvattore]::before { content: '3 .column.size-1of3'; } }
@media screen and (min-width: 1000px) and (max-width: 1249px){ [data-salvattore]::before { content: '4 .column.size-1of4'; } }
@media screen and (min-width: 1250px) and (max-width: 1499px){ [data-salvattore]::before { content: '5 .column.size-1of5'; } }
@media screen and (min-width: 1500px){ [data-salvattore]::before { content: '6 .column.size-1of6'; } }

[data-salvattore] > .column { float: left; }
[data-salvattore] > .column > div { margin-bottom: 2px; position: relative; }
[data-salvattore] > .column > div [class*="label-"] { position: absolute; background-color: var(--bgcolor-white); border: 1px solid #000000; padding: 2px 5px; font-size: 0.65rem; max-width: calc(100% - 20px); }
[data-salvattore] > .column > div [class*="label-"].nb { border: 0; padding: 0; background-color: transparent; }
[data-salvattore] > .column > div .label-lt { left: 10px; top: 10px; }
[data-salvattore] > .column > div .label-rt { right: 10px; top: 10px; }
[data-salvattore] > .column > div .label-lb { left: 10px; bottom: 10px; }
[data-salvattore] > .column > div .label-rb { right: 10px; bottom: 10px; }
[data-salvattore] > .column > div .label-cc { left: 50%; top: 50%; transform: translate(-50%, -50%); }

[data-salvattore] > .size-1of1 { width: 100%; }
[data-salvattore] > .size-1of2 { width: calc(50% - 2px); margin-right: 2px; }
[data-salvattore] > .size-1of2:last-child { width: 50%; margin-right: 0; }
[data-salvattore] > .size-1of3 { width: calc(33.333% - 2px); margin-right: 2px; }
[data-salvattore] > .size-1of3:last-child { width: 33.333%; margin-right: 0; }
[data-salvattore] > .size-1of4 { width: calc(25% - 2px); margin-right: 2px; }
[data-salvattore] > .size-1of4:last-child { width: 25%; margin-right: 0; }
[data-salvattore] > .size-1of5 { width: calc(20% - 2px); margin-right: 2px; }
[data-salvattore] > .size-1of5:last-child { width: 20%; margin-right: 0; }
[data-salvattore] > .size-1of6 { width: calc(16.666% - 2px); margin-right: 2px; }
[data-salvattore] > .size-1of6:last-child { width: 16.666%; margin-right: 0; }

/* ===== EINDE SALVATTORE MASONRY ===== */

.boekhoud-kader {
    border: 1px solid var(--color-mlg1);
    border-radius: 10px;
    padding: 20px 30px 30px 30px;
    > :first-child {
        display: inline-block;
        translate: 0 calc(-50% - 20px);
        background-color: white;
        color: var(--color-mlg2);
        padding-inline: 15px;
    }
}

/* ===== PROGRESS BAR ===== */

progress { -webkit-appearance: none; appearance: none; width: 100%; height: 15px; }
progress[value]::-webkit-progress-bar { background-color: #eeeeee; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset; }
progress[value]::-webkit-progress-value { background-color: #2b8997; box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.25) inset; }

/* ===== EINDE PROGRESS BAR ===== */