/* CSS Document */

/* styles for main navigation */
    /* This is the part for the CSS menu - these settings are for a horizontal menu */
    #nav{                         /* menu list container */
	list-style-type: none;      /* disable the display of the list item bullets */
	padding: 0px;               /* space within the list container */
	z-index: 20;                /* push the menu up in the layer order a bit so it isn't hidden behind anything */
    }
	#nav li a {
	display: block;
	}
    #nav li{                 /* top-level menu element */
	list-style-type: none;     	/* this is to allow for the horizontal main menu */
	margin: 0px;                /* spacing between main menu items */
	padding: 0px;               /* the width of each main menu item */
	display: inline!important;
    }

    #nav ul {                   /* 2nd-level (or greater) menu element list elements */
	position: absolute;         /* this is so that it doesn't push that page content around on hover */
	margin: 0px;                /* space around the list container */
	padding: 0px;               /* space within the list container */
	list-style-type: none;      /* disable the display of the list item bullets */
	display: none;
	width: 120px;               /* should be the same as #nav li width */
	z-index: 99;                /* want to be sure this is above the rest of the menu */
    }

    #nav ul li{                 /* second-level or greater menu element links */
	border: none;               /* sub-menu item border settings */
	margin: 0px!important;                /* spacing between sub-menu containers */
	padding: 0px!important;               /* (padding*2) must be subtracted from #nav li width and set for this one, or borders won't display properly. */
	list-style-type: none!important;
	display: block!important;
	clear: left!important;
	float: left!important;
	width: 100%!important;
    }

    #nav ul li a {               /* top-level menu element links */
	display: block!important;
	font-weight: normal!important;
	margin: 0px!important;
	padding: 5px!important;
	height:auto!important;
    }
   
    #nav ul a {                   /* all the other level menu link elements */
    }

    #nav a:hover, #nav li:hover{  /* top-level hovering properties */
        display: block;
    }
   
    #nav ul li:hover,             /* higher level hovering properties */
    #nav ul li a:hover{
	display: block;               /* should be set to the same value as #nav ul li width */
    }

    #nav ul ul{                   /* higher-level list containers */
        display: none;              /* don't display by default */
        position: absolute;
        margin-left: 120px;         /* this should be the width of #nav ul li */
        margin-top: -24px;           /* this will push the sub-menu up to the level of it's parent */
    }

    /* only non-MSIE browsers use this */
    #nav ul li>ul,
    #nav ul ul li>ul{
        margin-top: -24px;           /* should be set to the same as #nav ul ul margin-top */
    }

    /* additional sub-menu levels in the next 2 blocks. (For up to 5 levels of drop menus) */
    #nav li:hover ul ul,              
    #nav li:hover ul ul ul,
    #nav li:hover ul ul ul ul,
    #nav li:hover ul ul ul ul ul{
        display:none;
    }

    #nav li:hover ul,
    #nav ul li:hover ul,
    #nav ul ul li:hover ul,
    #nav ul ul ul li:hover ul,
    #nav ul ul ul ul li:hover ul{
        display:block;
    }

    li>ul {
        top: auto;
        left: auto;
    }
