/*
Theme Name: MatBaoWS
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
/*************** ADD CUSTOM CSS HERE.   ***************/

// menu level 3
.nav-dropdown {
	display: flex !important;
	flex-direction: column;
	flex-wrap: wrap;
}
.nav-dropdown li>a {
	display: flex !important;
	color: inherit;
}
.nav-dropdown li.menu-item-has-children {
position: relative;
	display: flex;
	width: 100% !important;
}
.nav-dropdown li.menu-item-has-children::before {
	content: "";
	font-family: fl-icons !important;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translatey(-50%);
}
.nav-dropdown li.menu-item-has-children>a {
		color: inherit;
		width: 100% !important;
	font-weight: 400;
	text-transform: unset;
	font-size: inherit;
}
.nav-dropdown .sub-menu {
	box-shadow: 1px 1px 15px rgba(0,0,0,.15);
	min-width: 250px;
	background-color: white;
	padding:20px 0 !important;
	position: absolute;
	left: 999%;
	opacity: 0;
	top: 0;
}
.nav-dropdown li.menu-item-has-children:hover>.sub-menu {
	left: 100%;
	opacity: 1;
}

@media(max-width: 1024px) {
	.mbws-polylang {
		flex-wrap: nowrap;
		justify-content: flex-start;
	}
	.mbws-polylang.nav>li {
		width: fit-content !important;
		padding-left: 0;
		padding-right: 30px;
	}
	.mbws-polylang>li>a {
		padding: 0!important;
	}
}