
/* Main menu settings */
#centeredmenu {
	clear:both;
	float:left;
	margin:0;
	padding:0;
	width:80%;
	font-size:90%; /* Menu text size */
	z-index: 1000; /* This makes the dropdown menus appear above the page content below */
	position: relative;
	font-size: 16px;
	top: 8px;
	margin-left: 20px;
}

/* Top menu items */
#centeredmenu ul {
	margin:0;
	padding:0;
	list-style:none;
	position:relative;
	left:0%;
}
#centeredmenu ul li {
	margin:0 0 0 1px;
	padding:0px;
	float:left;
	position:relative;
	left:0%;
	top:2px;
}
#centeredmenu ul li a {
	display:block;
	margin:0;
	padding-right: 30px;
	font-size:1em;
	line-height:1em;
	text-decoration:none;
}


/* Submenu items */
#centeredmenu ul ul {
	display:none; /* Sub menus are hidden by default */
	position:absolute;
	padding-top: 4px;
	left:0;
	float:left;
	right:auto; /*resets the right:50% on the parent ul */
	width:200px; /* width of the drop-down menus */
}
#centeredmenu ul ul li {
	left:auto;  /*resets the left:50% on the parent li */
	margin:0; /* Reset the 1px margin from the top menu */
	clear:left;
	float:left;
	width:100%;
	padding: 0px;
	background-color: black;
	background-position: center;
	background-repeat: repeat-y;
}
#centeredmenu ul ul li a,
#centeredmenu ul li.active li a,
#centeredmenu ul li:hover ul li a,
#centeredmenu ul li.hover ul li a { /* This line is required for IE 6 and below */
	font-weight:normal; /* resets the bold set for the top level menu items */
	color:white;
	line-height:1.4em; /* overwrite line-height value from top menu */
	float:left;
	width: 177px;
	margin: 0px;
}
#centeredmenu ul ul li a:hover,
#centeredmenu ul li.active ul li a:hover,
#centeredmenu ul li:hover ul li a:hover,
#centeredmenu ul li.hover ul li a:hover { /* This line is required for IE 6 and below */
	background: #8a102a; /* Sub menu items background colour */
	color:#fff;
	float:left;
}

/* Flip the last submenu so it stays within the page */
#centeredmenu ul ul.last {
	left:auto; /* reset left:0; value */
	right:0; /* Set right value instead */
}
#centeredmenu ul ul.last li {
	float:right;
	position:relative;
	right:.8em;
}

/* Make the sub menus appear on hover */
#centeredmenu ul li:hover ul,
#centeredmenu ul li.hover ul { /* This line is required for IE 6 and below */
	display:block; /* Show the sub menus */
}