/*
Theme Name: Wolmart Child
Theme URI: https://wolmart.org/
Author: D-THEMES
Author URI: https://wolmart.org/about-me/
Description: Wolmart Responsive WordPress + eCommerce Theme.
Version: 1.0
Template: wolmart
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/



@media (min-width: 992px){
	.dropdown:hover .mega-menu {
		transform: translate3d(0, 0, 0);
		visibility: visible;
		opacity: 1;
		top: 100%;
	}
	 
	ul.mega-menu {
		position: absolute;
		left: 0;
		top: -9999px;
		margin: 0;
		padding: 0.5rem 0;
		color: var(--wolmart-body-color, #666);
		background-color: #fff;
		box-shadow: 0 2px 22px rgba(0,0,0,0.1);
		z-index: 1001;
		visibility: hidden;
		opacity: 0;
		width: 1200px;
		transition: transform 0.2s ease-out;
		transform: translate3d(0, -10px, 0);
		height: 80vh;
		overflow-x: scroll;
	}
	ul.mega-menu li.mega-menu-item>a {
		display: inline-flex;
		padding-right: 40px !important;
		min-width: 285px;
	}	
	li.mega-menu-item>.mega-menu-column {
		position: absolute;
		width: 880px;
		right: 0;
		top: 0;
		background: #fff;
		padding: 20px;
		display: none;
		box-shadow: 0 4px 20px -8px rgba(0,0,0,0.2);
		z-index: 1002;
		height:100%;
	}
	ul.mega-menu-subcolumn {
		display: block;
	}
	li.mega-menu-item:hover .mega-menu-column {
		display: block;
	}
	.mega-menu-column ul {
		display: grid;
		grid-template-columns: auto auto auto;
		column-gap: 10px;
		row-gap: 14px;
	}
	ul.mega-menu-subcolumn {
		display: block;
	}




}

ul.mega-menu {list-style: none;padding: 0;}
ul.mega-menu ul {list-style: none;padding: 0;}
ul.mega-menu ul.mega-menu-subcolumn {
	padding-left: 25px;
	list-style-type: revert;
}

.mega-menu-column>ul>li>a {
	font-size: 14px;
	font-weight: 500;
	border-bottom: 1px solid #dfdfdf;
	padding-left: 0;
	text-transform: uppercase;
	color: #336699;
	padding-bottom: 2px;
	margin-bottom: 10px;
	display: block;
}
ul.mega-menu-subcolumn li a {
	color: #000;
	font-weight: 300;
}
ul.mega-menu li.mega-menu-item>a {
	font-weight: 500;
	font-size: 1.3rem;
	letter-spacing: -0.1px;
	text-transform: capitalize;
	border-bottom: 1px solid #eeeeee;
	color: #333333;
	padding-top: 1.3rem;
	padding-right: 2rem;
	padding-bottom: 1.3rem;
	padding-left: 2rem;
	position:relative;
}
ul.mega-menu li.mega-menu-item>a:after {
	line-height: 0;
	right: 2rem;
	content: "\f054";
	font-size: 0.7em;
	transition: right 0.3s ease;
	color: inherit;
	transform: translateY(-50%);
	margin-top: 1px;
	margin-left: 0.6rem;
	display: inline-block;
	position: absolute;
	vertical-align: middle;
	font-family: var(--fa-style-family-classic, "Font Awesome 6 Free");
	font-weight: 700;
	top: 50%;
}
ul.mega-menu-subsubcolumn {
	display: block;
	list-style-type: initial !important;
	padding-left: 10px !important;
	margin-bottom: 4px;
}
.mega-menu i.fa {
	display: none;
}

@media (max-width:991px){
	li.mega-menu-item:has(ul) i.fa {
		display: block;
	}	 

li.mega-menu-item.active .fa {
    transform: rotate(90deg);
}

li.mega-menu-item .fa {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 0;
    top: 0;
    line-height: 40px !important;
    text-align: center;
}

.mega-menu li {
    position: relative;
}

ul.mega-menu li.mega-menu-item>a:after, ul.mega-menu ul.mega-menu-subcolumn, .mega-menu-column {
    display: none;
}
ul.mega-menu-subcolumn li .fa {
    display: none !important;
}

ul.mega-menu-subsubcolumn {
    display: block !important;
}
}