/* This is the part for the CSS menu - these settings are for a horizontal menu */
    #dmenu{                         /* menu list container */
	list-style-type: none;                /* space around the list container */
	padding: 0px;               /* space within the list container */
	position: static;           /* need this so that the z-index stuff works correctly */
	background-color: transparent;     /* the default background color within the main menu container */
	z-index: 20;                /* push the menu up in the layer order a bit so it isn't hidden behind anything */
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;            /* Browser plug-ins like Flash or Quicktime may not allow you to overlap then with this menu! */
	font-weight: bold;
    }

    #dmenu ul {                     /* third-level (or greater) menu element list elements */
	position: absolute;         /* this is so that it doesn't push that page content around on hover */
	margin-top: 2px;                /* space around the list container */
	padding: 0px;               /* space within the list container */
	margin-left: -1px;
	list-style-type: none;      /* disable the display of the list item bullets */
	display: none;               /* should be the same as #dmenu li width */
	background-color: transparent;
	z-index: 99;                /* want to be sure this is above the rest of the menu */
    }
    #dmenu li{                      /* top-level menu element */
	list-style-type: none;      /* disable the display of the list item bullets */
	float: left;                /* spacing between main menu items */
	padding-left: 0px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 2px;               /* the width of each main menu item */
	display: inline;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 0px;
	margin-left: 10px;
    }

    #dmenu a {                 /* top-level properties */
        display: block;
				background-color: transparent;
        color: #fff;
		}		
		
		#dmenu a:hover {                 /* top-level hovering properties */
        display: block;
				background-color: transparent;
        color: #fff799;
    }

    #dmenu ul ul{                   /* higher-level list containers */
	display: none;              /* don't display by default */
	position: absolute;
	margin-left: 2px;        /* this should be the width of #dmenu ul li */
	margin-top: -2em;           /* this will push the sub-menu up to the level of it's parent */
    }
    
    #dmenu ul a {                   /* all the other level menu link elements */
	text-align: left;
	margin: 0px;               /* (padding r + l must be subtracted from #dmenu ul li width and set for this one, or borders won't display properly. */
	display: block;
	background-color: transparent;
	color: #FFFFFF;
	padding-top: 1px;
	padding-right: 1px;
	padding-bottom: 1px;
	padding-left: 2px;
    }

    #dmenu li a{                    /* top-level menu element links */
	text-align: center;         /* text alignment in main menu item links */
	text-decoration: none;               /* set this to #dmenu ul width */
	display: block;
	color: #FFFFFF;
    }

    #dmenu ul li{                   /* second-level or greater menu element links */
	background-color: transparent;
	border: none;                /* spacing between sub-menu containers */
	padding: 1px;               /* (padding*2) must be subtracted from #dmenu li width and set for this one, or borders won't display properly. */
	margin-top: 0px;
	margin-right: 8px;
	margin-bottom: 0px;
	margin-left: 8px;
    }
		
    #dmenu ul li a {						/* higher level visited properties */
	display: block;               /* should be set to the same value as #dmenu ul li width */
	color: #fff;
				}
		
		#dmenu ul li a:hover{						/* higher level hovering properties */
	display: block;               /* should be set to the same value as #dmenu ul li width */
	color: #fff799;
    }
                
    #dmenu ul li a:visited {						/* higher level visited properties */
	display: block;               /* should be set to the same value as #dmenu ul li width */
	color: #fff;
				}

    /* only non-MSIE browsers use this */
    #dmenu ul li>ul,
    #dmenu ul ul li>ul{
        margin-top: -2em;           /* should be set to the same as #dmenu ul ul margin-top */
    }

    /* additional sub-menu levels in the next 2 blocks. (For up to 5 levels of drop menus) */
    #dmenu li:hover ul ul,              
    #dmenu li:hover ul ul ul,
    #dmenu li:hover ul ul ul ul,
    #dmenu li:hover ul ul ul ul ul{
        display:none;
    }

    #dmenu li:hover ul,
    #dmenu ul li:hover ul,
    #dmenu ul ul li:hover ul,
    #dmenu ul ul ul li:hover ul,
    #dmenu ul ul ul ul li:hover ul{
        display:block;
    }

    li>ul {
        top: auto;
        left: auto;
    }

