/* Define the body style */
body {
    font-family:Arial;
    font-size:13px;
}

/* 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 and width to 170px */
#menuwrapper ul li{
    width: 170px;
    display: block;
    color: #f1f1f1;
    /*padding: 3px 3px;*/
    text-decoration: none;
    border: 2px solid #de004b;
    border-radius: 15px;
    background-color: #0031ad;
    margin: 3px;
}

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

/* We apply the link style */
/*#menuwrapper ul li a{
    color:#f1f1f1;
   /* display:inline-block;*/
    text-decoration:none;
}
*/
#menuwrapper li a.active {
    background-color: #de004b;
    color: #f1f1f1;
    border: 2px solid #0031ad;
}

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

/* we apply different background color to 2nd level menu items*/
#menuwrapper ul li ul li{
    background-color:#0031ad; /*#cae25a; was a different color*/
}

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

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

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