html {
	font-size: clamp(12px,10px + 0.5vw,18px);
	font-family: var(--fontfamily1);
	color: var(--fontcolor-main);
    line-height: 1.5;
    letter-spacing: +.5px;
    scroll-behavior: smooth;
}

[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 {
    text-transform: uppercase;
	font-size: 1rem;
	font-weight: 400;
    line-height: 1.2;
    font-family: var(--fontfamily2);
}

.fontfamily1 { font-family: var(--fontfamily1); }
.fontfamily2 { font-family: var(--fontfamily2); }
.fontfamily3 { font-family: var(--fontfamily3); }

hr { height: 0; border-top: 3px solid var(--color1); }

img.loading { 
    width: 100%; 
    max-width: clamp(40px,33.36px + 1.667vw,60px); 
    content: var(--loading-img);
    filter: var(--color1-filter);
}

img.nieuw { 
    width: 100%; 
    max-width: clamp(40px,33.36px + 1.667vw,60px); 
    content: var(--nieuw-img);
    filter: var(--color1-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(--color1);
    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(--color1), 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-overmij {
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto 1fr;
    gap: 80px;
    align-content: start;
}

.sg-overmij > :nth-child(1) {
    grid-column: 1;
    grid-row: span 2;
}

.sg-overmij > :nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.sg-overmij > :nth-child(3) {
    grid-column: 2; 
    grid-row: 2;
}

@media (width < 1000px) {
    .sg-overmij {
        grid-template-columns: 1fr 1fr;
    }
    
    .sg-overmij > :nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .sg-overmij > :nth-child(2) {
        grid-column: 2;
        grid-row: span 2;
    }

    .sg-overmij > :nth-child(3) {
        grid-column: 1; 
        grid-row: 2;
    }
}

@media (width < 700px) {
    .sg-overmij {
        grid-template-columns: 1fr;
    }

    .sg-overmij > :nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .sg-overmij > :nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .sg-overmij > :nth-child(3) {
        grid-column: 1; 
        grid-row: 3;
    }
}

/* -- */

.sg-diensten { 
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 40px; row-gap: 60px;
}

@media (width < 850px) {
    .sg-diensten { 
        grid-template-columns: 1fr 1fr;
    }

    .sg-diensten > :nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .sg-diensten > :nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .sg-diensten > :nth-child(3) {
        grid-column: span 2; 
        grid-row: 2;
    }
}

@media (width < 650px) {
    .sg-diensten { 
        grid-template-columns: 1fr;
    }

    .sg-diensten > :nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .sg-diensten > :nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .sg-diensten > :nth-child(3) {
        grid-column: 1; 
        grid-row: 3;
    }
}

/* -- */

.sf-contactgegevens > :nth-child(2) {
	display: none;
}

@container (width < 580px) {
    .sf-contactgegevens > :nth-child(1) {
        display: none;
    }
    .sf-contactgegevens > :nth-child(2) {
        display: unset;
    }

}

/* -- */

.sg-footer {
    grid-template-columns: auto 1fr;
    align-items: start; 
    gap: 80px;
}
.sg-footer > :nth-child(1){
    grid-template-columns: auto 1fr;
    gap: 40px;
}
.sg-footer > :nth-child(2){
    grid-template-columns: 1fr;
    gap: 60px;
    justify-self: end;
}

.sg-footer > :nth-child(1) > :nth-child(1){
    grid-column: 1;
    grid-row: 1;
    align-self: center;
}

.sg-footer > :nth-child(1) > :nth-child(2){
    grid-column: 2;
    grid-row: 1;
}

.sg-footer > :nth-child(2) > :nth-child(1){
    grid-column: 1;
    grid-row: 1;
}

.sg-footer > :nth-child(2) > :nth-child(2){
    grid-column: 1;
    grid-row: 2;
}

@media (width < 800px){
    .sg-footer {
        grid-template-columns: 1fr;
    }
    .sg-footer > :nth-child(1){
        justify-self: center;
    }
    .sg-footer > :nth-child(2){
        grid-template-columns: 1fr 1fr;
        justify-self: center;
        gap: 60px;
    }


    .sg-footer > :nth-child(2) > :nth-child(1){
        grid-column: 1;
        grid-row: 1;
    }

    .sg-footer > :nth-child(2) > :nth-child(2){
        grid-column: 2;
        grid-row: 1;
    }
}

@media (width < 450px){
    .sg-footer {
        grid-template-columns: 1fr;
    }
    .sg-footer > :nth-child(1){
        grid-template-columns: 1fr;
        justify-self: center;
    }
    .sg-footer > :nth-child(2){
        grid-template-columns: 1fr;
        justify-self: center;
        gap: 60px;
    }

    .sg-footer > :nth-child(1) > :nth-child(1){
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
    }

    .sg-footer > :nth-child(1) > :nth-child(2){
        grid-column: 1;
        grid-row: 2;
        text-align: center;
    }

}

@media (width < 350px){
    .sg-footer > :nth-child(2) > :nth-child(1){
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
    }

    .sg-footer > :nth-child(2) > :nth-child(2){
        grid-column: 1;
        grid-row: 2;
        text-align: center;
    }

}


/* ===== EINDE GRID FLEX TABLE ===== */

/* ===== 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(--color2);
		& > 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(--color1), transparent 60%);
						border: 1px solid var(--color1);
					}
				}
				& [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(--color2);
			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;
        }
	}
}

/* ===== EINDE CMS ===== */
/* ===== KNOPPEN EN LINKS ===== */

button {
	--button-bgcolor: var(--color1);
    font-family: var(--fontfamily2);
	color: hsl(0,0%,95%);
	border: 2px solid color-mix(in srgb, var(--button-bgcolor), black 5%);
	padding: 6px 15px;
	background-color: var(--button-bgcolor);
}

button.color2 { --button-bgcolor: var(--color2); }
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(--color1), transparent 50%);
		border: 1px solid var(--color1);
		filter: unset;
	}
}

a:not(:has(button,img)){
    color: var(--color1);
    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(--color1), transparent 60%);
        transition: background-color 0.2s, bottom 0.2s ease;
    }
    &::after{
        flex-shrink: 0;
        content: "";
        filter: var(--color1-filter);
        background-image: var(--chevron-img);
        background-size: 100% 100%;
        height: 1em;
        width: 1em;
        transition: filter 0.2s;
    }
	&:hover, &.selected {
        color: var(--color1) !important;
        border-color: transparent;
        &::before {
            background-color: transparent;
            bottom: -.5rem;
        }
        &::after{
            filter: var(--color1-filter);
        }
	}
}

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:not(.no-decoration) button.chevron-back {
    &::before {
        flex-shrink: 0;
        content: "";
        background-image: var(--chevron-img);
        transform: rotate(180deg);
        background-size: 100% 100%;
        height: 1em;
        width: 1em;
        filter: brightness(0) invert(1);
    }
    &::after { all: unset; }
}

a.no-decoration {
    text-decoration: none;
    color: inherit;
    &::before { all: unset; }
    &::after { all: unset; }
}

a.white {
    color: #ffffff;
    &::before{
        background-color: white;
    }
    &::after{
        filter: brightness(0) invert(1);
    }
	&:hover {
        &::after{
            filter: brightness(0) invert(.8);
        }
	}
}


/* ===== EINDE KNOPPEN EN LINKS ===== */
/* ===== NAVIGATIEBALK ===== */

nav { position: sticky; top: 0; z-index: 9999; }
/* geen punten voor een list item */
ul[data-menu], ul[data-menu] ul { list-style-type: none; padding: 0; }

/* hoofdmenu item */
ul[data-menu] > li { position: relative; }
/* submenu container */
ul[data-menu] > li > ul {
	position: absolute;
	top: 100%;
	left: 50%;
    transform: translateX(-50%);
	visibility: hidden;
    z-index: 999999;
    padding: 20px 15px;
}
/* submenu items */
ul[data-menu] ul > li {
	display: block;
}

/* alle links */
nav ul a {
    display: block;
}

/* open submenu bij hover */
ul[data-menu] > li:hover > ul { visibility: visible; }
/* open submenu bij js click */
ul[data-menu] ul[data-open="true"] { visibility: visible; }

nav ul[data-menu] > li:nth-child(8) > ul > li { display: none; }  
@media (width >= 1450px){ 
    nav ul[data-menu] > li:nth-child(8) { display: none; }
    nav ul[data-menu] > li:nth-child(7) > img { display: none; }
}
@media (width < 1450px){
    nav ul[data-menu] > li:nth-child(1) { display: none; }
    nav ul[data-menu] > li:nth-child(2) { display: none; }
    nav ul[data-menu] > li:nth-child(4) { display: none; }
    nav ul[data-menu] > li:nth-child(8) > ul > li:nth-child(1) { display: block; }    
    nav ul[data-menu] > li:nth-child(8) > ul > li:nth-child(2) { display: block; }    
    nav ul[data-menu] > li:nth-child(8) > ul > li:nth-child(4) { display: block; }    

}
@media (width < 1200px){
    nav ul[data-menu] > li:nth-child(6) { display: none; }
    nav ul[data-menu] > li:nth-child(7) { display: none; }
    nav ul[data-menu] > li:nth-child(8) > ul > li:nth-child(6) { display: block; }    
    nav ul[data-menu] > li:nth-child(8) > ul > li:nth-child(7) { display: block; }    
}
@media (width < 850px){
    nav ul[data-menu] > li:nth-child(3) { display: none; }
    nav ul[data-menu] > li:nth-child(5) { display: none; }
    nav ul[data-menu] > li:nth-child(8) > ul > li:nth-child(3) { display: block; }    
    nav ul[data-menu] > li:nth-child(8) > ul > li:nth-child(5) { display: block; }    
}
@media (width < 550px){
    nav ul[data-menu] > li:nth-child(8) > ul > li:nth-child(8) { display: block; }    
    nav > div > div > div:last-child { display: none; }
    ul[data-menu] > li > ul {
        left: auto !important;
        right: 0 !important;
        transform: unset;
    }
    ul[data-menu] > li > ul > * {
        text-align: right;
    }
}

/* ===== EINDE NAVIGATIEBALK ===== */
/* ===== INPUTS ===== */

/* For autofill: force transparent background */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--color1) inset;
  -webkit-text-fill-color: #000000;
}

/* Also handle hover, focus, active states */
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--color1) inset;
  -webkit-text-fill-color: #000000;
}

input, textarea, select {
    color: #000000;
	padding: 15px;
	border: 1px solid var(--color2);
	width: 100%;
    background-color: transparent;
	&:focus { box-shadow: 0 0 5px color-mix(in srgb, var(--color1), 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(--color1-filter);
}

input[type="radio"]:checked {
  	background: radial-gradient(ellipse at center, var(--color1) 50%, white 40%);
}

input.small, textarea.small, select.small {
	font-size: .7rem;
	padding: 4px 5px;
}

input.agenda {
    border-color: var(--color1);
    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(--color2);
	margin-bottom: 7px;
    font-family: var(--fontfamily2);
}

.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(--color1);
	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(--color1);
	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(--color1), 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(--color1), 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(--color1);}
.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(--color1), var(--color2)); 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 ===== */

.fontcolor1 { color: var(--color1) !important; }
.fontcolor2 { color: var(--color2) !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: hsl(0, 0%, 100%) !important; }
.fontcolor-softwhite { color: hsl(0, 0%, 85%) !important; }

.imgcolor1 { filter: var(--color1-filter) !important; }
.imgcolor2 { filter: var(--color2-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; }

.bgcolor1 { background-color: var(--color1) !important; }
.bgcolor2 { background-color: var(--color2) !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-softorange { background-color: var(--color-softorange) !important; }
.bgcolor-softgreen-softred { background: linear-gradient(to right bottom,var(--color-softgreen) 50%,var(--color-softred) 51%) !important; }
.bgcolor-black-transparent { background: linear-gradient(to right,hsl(220, 60%, 1%) 30%,transparent) !important; }

.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"); }

.bgimage-wood { background: url('/resources/img/hout-textuur.webp') no-repeat; background-size: cover; }
.bgimage-wood2 { background: url('/resources/img/hout-textuur2.webp') no-repeat; background-size: cover; }
.bgimage-logo { background: url('/resources/img/logo-achtergrond.webp') no-repeat; background-size: cover; }

/* ===== 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(--color1);
    border-radius: 10px;
    padding: 20px 30px 30px 30px;
    > :first-child {
        display: inline-block;
        translate: 0 calc(-50% - 20px);
        background-color: white;
        color: var(--color2);
        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 ===== */

/* ===== SORTABLE ===== */
.sortable-draggable {
    border: 2px solid var(--color1);
    border-radius: 10px;
    padding: 30px;
    &:hover {
        border-color: var(--color2);
    }
}


/* ===== EINDE SORTABLE ===== */
