﻿/* We remove the margin, padding, and list style of UL and LI components */
#menuwrapper {
	width: 100%;
}

#menuwrapper p {
	padding: 0px;
	margin: 0px;
}

#menuwrapper p span {
	display: inline-block;
	width: 100%;
}

#menuwrapper ul {
	padding: 0px;
}


#menuwrapper ul,
#menuwrapper ul li {
	margin: 0;
	list-style: none;
}

#menuwrapper ul li::before {
	content: "•";
	font-family: "font-heavy";
	color: #F26597;
	font-size: 20px;
	line-height: 1;
	margin-top: 1px;
	transition: 0.3s;
}

/* We apply background color and border bottom white and width to 150px */
#menuwrapper ul li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 20px;
	background: #fff;
	border-radius: 5px;
	box-shadow: 0px 0px 5px -2px #F26597;
	margin-bottom: 5px;
	transition: 0.3s;
}

#menuwrapper ul li:nth-last-child(1) {

	border-bottom: 0px;
}


/* We apply the background hover color when user hover the mouse over of the li component */
/* for IE < 9 we using class .iehover */
#menuwrapper ul li:hover,
#menuwrapper ul li.iehover {
	position: relative;
	z-index: 1000;
	background: #f26497;
}

#menuwrapper ul li:hover a,
#menuwrapper ul li.iehover a {
	color: #fff;
}

#menuwrapper ul li:hover::before,
#menuwrapper ul li.iehover::before {
	color: #fff;
}


/* We apply the link style */
#menuwrapper ul li a {
	font-family: "font-medium";
	font-size: 15px;
	line-height: 140%;
	color: #000;
	flex: 1;
	display: block;
	transition: 0.3s;
}

/**** SECOND LEVEL MENU ****/
/* We make the position to absolute for flyout menu and hidden the ul until the user hover the parent li item */
#menuwrapper ul li ul {
	position: absolute;
	display: none;
	background: #f2f2f2;
	border-radius: 10px;
	padding: 0px 4px;
	transition: 0.3s;
}

/* When user has hovered the li item, we show the ul list by applying display:block, note: 150px is the individual menu width.  */
/* for IE < 9 we using class .iehover */
#menuwrapper ul li:hover ul,
#menuwrapper ul li.iehover ul {
	left: 100%;
	top: 0px;
	display: block;
}

/* we apply different background color to 2nd level menu items*/
#menuwrapper ul li ul li {}

/* We change the background color for the level 2 submenu when hovering the menu */
/* for IE < 9 we using class .iehover */
#menuwrapper ul li:hover ul li:hover,
#menuwrapper ul li.iehover ul li.iehover {
	background-position: center;
}

/* We style the color of level 2 links */
#menuwrapper ul li ul li a {
	display: inline-block;
	width: 320px;
	padding: 0px !important;
	font-weight: 500;
	color: #000 !important;
}

#menuwrapper ul li ul li a span {
	color: #000 !important;
}

#menuwrapper ul li ul li:hover {}

#menuwrapper ul li ul li:hover>a {
	color: #fff !important;
}

#menuwrapper ul li ul li:hover>a span {
	color: #fff !important;
}

#menuwrapper ul li ul li>a#active_left {
	color: #fff !important;
}

/**** THIRD LEVEL MENU ****/
/* We need to hide the 3rd menu, when hovering the first level menu */
/* for IE < 9 we using class .iehover */
#menuwrapper ul li:hover ul li ul,
#menuwrapper ul li.iehover ul li ul {
	position: absolute;
	display: none;
}

/* We show the third level menu only when they hover the second level menu parent */
/* for IE < 9 we using class .iehover */
#menuwrapper ul li:hover ul li:hover ul,
#menuwrapper ul li.iehover ul li.iehover ul {
	display: block;
	left: 100%;
	top: 0;
}

/* We change the background color for the level 3 submenu*/
/* for IE < 9 we using class .iehover */
#menuwrapper ul li:hover ul li:hover ul li,
#menuwrapper ul li.iehover ul li.iehover ul li {}

/* We change the background color for the level 3 submenu when hovering the menu */
/* for IE < 9 we using class .iehover */
#menuwrapper ul li:hover ul li:hover ul li:hover,
#menuwrapper ul li.iehover ul li.iehover ul li.iehover {}

/* We change the level 3 link color */
/* for IE < 9 we using class .iehover */
#menuwrapper ul li:hover ul li:hover ul li a,
#menuwrapper ul li.iehover ul li.iehover ul li a {
	color: #ffffff;
}

/* Clear float */
.clear {
	clear: both;
}