/*
	--------------------------------------------------
	NAVIGATION STYLES
	--------------------------------------------------

	Author:	eSolutionsGroup.ca
		
*/


/* ===================================================================================== COMMON ELEMENTS */

.horizNavSeparator { padding: 0px 7px; }

#footerNav .horizNavSeparator { padding: 0px 10px; }

#footerText .horizNavSeparator { padding: 0px 3px; }



/* ===================================================================================== TOP NAVIGATION */

#topNav a, 
#topNav a:link, 
#topNav a:visited,
#servicesContainer a, 
#servicesContainer a:link, 
#servicesContainer a:visited {
	color: #333;
	text-decoration: none;
	font-weight: bold;
	font-size: 12px;
}

#topNav a:hover, #topNav a:active, #topNav a:focus, #servicesContainer a:focus { 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: 53px;
	background-image: url(../en/images/structure/mainNav.png);
	text-indent: -9999px;
	font-size: 1%;
	overflow: hidden;
	background-repeat: no-repeat;
}

#navTab01 a.mainNavItem { background-position: 0px 0px; width: 139px;}
#navTab02 a.mainNavItem { background-position: -139px 0px; width: 204px;}
#navTab03 a.mainNavItem { background-position: -343px 0px; width: 109px;}
#navTab04 a.mainNavItem { background-position: -452px 0px; width: 138px;}
#navTab05 a.mainNavItem { background-position: -590px 0px; width: 108px;}

#navTab01 a.mainNavItem:hover { background-position: 0px -106px; }
#navTab02 a.mainNavItem:hover { background-position: -139px -106px; }
#navTab03 a.mainNavItem:hover { background-position: -343px -106px; }
#navTab04 a.mainNavItem:hover { background-position: -452px -106px; }
#navTab05 a.mainNavItem:hover { background-position: -590px -106px; }

#navTab01 a.current { background-position: 0px -53px; }
#navTab02 a.current { background-position: -139px -53px; }
#navTab03 a.current { background-position: -343px -53px; }
#navTab04 a.current { background-position: -452px -53px; }
#navTab05 a.current { background-position: -590px -53px; }

#navTab01 a.currenthover { background-position: 0px -106px; }
#navTab02 a.currenthover { background-position: -139px -106px; }
#navTab03 a.currenthover { background-position: -343px -106px; }
#navTab04 a.currenthover { background-position: -452px -106px; }
#navTab05 a.currenthover { background-position: -590px -106px; }

/* ========== 2nd Level (Drop-down) Navigation ========== */

#dropdownContainer{
	width:688px;
	position: absolute;
	margin: 0;
	padding: 0 4px;
	left: -4px;
	top: 40px; /* Height of main navigation item */
	z-index: 1000;
	background:url(../images/structure/nav-dropdown-background.png) top left repeat-y;
}

.dropDownContainer{
	/*width:688px;*/
	position:absolute;
	top:43px;
	left:0;
	z-index: 1;
}

/*===== One Column ====*/
.oneCol .dropDownContainer,
.dropDownTop{
	width:346px;
}

#navTab02.oneCol .dropDownContainer{
	left: 0px;
}

#navTab03.oneCol .dropDownContainer{
	left: 0px;
}

#navTab04.oneCol .dropDownContainer{
	left: -108px;
}

#navTab05.oneCol .dropDownContainer{
	left: -246px;
}


/*===== Two Column ====*/
.twoCol .dropDownContainer,
.dropDownTop{
	width:516px;
}

#navTab02.twoCol .dropDownContainer{
	left: 0px;
}

#navTab03.twoCol .dropDownContainer{
	left: -169px;
}

#navTab04.twoCol .dropDownContainer{
	left: -278px;
}

#navTab05.twoCol .dropDownContainer{
	left: -416px;
}




#navTab02 .dropDownContainer{
	left: -246px;
}

#navTab03 .dropDownContainer{
	left: -343px;
}

#navTab04 .dropDownContainer{
	left: -452px;
}

#navTab05 .dropDownContainer{
	left: -590px;
}


.dropDownBackground{
	/*width:688px;*/
	background:#f0d97d url(../images/structure/nav-dropdown-background.png) top left repeat-x;
	border: 1px solid #666;
	border-top: none;
	padding-bottom: 10px;
}

.dropdownBottom{
	width:688px;
	height:19px;
	background:url(../images/structure/nav-dropdown-bottom.png)	top left no-repeat;
}

#dropdownBackground{
	width:400px;
	background: #e5e5e5 url(../images/structure/nav-dropdown-background.gif) top left repeat-x;
}

#mainNav .treenode {
	display:none;
}

#mainNav ul.dropdown {
	/*display: none;*/
	list-style-image: none;
	list-style-type: none;
	width: 159px;
	margin: 0;
	padding: 0;
	padding-top:22px;
	padding-left: 13px;
	left: -4px;
	top: 40px; /* Height of main navigation item */
	z-index: 1000;
	float:left;
	overflow:hidden;
}

.dropDownSummary{
	width:143px;
	float: left;
	padding: 22px 14px 10px 14px;
}
.dropDownSummary img{
	background:#fff;
	border:1px solid #000;
	margin-bottom:10px;
}
.dropDownSummary p{
	color:#333;
	line-height:15px;
	font-size:11px;
	margin:0px 0px 10px 0px;
	font-weight: bold;
}
.summaryTitle{
	font-size:13px!important;
	color:#333!important;
}
.dropDownTop{
	width:688px;
	/*margin: 0 4px;
	background:url(../images/structure/nav-dropdown-background.gif) top left repeat-x;	*/
}

#mainNav ul.lastMainNavDropdown {
	left: auto; /* Required for 'right' to work */
	right: 0px;
	border-left: solid 1px silver;
	border-right: solid 1px silver;
}

#mainNav ul.dropdown li {
	position: relative;
	border-top: 1px solid #b9a767;
	width: 158px;
}

/* #mainNav ul.dropdown li.first {*/
#mainNav ul.dropdown li:first-child {
	border-top: none;
}
	
#mainNav ul.dropdown li a, 
#mainNav ul.dropdown li a:active, 
#mainNav ul.dropdown li a:visited {
	display: block;
	padding: 5px 4px;
	width: 150px;				
	color: #333;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-decoration: none;
	cursor: pointer;
	font-weight: bold;
}
		
#mainNav ul.dropdown li a:hover, #mainNav ul.dropdown li a:focus {
	background:url(../images/structure/nav-dropdown-highlight.png) top left repeat-y;
}


/* ========== 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 silver;
	border-right: solid 1px silver;
	border-top: solid 1px #8aa032;
	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 a, #breadcrumbs a:link, #breadcrumbs a:visited {
	text-decoration: none;
	color: #666;
}

#breadcrumbs a:hover, #breadcrumbs a:active, #breadcrumbs a:focus { text-decoration: underline; }




/* ===================================================================================== ACTIONS  */

#actions .printLink,
#actions .rssLink,
#actions .emailLink,
#actions .ShareLink {
	padding: 0 0 0 5px;
}

#actions a.textSize{
	float: right;
	width: 60px;
}

#actions a.textSize.textIcon{
	width: 15px;
	display: block;
	float: right;
	margin-top: 1px;
	margin-left: 1px;
}

#actions .printLink img,
#actions .rssLink img,
#actions .emailLink img,
#actions .ShareLink img {
	position: relative;
	padding: 0 2px 0 0;
	top: 3px;
}

#actions a, 
#actions a:link, 
#actions a:visited {
	position: relative;
	height: 16px;
	text-decoration: none;
	color: #333;
}

#doingBusiness #actions a, 
#doingBusiness #actions a:link, 
#doingBusiness #actions a:visited {
	color: #FFF;
}

#actions a.textSize, 
#actions a.textSize:link, 
#actions a.textSize:visited,
#actions a.textSize:hover, 
#actions a.textSize:active{
	color: #006F94;
	font-weight: bold;
}

#doingBusiness #actions a.textSize, 
#doingBusiness #actions a.textSize:link, 
#doingBusiness #actions a.textSize:visited,
#doingBusiness #actions a.textSize:hover, 
#doingBusiness #actions a.textSize:active{
	color: #26549f;
}

#actions a:hover, #actions a:active, #actions a:focus {
    color: #737373;
	text-decoration: underline; }

#doingBusiness #actions a:hover, #doingBusiness #actions a:active, #doingBusiness #actions a:focus  {
    color: #FFF;
	text-decoration: underline; }
	
/*#actionsContainer #actions a.textSize{
	margin-right: 5px;
}

#actionsContainer #actions a.textSize.textIcon{
	margin-right: 0px;
}*/

/*#actions a.textSize{
	margin-right: 5px;
}*/

#actions a.textSize.textIcon{
	margin-right: 0px;
}

/*
   Share Drop-down Styles - see:
   /share/share.css
*/




/* ===================================================================================== SUB NAVIGATION */

.subNav {
	margin: 0;
	padding: 0 0 30px 0;
	width: 234px;
	list-style-image: none;
	list-style: none;
}
.secondul li:first-child a
{
	border-top: 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.first, 
.subNav a.first:link, 
.subNav a.first:visited {
	border-top: none;
}

.subNav a, 
.subNav a:link, 
.subNav a:visited {
	display: block;
	padding: 8px 42px 8px 20px;
	width: 172px;
	border-bottom: solid 1px #cad6d9;
	border-top: 1px solid #fff;
	text-decoration: none;
	color: #016d91;	
	cursor: pointer;
}


.subNav a, 
.subNav a:link, 
.subNav a:visited {
	color: #26549f;
	overflow: hidden;
}

.subNav .withChildren a, 
.subNav .withChildren a:link, 
.subNav .withChildren a:visited {
	background-image: url(../images/structure/subnav_arrow_l2_up.gif);
	background-repeat: no-repeat;
}

#doingBusiness .subNav .withChildren a, 
#doingBusiness .subNav .withChildren a:link, 
#doingBusiness .subNav .withChildren a:visited {
	background-image: url(../images/doingBusiness/structure/subnav_arrow_l2_up.gif);
	background-repeat: no-repeat;
}

.subNav a:hover, .subNav a:focus { 
	background-color: #FFF;
}

.subNav .withChildren a:hover, .subNav .withChildren a:focus  { 
	background-image: url(../images/structure/subnav_arrow_l2_over.gif);
	background-repeat: no-repeat;
}

#doingBusiness .subNav .withChildren a:hover, #doingBusiness .subNav .withChildren a:focus { 
	background-image: url(../images/doingBusiness/structure/subnav_arrow_l2_over.gif);
	background-repeat: no-repeat;
}

.subNav a.current {
	background-color: #0099cc !important; 
	color: #FFF !important;
	font-weight: bold;
}

#doingBusiness .subNav a.current {
	background-color: #26549f !important; 
}

.subNav .withChildren a.current {
	background-image: url(../images/structure/subnav_arrow_l2_on.gif) !important;
	background-repeat: no-repeat !important;
}

#doingBusiness .subNav .withChildren a.current {
	background-image: url(../images/doingBusiness/structure/subnav_arrow_l2_on.gif) !important;
	background-repeat: no-repeat !important;
}

.subNav .withChildren a.open {
	background-image: url(../images/structure/subnav_arrow_l2_open.gif) !important;
	background-repeat: no-repeat !important;
	font-weight: bold;
}

#doingBusiness .subNav .withChildren a.open {
	background-image: url(../images/doingBusiness/structure/subnav_arrow_l2_open.gif) !important;
	background-repeat: no-repeat !important;
	font-weight: bold;
}


/* ========== 3rd Level ========== */

.subNav ul a,
.subNav ul a:link,
.subNav ul a:visited {
	padding: 8px 20px 8px 35px;
	width: 179px;
	background-image: url(../images/structure/subnav_l3.gif) !important;
}

#doingBusiness .subNav ul a,
#doingBusiness .subNav ul a:link,
#doingBusiness .subNav ul a:visited {
	padding: 8px 42px 8px 35px;
	width: 157px;
	background-image: url(../images/doingBusiness/structure/subnav_l3.gif) !important;
}

.subNav ul .withChildren a,
.subNav ul .withChildren a:link,
.subNav ul .withChildren a:visited {
	background-image: url(../images/structure/subnav_arrow_l3_up.gif) !important;
	background-repeat: no-repeat !important;	
}

#doingBusiness .subNav ul .withChildren a,
#doingBusiness .subNav ul .withChildren a:link,
#doingBusiness .subNav ul .withChildren a:visited {
	background-image: url(../images/doingBusiness/structure/subnav_arrow_l3_up.gif) !important;
	background-repeat: no-repeat !important;	
}

.subNav ul a:hover, .subNav ul a:focus {
	background-image: url(../images/structure/subnav_l3_over.gif) !important;
}

#doingBusiness .subNav ul a:hover, #doingBusiness .subNav ul a:focus {
	background-image: none !important;
}

.subNav ul .withChildren a:hover, .subNav ul .withChildren a:focus { 
	background-image: url(../images/structure/subnav_arrow_l3_over.gif) !important;
	background-repeat: no-repeat !important;
}

#doingBusiness .subNav ul .withChildren a:hover, #doingBusiness .subNav ul .withChildren a:focus { 
	background-image: url(../images/doingBusiness/structure/subnav_arrow_l3_over.gif) !important;
	background-repeat: no-repeat !important;
}

.subNav .withChildren ul a.current {
	background-image: url(../images/structure/subnav_l3_current.gif) !important;
	color: #FFF !important;
}

#doingBusiness .subNav .withChildren ul a.current {
	background-image: url(../images/doingBusiness/structure/subnav_l3_current.gif) !important;
	color: #FFF !important;
}

.subNav .withChildren ul .withChildren a.current {
	background-image: url(../images/structure/subnav_arrow_l3_on.gif) !important;
	background-repeat: no-repeat !important;
}

#doingBusiness .subNav .withChildren ul .withChildren a.current {
	background-image: url(../images/doingBusiness/structure/subnav_arrow_l3_on.gif) !important;
	background-repeat: no-repeat !important;
}

.subNav .withChildren ul .withChildren a.open {
	background-image: url(../images/structure/subnav_arrow_l3_open.gif) !important;
	background-repeat: no-repeat !important;
}

#doingBusiness .subNav .withChildren ul .withChildren a.open {
	background-image: url(../images/doingBusiness/structure/subnav_arrow_l3_open.gif) !important;
	background-repeat: no-repeat !important;
}


/* ========== 4th Level ========== */

.subNav ul .withChildren ul a,
.subNav ul .withChildren ul a:link,
.subNav ul .withChildren ul a:visited {
	padding: 8px 20px 8px 50px;
	width: 164px;
	background-image: url(../images/structure/subnav_l4.gif) !important;
}

#doingBusiness .subNav ul .withChildren ul a,
#doingBusiness .subNav ul .withChildren ul a:link,
#doingBusiness .subNav ul .withChildren ul a:visited {
	padding: 8px 20px 8px 50px;
	width: 164px;
	background-image: url(../images/doingBusiness/structure/subnav_l4.gif) !important;
}

.subNav ul .withChildren ul a:hover, .subNav ul .withChildren ul a:focus {
	background-image: url(../images/structure/subnav_l4_over.gif) !important;
}

#doingBusiness .subNav ul .withChildren ul a:hover, #doingBusiness .subNav ul .withChildren ul a:focus {
	background-image: url(../images/doingBusiness/structure/subnav_l4_over.gif) !important;
}

.subNav .withChildren ul .withChildren ul a.current {
	background-image: url(../images/structure/subnav_l4_current.gif) !important;
}

#doingBusiness .subNav .withChildren ul .withChildren ul a.current {
	background-image: none !important;
	background-color: #26549F !important;
}



/* ===================================================================================== FOOTER NAVIGATION */

#footerNav a, #footerNav a:link, #footerNav a:visited {
	/*color: #294762;
	text-decoration: none;*/
}

#footerNav a:hover, #footerNav a:focus,
#footerNav a:visited {
    text-decoration: underline;
}

