@use '../../utils' as *;

/*----------------------------------------*/
/*  3.6.2 Mobile Menu css
/*----------------------------------------*/

.mean-container .mean-bar {
	padding: 0;
	min-height: auto;
	background: none;
	float: left;
	width: 100%;
	position: relative;
	padding: 4px 0;
	min-height: 42px;
	z-index: 999999;
	margin-bottom: 30px;
}
.mean-container .mean-bar,
.mean-container .mean-bar * {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}
.mean-container a.meanmenu-reveal {
	width: 22px;
	height: 22px;
	padding: 13px 13px 11px 13px;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
	color: var(--rs-white);
	text-decoration: none;
	font-size: 16px;
	text-indent: -9999em;
	line-height: 22px;
	font-size: 1px;
	font-weight: 700;
	display: none !important;
}

.mean-container a.meanmenu-reveal span {
	display: block;
	background: var(--rs-white);
	height: 3px;
	margin-top: 3px;
}
.mean-container .mean-nav {
	background: none;
	margin-top: 0;
	float: left;
	width: 100%;
}
.mean-container .mean-nav>ul {
	padding: 0;
	margin: 0;
	width: 100%;
	list-style-type: none;
	display: block !important;
}
.mean-container .mean-nav ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	&.mega-menu {
		position: static;
		height: 100%;
		background: transparent;
		z-index: 3;
		display: block;
		padding: 0 0;
		opacity: 1;
		visibility: visible;
		transition: none;
		padding-inline-start: 20px;
		@include rtl {
			padding-inline-start: 22px;
			padding-inline-end: 0;
		}
	}
}
.mean-container .mean-nav {
	.submenu {
		padding-inline-start: 20px;
		a {
			font-size: 16px;
		}
	}
	.mega-menu{
		ul{
			padding-inline-start: 20px;
		}
	}
}
.mean-container {
	.mean-nav ul {
		li {
			position: relative;
			float: left;
			width: 100%;
			border-bottom: 1px solid var(--rs-border-primary);
		}
	}
}

.mean-container .mean-nav ul li a,
.mean-container .mean-nav ul li span {
	display: block;
	float: left;
	width: 90%;
	padding: 10px 5%;
	margin: 0;
	text-align: start;
	text-decoration: none;
	width: 100%;
	padding: 10px 0;
	color: var(--rs-black);
	border-top: 1px solid rgba(255, 255, 255, 0.079);
	font-size: 16px;
	line-height: 1.5;
	font-weight: 500;
	&:hover {
		color: var(--rs-theme-yellow);
	}
}

.mean-container .mean-nav>ul>li:first-child>a {
	border-top: 0;
}

.mean-container .mean-nav ul li.dropdown-opened>a,
.mean-container .mean-nav ul li.dropdown-opened>span {
	color: var(--rs-theme-yellow);
}

.mean-container .mean-nav ul li a.mean-expand,
.mean-container .mean-nav ul li span.mean-expand {
	text-align: center;
	position: absolute;
	inset-inline-end: 0;
	top: 0;
	z-index: 2;
	background: transparent;
	border: none !important;
	font-size: 14px !important;
	margin-top: 8px;
	padding: 0 !important;
	height: 30px;
	width: 30px;
	color: var(--rs-black);
	line-height: 30px;
	font-weight: 400;
	&:hover {
		background: var(--rs-theme-yellow);
		color: var(--rs-black);
	}
	i {
		transition: all 0.3s ease-out 0s;
	}
}

.mean-container .mean-nav ul li.dropdown-opened>a.mean-expand.mean-clicked,
.mean-container .mean-nav ul li.dropdown-opened>span.mean-expand.mean-clicked {
	background: var(--rs-theme-yellow);
	color: var(--rs-black);
	border-color: transparent;
}

.mean-container .mean-nav ul li.dropdown-opened>a.mean-expand.mean-clicked i,
.mean-container .mean-nav ul li.dropdown-opened>span.mean-expand.mean-clicked i {
	color: var(--rs-white);
	transform: rotate(45deg);
}

.mean-container .mean-nav ul li > a.mean-expand i {
	display: inline-block;
}

// mega menu
.mobile-menu.mean-container {
	.menu-item {
		display: inline-flex;
		align-items: center;
		gap: 16px;
		border: 1px solid #2B4DFF1F;
		padding: 10px 10px 10px 10px;
		border-radius: 10px;
		width: 100%;
		margin-bottom: 10px;
		&:hover {
			background: #2B4DFF0A;
			.title {
				color: var(--rs-theme-primary);
			}
		}
	}
	.menu-item-has-children{
        &.dropdown-opened{
            border-bottom: 0;
        }
    }
	.rs-mega-menu-btn{
		margin-bottom: 20px;
        .rs-btn{
			border-radius: 0;
			display: inline-flex;
			float: unset;
			align-items: center;
			justify-content: start;
			font-size: 15px;
			height: unset;
			padding: unset;
			width: unset;
			.icon-box{
				width: unset;
				padding: 0;
			}
        }
    }
	.rs-mega-menu-thumb{
		.image-link{
			padding: 0;
		}
	}
	.rs-mega-menu-desc{
		margin-bottom: 10px;
	}

}

#mobile-menu-two{
    @media #{$lg}{
        display: none;
    }
}
#mobile-menu-three{
    @media #{$lg}{
        display: none;
    }
}
#mobile-menu-four{
    @media #{$lg}{
        display: none;
    }
}


.mobile-menu.mean-container .onepage-menu li a.active {
	color: var(--rs-theme-primary);
}