﻿/* Define the body style */


/* We remove the margin, padding, and list style of UL and LI components */
#cssmenu ul, #cssmenu ul li{
    margin:0;
    padding:0;
    list-style:none;
	z-index: 3000;
}

/* We float the li list to the left and apply background color and border right white */
#cssmenu ul li{
    float:left;
    background-color:#000080;
    border-right:solid 1px white;
	border-left: solid 1px white;
	cursor:pointer;
}

/* We apply the background hover color when user hover the mouse over of the li component */
/* for IE < 9 we using class .iehover */
#cssmenu ul li:hover,
#cssmenu ul li.iehover{
    background-color:#708090;
    position:relative;
}

/* We apply the link style */
#cssmenu ul li a{
    padding:5px 0px;
    color:#ffffff;
	font-weight: bolder;
	text-align: center;
    display:inline-block;
    text-decoration:none;
	width: 246px;
	height: 30px;
}

/**** SECOND LEVEL MENU ****/
/* We make the position to absolute for flyout menu and hidden the ul until the user hover the parent li item */
#cssmenu ul li ul{
    position:absolute;
    display:none;
	z-index: 4000;
}

/* When user has hovered the li item, we show the ul list by applying display:block, note: 25px is the menu height.  */
/* for IE < 9 we using class .iehover */
#cssmenu ul li:hover ul,
#cssmenu ul li.iehover ul{
    left:0;
    top:25px;
    display:block;
}

/* As the parent li has float:left property, we overwrite for the submenu (level 2) to float none (normal position)  */
#cssmenu ul li ul li{
    float:none;
    width:195px;
    background-color:#B0C4DE;
	border-bottom: solid 1px white;
	border-left: solid 1px white;
}

/* We change the background color for the level 2 submenu when hovering the menu */
/* for IE < 9 we using class .iehover */
#cssmenu ul li:hover ul li:hover,
#cssmenu ul li.iehover ul li.iehover{
    background-color:#FFFACD;
}

/* We style the color of level 2 links */
#cssmenu ul li ul li a{
    color:#454444;
    display:inline-block;
	text-align: center;
	font-weight: bolder;
    width:180px;
	height: 30px;
}

/**** THIRD LEVEL MENU ****/
/* We need to hide the 3rd menu, when hovering the first level menu */
/* for IE < 9 we using class .iehover */
#cssmenu ul li:hover ul li ul,
#cssmenu ul li.iehover ul li ul{
    position:absolute;
    display:none;
	z-index: 5000;
}

/* We show the third level menu only when they hover the second level menu parent */
/* for IE < 9 we using class .iehover */
#cssmenu ul li:hover ul li:hover ul,
#cssmenu ul li.iehover ul li.iehover ul{
    display:block;
    left:150px;
    top:0;
}

/* We change the background color for the level 3 submenu*/
/* for IE < 9 we using class .iehover */
#cssmenu ul li:hover ul li:hover ul li,
#cssmenu ul li.iehover ul li.iehover ul li{
    background:#4169E1;
	width: 275px;
	text-align: center;
	height: 35px;
}

/* We change the background color for the level 3 submenu when hovering the menu */
/* for IE < 9 we using class .iehover */
#cssmenu ul li:hover ul li:hover ul li:hover,
#cssmenu ul li.iehover ul li.iehover ul li.iehover{
    background:#191970;
}

/* We change the level 3 link color */
/* for IE < 9 we using class .iehover */
#cssmenu ul li:hover ul li:hover ul li a,
#cssmenu ul li.iehover ul li.iehover ul li a{
    color:#ffffff;
	font-weight: bolder;
	white-space: nowrap;
	padding: 10px;
}

/* Clear float */
.clear{
    clear:both;
}