/* for dark header  */
.cx_shortcode.cx_craft_animation_header_main_menu.header-dark .side-bar-menu-render svg path{
    stroke:#FFF;
}

.cx_craft_animation_header_main_menu {
	position: relative;
}

.cx_craft_animation_header_main_menu ul {
	margin: 0;
}

.cx_craft_animation_header_main_menu i {
	font-size: 1em;
	padding: 10px;
}

.cx_craft_animation_header_main_menu li {
	list-style: none;
    text-transform: capitalize;
    display: flex;
}

.cx_craft_animation_header_main_menu li:has(i) {
	align-items: center;
}

.cx_craft_animation_header_main_menu li a {
	padding: 5px 10px;
	text-decoration: none;
	color: var(--e-secondary);
	position: relative;
	font-family: "Gorditas";
    font-weight: 400;
    font-size: 1rem;
}

.cx_craft_animation_header_main_menu li a.active {

	position: relative;
	color: var(--e-primary);

}

.cx_craft_animation_header_main_menu li a:hover {
	color: var(--e-primary);
	transition: all .3s ease-in-out;
}

.cx_craft_animation_header_main_menu li a:after {

	content: '';
	position: absolute;
	bottom: 0;
	left: 10px;
	height: 4px;
	width: 0;
	background: url(https://whitecraftanimation.com/wp-content/uploads/2025/01/Frame-16802-min.png);
	filter: brightness(0) saturate(100%) invert(65%) sepia(20%) saturate(4630%) hue-rotate(322deg) brightness(101%) contrast(101%);
	background-repeat: no-repeat;
	transition: all .3s ease-in-out;


}

.cx_craft_animation_header_main_menu li a:hover:after, .cx_craft_animation_header_main_menu li a.active::after {

	width: 37px;


}

.cx_craft_animation_header_main_menu .first-unordered-list {
	display: flex;
	gap: 35px;
}

.cx_craft_animation_header_main_menu .has-mega-menu .mega-menu {
	display: none;
}

.cx_craft_animation_header_main_menu .has-mega-menu.mouseover .mega-menu {
	display: grid;
}

.cx_craft_animation_header_main_menu .first-unordered-list .mega-menu {
	position: absolute;
    left: 0;
    right: 0;
    top: calc(100% );
    padding-top: 18px;
    grid-template-columns: auto 1fr;
}

.cx_craft_animation_header_main_menu .second-unordered-list {
	position: relative;
}

.cx_craft_animation_header_main_menu li.active > a, .cx_craft_animation_header_main_menu li.active > i {
	color: var(--e-primary);	
}

.cx_craft_animation_header_main_menu li:not(.active):hover > a, .cx_craft_animation_header_main_menu li:not(.active):hover > i {
	color: var(--e-primary);	
}

/*.cx_craft_animation_header_main_menu .mega-menu {
	display: none;
}*/

.cx_craft_animation_header_main_menu .second-unordered-list > li {
    display: grid;
    grid-template-columns: auto 1fr;
}

.cx_craft_animation_header_main_menu .third-unordered-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.cx_craft_animation_header_main_menu .second-unordered-list > li {
	
}

/*.cx_craft_animation_header_main_menu .third-unordered-list {
	display: inline-grid;
    grid-template-columns: repeat(4, 1fr);
  	position: absolute;
    left: 100%;
    top: 0;
}*/

.cx_craft_animation_header_main_menu .forth-unordered-list {
/*	display: inline-grid;*/
	display: grid;
   	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.cx_craft_animation_header_main_menu .side-bar-menu-render {
	cursor: pointer;
	display: none;
}

#cx-sidebar-right .cx-sidebar-wrapper:has(.custom_header_navigation) {
	padding: 30px;
}


/* on Hover  */

.cx_craft_animation_header_main_menu .first-unordered-list ul {
	display: none;
}

/*.cx_craft_animation_header_main_menu .first-unordered-list > li:hover > .mega-menu > ul {
	display: inline-grid;
}

.cx_craft_animation_header_main_menu .first-unordered-list > li:hover .mega-menu {
	display: grid;
}*/

.cx_craft_animation_header_main_menu .second-unordered-list > li:hover > ul {

}

/* For Desktop  */

@media (min-width: 1025px) {

	.cx_craft_animation_header_main_menu .has-mega-menu .mega-menu > * {
		padding: 20px;
	}

	.cx_craft_animation_header_main_menu .has-mega-menu .mega-menu > ul {
		background-color: #f1f7ff;
		border-right: 1px solid var(--e-border-foggy-gray-color);
	}

	.cx_craft_animation_header_main_menu .has-mega-menu .mega-menu {
		background-color: white;
/*		padding: 20px;*/
	}

	.cx_craft_animation_header_main_menu .first-unordered-list .mega-menu {
	    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
	    border-bottom-left-radius: 20px;
	    border-bottom-right-radius: 20px;
        overflow: hidden;
	}

	.cx_craft_animation_header_main_menu .second-unordered-list .category-wrapper {
		
/*		padding-right: 20px;*/
	}
}

/* For Mobile  */

@media (max-width: 1024px) {

	.cx_craft_animation_header_main_menu .menu.first-unordered-list {
		display: none;
	}

	.cx_craft_animation_header_main_menu .side-bar-menu-render {
		display: block;
	}

	.custom_header_navigation .cx_craft_animation_header_main_menu .menu.first-unordered-list {
		display: block;
		padding-left: 20px;	
	}

	.cx_craft_animation_header_main_menu .has-mega-menu .mega-menu {
		display: flex;
		padding: 20px 0;
	}

	.cx_craft_animation_header_main_menu .second-unordered-list {
	    padding-left: 20px;
	}

	.cx_craft_animation_header_main_menu .third-unordered-list {
		flex-basis: 100%;
		padding-left: 20px;
	}

	.cx_craft_animation_header_main_menu .second-unordered-list .category-wrapper > li > .icon-arrow-head-right-chevron-forward {
		transform: rotate(90deg);
	}

	.cx_craft_animation_header_main_menu .second-unordered-list .category-wrapper > li {
		flex-wrap: wrap;
	}

}


