/* Start:Menu  Customs*/

/*** ESSENTIAL STYLES ***/
#nav, #nav * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
#nav {
	float:left;
	height:31px;
	width:705px;
	background-color:#FFFFFF;
	z-index: 99;
	position:relative;
	line-height:	1.0;
	position:relative;
}
#nav ul {
	position:		absolute;
	top:			-999em;
	width:			141px; /* left offset of submenus need to match (see below) */
}
#nav ul li {
	width:			100%;
}
#nav li:hover {
	visibility:		inherit;  /*fixes IE7 'sticky bug' */
}
#nav li {
	float:			left;
	position:		relative;
}
#nav a {
	display:		block;
	position:		relative;
}
#nav li:hover ul,
#nav li.sfHover ul {
	left:			0;
	top:			31px; /* match top ul list item height */

}
ul#nav li:hover li ul,
ul#nav li.sfHover li ul {
	top:			-999em;
}
ul#nav li li:hover ul,
ul#nav li li.sfHover ul {
	left:			141px; /* match ul width */
	top:			0;
}
ul#nav li li:hover li ul,
ul#nav li li.sfHover li ul {
	top:			-999em;
}
ul#nav li li li:hover ul,
ul#nav li li li.sfHover ul {
	left:			141px; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
#nav {
	float:			left;
	margin-bottom:	.5em;
	font-size:12px;
	font-weight:bolder ;
}
#nav a {
	border-left:	1px solid #e0e0e0;
	border-top:		1px solid #e0e0e0;
	padding: 		5px 2px;
	text-decoration:none;
}
#nav a, #nav a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#ffffff;
}
#nav li {
	background: #b4b4b4;	
	background-image: url('http://www.stpete.org/_includes_/topnav_bk.gif');
	background-repeat:repeat-x;
	font-weight:bolder;
	font-size:13px;
	color: #0f6893;
	text-align:center;
}
#nav ul li:first-child, ul + li {color: #0f6893;}
#nav li a { color: #0f6893;
}
#nav li a:visited {	color: #ffffff;
}
#nav li li {
	background: #0f6893;
	color:#FFFFFF;
	font-weight:normal;
	font-size:11px;
}
#nav li li a {	color: #ffffff;
}
#nav li li li {
	background:		#2581ad;
	font-weight:normal;
	font-size:11px;
}
#nav li:hover, #nav li.sfHover,
#nav a:focus, #nav a:hover,  #nav a:active {

	background:		#b4b4b4;
	color: #fff;
	outline:		0;
}

/*** arrows **/
#nav a.sf-with-ul {
	padding-right: 	2.25em;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			1.05em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url('../images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.5em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
#nav ul .sf-sub-indicator { background-position:  -10px 0; }
#nav ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
#nav ul a:focus > .sf-sub-indicator,
#nav ul a:hover > .sf-sub-indicator,
#nav ul a:active > .sf-sub-indicator,
#nav ul li:hover > a > .sf-sub-indicator,
#nav ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background:	url('../images/shadow.png') no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}

/*End...*/

.mainnav {
	float:left;
	height:31px;
	width:705px;
	background-color:#FFFFFF;
	z-index:999;
}