#topnav ul {
	list-style:none;
	margin:0;
	padding:0;
	text-align:center;
}

#topnav li {
	display:inline;
}

#topnav li a {
	color:#FFFFFF;
	padding:11px 15px;
	text-decoration:none;
	text-transform:uppercase;
}

#topnav li a.active {
	background:transparent url('http://www.holyfamilycs.org/custom/images/topnav_background_hover.jpg') repeat-x;
	color:#00338e;
	padding:11px 15px;
	text-decoration:none;
	text-transform:uppercase;	
}

#topnav li a:hover {
	background:transparent url('http://www.holyfamilycs.org/custom/images/topnav_background_hover.jpg') repeat-x;
	color:#00338e;
}

/* topnav menu */
/* Style the list OR link hover. Depends on which browser is used */
#topnav ul a:hover {
	visibility:visible;
} /* for IE6 */

#topnav ul li:hover {
	position:relative;
	z-index:200;
} /* for IE7 */

/* keep the 'next' level invisible by placing it off screen. */
#topnav ul ul, 
#topnav ul :hover ul ul, 
#topnav ul :hover ul :hover ul ul,
#topnav ul :hover ul :hover ul :hover ul ul,
#topnav ul :hover ul :hover ul :hover ul :hover ul ul {
	height:0;
	left:-9999px;
	position:absolute;
	top:-9999px;
	width:0;
}

/* set up the first drop down sub level */
#topnav ul :hover ul {
	background:#767e91;
	border:0px;
	height:30px;
	line-height:30px;
	left:0px;
	margin:0;
	top:26px;
	width:107px;
}

#topnav ul li ul li {
	background:none;
	border:0;
	margin:0;
	padding:0;
}

#topnav ul > li :hover ul {
	left:0px;
}

#topnav ul :hover ul li {
	display:block;
	float:left;	
	position:relative;
	width:107px;
}

#topnav ul :hover ul li a {
	background:#767e91;
	border:0;	
	color:#FFFFFF;
	display:block;
	font:bold 11px Arial, Helvetica, sans-serif;
	text-align:left;
	text-decoration:none;
	text-transform:none;
	width:107px;
}

#topnav ul :hover ul li a:hover {
	background:#939190 url('http://www.holyfamilycs.org/custom/images/topnav_dropdown_hover.jpg') repeat-x;
	border:0;		
	color:#00266b;
}

#header_nav {background-color: #8692a3; height:25px; padding:0; margin:0; border:0; width:100%;}
/* Add a relative position with a high z-index to make it appear over any element below */
#tabnav {position:relative; height:25px; z-index:100; width:100%;}
/* Get rid of the margin, padding and bullets in the unordered lists */
#headermenu, #headermenu ul {padding:0; margin:0px 0px 0px 0px; list-style-type:none;}
/* Set up the link size, color and borders */
#headermenu a.toplink, #headermenu a.toplink:visited {display:block; color:#e6e6e6; font-size:13px; height:25px; line-height:24px; text-decoration:none; padding:0px 10px 0px 10px; border:1px solid #fbab17; border-width:0px 0px 0px 1px; text-align:center;}
#headermenu a.downlink, #headermenu a.downlink:visited {display:block; width:175px; color:#ffffff; text-decoration:none; padding:5px; border:1px solid #eeeded; border-width:1px 1px 0px 1px; text-align:left;}
/* last right category border */
#headermenu a.lastright, #headermenu a.lastright:visited {border-right-width:1px;}
/* last bottom border */
#headermenu a.lastbottom, #headermenu a.lastbottom:visited {border-bottom:1px solid #eeeded;}
/* Set up the list items */
#headermenu li {float:left; background:#8692a3;}
#headermenu li ul li {float:left; background:#fbab17;}
/* For Non-IE browsers and IE7 */
#headermenu li:hover {position:relative;}
/* Make the hovered list color persist */
#headermenu li:hover > a.toplink {background:#fbab17; color:#00338e;}
#headermenu li ul li:hover > a.downlink {background:#eeeded; color:#00266b;}
#headermenu a.tabnav_default, #headermenu a.tabnav_default:visited {background:#fbab17; color:#00338e;}
/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
#headermenu li ul {display:none; margin:0;}
/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
#headermenu li:hover > ul {display:block; position:absolute; top:-11px; left:80px; padding:9px 30px 30px 30px; width:150px;}
/* Position the first sub level beneath the top level liinks */
#headermenu > li:hover > ul {left:-30px; top:16px;}
/* get rid of the table */
#headermenu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}
/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. This is needed to trigger IE to show the sub levels */
* html #headermenu li a.toplink:hover {position:relative; background:#fbab17; color:#00338e;}
* html #headermenu li ul li a.downlink:hover {position:relative; background:#eeeded; color:#00266b;}
/* For accessibility of the top level menu when tabbing */
#headermenu li a.toplink:active, #headermenu li a.toplink:focus {background:#fbab17; color:#00338e;}
#headermenu li ul li a.downlink:active, #headermenu li a.downlink:focus {background:#eeeded; color:#00266b;}
/* This lot is for IE5.5 and IE6 ONLY and is necessary to make the sublevels appear */
/* change the drop down levels from display:none; to visibility:hidden; */
* html #headermenu li ul {visibility:hidden; display:block; position:absolute; top:-11px; left:80px; padding:10px 30px 30px 30px;}
/* make the second level visible when hover on first level link and position it */
#headermenu li a:hover ul {visibility:visible; left:-30px; top:14px;}
