/* Footer menu settings */
#footerMenu {
	clear: both;
	float: left;
	margin: 0px;
	padding: 0; /* black line below menu */
	width: 100%;
	font-family: 'Open Sans', sans-serif; /* Menu font */
	text-shadow: 1px 1px 1px #000, 2px 2px 2px #666;
	font-weight: 100;
	/* font-size: 100%; Menu text size */
	z-index: 1000; /* This makes the dropdown menus appear above the page content below */
	position: relative;
	font-size: 12px;
}


/* footer menu items */
#footerMenu ul {
	list-style: none;
	float: right;
	position: relative;
	right: 50%;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
}
#footerMenu ul li {
	padding: 0;
	float: left;
	position: relative;
	left: 50%;
	top: 0px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 10px;
}
#footerMenu ul li a {
	display: block;
	margin: 0;
	font-size: 12px;
	line-height: 0;
	text-decoration: none;
	color: #FFF;
	font-weight: normal;
	padding-top: 1.2em;
	padding-right: 0.5em;
	padding-bottom: 0.95em;
	padding-left: 0.5em;	
}
#footerMenu ul li.active a {
	color: #666;
	background-color: #CCC;
}
#footerMenu ul li:hover a,
#footerMenu ul li.hover a { /* This line is required for IE 6 and below */
	color: #336699;
}

/* Submenu items */
#footerMenu ul ul {
	display:none; /* Sub menus are hidden by default */
	position:absolute;
	top:2em;
	left:0;
	float:left;
	right:auto; /*resets the right:50% on the parent ul */
	width:10em; /* width of the drop-down menus */
}
#footerMenu 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%;
}
#footerMenu ul ul li a,
#footerMenu ul li.active li a,
#footerMenu ul li:hover ul li a,
#footerMenu ul li.hover ul li a { /* This line is required for IE 6 and below */
	font-size:.8em;
	font-weight:normal; /* resets the bold set for the top level menu items */
	background:#eee;
	color:#444;
	line-height:1.4em; /* overwrite line-height value from top menu */
	border-bottom:1px solid #ddd; /* sub menu item horizontal lines */
	float:left;
	width:100%;
}
#footerMenu ul ul li a:hover,
#footerMenu ul li.active ul li a:hover,
#footerMenu ul li:hover ul li a:hover,
#footerMenu ul li.hover ul li a:hover { /* This line is required for IE 6 and below */
	background:#36f; /* Sub menu items background colour */
	color:#fff;
	float:left;
}

/* Flip the last submenu so it stays within the page */
#footerMenu ul ul.last {
	left:auto; /* reset left:0; value */
	right:0; /* Set right value instead */
}
#footerMenu ul ul.last li {
	float:right;
	position:relative;
	right:.8em;
}

/* Make the sub menus appear on hover */
#footerMenu ul li:hover ul,
#footerMenu ul li.hover ul { /* This line is required for IE 6 and below */
	display:block; /* Show the sub menus */
}
