﻿/* Define the body style */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size:12px;

}

/* We remove the margin, padding, and list style of UL and LI components */
#menuwrapper ul, #menuwrapper ul li{
    margin:0;
    padding:0px;
    list-style:none;
}

/* We apply background color and border bottom white and width to 150px */
#menuwrapper ul li, #menuwrapper ul li.blue {
    background-color:#fbf3a2;
    width:160px;
    cursor:pointer;
    font-size:16px; 
    font-weight:bold
  
    }

/* We apply the background hover color when user hover the mouse over of the li component */
#menuwrapper ul li:hover, #menuwrapper ul li.blue:hover{
    background-color:#e6e6e6;
    position:relative;
}

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

#menuwrapper ul li.blue a{
    padding:5px 5px;
    color: mediumblue;
    display:inline-block;
    text-decoration:none;
}

#menuwrapper ul li.sales{
   width: 155px;
   background-color: #fbf3a2;
   border: 1px solid maroon;
   border-radius: 4px;
   padding:5px 5px;
   color: mediumblue;
   margin-right: 3px;
}

#menuwrapper ul li.sales a {
   background: #fbf3a2;
   color:mediumblue;
   padding: 4px 4px;
   text-decoration:none;
}

#menuwrapper ul li.sales:hover {
   background-color: #fbf3a2;
   border: 1px solid dodgerblue;
 //  color: white;
}

/**** 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:140px;
    top:0px;
    display:block;
}

/* we apply different background color to 2nd level menu items*/
#menuwrapper ul li ul li{
    background-color:maroon;
    border: 1px solid white;
    border-radius: 4px;
    padding: 2px;
    font-size: 14px;
}

/* We change the background color for the level 2 submenu when hovering the menu */
#menuwrapper ul li:hover ul li:hover{
    background-color:maroon;
}

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

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