/*
Theme Name: 	MBWS
Description: 	Một sản phẩm được thiết kế MBWS.
Author:			MBWS
Template:		flatsome
Version:		3.0
Text Domain:	flatsome
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.home-slider img {
    border-radius: 30px;
}

.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 {
	min-width: 250px;
	background-color: var(--primary-color);
	padding:20px 0 !important;
	position: absolute;
	left: 999%;
	opacity: 0;
	top: -20px;
}
.nav-dropdown .sub-menu li a {
    color: white;
}
.nav-dropdown li.menu-item-has-children:hover>.sub-menu {
	left: 100%;
	opacity: 1;
}

/* ==========================================================================
   MBWS Video & Layout Fixes
   ========================================================================== */

/* Fix Flatsome Video Fit for self-hosted video & MediaElement */
.video-fit {
	position: relative;
	overflow: hidden;
}

.video-fit .wp-video,
.video-fit .wp-video-shortcode,
.video-fit .mejs-container,
.video-fit .mejs-overlay,
.video-fit .mejs-poster {
	width: 100% !important;
	height: 100% !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	max-width: 100% !important;
}

.video-fit .mejs-controls {
	width: 100% !important;
}

.video-fit video {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: inherit;
}

/* Vertical video wrapper */
.mbws-video-vertical {
	max-width: 440px;
	margin-left: auto !important;
	margin-right: auto !important;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
	background-color: #000;
}

.mbws-video-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 25px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}