/* Header & Main menu */
/*********/

.thrv_widget_menu.thrv_wrapper.menu-icons ul.tve_w_menu {
	justify-content: space-between;
}
.search-form-diepcreative .icon-search {
	display: block;
	width: 22px;
	fill: #00bcee;
	font-family: 'FontAwesome', sans-serif !important;
}

#thrive-header {
	#header-desktop, #uitklap-diensten-menu {
		#main-menu-header, #main-menu-header-sticky {
			ul {
				.menu-item {
					text-decoration: none !important;
					
					.tve-item-dropdown-trigger {
						color: #fff !important;

						svg {
							width: 0.7em;
							height: 0.7em;
						}

						&:not(:empty) {
							margin-left: 4px;
							margin-top: 6px;
						}
					}

					&:hover {
						.tve-item-dropdown-trigger {
							color: var(--dc-primary-green) !important;
						}
					}

					&.tve-state-active {
						> a {
							> span {
								color: var(--dc-primary-green) !important;
							}
							
							> .tve-item-dropdown-trigger {
								> svg {
									fill: var(--dc-primary-green) !important;
								}
							}
						}
					}

					&:has(ul > li.tve-state-active) > a span {
						color: var(--dc-primary-green) !important;
					}
				}
			}

			> div > ul {
				> li:last-of-type {
					a {
						display: flex;
						padding: 4px 20px;
						border-radius: 200px;
						border: 1px solid #fff;

						&:hover {
							background-color: #fff;

							span {
								color: var(--dc-primary-blue);
							}
						}
					}

					&:hover {
						span {
							color: #fff;
						}
					}
				}
			}

			.sub-menu {
				left: -20px;
				min-width: 200px !important;
				padding: 10px;
				border-radius: 20px !important;
				background-color: #fff !important;
				box-shadow: 0px 5px 30px 0px #0000001A;

				&:before {
					content: '';
					background-image: url(/wp-content/themes/thrive-theme-child/assets/illustrations/triangle-1.0.svg);
                    background-repeat: no-repeat;
                    background-size: 26px;
                    position: absolute;
                    top: -10px;
                    left: 40px;
                    width: 26px;
                    height: 16px;
				}

				li {
					padding: 0 !important;

					a {
						padding: 6px 18px 6px 18px;
						border-radius: 20px;
						color: var(--dc-primary-pink) !important;

						span {
							font-family: var(--dc-bodyfont);
							color: var(--dc-primary-pink) !important;
						}
					}
					&:hover {
						a {
							background-color: var(--dc-primary-pink-light);
						}
					}
				}
			}
		}
	}
	
	#uitklap-diensten-menu {
		#main-menu-header-sticky {
			ul {
				.menu-item {
					span {
						color: var(--dc-primary-pink);
					}

					.tve-item-dropdown-trigger {
						color: var(--dc-primary-pink) !important;
					}

					&:hover {
						span {
							color: var(--dc-primary-green) !important;
						}
					}
				}
				
				.sub-menu {
					background-color: #fff !important;

					.menu-item {
						span {
							color: var(--dc-primary-pink) !important;
						}
					}
				}
			}
			
			> div > ul {
				> li:last-of-type {
					a {
						border: 1px solid var(--dc-primary-pink);

						span {
							color: var(--dc-primary-pink) !important;
						}

						&:hover {
							background-color: var(--dc-primary-pink);
							color: #fff !important;
						}
					}

					&:hover {
						a {
							background-color: var(--dc-primary-pink);
						}
						
						span {
							color: #fff !important;
						}
					}
				}
			}
		}
	}
}

#uitklap-diensten-menu {
	.search-form-diepcreative input[type="text"] {
		background-color: var(--dc-primary-grey-light2);
	}

	#main-menu-header {
		ul .menu-item .tve-item-dropdown-trigger:not(:empty) {
			margin-top: 5px;
		}

		.sub-menu li:hover a {
			background-color: #f9e6f0;
		}
	}

	.button-search.text {
		color: var(--dc-primary-pink);
	}
}


.subheader-icons {
	display: none;
}
.icons-sticky-header .tcb-flex-col {
	width: 100%;
}

/* Diepcreative - Mobile header and mobile menu */
.dc-mobile-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	width: 100%;
	z-index: 10;
	padding: 18px 50px;
	background-image: linear-gradient(90deg, rgb(230, 0, 126) 0%, rgb(128, 1, 70) 100%);
	box-sizing: border-box !important;
	@media only screen and (max-width: 768px) { 
		padding: 18px 20px;
	}
	
	&.sticky {
		position: fixed;
		top: 0;
	}

	.hamburger-and-logo {
		display: flex;
		align-items: center;
		gap: 10px;
		margin-right: auto;
		
		#hamburger-icon {
			display: block;
			width: 29px;
			min-width: 29px;
			margin: 0 auto;
			cursor: pointer;

			span {
				display: block;
				background-color: #fff;
				width: auto;
				height: 3px;
				margin-bottom: 5px;
				border-radius: 10px;
				transition: 0.2s ease-in-out;
				
				&:last-of-type {
					margin-bottom: 0;
				}
			}

			&.open {
				span:nth-child(1) {
					transform: translate(0, 8px) rotate(45deg);
				}

				span:nth-child(2) {
					opacity: 0;
				}

				span:nth-child(3) {
					transform: translate(0, -8px) rotate(-45deg);
				}
			}
		}
		
		.logo-dfm {
			display: block;
			margin-left: 8px;
			
			img {
				width: 100%;
				max-width: 150px;
			}
		}

		.text-close {
			display: none;
			white-space: nowrap;
			font-family: var(--dc-bodyfont);
			font-weight: 600;
			font-size: 14px;
			color: #fff;
			margin-right: auto;
			cursor: pointer;
		}
	}

	.icon-menu {
		display: flex;
		margin-top: 2px;
		
		a {
			color: #fff;
			font-size: 30px;
			text-decoration: none !important;
			
			&.button-search {
				margin-right: 11px;
			}
			
			&.button-search.close {
				display: none;
                margin-top: 3px;
                margin-right: 13px;
                font-size: 24px;
			}
			
			&.button-favorites {
				margin-right: 14px;
				font-size: 32px;
				top: -1px;
			}
		}
	}
}

.dc-mobile-menu {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9;
	visibility: hidden;
	overflow-y: scroll;
    overflow-x: hidden;
	

	.inner {
		width: 100%;
		margin: 0;
		background-image: linear-gradient(90deg, rgb(230, 0, 126) 0%, rgb(128, 1, 70) 100%);
		transform: translate(-100%, 0);
		transition: all 200ms ease-in-out;

		.inner2 {
			padding: 50px;
			@media only screen and (max-width: 768px) { 
				padding: 20px;
			}
			
			ul {
				margin: 0;
				margin-left: 0 !important;
				padding: 0;
				list-style: none;

				&.main-menu {
					position: relative;
					top: 80px;
					margin-bottom: 200px;
				}

				> li {
					margin: 0 0 10px 0;
					padding: 15px 22px 15px 35px;
					border-radius: 25px;
					background-color: var(--dc-primary-pink-dark);

					> a {
						display: flex;
						justify-content: space-between;
						align-items: center;
						font-family: var(--dc-bodyfont);
						font-size: 16px;
						font-weight: 600;
						line-height: 20px;
						color: #fff;
                        text-decoration: none !important;
						
						.icon-arrow {
							display: flex;
							align-items: center;
							justify-content: center;
							width: 17px;
							height: 17px;
							transform: rotate(90deg);
							transition: transform 150ms ease-in-out;
						}
					}
					
					&.active a .icon-arrow {
						transform: rotate(-90deg);
					}

					&.button-quote {
						border: 1px solid #fff;
					}

					.submenu {
						display: none;
						margin-top: 16px;
						
						li {
							padding: 6px 0;
							border-radius: 0;

							a {
								justify-content: flex-start;
								font-weight: normal;

								&:before {
									content: "\e913";
									font-family: 'icomoon';
									margin-right: 10px;
									font-size: 14px;
								}
							}
						}
					}
				}
			}
			
			.contact {
				padding: 24px;
				border: 1px solid #fff;
				border-radius: 20px;
				
				.image-text {
					display: flex;
					gap: 20px;
					align-items: center;
					margin-bottom: 30px;

					.image {
						position: relative;
						width: 93px;
						height: 93px;

						img {
							width: 93px;
							height: 93px;
							min-width: 93px;
							object-fit: cover;
							border-radius: 99999px;
						}
						
						.name {
							display: block;
							position: absolute;
							bottom: -8px;
							left: 35%;
							font-family: var(--dc-headerfont);
							font-weight: 700;
							font-size: 17px;
							padding: 1px 12px 3px 12px;
							border-radius: 20px;
							background-color: var(--dc-primary-blue);
							color: #fff;
						}
					}
					
					.text {
						font-family: var(--dc-headerfont);
						font-size: 21px !important;
						font-weight: 300;
						line-height: 1.2;
						color: #fff;
						
						strong {
							font-weight: 600;
						}
					}
				}

				.buttons {
					display: flex;
					flex-direction: column;

					a {
						display: flex;
						justify-content: space-between;
						align-items: center;
						width: 100%;
						max-width: 350px;
						padding: 12px 30px;
						margin-bottom: 8px;
						border-radius: 50px;
						background-color: var(--dc-primary-pink-light);
						color: var(--dc-primary-pink-dark);
						font-family: var(--dc-bodyfont);
						font-size: 16px;
						text-decoration: none !important;
						box-sizing: border-box;
						
						strong {
							font-weight: 600;
						}
						
						.icon {
							font-size: 30px;
						}
					}
				}
			}
		}
	}

	&.active {
		visibility: visible;

		.inner {
			transform: translate(0, 0);
			transition: all 200ms ease-in-out;
		}
	}
}

.section-login-popup {
	a {
		display: block;
		padding: 15px 30px;
		text-align: center;
		text-decoration: none !important;
		color: var(--dc-primary-grey-dark);
		white-space: nowrap;
		border-bottom: 1px solid var(--dc-primary-grey-light);
		transition: background-color 150ms ease-in-out, color 150ms ease-in-out;

		&:hover {
			background-color: var(--dc-primary-grey-light2);
			color: var(--dc-primary-pink);
		}

		&:last-of-type {
			border-bottom: none;
		}
	}
}
.wrapper-login {
	display: none;
	border-radius: 10px;
	background-color: #fff;
	border: 1px solid var(--dc-primary-grey-light);
	box-sizing: border-box !important;
	overflow: hidden;
	box-shadow: 0px 5px 30px 0px #0000001A;
	z-index: 99999;
}