
/* This is the part for the CSS menu - these settings are for a horizontal menu */

#dmenu{                         /* menu list container */
	list-style-type: none;      /* disable the display of the list item bullets */
	margin: 0px;                /* space around the list container */
	position: static;           /* need this so that the z-index stuff works correctly */
	background-color: #fff;     /* the default background color within the main menu container */
	color: #006699;                /* the default font color (not links) 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 */
								/* Browser plug-ins like Flash or Quicktime may not allow you to overlap then with this menu! */
}

/* Main Button LI */
#dmenu li{                      /* top-level menu element */
	list-style-type: none;      /* disable the display of the list item bullets */
	float: left;                /* this is to allow for the horizontal main menu */
	border-left: white solid 1px;    /* border for each of the main menu items */
	background-color: #FFFFFF;  /* main menu item background color */
	margin: 0px;                /* spacing between main menu items */
	padding:0;
	width: 146px;               /* the width of each main menu item */
	display: block;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:11px;
}

/* Main Button Link */
#dmenu li a{                    /* top-level menu element links */
	width: 150px;               /* set this to #dmenu ul width */
	display: block;
	color: #006699;             /* main menu item font color (not links) */		
	text-decoration: none;
	padding: 0px;
	text-align: center;
}

/* Main button hover */
#dmenu a:hover, #dmenu li:hover {    /* top-level hovering properties */
	color: #0099CC;
}

/* Continents UL */
#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: 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: 200px;               /* should be the same as #dmenu li width */
	background-color: #EEEEEE;  /* sub-menu default background color */
	border: #000 solid 1px;     /* the border around the sub-menu list */
	color: #006699;                /* sub-menu default font color (not links) */
	z-index: 99;                /* want to be sure this is above the rest of the menu */
	margin-left: -70px;
}

/* Comtinent Positioning for non-IE browsers */
#dmenu li>ul {
	margin-left: 0px;
}
/* Continents LI */
#dmenu ul li{                   /* second-level or greater menu element links */
	background-color: #EEEEEE;     /* default background color for sub-menu container */
	color: #006699;                /* default font color (not links) for sub-menu container */
	border-bottom: 1px solid #9EABC3;   /* sub-menu item border settings */
	border-top:none;
	border-right:none;
	border-left:none;
	margin: 0px;                /* spacing between sub-menu containers */
	padding: 0px;;   /* This is for padding between menu items in the drop-downs */
	width: 200px;               /* (padding*2) must be subtracted from #dmenu li width and set for this one, or borders won't display properly. */
	text-align:left;
}

/* Leagues Link */
#dmenu ul a {                   /* all the other level menu link elements */
	padding: 4px 0px 4px 0px;
	margin: 0px;
	display: block;
	text-align:left;
	width: 200px;               /* (padding*2) must be subtracted from #dmenu ul li width and set for this one, or borders won't display properly. */
}

/* Leagues Hover */
#dmenu ul li:hover, #dmenu ul li a:hover{     /* higher level hovering properties */
	background-color: #D9E9F1;
	color: 0099CC;
}


/* Leagues Positioning */
#dmenu ul ul{                   /* higher-level list containers */
	display: none;              /* don't display by default */
	position: absolute;
	margin-left: 175px;         /* this should be the width of #dmenu ul li */
	margin-top: -18px;           /* this will push the sub-menu up to the level of it's parent */
}

/* Leagues Positioning for non-MSIE browsers */
#dmenu ul li>ul,
#dmenu ul ul li>ul{
	margin-top: 5px;           /* should be set to the same as #dmenu ul ul margin-top */
	position: absolute;
	margin-left: 175px;         /* this should be the width of #dmenu ul li */
	margin-top: -18px;           /* this will push the sub-menu up to the level of it's parent */
}

/* 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;
}
