/*
	Theme Name: 	DM's Hello Elementor Child
	Theme URI: 		https://druktemaker.nl
	Description: 	Druktemaker's child-theme voor Elementor
	Author: 		Druktemaker
	Author URI: 	https://druktemaker.nl
	Template:		hello-elementor
	Version: 		1.0.0
	License: 		GNU General Public License v3 or later.
	License URI: 	https://www.gnu.org/licenses/gpl-3.0.html
	Tags:			
	Text Domain: 	hello-elementor-child
*/

/* .wesdev-checkbox-form {
	.elementor-field-group-stap1 {
		justify-content: center;
		.e-form__buttons {
			position: absolute;
			z-index: 99;
			bottom: 155px;
			left: 20px;
			width: calc(40% - 40px - 6px);
			.elementor-field-type-next {
				button {
					background-color: #fff!important;
					border: 2px solid #F66D5E!important;
					color: #F66D5E!important;
					transition: all 0.3s ease-in-out;
					&:hover {
						background-color: #DD4C3C!important;
						color: #fff!important
					}
				}
				&.active {
					button {
						color: #fff!important;
						background-color: #F66D5E!important;
						&:hover {
							background-color: #DD4C3C!important;
							color: #fff!important
						}
					}
				}
			}
		}
		@media screen and (max-width: 768px) {
			.e-form__buttons {
				position: absolute;
				z-index: 99;
				bottom: 30px;
				left: 20px;
				right: 20px;
				width: auto;
			}
		}
	}
	.elementor-field-group-stap2 {
		padding: 30px;
		@media screen and (min-width: 768px) {
			max-width: 75%;
			margin: 0 auto;
			background-color: rgba(255,255,255,0.8);
			padding: 30px;
			border-radius: 30px;
		}
		.e-form__buttons {
			margin-top: 15px;
			width: 100%;
		}
		.elementor-field-type-previous {
			display: none;
		}
	}
}

.wesdev-email-form {
	.elementor-form-fields-wrapper {
		@media screen and (min-width: 768px) {
			flex-wrap: nowrap;
			.elementor-field-type-submit {
				width: 40%;
			}
		}
	}
}

.checkbox-section {
	.checkbox-container {
		position: relative;
		margin-top: 15px;
		@media screen and (min-width: 768px) {
			margin-top: 60px;
		}
		& > h4 {
			display: none;
		}
		.checkbox-choices {
			display: flex;
			justify-content: space-between;
			@media screen and (max-width: 768px) {
				flex-wrap: wrap;
				margin-bottom: 30px;
			}
			.previous-step {
				text-decoration: underline;
				cursor: pointer;
			}
		}
		.checkbox-wrapper {
			width: calc(40% - 12px);
			border-radius: 15px;
			display: inline-flex;
			flex-direction: column;
			gap: 15px;
			padding: 20px;
			background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.9));
			position: absolute;
			left: 0;
			top: 30%;
			transform: translateY(-50%);
			z-index: 9;
			padding-bottom: 115px;
			h4 {
				text-align: center;
			}
		}
		.checkbox-holder {
			display: flex;
			gap: 15px;
			.checkbox {
				display: flex;
				flex-direction: column;
				align-items: flex-start;
				position: relative;
				padding: 40px 10px 10px 10px;
				background-color: var( --e-global-color-10100222 );
				width: 100%;
				border: 2px solid transparent;
				border-radius: 15px;
				transition: all 0.3s ease-in-out;
				cursor: pointer;
				box-shadow: 0;
				position: relative;
				width: 125px;
				@media screen and (min-width: 768px) {
					width: calc(100% / 3 - (30px / 3));
				}
				input, .checkedbox {
					position: absolute;
					top: 0;
					right: 0;
					bottom: 0;
					left: 0;
					appearance: none;
					cursor: pointer;
					z-index: 99;
					padding: 10px;
					&:before {
						content: '\2714';
						color: #fff;
						display: inline-flex;
						justify-content: center;
						align-items: center;
						width: 20px;
						height: 20px;
						border: 1px solid var( --e-global-color-text );
					}
				}
				.checkedbox {
					&:before {
						color: var(--e-global-color-b48afbd);
						border-color: var(--e-global-color-b48afbd);
					}
				}
				img {
					position: relative;
					top: -5px;
					margin-bottom: 10px;
					align-self: center;
					width: 30px;
					height: auto;
					pointer-events: none;
				}
				label, span {
					width: 100%;
					text-align: center;
					pointer-events: none;
					font-size: 11px;
					line-height: 1.2em;
				}
				&:hover {
					border: 2px solid var(--e-global-color-b48afbd);
					box-shadow: 0 0 10px rgba(0,0,0,0.4);
				}
				&.is-checked {
					border: 2px solid var(--e-global-color-b48afbd);
					box-shadow: 0 0 10px rgba(0,0,0,0);
					input {
						&:before {
							color: var(--e-global-color-b48afbd);
							border-color: var(--e-global-color-b48afbd);
						}
					}
				}
			}
			&.overview {
				flex-wrap: wrap;
				.checkbox {
					max-width: 125px;
					cursor: default!important;		
					
					&:hover {
						box-shadow: 0 0 0 rgba(0,0,0,0);
						border: 2px solid transparent;
					}
				}
			}
		}
		.checkbox-images {
			min-height: 600px;
			position: relative;
			z-index: 1;
			.checkbox-image {
				position: absolute;
				inset:0;
				opacity: 0;
				top: 0;
				bottom: 0;
				left: 20%;
				right: 0;
				border-radius: 30px;
				transition: all 0.3s ease-in-out;
				background-size: cover;
				&.default {
					opacity: 1;
					background-image: url('/wp-content/uploads/2025/05/planningstool.jpg');
					
				}
				&.visible {
					opacity: 1;
				}
			}
		}
		@media screen and (max-width: 768px) {
			display: flex;
			flex-wrap: wrap;
			flex-direction: column;
			& > h4 {
				display: block;
				order: -2;
                text-align: center;
			}
			.checkbox-wrapper {
				width: 100%;
                margin-top: -80px;
                position: relative;
                top: auto;
                transform: none;
                background-color: transparent;
				h4 {
					display: none;
				}
			}
			.checkbox-images {
				order: -1;
				width: 100%;
				min-height: 300px;
				&:after {
					content: '';
					position: absolute;
					top: 0;
					right: 0;
					bottom: 0;
					left: 0;
					background: linear-gradient(180deg, transparent, rgba(0,0,0,0.15));
					border-radius: 30px;
				}
				.checkbox-image {
					left: 0;
				}
			}
		}
	}
} */

/* ========== .wesdev-checkbox-form ========== */
.wesdev-checkbox-form .elementor-field-group-stap1 {
	justify-content: center;
}

.wesdev-checkbox-form .elementor-field-group-stap1 .e-form__buttons {
	position: absolute;
	z-index: 45;
	bottom: 155px;
	left: 20px;
	width: calc(40% - 40px - 6px);
}

.wesdev-checkbox-form .elementor-field-group-stap1 .e-form__buttons .elementor-field-type-next button {
	background-color: #fff !important;
	border: 2px solid #F66D5E !important;
	color: #F66D5E !important;
	transition: all 0.3s ease-in-out;
}

.wesdev-checkbox-form .elementor-field-group-stap1 .e-form__buttons .elementor-field-type-next button:hover {
	background-color: #DD4C3C !important;
	color: #fff !important;
}

.wesdev-checkbox-form .elementor-field-group-stap1 .e-form__buttons .elementor-field-type-next.active button {
	color: #fff !important;
	background-color: #F66D5E !important;
}

.wesdev-checkbox-form .elementor-field-group-stap1 .e-form__buttons .elementor-field-type-next.active button:hover {
	background-color: #DD4C3C !important;
	color: #fff !important;
}

@media screen and (max-width: 768px) {
	.wesdev-checkbox-form .elementor-field-group-stap1 .e-form__buttons {
		position: absolute;
		z-index: 99;
		bottom: 30px;
		left: 20px;
		right: 20px;
		width: auto;
	}
}

.wesdev-checkbox-form .elementor-field-group-stap2 {
	padding: 30px;
}

@media screen and (min-width: 768px) {
	.wesdev-checkbox-form .elementor-field-group-stap2 {
		max-width: 75%;
		margin: 0 auto;
		background-color: rgba(255, 255, 255, 0.8);
		padding: 30px;
		border-radius: 30px;
	}
}

.wesdev-checkbox-form .elementor-field-group-stap2 .e-form__buttons {
	margin-top: 15px;
	width: 100%;
}

.wesdev-checkbox-form .elementor-field-group-stap2 .elementor-field-type-previous {
	display: none;
}

/* ========== .wesdev-email-form ========== */
@media screen and (min-width: 768px) {
	.wesdev-email-form .elementor-form-fields-wrapper {
		flex-wrap: nowrap;
	}
	.wesdev-email-form .elementor-form-fields-wrapper .elementor-field-type-submit {
		width: 40%;
	}
}

/* ========== .checkbox-section ========== */
.checkbox-section .checkbox-container {
	position: relative;
	margin-top: 15px;
}

@media screen and (min-width: 768px) {
	.checkbox-section .checkbox-container {
		margin-top: 60px;
	}
}

.checkbox-section .checkbox-container > h4 {
	display: none;
}

.checkbox-section .checkbox-container .checkbox-choices {
	display: flex;
	justify-content: space-between;
}

@media screen and (max-width: 768px) {
	.checkbox-section .checkbox-container .checkbox-choices {
		flex-wrap: wrap;
		margin-bottom: 30px;
	}
}

.checkbox-section .checkbox-container .checkbox-choices .previous-step {
	text-decoration: underline;
	cursor: pointer;
}

/* --- Checkbox wrapper (sidebar) --- */
.checkbox-section .checkbox-container .checkbox-wrapper {
	width: calc(40% - 12px);
	border-radius: 15px;
	display: inline-flex;
	flex-direction: column;
	gap: 15px;
	padding: 20px;
	background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.9));
	position: absolute;
	left: 0;
	top: 30%;
	transform: translateY(-50%);
	z-index: 9;
	padding-bottom: 100px;
}

.checkbox-section .checkbox-container .checkbox-wrapper h4 {
	text-align: center;
}

/* --- Checkbox grid --- */
.checkbox-section .checkbox-container .checkbox-holder {
	display: flex;
	gap: 15px;
}

.checkbox-section .checkbox-container .checkbox-holder .checkbox {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	position: relative;
	padding: 10px;
	background-color: var(--e-global-color-10100222);
	border: 2px solid transparent;
	border-radius: 15px;
	transition: all 0.3s ease-in-out;
	cursor: pointer;
	width: calc(100% / 3 - (30px / 3));
}

.checkbox-section .checkbox-container .checkbox-holder .checkbox input,
.checkbox-section .checkbox-container .checkbox-holder .checkbox .checkedbox {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	z-index: 99;
	padding: 10px;
	width: 100%;
    height: 100%;
	opacity: 0;
}

.checkbox-section .checkbox-container .checkbox-holder .checkbox:before,
.checkbox-section .checkbox-container .checkbox-holder .checkbox .checkedbox:before {
	content: '';
	color: #fff!important;
	fill: #fff!important;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 20px;
	height: 20px;
	border: 1px solid var(--e-global-color-text);
}

.checkbox-section .checkbox-container .checkbox-holder .checkbox .checkedbox:before {
	color: var(--e-global-color-b48afbd);
	border-color: var(--e-global-color-b48afbd);
	content:'\2714\FE0E';
	fill: var(--e-global-color-b48afbd)!important;
	color: var(--e-global-color-b48afbd)!important;
	border-color: var(--e-global-color-b48afbd);
}

.checkbox-section .checkbox-container .checkbox-holder .checkbox img {
	position: relative;
	top: -5px;
	margin-bottom: 10px;
	align-self: center;
	width: 30px;
	height: auto;
	pointer-events: none;
}

.checkbox-section .checkbox-container .checkbox-holder .checkbox label,
.checkbox-section .checkbox-container .checkbox-holder .checkbox span {
	width: 100%;
	text-align: center;
	pointer-events: none;
	font-size: 11px;
	line-height: 1.2em;
}

@media screen and (max-width: 768px) {
	.checkbox-section .checkbox-container .checkbox-holder .checkbox label,
	.checkbox-section .checkbox-container .checkbox-holder .checkbox span {
		font-size: 8px;
	}
	.checkbox-section .checkbox-container > h4 {
		color: #332929 !important;
	}
}

.checkbox-section .checkbox-container .checkbox-holder .checkbox.is-checked {
	border: 2px solid var(--e-global-color-b48afbd);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.checkbox-section .checkbox-container .checkbox-holder .checkbox.is-checked:before,
.checkbox-section .checkbox-container .checkbox-holder.overview .checkbox:before {
	content:'\2714\FE0E';
	fill: var(--e-global-color-b48afbd)!important;
	color: var(--e-global-color-b48afbd)!important;
	border-color: var(--e-global-color-b48afbd);
}

/* Static overview grid (no hover) */
.checkbox-section .checkbox-container .checkbox-holder.overview {
	flex-wrap: wrap;
}

.checkbox-section .checkbox-container .checkbox-holder.overview .checkbox {
	max-width: 125px;
	cursor: default !important;
	border: 2px solid var(--e-global-color-b48afbd);
	box-shadow: none;
}


.checkbox-section .checkbox-container .checkbox-holder.overview .checkbox:hover {
	box-shadow: none;
}

/* --- Background image area --- */
.checkbox-section .checkbox-container .checkbox-images {
	min-height: 600px;
	position: relative;
	z-index: 1;
}

.checkbox-section .checkbox-container .checkbox-images .checkbox-image {
	position: absolute;
	inset: 0;
	opacity: 0;
	top: 0;
	bottom: 0;
	left: 20%;
	right: 0;
	border-radius: 30px;
	transition: all 0.3s ease-in-out;
	background-size: cover;
}

.checkbox-section .checkbox-container .checkbox-images .checkbox-image.default {
	opacity: 1;
	background-image: url('/wp-content/uploads/2025/07/HellosWelkomFinal.jpg');
}

.checkbox-section .checkbox-container .checkbox-images .checkbox-image.visible {
	opacity: 1;
}

/* --- Mobile tweaks --- */
@media screen and (max-width: 768px) {
	.checkbox-section .checkbox-container {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
	}

	.checkbox-section .checkbox-container > h4 {
		display: block;
		order: -2;
		text-align: center;
	}

	.checkbox-section .checkbox-container .checkbox-wrapper {
		width: 100%;
		margin-top: -80px;
		position: relative;
		top: auto;
		transform: none;
		background-color: transparent;
	}

	.checkbox-section .checkbox-container .checkbox-wrapper h4 {
		display: none;
	}

	.checkbox-section .checkbox-container .checkbox-images {
		order: -1;
		width: 100%;
		min-height: 300px;
	}

	.checkbox-section .checkbox-container .checkbox-images:after {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.15));
		border-radius: 30px;
	}

	.checkbox-section .checkbox-container .checkbox-images .checkbox-image {
		left: 0;
	}
}

@media screen and (min-width: 768px) {
	.checkbox-section .checkbox-container .checkbox-holder .checkbox:hover {
		border: 2px solid var(--e-global-color-b48afbd);
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
	}
}
