/*
	--------------------------------------------------
	NAVIGATION STYLES
	--------------------------------------------------
	Client:	Region of Waterloo
	Author:	eSolutionsgroup
	Date:	September, 2010
		
*/


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

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

.footerHorizNavSeparator { padding: 0px 10px 0px 10px; }



/* ===================================================================================== Quicklinks */

#intQuicklinks {
	width:218px;
	background-color:#e4ebf7;
	padding-bottom:15px;
	
	}
	
#intQuicklinks li.first
{
	background-image: url(../images/structure/arrow-blue.gif);
}

#intQuicklinks li.emptyql 
{
	background-image:none !important;
}

#intQuicklinks ul {
	padding: 0px;
	margin: 0 20px;
	list-style-type: none;
	background-repeat: no-repeat;
	background-image: url(../images/structure/ql_line.gif);
	background-position: bottom;
	}
#intQuicklinks li 
{
    padding: 7px 0 7px 10px;
    margin: 0px;
    color: #285f8c;
    background-image: url(../images/structure/line-arrow-blue.gif);
	background-repeat: no-repeat;
	background-position: top left;
}


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

#topNav a, 
#topNav a:link, 
#topNav a:visited,
#translateContainer a, 
#translateContainer a:link, 
#translateContainer a:visited {
	color: #16568a;
	text-decoration: none;
	font-weight: bold;	
	
}

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

#translate{
	float:left;	
	list-style-type:none;
	position:relative;
}
	#translate ul {
		display: none;
		position:absolute;
		top:20px;
		right:0px;
		list-style-type:none;
		background:#fff;
		border:1px solid #868686;
		width:100px;
	}
	#translate ul li a{
		display:block;
		width:90px;
		padding:5px;
		background:#fff;
	}
	#translate ul li a:hover, #translate ul li a:focus{
		background:#CCC;
	}







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


#rightButtons a {
	font-weight:bold !important;
	color:#106cb6;	
	}



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

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

#nav li {
	float: left;
}

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

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

#navTab01 a.mainNavItem { width: 245px; background-position: 0px 0px; }
#navTab02 a.mainNavItem { width: 257px; background-position: -245px 0px; }
#navTab03 a.mainNavItem { width: 240px; background-position: -502px 0px; }
#navTab04 a.mainNavItem { width: 238px; background-position: -742px 0px; }

#navTab01 a.mainNavItem:hover, #navTab01 a.mainNavItem:focus { width: 245px; background-position: 0px -61px; }
#navTab02 a.mainNavItem:hover, #navTab02 a.mainNavItem:focus { width: 257px; background-position: -245px -61px; }
#navTab03 a.mainNavItem:hover, #navTab03 a.mainNavItem:focus { width: 240px; background-position: -502px -61px; }
#navTab04 a.mainNavItem:hover, #navTab04 a.mainNavItem:focus { width: 238px; background-position: -742px -61px; }

#navTab01 a.current { width: 245px; background-position: 0px -122px; }
#navTab02 a.current { width: 257px; background-position: -245px -122px; }
#navTab03 a.current { width: 240px; background-position: -502px -122px; }
#navTab04 a.current { width: 238px; background-position: -742px -122px; }


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

#mainNav ul.dropdown {
	display: none;
	position: absolute;
	margin: 0;
	padding: 0;
	left: 0px;
	top: 61px; /* Height of main navigation item */
	list-style-image: none;
	list-style-type: none;
	z-index: 1000;
	width: 245px;
}

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

#mainNav ul.dropdown li {
	position: relative;
	background-color: #e1d6b5;
	width: 245px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #FFF;
	border-bottom-color: #81b4df;
}
	
#mainNav ul.dropdown li a, 
#mainNav ul.dropdown li a:link, 
#mainNav ul.dropdown li a:visited {
	display: block;
	padding: 5px 5px 5px 15px;
	width: 225px;				
	background-color: #e0e8f6;
	color: #16568a;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-decoration: none;
	cursor: pointer;	
}
		
#mainNav ul.dropdown li a:hover, #mainNav ul.dropdown li a:focus {
	background-color: #c5d3e9;
}


/* ========== 3rd and 4th Level (Flyouts) Navigation ========== */

#nav ul.flyout, #nav ul.secondFlyout {
	display: none;
	position: absolute;
	margin: 0;
	padding: 0;
	left: 245px;
	top: 0px;
	list-style-image: none;
	list-style-type: none;
	border-top: solid 1px #81B4DF;
	z-index: 1001;
	width: 230px;
}

/* Required for the 'right' navigation to flyin */

#nav ul.lastMainNavDropdown ul {
	left: -245px;
	width: 245px !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) 231px 10px no-repeat;
}

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




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


#breadcrumbs a, #breadcrumbs a:link, #breadcrumbs a:visited {
	text-decoration: none;
	color: #666;
}

#breadcrumbs a:hover, #breadcrumbs a:active, #breadcrumbs a:focus { color: silver; }




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

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

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

#actions a, 
#actions a:link, 
#actions a:visited {
	position: relative;
	height: 16px;
	text-decoration: none;
	color: #737373;
	font-weight:normal !important;
}

#actions a:hover, #actions a:active, #actions a:focus  {
    color: #737373;
    text-decoration: underline; }

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




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

.subNav {
	margin: 0;
	padding: 0 0 0px 1px;
	width: 233px;
	list-style-image: none;
	list-style: none;
}

.subNav li {
	float: left; /* This corrects the */
	width: 100%; /* IE whitespace bug */
	margin: 0;
	padding: 0;
	list-style-image: none;
	list-style: none;
}


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

.subNav a, 
.subNav a:link, 
.subNav a:visited {
	display: block;
	padding: 10px 15px 8px 15px;
	width: 204px;
	text-decoration: none;
	color: #666;
	cursor: pointer;
	background-image: url(../images/structure/nab_bg_lines.gif);
}

.subNav .withChildren a, 
.subNav .withChildren a:link, 
.subNav .withChildren a:visited {
	background-image: url(../images/structure/arrow_nav.gif);
}

.subNav a:hover, .subNav a:focus { 
	background-image: url(../images/structure/nab_bg_lines_over.gif);
}

.subNav .withChildren a:hover, .subNav .withChildren a:focus { 
	background-image: url(../images/structure/arrow_nav_over.gif);
}

.subNav a.current {
	background-image: url(../images/structure/nav_first_blue_nc.gif);
	color:#FFF;
	
}

.subNav .withChildren a.current {
	background-image: url(../images/structure/nav_first.gif);
	color:#FFF;
}

.subNav .withChildren a.open {
	background-image: url(../images/structure/nav_first.gif)!important;
	background-repeat: no-repeat!important;
	background-color: #106cb6;
	color: #FFF !important;
	font-weight: bold;
}


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

.subNav ul a,
.subNav ul a:link,
.subNav ul a:visited {
	padding: 10px 25px 8px 35px;
	width: 174px;
	background-image: url(../images/structure/nav_bg_lines_3rd.gif) !important;
	color: #285f8c!important;
}

.subNav ul .withChildren a,
.subNav ul .withChildren a:link,
.subNav ul .withChildren a:visited {
	background-image: url(../images/structure/nav_bg_lines_3rd_on.gif) !important;
	background-image: url(../images/structure/nav_bg_lines_3rd_on.gif) !important;
	color: #285f8c!important;
}

.subNav ul a:hover, .subNav ul a:focus {
	background-image: url(../images/structure/nav_bg_lines_3rd_hover.gif) !important;
	color: #285f8c!important;
}
.subNav ul .withChildren a:hover, .subNav ul .withChildren a:focus { 
	background-image: url(../images/structure/nav_bg_lines_3rd_more_hover.gif) !important;
	color: #285f8c!important;
}

.subNav ul li.withChildren a.current {
	background-image: url(../images/structure/nav_bg_lines_3rd_current.gif) !important;
	color: #285f8c!important;
}

.subNav .withChildren ul .withChildren a.current {
	background-image: url(../images/structure/nav_bg_lines_3rd_current.gif) !important;
	color: #285f8c!important;
}

.subNav .withChildren ul .withChildren a.open {
	background-image: url(../images/structure/nav_bg_lines_3rd_open.gif) !important;
	color: #285f8c!important;
	font-weight: normal;
}

.subNav ul li a.current {
	background-image: url(../images/structure/nav_bg_lines_3rd_current_na.gif) !important;
	color: #285f8c!important;
}


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

.subNav ul .withChildren ul a,
.subNav ul .withChildren ul a:link,
.subNav ul .withChildren ul a:visited {
	padding: 10px 15px 8px 55px;
	width: 164px;
	background-image: url(../images/structure/nav_bg_lines_4th.gif) !important;
	color: #285f8c!important;
}

.subNav ul .withChildren ul a:hover, .subNav ul .withChildren ul a:focus {
	background-image: url(../images/structure/nav_bg_lines_4th_on.gif) !important;
	color: #285f8c!important;
}

.subNav .withChildren ul .withChildren ul a.current {
	background-image: url(../images/structure/nav_bg_lines_4th_current.gif) !important;
	color: #285f8c!important;
}




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

#footerNav a, #footerNav a:link, #footerNav a:visited {
	color: #106cb6;
	text-decoration: none;
	font-weight: normal;
}

#footerNav a:hover, #footerNav a:focus,
#footerNav a:visited {
    text-decoration: underline;
	color: #0a427e;
}

#footerNav a:visited {
	text-decoration: none;
}

