/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/



/**
 * CUSTOM THEMING FOF CATEGORIES
 * 
 **/

/**
 * DISABLE DEFAULT BEHAVIOUR OF HOVERING ON PRODUCT MENUS
 * */


.header-categories-nav.click-enabled-menu .categories-menu-dropdown,
.whb-sticked .header-categories-nav.opened-menu:hover .categories-menu-dropdown {
	visibility: visible;
	opacity: 1;
	-webkit-transform: none;
	transform: none;
	pointer-events: visible;
	pointer-events: unset
}

.header-categories-nav.click-enabled-menu .arrow-opener,
.whb-sticked .header-categories-nav.opened-menu:hover .arrow-opener {
	-webkit-transform: rotate(-180deg);
	transform: rotate(-180deg)
}

.header-categories-nav .categories-menu-dropdown .item-level-0>a{
	color:#000;
	font-size:13px;
}


.header-categories-nav .sub-menu-dropdown{
	padding:20px;
}
.menu-opener{
	min-width:320px;
	max-width:350px;
}
.menu-item-slug-viologika-proionta > a::before{
	background-image: url('https://agricare.s3.eu-north-1.amazonaws.com/wp-content/uploads/2020/12/20222859/bio.png');
}
.menu-item-slug-fytoprostatefka-proionta-fytofarmaka > a::before{
	background-image: url('https://agricare.s3.eu-north-1.amazonaws.com/wp-content/uploads/2020/12/20222750/spray.png');
}
.menu-item-slug-farmaka-ygeionomikis-simasias > a::before{
	background-image: url('https://agricare.s3.eu-north-1.amazonaws.com/wp-content/uploads/2020/12/20222250/pesticide.png');
}
.menu-item-slug-lipasmata-proionta-anaptyxis > a::before{
	background-image: url('https://agricare.s3.eu-north-1.amazonaws.com/wp-content/uploads/2020/12/20222126/fertilizer.png');
}
.menu-item-slug-chomata-edafoveltiotika-tyrfes > a::before{
	background-image: url('https://agricare.s3.eu-north-1.amazonaws.com/wp-content/uploads/2020/12/20221601/wheelbarrow.png');
}

.menu-item-slug-sporoi > a::before{
	background-image: url('https://agricare.s3.eu-north-1.amazonaws.com/wp-content/uploads/2020/12/20221404/sesame.png');
}

.mobile-menu-tab .item-level-1 > a{
	color: #000!important;
	font-size:0.8em!important;
	padding-left:55px;
}
.mobile-menu-tab .item-level-2 > a{
	color: #000!important;
	font-size:0.8em!important;
	padding-left:55px;
}

.header-categories-nav .item-level-0 > a::before, .mobile-categories-menu .item-level-0 > a::before{
	content: "";
	background-size: 32px 32px;
	background-repeat: no-repeat;
	width: 35px;
	height:35px;
	display:block;
	margin-right:10px;
}
/**
 * General before level 0 styling.
 * */

.header-categories-nav{
	cursor:pointer;
}
.woodmart-prefooter{
	padding-bottom:0;
}
.main-page-wrapper{
	min-height:70vh;
}

.header-categories-nav div.sub-menu-dropdown{
	width:100vh!important;
		background-color:#fff;
	overflow-y:scroll;
	height:600px!important;
}
.header-categories-nav .sub-menu > li{
	display:inline-block;
	vertical-align:top;
	width:48%;
}

.header-categories-nav ul.sub-sub-menu{
	display:contents!important;
	visibility:visible!important;
}
.header-categories-nav .sub-menu-dropdown div{
	top:0;
	vertical-align:top!important;
}
.header-categories-nav .sub-menu li > a{
	color:#000;
	font-weight:800;
	border-bottom:3px solid #4caf50;
	padding-top:30px;
}
.header-categories-nav .sub-menu li > a::after{
	content: none;
}
.header-categories-nav .sub-sub-menu li > a{
	color:#000;
	font-weight:300!important;
	border-bottom:0;
	padding-top:15px;
}

@media only screen and (max-width:1600px){
		.header-categories-nav div.sub-menu-dropdown{
		width:85vh!important;
	}
}
@media only screen and (max-width:1300px){
	.header-categories-nav .sub-menu > li{
	width:48%;
}
	.header-categories-nav div.sub-menu-dropdown{
		width:90vh!important;
	}
}
@media only screen and (max-width:1150px){
	.header-categories-nav div.sub-menu-dropdown{
		width:85vh!important;
	}
}