/*
	--------------------------------------------------
	NAVIGATION STYLES
	--------------------------------------------------
	Client:	Quinte West Public Library
	Author:	Darren Gould
	Date:	February, 2010
		
*/


/* ===================================================================================== COMMON ELEMENTS */

.horizNavSeparator { padding: 0px 7px 0px 7px; }





/* ===================================================================================== SITE LINKS */

#siteLinks ul { list-style: none; }

#siteLinks li { float: left }

#siteLinks li a {
	float: left;
	display: block;
	height: 25px;
	background: url(../en/images/structure/btn_siteLink.jpg);
	font-size: 1%;
	text-indent: -9999px;
	overflow: hidden;
}

#siteLinks .city a { width: 50px; background-position: 0 0; }
#siteLinks .library a { width: 74px; background-position: -50px 0; }
#siteLinks .bia a { width: 101px; background-position: -124px 0; }

#siteLinks .city a:hover { background-position: 0 -25px; }
#siteLinks .library a:hover { background-position: -50px -25px; }
#siteLinks .bia a:hover { background-position: -124px -25px; }

#siteLinks .city a.current { background-position: 0 -50px; }
#siteLinks .library a.current { background-position: -50px -50px; }
#siteLinks .bia a.current { background-position: -124px -50px; }





/* ===================================================================================== TOP NAVIGATION */

#topNav a, 
#topNav a:active, 
#topNav a:visited {
	color: #072F5B;
	text-decoration: none;
}

#topNav a:hover { text-decoration: underline; }





/* ===================================================================================== MAIN NAVIGATION */

/* ========== 1st Level (Global) Navigation ========== */

#nav {
	list-style-type: none;
	list-style-image: none;
}

#nav li {
	float: left;
}

#navTab01, #navTab02, #navTab03, #navTab04, #navTab05 {
	position: relative;
	float: left;
}

a.mainNavItem, a.mainNavItem:active, a.mainNavItem:visited {
	float: left;
	padding: 0;
	height: 47px;
	background-image: url(../en/images/structure/mainNav.jpg);
	text-indent: -9999px;
	font-size: 1%;
	overflow: hidden;
}

#uber_bg_home a.mainNavItem, #uber_bg_home a.mainNavItem:active, #uber_bg_home a.mainNavItem:visited {
	background-image: url(../en/images/structure/mainNav_homepage.jpg);
}

#navTab01 a.mainNavItem { width: 191px; background-position: 0px 0px; }
#navTab02 a.mainNavItem { width: 143px; background-position: -191px 0px; }
#navTab03 a.mainNavItem { width: 134px; background-position: -334px 0px; }
#navTab04 a.mainNavItem { width: 164px; background-position: -468px 0px; }
#navTab05 a.mainNavItem { width: 141px; background-position: -632px 0px; }

#navTab01 a.mainNavItem:hover { background-position: 0px -47px; }
#navTab02 a.mainNavItem:hover { background-position: -191px -47px; }
#navTab03 a.mainNavItem:hover { background-position: -334px -47px; }
#navTab04 a.mainNavItem:hover { background-position: -468px -47px; }
#navTab05 a.mainNavItem:hover { background-position: -632px -47px; }

#navTab01 a.current { background-position: 0px -94px; }
#navTab02 a.current { background-position: -191px -94px; }
#navTab03 a.current { background-position: -334px -94px; }
#navTab04 a.current { background-position: -468px -94px; }
#navTab05 a.current { background-position: -632px -94px; }


/* ========== 2nd Level (Drop-down) Navigation ========== */

#mainNav ul.dropdown {
	display: none;
	position: absolute;
	margin: 0;
	padding: 0;
	left: 0px;
	top: 47px; /* Height of main navigation item */
	list-style-image: none;
	list-style-type: none;
	border-left: solid 1px #D7D7D7;
	border-right: solid 1px #D7D7D7;
	z-index: 1000;
	width: 230px;
}

#mainNav ul.lastMainNavDropdown {
	left: auto; /* Required for 'right' to work */
	right: 0px;
	border-left: solid 1px #D7D7D7;
	border-right: solid 1px #D7D7D7;
}

#mainNav ul.dropdown li {
	position: relative;
	background-color: #FFF;
	border-bottom: solid 1px #D7D7D7;
}
	
#mainNav ul.dropdown li a, 
#mainNav ul.dropdown li a:active, 
#mainNav ul.dropdown li a:visited {
	display: block;
	padding: 3px 5px 3px 5px;
	width: 220px;				
	background-color: #FFF;
	color: #072F5B;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-decoration: none;
	cursor: pointer;	
}
		
#mainNav ul.dropdown li a:hover {
	background-color: #F5F5F5;
	color: #0C4F9B;
}


/* ========== 3rd and 4th Level (Flyouts) Navigation ========== */
			
#nav ul.flyout, #nav ul.secondFlyout {
	display: none;
	position: absolute;
	margin: 0;
	padding: 0;
	left: 230px;
	top: 0px;
	list-style-image: none;
	list-style-type: none;
	border-left: solid 1px #D7D7D7;
	border-right: solid 1px #D7D7D7;
	border-top: solid 1px #D7D7D7;
	z-index: 1001;
	width: 230px;
}

/* Required for the 'right' navigation to flyin */
#nav ul.lastMainNavDropdown ul {
	left: -230px;
	width: 230px !important;
	z-index: 1001;
}

/* IE 6 only - Drop-down was bumpped to the left 1px */
* html #nav div ul.lastMainNavDropdown {
	left: auto;
	right: -1px;
	z-index: 1001;
}

#nav ul a.dropdownItemHasFlyout {
	background: transparent url(../images/structure/mainnav_arrow_up.gif) 216px 7px no-repeat;
}

#nav ul a.dropdownItemHasFlyout:hover {
	background: transparent url(../images/structure/mainnav_arrow_over.gif) 216px 7px no-repeat;
}





/* ===================================================================================== BREADCRUMBS  */


#breadcrumbs .horizNavSeparator { padding: 0px 2px; }

#breadcrumbs a, #breadcrumbs a:visited, #breadcrumbs a:active {
	text-decoration: none;
	color: #FFF;
}

#breadcrumbs a:hover { text-decoration: underline; }

#breadcrumbs .current { font-weight: bold; }





/* ===================================================================================== ACTIONS  */

#actions .printLink,
#actions .rssLink,
#actions .emailLink,
#actions .ShareLink {
	padding: 0;
}

#actions .textSize img,
#actions .printLink img,
#actions .rssLink img,
#actions .emailLink img,
#actions .ShareLink img {
	position: relative;
	margin: 0 3px 0 0;
	top: 0px;
}

#actions .textSize img,
#actions .emailLink img,
#actions .printLink img {
	top: 1px;
}

#actions a, 
#actions a:active, 
#actions a:visited {
	position: relative;
	height: 16px;
	text-decoration: none;
	color: #ABC0DD;
}

#actions a:hover { color: #FFF; }

/*
   Share Drop-down Styles - see:
   /share/share.css
*/





/* ===================================================================================== SUB NAVIGATION */

#subNav {
	float: left; /* Contain floated list items */
	margin: 0;
	padding: 0 2px 20px 22px;
	width: 187px;
	list-style-image: none;
	list-style: none;
}

#subNav li {
	float: left; /* This corrects the */
	width: 100%; /* IE whitespace bug */
	margin: 0;
	padding: 0;
	border-bottom: solid 1px #D7D7D7;
	list-style-image: none;
	list-style: none;
}

/* ========== 2nd Level ========== */

#subNav a, 
#subNav a:active, 
#subNav a:visited {
	display: block;
	padding: 5px 10px 5px 2px;
	width: 174px;
	border-right: solid 1px #FFF;
	background: #F5F5F5;
	text-decoration: none;
	color: #333;	
	cursor: pointer;
}

#subNav a:hover { 
	background-color: #FFF;
}

#subNav a.open { 
	background: #F5F5F5; 
	color: #333; 
	font-weight: bold; 
}

#subNav a:hover.open { 
	background: #FFF; 
}

#subNav ul li ul li a.open {
	background: #FFF !important;
	color: #0C4F9B !important;
	font-weight: bold !important;
}


/* ========== 3rd Level ========== */

#subNav ul li {
	border-top: solid 1px #D7D7D7;
	border-bottom: none;
}

#subNav ul a,
#subNav ul a:active,
#subNav ul a:visited {
	padding: 5px 10px 5px 13px;
	width: 163px;
	border-right: solid 1px #FFF;
	background: #F5F5F5 url(../images/structure/icon_bullet.gif) 2px 10px no-repeat;
	color: #333;	
}

#subNav ul a:hover {
	background-color: #FFF;
}

#subNav ul a.open { 
	background: #F5F5F5 url(../images/structure/icon_bullet.gif) 2px 10px no-repeat    !important;  
	font-weight: bold;
	color: #333;
}

#subNav ul a:hover.open { 
	background: #FFF url(../images/structure/icon_bullet.gif) 2px 10px no-repeat    !important;  
}

#subNav ul a.current { 
	background: #FFF url(../images/structure/icon_bullet.gif) 2px 10px no-repeat    !important;
	font-weight: bold !important;
	color: #0C4F9B !important;
}


/* ========== 4th Level ========== */

#subNav ul ul a,
#subNav ul ul a:active,
#subNav ul ul a:visited {
	padding: 5px 10px 5px 24px;
	width: 152px;
	border-right: solid 1px #FFF;
	background: #F5F5F5;
	cursor: pointer;
}

#subNav ul ul a:hover {
	background-color: #FFF;
}

#subNav ul ul a.current { 
	background: #FFF !important; 
	font-weight: bold !important;
	color: #0C4F9B !important;
}






/* ===================================================================================== FOOTER NAVIGATION */

#footerNav a, #footerNav a:active, #footerNav a:visited {
	color: #FFF;
	text-decoration: none;
}

#footerNav a:hover { text-decoration: underline; }


