/* Target menu items with children */
.menu-item-has-children>a::after {
	content: "\f107";
	/* Unicode for Font Awesome down arrow */
	font-family: "FontAwesome";
	/* Chevron symbol */
	font-size: 0.8em;
	margin-left: 5px;
	/* Space between text and chevron */
	color: #018000;
	/* Default color */
	display: inline-block;


}

/* Change chevron color on hover */
.menu-item-has-children:hover>a::after {
	color: #018a00;
	/* Change chevron color on hover */
}

/* Optional: Style hover content */
.cme-hover-content {
	padding: 10px;
	background: #f9f9f9;
	border: 1px solid #ddd;
	position: absolute;
	display: none;
	overflow: visible;
}

.cme-hover-content h3 {
	color: #000;
	font-weight: 400;
}

.cme-hover-title {
	color: #018a00 !important;
    font-weight: 700 !important;
    font-size: 20px;
}

.menu-item:hover .cme-hover-content {
	display: block;
}

.main_menu.nav>li>a {
	color: #000;
	display: flex;
	font-size: 16px;
}

.main_menu.nav>li.item-ai-academy>a {
	color: #F89927;
	font-weight: 600;
}


/* single */

.flex-container {
	display: flex;
}

.flex-child {
	flex: 1;
	/* Optional: Add some styling for visualization */
}

.flex-child-2 {
	flex: 2;
	/* This will take up 2/3 of the space */
}

.flex-child-1 {
	flex: 1;
	/* This will take up 1/3 of the space */
}

/* search */
.search-container {
	position: relative;
	margin: 0 18px;
}

#search-icon-mobilemenu-header {
	border: none;
	background: none;
}

#search-icon-mobilemenu {
	border: none;
	background: none;
}

#search-form-mobilemenu {
	display: none;
}

/* CSS for search icon */
#search-icon {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 18px;
}

/* CSS for search form */
#search-form-mobilemenu-header,
#search-form-mobilemenu,
#search-form {
	display: none !important;
	position: absolute;
	top: 100%;
	right: 0;
	background: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	padding: 10px;
	min-width: 300px;
}

/* Show search form when icon is clicked */
#search-form-mobilemenu-header.show-search,
#search-form-mobilemenu.show-search,
#search-form.show-search {
	display: block !important;
}

/* submenu */

/* Hide the sub-menu initially */
#fw-top-navigation ul.sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 9999;
	background-color: #fff;
	/* Adjust background as needed */
	border: 1px solid #ccc;
	padding: 0px;
	min-width: 250px;
	margin: 0;
	text-align: left;
	list-style: none;
	/* Remove default list styling */
}

/* Show the sub-menu when the 'show-sub-menu' class is added */
#fw-top-navigation ul.sub-menu.show-sub-menu {
	display: block;
}


/* Add arrow down icon */
.has-children.item-meer::after {
	content: "\f107";
	/* Unicode for Font Awesome down arrow */
	font-family: "FontAwesome";
	margin-left: 5px;
	position: absolute;
	right: 0px;
	top: 10px;
	color: #018000;
	font-size: 15px;
	
}


@media (max-width: 600px) {
body.logged-in .homepagefw {
    padding-top: 60px

}
}




body.logged-in .main-menu-bar.sticky {
	top: 30px;
}

body.page-template-page-inschrijfformulier-training #footer-contactblok,
body.page-template-page-inschrijfformulier-training #fw-top-navigation,
body.page-template-page-inschrijfformulier-training #fw-main-navigation {
	display: none;
}

#footer-contactblok svg {
	vertical-align: middle;
}

@media screen and (max-width: 600px) {}



.sticky {
	position: fixed;
	top: 0px;
	width: 100%;
	z-index: 1000;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 8px 6px -4px rgba(0, 0, 0, .2);
}



.main_menu.nav>li>a {
	color: #000;
	display: flex;
}

.top-menu.nav>li>a:hover,
.main_menu.nav>li>a:hover {
	color: #018a00;
	font-weight: 700;
	background-color: transparent;
}


.blog-menu-item,
.academy-menu-item,
.video-menu-item,
.whitepaper-menu-item,
.events-menu-item,
.kennisbank-menu-item,
.main-menu-item {
	border-bottom: none;
	/*transition: border-bottom 100ms ease-in-out;*/
}

/* Add the green border on hover */
.blog-menu-item:hover,
.academy-menu-item:hover,
.video-menu-item:hover,
.whitepaper-menu-item:hover,
.events-menu-item:hover,
.kennisbank-menu-item:hover,
.main-menu-item:hover {
	/* border-bottom: 4px solid #018a00; */
}

.cme-hover-content h5 {
	font-weight: bold;
	color: #000;
}

.sub-menu li.top-menu-item,
.cme-hover-content ul li {
	line-height: inherit;
}

#fw-top-navigation .sub-menu li {
	padding-top: 16px;
	padding-bottom: 16px;
	padding-left: 16px;
	padding-right: 16px;
	border-bottom: 1px solid #f3f3f3;
}

#fw-top-navigation .sub-menu li:hover {
	background-color: #285c9a !important;
}

#fw-top-navigation .sub-menu li:hover a {
	color: white !important;
	/* Ensure the color changes on hover of the li */
	text-decoration: none;
}

.ep-autosuggest-container {
	display: inline;
}

#search-form-mobilemenu button[type="submit"],
#search-form button[type="submit"] {
	min-height: 50px;
	background: #018a00;
	padding: 12px;
	border: 0;
	border-radius: 0px 4px 4px 0px;
	margin-left: -6px;

}

.cme-hover-content {
    display: none;
    position: fixed;
    left: 0;
    width: 100vw;

    background: #fff;
    z-index: 1000;
    padding: 30px 0;    top: auto;


    border-radius: 0 0 15px 15px;
    box-shadow: 0 2px 4px #ccc;
}

#mobile-menu #es-search-input {
    width: 100%;
}

.cme-hover-content__inner {
    padding: 0 20px; /* mobile spacing */
}

.main_menu.nav {
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}


.main-menu-bar {
	display: flex;
	align-items: center;
	padding-bottom: 0;
	max-width: 100%;
}

.menu-left {
	width: 70%;
	display: flex;
	justify-content: flex-start;
	/* Align items to the start (left) */
	align-items: center;
}

.menu-left ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-left li {}

.menu-left a {
	text-decoration: none;
}

.menu-right {
	width: 30%;
	display: flex;
	justify-content: flex-end;
	/* Align items to the end (right) */
	align-items: center;
}

.menu-right a {
	margin-left: 10px;
	/* Adjust spacing between links */
	text-decoration: none;
}

/* topmenu */

.top-menu.nav>li>a {
	padding: 8px 15px;
	font-size: 16px;
	color: #000;
}

body:not(.home) .overlay {
	position: absolute;
	top: 150px;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.1);
	/* Adjust the opacity (last value) as needed */
	z-index: 999;
	/* Ensure the overlay is above other content */
}

.overlay-topmenu {
	position: absolute;
	top: 100px;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.1);
	/* Adjust the opacity (last value) as needed */
	z-index: 999;
	/* Ensure the overlay is above other content */

}


body.home .overlay {
	position: absolute;
	top: 165px;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.1);
	/* Adjust the opacity (last value) as needed */
	z-index: 999;
	/* Ensure the overlay is above other content */
	transition: opacity 0.4s ease-in-out;

}


.off-canvas__content .overlay-topmenu {
	opacity: 0;
	pointer-events: none;
	/* don't block clicks when hidden */
	transition: opacity 0.4s ease-in-out;
}

.off-canvas__content .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.1);
	z-index: 999;

	opacity: 0;
	pointer-events: none;
	/* don't block clicks when hidden */
	transition: opacity 0.4s ease-in-out;
}

.off-canvas__content .overlay.show,
.off-canvas__content .overlay-topmenu.show {
	opacity: 1;
	pointer-events: auto;
	/* allow interactions when visible */
}




/* ============================================================
   SITE HEADER — WRAPPER
   ============================================================ */
#site-header {
	position: relative;
	z-index: 1000;
	background: #fff;
	/* border-bottom: 1px solid #eee; */
	transition: top 0.25s ease, padding 0.25s ease;
	font-family: Roboto;
	overflow: visible;
}

#fw-top-navigation {
	border-bottom: 1px solid #eee;
}

.cpt-submenu {
		border-bottom: 1px solid #eee;
}

/* Placeholder to avoid layout jump when header becomes fixed */
.header-placeholder {
	display: none;
}

.header-placeholder.active {
	display: block;
	width: 100%;
}

/* ============================================================
TOP HEADER: logo | menu | search | custom item
============================================================ */
.top-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 30px 15px 30px;
	transition: padding 0.3s ease, box-shadow 0.3s ease;
	border-top: 6px solid #018A00;
}

@media (max-width: 782px) {
	.top-header {
		padding: 15px 15px 15px 15px;
	}
}

.brand-link {
	margin-right: 20px;
	line-height: 14px;
}

/* Fixed header becomes pinned to top */
.header--fixed {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3000;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* ============================================================
CPT SUBMENU
============================================================ */


/* Submenu placeholder (used when fixed) */
.submenu-placeholder {
	display: none;
}

.submenu-placeholder.active {
	display: block;
	width: 100%;
}

/* Submenu is fixed under header */
.submenu--fixed {
	position: fixed !important;
	left: 0;
	right: 0;
	z-index: 99;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	border-top: none;
}

/* ============================================================
VISIBILITY HELPERS (Desktop / Mobile)
============================================================ */
.desktop-only {
	display: flex;
}

.desktop-hide,
.mobile-only {
	display: none;
}

/* ============================================================
MOBILE BREAKPOINTS
============================================================ */
@media (max-width: 900px) {

	.desktop-only {
		display: none !important;
	}

	.mobile-only {
		display: flex !important;
	}

	/* --------------------------------------------------------
Hamburger
-------------------------------------------------------- */
	.hamburger {
		width: 32px;
		height: 26px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		cursor: pointer;
		background: none;
		border: none;
		padding: 5px;
	}

	.hamburger span {
		display: block;
		height: 3px;
		width: 100%;
		background: #000;
		border-radius: 3px;
		transition: 0.3s ease;
	}

	/* --------------------------------------------------------
	Mobile slide-in menu panel
	-------------------------------------------------------- */
	#mobile-menu {
		position: fixed;
		top: 0;
		right: -100%;
		/* hidden by default */
		width: 100%;
		height: 100%;
		background: #fff;
		z-index: 4000;
		transition: right 0.35s ease;
		box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
		overflow-y: auto;
		padding: 20px;
		display: flex;
		flex-direction: column;
			font-family: Roboto;
	}

	#mobile-menu.open {
		right: 0;
		z-index: 99999999;
	}

	/* Close button */
	#mobile-close {
		background: none;
		border: none;
		font-size: 32px;
		cursor: pointer;
		margin-bottom: 20px;
	}

	/* Dark overlay */
	#mobile-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.4);
		z-index: 3500;
		display: none;
	}

	#mobile-overlay.active {
		display: block;
	}

	/* Mobile search field */
	.mobile-search {
		margin-bottom: 20px;
	}

	/* Inner menu style */
	#mobile-menu .mobile-menu-inner {
		display: flex;
		flex-direction: column;
		height: 100%;
		overflow-y: auto;
	}

	#mobile-menu .mobile-menu-inner nav ul {
		display: flex;
		flex-direction: column;
		gap: 15px;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	#mobile-menu .mobile-menu-inner nav ul li a {
		text-decoration: none;
		font-size: 16px;
		color: #333;
		transition: color 0.3s ease;
	}

	#mobile-menu .mobile-menu-inner nav ul li a:hover {
		color: #0073aa;
	}

	.mobile-custom-item {
		margin-top: 20px;
	}
}

@media (max-width: 400px) {

	.mobile-only {
		display: none !important;
	}

	.hamburger.mobile-only {
		display: flex !important;
	}
}

/* HIDE MOBILE MENU ON DESKTOP */
#mobile-menu {
	display: none;
}

@media (max-width: 900px) {
	#mobile-menu {
		display: flex;
	}
}

/* Mobile menu header: logo + close button */
#mobile-menu .mobile-menu-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%; margin-bottom: 20px;
}


/* Logo flex grows */
#mobile-menu .mobile-menu-header .logo {
	flex: 1;
}

/* Close button right-aligned */
#mobile-menu #mobile-close {
	margin-left: 20px;
	/* optional spacing from logo */
	font-size: 32px;
	cursor: pointer;
	background: none;
	border: none;
}


ul.top-menu li.active {
	/* border-bottom: 4px solid #018a00; */
	font-weight: normal;
	
}

ul.top-menu li.active >a {
	color: #018a00 !important;
	font-weight: 700;
}


#main-navigation a:hover ,
#main-navigation li.active a {
	/* border-bottom: 4px solid #018a00; */
	font-weight: normal !important;
	color: #018a00 !important;
	
}




@media (max-width: 767px) {
    .mobile_menu .hide-on-mobile {
        display: none !important;
    }
}

#mobile-menu #es-search-input {}

/* ============================================================
   WORDPRESS ADMIN BAR COMPATIBILITY
   ============================================================ */

/* Desktop admin bar height = 32px */
body.admin-bar .header--fixed {
	top: 32px !important;
}

/* Mobile admin bar height = 46px */
@media (max-width: 782px) {
	body.admin-bar .header--fixed {
		top: 46px !important;
	}
}


body {
	padding-top: 0px;
}

/* Fix submenu when logged in */
body.admin-bar .submenu--fixed {
	top: calc(50px + var(--fixed-header-height, 60px)) !important;
}

@media (max-width: 782px) {
	body.admin-bar .submenu--fixed {
		top: calc(65px + var(--fixed-header-height, 60px)) !important;
	}
}

/* ============================================================
   WORDPRESS ADMIN BAR FIX FOR FIXED HEADER
   ============================================================ */

/* Desktop admin bar height = 32px */
body.admin-bar .header--fixed {
	top: 32px !important;
}

/* Mobile admin bar height = 46px */
@media (max-width: 782px) {
	body.admin-bar .header--fixed {
		top: 46px !important;
	}

	.menu-left {
		width: auto;
	}

	.menu-right {
		width: auto;
	}
}

.top-menu-item {
	flex: 0 0 auto;
}

#fw-top-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.main-menu.desktop-only {
	flex: 1 1 auto;
	/* Menu takes remaining space */
	min-width: 0;
	/* Allow flex-shrink to work */
}

.header-actions.desktop-only {
	flex: 0 0 auto;
	/* Fixed width */
}

#mobile-menu ul {
	list-style: none;        /* Remove default list styling */
	padding: 0;              /* Remove default padding */
	margin: 0;               /* Remove default margin */
}
#mobile-menu ul li span,
#mobile-menu ul li a{
    display: flex;             /* Make <a> a flex container */
    align-items: center;       /* Vertically center the children (SVG + span) */
    gap: 16px;                 /* Optional spacing between SVG and text */
    text-decoration: none;     /* Optional: remove underline */
    color: inherit;            /* Optional: inherit text color */
}


#mobile-menu ul li {
  border-top: 1px solid #ccc;
  padding: 16px 0;

  display: flex;           /* Enable flexbox */
  justify-content: left; /* Center horizontally */
  align-items: center;     /* Center vertically */
}

#mobile-menu ul li a {
	padding: 0;
}

#mobile-menu .footer-actions ul li:first-child{
	padding-top: 32px;
}

#mobile-menu .footer-actions ul li {
	padding: 10px 0;
}

#mobile-menu .footer-actions ul li:last-child {
	border: none;
}
.other-menu-item a {
	color: #0073aa !important;
}