/* This is the part for the CSS menu - these settings are for a horizontal menu */
#dmenu3{                         /* menu list container */
	list-style-type: none;      /* disable the display of the list item bullets */
	margin: 0px;  /* 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: #fff;     /* the default background color within the main menu container */
    color: #2F57C1;                /* 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 */
	line-height:26px;			/* height of the menu */
/* Browser plug-ins like Flash or Quicktime may not allow you to overlap then with this menu! */
	font-size:12px;
	width:100%;
}
#dmenu3 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: black solid 1px;    /* border for each of the main menu items */
/*	background-color: #fff;     /* main menu item background color */
	color: #1E3F94;                /* main menu item font color (not links) */
	margin: 0px 2px 0px 2px;                /* spacing between main menu items */
	padding: 0px;               /* padding within main menu items */
/*	width: 100px;               /* the width of each main menu item */
	display: block;
	font-size:14px;
}

#dmenu3 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: -6px 0px 0px 10px;                /* 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: 165px;               /* should be the same as #dmenu li width */
	background-color:#F7F7F7;  /* sub-menu default background color */
	border: #000 solid 0px;     /* the border around the sub-menu list */
	color: #FFFFFF;                /* sub-menu default font color (not links) */
	z-index: 99;                /* want to be sure this is above the rest of the menu */
}

#dmenu3 ul li{                   /* second-level or greater menu element links */
	background-color:#F7F7F7;     /* default background color for sub-menu container */
	color: #1E3F94;                /* default font color (not links) for sub-menu container */
            
	margin: 0px;                /* spacing between sub-menu containers */
	padding: 0px;               /* This is for padding between menu items in the drop-downs */
	width: 185px;               /* (padding*2) must be subtracted from #dmenu li width and set for this one, or borders won't display properly. */
	background-image:none;
	font-size:11px;
	font-weight:normal;
	text-align:left;
	
}

#dmenu3 li a{                    /* top-level menu element links */
	text-align: center;         /* text alignment in main menu item links */
/*	width: 120px;               /* set this to #dmenu ul width */
	display: block;
	padding: 0px;
	color:#1E3F94;
	font-weight:bold;
	text-decoration:none;
	font-size:12px;

}

#dmenu3 ul a {                   /* all the other level menu link elements */
	padding: 0px 5px 0px 5px;
	margin: 0px;
	width: 185px;               /* (padding*2) must be subtracted from #dmenu ul li width and set for this one, or borders won't display properly. */
	display: block;
	color:#1E3F94;
	font-size:11px;
	font-weight:normal;
	text-align:left;
	
	border-color:#002072;		  /* sub-menu item border settings */
	border-style:solid;
	border-width:0px 1px 1px 1px; 
}

#dmenu3 a:hover,                 /* top-level hovering properties */
#dmenu3 li:hover{
	display: block;
/*	background-color: #ff0; */
	color:#1E3F94;
	background-position:top;
}

#dmenu3 ul li:hover,             /* higher level hovering properties */
#dmenu3 ul li a:hover{
	display: block;
	width: 185px;               /* should be set to the same value as #dmenu ul li width */
	background-color:#9DB5F2;
/*	color: red; */
	background-image:none;
	color:#1E3F94;
}

#dmenu3 ul ul{                   /* higher-level list containers */
	display: none;              /* don't display by default */
	position: absolute;
	margin-left: 165px;         /* 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 */
}

/* only non-MSIE browsers use this */
#dmenu3 ul li>ul,
#dmenu3 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) */
#dmenu3 li:hover ul ul,              
#dmenu3 li:hover ul ul ul,
#dmenu3 li:hover ul ul ul ul,
#dmenu3 li:hover ul ul ul ul ul{
	display:none;
}

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

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

.content {                      /* This is used for the content that will appear below the menu */
	clear: left;
}
/* End of menu style */
