/* Customization */
table.left_menu_table {
	border:1px solid #999;
	border-radius:4px;
}

td.left_menu_title {
	background-color:#333;
	color:#fff;
	padding:10px 6px;
	font-weight:bold;
	font-size:110%;
} 
 
/* We remove the margin, padding, and list style of UL and LI components */
#menuwrapper ul, #menuwrapper ul li{
    margin:0;
    padding:0;
    list-style:none;
}

/* We apply background color and border bottom white and width to 150px */
#menuwrapper ul li{
    background-color:#fff;
    border-bottom:solid 1px #f1f1f1;
    width:200px;
    cursor:pointer;
}

/* We apply the background hover color when user hover the mouse over of the li component */
#menuwrapper ul li:hover {
    background-color:#f1f1f1;
    position:relative;
    color:#ffffff;
    border-style:inset;
    border-right-style:none;
    border-top-style:none;
    border-bottom-style:none;
    border-left: 2px solid red;
    margin-left:-2px;
    /*box-shadow: 2px 1px 2px #555; */
}

/* We apply the link style */
#menuwrapper ul li a{
    padding:8px 15px;
    color:#444;
    display:inline-block;
    text-decoration:none;
    
}

/**** 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;
}

/* When user has hovered the li item, we show the ul list by applying display:block, note: 150px is the individual menu width.  */
#menuwrapper ul li:hover ul{
    left:198px;
    top:0px;
    display:block;
    z-index:9999;
}

/* we apply different background color to 2nd level menu items*/
#menuwrapper ul li ul li{
    background-color:#fff;
    border:1px solid #f1f1f1;
}

/* We change the background color for the level 2 submenu when hovering the menu */
#menuwrapper ul li:hover ul li:hover {
    background-color:#f1f1f1;
    border-right:2px solid #f1f1f1;
   /* box-shadow: 2px 1px 2px #555;*/
}

/* We style the color of level 2 links */
#menuwrapper ul li ul li a{
    color:#444;
    display:inline-block;
    width:180px;
}

/**** THIRD LEVEL MENU ****/
/* We need to hide the 3rd menu, when hovering the first level menu */
#menuwrapper ul li:hover ul li ul{
    position:absolute;
    display:none;
}

/* We show the third level menu only when they hover the second level menu parent */
#menuwrapper ul li:hover ul li:hover ul{
    display:block;
    left:150px;
    top:0;
}

/* We change the background color for the level 3 submenu*/
#menuwrapper ul li:hover ul li:hover ul li{
    background:#86d3fa;
}

/* We change the background color for the level 3 submenu when hovering the menu */

#menuwrapper ul li:hover ul li:hover ul li:hover{
    background:#358ebc;
}

/* We change the level 3 link color */
#menuwrapper ul li:hover ul li:hover ul li a{
    color:#ffffff;
}

/* Clear float */
.clear{
    clear:both;
}
