﻿
/*** ESSENTIAL STYLES ***/
.nav, .nav * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.nav {
	line-height:	1.0;
}
.nav ul {
	position:		absolute;
	top:			-999em;
	width:			200px; /* left offset of submenus need to match (see line 42 & 51 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:			41px; /* match top ul list item height */
	z-index:		2999;
}
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:			200px; /* 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:			200px; /* match ul width */
	top:			0;
}

ul.nav li li li:hover li ul,
ul.nav li li li.sfHover li ul {
	top:			-999em;
}
ul.nav li li li li:hover ul,
ul.nav li li li li.sfHover ul {
	left:			200px; /* match ul width */
	top:			0;
}

/*** WinterPark SKIN - horizontal ***/
#primaryNav { background: url(../images/bgPrimaryNav.gif) 0px -82px no-repeat; height:41px }

.nav { float: left; }

/*top level styling*/
.nav a {	
	font-size:10px; 
    font-weight:bold;
    
	text-align:center;
    text-decoration:none; 
    text-transform:uppercase;
	padding: 16px 0 0 0;
	text-decoration:none;
}
.nav a  {
 /* visited pseudo selector so IE6 applies text colour*/
	 color:#005ba3;
}

.nav li a span { display:block; text-indent:-234203px;}

.nav li a ul li a span,
.vertical li a span { display:inline; text-indent:0px; }

/*drop down link styling*/
.nav ul { }
.nav ul a,
.nav ul a:visited  {
	font-size:10px; 
	color:#fff; 
	text-transform:none; 
	text-align:left; 
	height:auto; 
	padding:.75em 1em;}


.nav li {
	margin-right:0px;
	height:41px;
	background:none;
}
.nav li li {
	margin:0;
	background:	#cc0000;
	height:auto;
	border-top:1px solid #CC6666;
}
.nav li li li {
	background:		#cc0000;
}

/*top level hovers*/
.nav li:hover, .nav li.sfHover, .nav li.current,
.nav a:focus, .nav a:hover, .nav a:active {
	/*background: url(../images/bgNavItem.gif) top center no-repeat;*/
	outline:		0;
	z-index:2600;
}

.nav li.current { z-index:2550; }

ul.vertical li.current { z-index:90; }

/*top level widths*/
.nav li.Home 	                        {width:79px}
.nav li.AboutUs 	                    {width:85px}
.nav li.DoingBusinesswithBCHA 	        {width:110px}
.nav li.HousingOptions                  {width:102px}
.nav li.RealEstateDevelopment           {width:127px}
.nav li.OurServices                     {width:103px}
.nav li.CareerswithBCHA                 {width:113px}
.nav li.CommunicationsandPublicAffairs  {width:148px}
.nav li.RelatedLinks                    {width:91px; margin-right:0;}

/*top level hover states (IE6 doesn't get these)*/
.nav li.Home:hover                               { background: url(../images/bgPrimaryNav.gif) 0px -41px no-repeat; }
.nav li.AboutUs:hover                            { background: url(../images/bgPrimaryNav.gif) -79px -41px no-repeat; }
.nav li.DoingBusinesswithBCHA:hover              { background: url(../images/bgPrimaryNav.gif) -164px -41px no-repeat; }
.nav li.HousingOptions:hover                     { background: url(../images/bgPrimaryNav.gif) -274px -41px no-repeat; }
.nav li.RealEstateDevelopment:hover              { background: url(../images/bgPrimaryNav.gif) -376px -41px no-repeat; }
.nav li.OurServices:hover                        { background: url(../images/bgPrimaryNav.gif) -503px -41px no-repeat; }
.nav li.CareerswithBCHA:hover                    { background: url(../images/bgPrimaryNav.gif) -606px -41px no-repeat; }
.nav li.CommunicationsandPublicAffairs:hover     { background: url(../images/bgPrimaryNav.gif) -719px -41px no-repeat; }
.nav li.RelatedLinks:hover                       { background: url(../images/bgPrimaryNav.gif) -867px -41px no-repeat; }

/*top level active states (IE6 doesn't get these)*/
.nav li.Home.current                               {  }
.nav li.AboutUs.current                            { background: url(../images/bgPrimaryNav.gif) -79px 0px no-repeat; }
.nav li.DoingBusinesswithBCHA.current              { background: url(../images/bgPrimaryNav.gif) -164px 0px no-repeat; }
.nav li.HousingOptions.current                     { background: url(../images/bgPrimaryNav.gif) -274px 0px no-repeat; }
.nav li.RealEstateDevelopment.current              { background: url(../images/bgPrimaryNav.gif) -376px 0px no-repeat; }
.nav li.OurServices.current                        { background: url(../images/bgPrimaryNav.gif) -503px 0px no-repeat; }
.nav li.CareerswithBCHA.current                    { background: url(../images/bgPrimaryNav.gif) -606px 0px no-repeat; }
.nav li.CommunicationsandPublicAffairs.current     { background: url(../images/bgPrimaryNav.gif) -719px 0px no-repeat; }
.nav li.RelatedLinks.current                       { background: url(../images/bgPrimaryNav.gif) -867px 0px no-repeat; }


/*drop-down hovers*/
.nav li li:hover, .nav li li.sfHover, .nav li li.current,
.nav li li a:focus, .nav li li a:hover, .nav li li a:active {
	background:		#ff3333;
	outline:		0;
}



/********* vertical menu styles **************/
#subNavWrapper { background:#CDCFD3; margin-bottom:18px; border-right:1px solid #949494; }
#subMenuParent { margin:0; }
#subMenuParent a, #subMenuParent a:visited  { display:block; padding:7px 0 10px 18px; border-bottom:2px solid #d0d0d0; }
#subMenuParent a:hover { color:#005ba3 }

.vertical, .vertical li {
	width:	201px;
}
/* this lacks ul at the start of the selector, so the styles from the main CSS file override it where needed */
.vertical li:hover ul,
.vertical li.sfHover ul {
	left:	201px; /* match ul width */
	top:	0;
}

ul.vertical {  }

ul.vertical li { margin:0; height:auto; border-bottom:1px solid #BDBDBD;}

/*fly out styling*/
li.topBorder { border-top:1px solid #d0d0d0;  }
ul.vertical li li { border-top:none;  }

ul.vertical a,
ul.vertical a:visited { font-size:12px; color:#434345; text-transform:none; text-align:left; height:auto; padding:7px 10px 10px 23px; } 

ul.vertical a span { text-indent:0; }

/*hovers*/
ul.vertical li:hover, 
ul.vertical li.sfHover,
ul.vertical a:focus, 
ul.vertical a:hover, 
ul.vertical a:active
ul.vertical li li:hover, 
ul.vertical li li.sfHover,
ul.vertical li a:focus, 
ul.vertical li a:hover, 
ul.vertical li a:active {
	background:#fff;
	color:#635753;
	
}

ul.vertical li a:active,
ul.vertical li a:focus { z-index:300; } /* to fix bug that was occuring when clicking on an external link */

/*active state*/
ul.vertical li.current,
ul.vertical li.current a,
ul.vertical li.current a:hover,
ul.vertical li.current:hover { background:#fff; color:#635753; }
ul.vertical li.current { width:202px; }

/*level 2 fly-out*/
ul.vertical li li,
ul.vertical li.current li,
ul.vertical li.current li a { background:#f2f0f0; }


/*** arrows **/
.nav ul a.sf-with-ul {
	padding-right: 	18px;
	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:			.8em;
	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 5px 0px;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}

/*** alter arrow directions ***/
.vertical .sf-sub-indicator { background-position: -10px 0; display:block; text-indent:-999em;  } /* IE6 gets solid image only */
.vertical a > .sf-sub-indicator { background-position: 0 0; } /* use translucent arrow for modern browsers*/

/* hover arrow direction for modern browsers*/
.vertical a:focus > .sf-sub-indicator,
.vertical a:hover > .sf-sub-indicator,
.vertical a:active > .sf-sub-indicator,
.vertical li:hover > a > .sf-sub-indicator,
.vertical li.sfHover > a > .sf-sub-indicator {
	background-position: -20px 0; /* arrow hovers for modern browsers*/
	
} 

.vertical li.current a > .sf-sub-indicator,
.vertical li.current a:focus > .sf-sub-indicator,
.vertical li.current a:hover > .sf-sub-indicator,
.vertical li.current a:active > .sf-sub-indicator,
.vertical li.current:hover > a > .sf-sub-indicator,
.vertical li.current.sfHover > a > .sf-sub-indicator {
	background-position: -20px 0; /* arrow hovers for modern browsers*/	
}


