/****** Menu ******/
nav {
    width: 160px;
    margin-top:8px;
    margin-right:0;
    font-family: verdana;
    font-size:100%;
}
/* We remove the margin, padding, and list style of UL and LI components */
nav ul, nav ul li{
    margin:0;
    padding:0;
    list-style:none;
}

/* We apply background color and border bottom white and width to 150px */
nav ul li{
    background-color:#036294;/*#33CCFF ;/*light blue*/
    border-bottom:solid 1px white;
    width:130px;
    cursor:pointer;
}
nav ul li ul li{
    width:150px;
}
/* We apply the background hover color when user hover the mouse over of the li component */
nav ul li:hover{
    background-color:#358ebc;/*#6679e9;*/
    position:relative;
}

/* We apply the link style */
nav ul li a{
    padding:5px 15px;
    color:#ffffff;
    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 */
nav ul li ul{
    position:absolute;
    display:none;
}

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

/* we apply different background color to 2nd level menu items*/
nav ul li ul li{
    background-color:#036294/* #86d3fa;/*#cae25a;*/
}

/* We change the background color for the level 2 submenu when hovering the menu */
nav ul li:hover ul li:hover{
    background-color:#358ebc/*#6679e9;/*#b1b536;*/
}

/* We style the color of level 2 links */
nav ul li ul li a{
    color:#fff; /*#454444;*/
    display:inline-block;
    width:120px;
}

/**** THIRD LEVEL MENU ****/
/* We need to hide the 3rd menu, when hovering the first level menu */
nav 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 */
nav ul li:hover ul li:hover ul{
    display:block;
    left:150px;
    top:0;
    z-index:30;
}

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

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

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

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

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