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

/* Remove the margin, padding, and list style of UL and LI components */
#nav ul, #nav ul li{
    margin:2px;
    padding:0;
    list-style:none;
	text-align:center;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:bolder;
}

/* Apply background color and border bottom white and width to 140px */
#nav ul li{
    background-color:#f6c038;
    border-bottom:solid 3px #d7f3ff;
    width:140px;
    cursor:pointer;
}

/* Apply background hover color when hovering over li component */
#nav ul li:hover{
    background-color:#f5cc65;
    position:relative;
}

/*Apply the link style */
#nav ul li a{
    padding:5px;
    color:#6b5103;
        /* was display:inline-block;*/
    text-decoration:none; display: block; /* display: block extends the click area from text to block */

}

/**** SECOND LEVEL MENU - Not Used ****/
/* Make position absolute for flyout menu and hide the ul until hovering over parent li item */
#nav ul li ul{
    position:absolute;
    display:none;
}

/* When hovered over  li item, 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;
}

/* Apply different background color to 2nd level menu items*/
#nav ul li ul li{
    background-color:#cae25a;
}

/* Change background color for level 2 submenu when hovering*/
#nav ul li:hover ul li:hover{
    background-color:#b1b536;
}

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

/**** THIRD LEVEL MENU  Not Used****/
/* Hide 3rd menu, when hovering over first level menu */
#nav ul li:hover ul li ul{
    position:absolute;
    display:none;
}

/* Show third level menu only when hovering over second level menu parent */
#nav ul li:hover ul li:hover ul{
    display:block;
    left:150px;
    top:0;
}

/* Change background color for level 3 submenu*/
#nav ul li:hover ul li:hover ul li{
    background:#86d3fa;
}

/* Change background color for level 3 submenu when hovering */

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

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

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