/*
	English global navigation
	globalnav-en.css
*/

/* Global navigation */
/*1/31/10.  Massive modifications by 51Seconds to allow for a multilevel CSS menu. */



#nav_mod {
	width:960px; 
	height:41px; 
	position:relative; 
	z-index:100;
}


/* remove all the bullets, borders and padding from the default list styling */
#nav_mod ul {
	padding:0;
	margin:0;
	list-style-type:none;
}

#nav_mod ul ul {
	width:240px;
	z-index:100;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#nav_mod li {
	float:left;
	position:relative;
	z-index:100;
}

#nav_mod li li{
	width:240px;
	z-index:100;
}

/* style the links for the top level */
#nav_mod a, 
#nav_mod a:visited {
	display:block;
	text-decoration:none; 
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#nav_mod ul ul {
	visibility:hidden; 
	position:absolute;
	height:0;
	top:40px;
	left:0; 
	width:240px;
	z-index:100;
		
}


/* position the third level flyout menu */
#nav_mod ul ul ul{
	left:240px; 
	top:0px;
	width:240px;
	z-index:100;
}

/* position the third level flyout menu for a left flyout */
#nav_mod ul ul ul.left {
	left:-240px;
	z-index:100;
}


/* style the second level links */
#nav_mod ul ul a, 
#nav_mod ul ul a:visited {
	height:auto; 
	line-height:1.5em; 
	padding:5px 10px; 
	border-width:0 1px 1px 1px;
	z-index:100;
}

/* make the second level visible when hover on first level list OR link */
#nav_mod ul li:hover ul,
#nav_mod ul a:hover ul{
	visibility:visible;
	z-index:100;
}

/* keep the third level hidden when you hover on first level list OR link */
#nav_mod ul :hover ul ul{
	visibility:hidden;
	z-index:100;
}

/* make the third level visible when you hover over second level list OR link */
#nav_mod ul :hover ul :hover ul{ 
	visibility:visible;
	z-index:100;
}




/*overriding stuff */

#nav_mod{
	position: absolute;
	bottom: 0;
	width: 960px;

	background-image:url('http://www.carestreamdental.com/us_region/img/globalnav_new.png');
	background-repeat: no-repeat;
	background-position: right top;
	height: 41px;
}
/*set background on level 1 list items*/
#nav_mod ul li,
#nav_mod{
	background-image:url('http://www.carestreamdental.com/us_region/img/globalnav_new.png'); 
	background-repeat:no-repeat; 
}
/*remove background on level 2 */
#nav_mod ul li li{
	background-image: none;
	background-color:#5c5e5d;
	z-index:100;
}

#nav_mod ul li li li{
	background-image: none;
	background-color: #686a69;
	z-index:100;
}

#nav_mod li ul li a:hover {
	background-color: #949494;
	z-index:100;
}

#nav_mod li a{
	height: 0px;
	overflow:hidden;
	padding-top:40px;
	z-index:100;
}
/*undoes that hiding for level 2 children */
#nav_mod li li a {
	height: 20px;
	overflow: visible;

	font-size:1em;
	padding: .5em 1em;
	color: #fff;
	z-index:100;
}



/*pushes in a bit so the rounded corner doesn't look funny*/
#nav_mod ul li#products ul{
	margin-left: 10px;
}
#nav_mod ul li#products ul ul{
	margin-left: 0px;
}


#nav_mod ul li#products { 		width: 88px }
/*#nav ul li#specialty { 		width: 76px }*/
#nav_mod ul li#events { 		width: 69px }
#nav_mod ul li#communities { 	width: 103px }
#nav_mod ul li#training { 		width: 72px }
#nav_mod ul li#support { 		width: 74px }
#nav_mod ul li#company { 		width: 80px }
#nav_mod ul li#contact { 		width: 91px }

#nav_mod ul li#products { 					background-position: 0 0; }
#nav_mod ul li#products:hover { 			background-position: 0 -41px; }
#nav_mod ul li#products:active { 			background-position: 0 -82px; }
/*
#nav ul li#specialty { 					background-position: -88px 0; }
#nav ul li#specialty:hover { 			background-position: -88px -41px; }
#nav ul li#specialty:active { 			background-position: -88px -82px; }
*/
#nav_mod ul li#events { 					background-position: -88px 0; }
#nav_mod ul li#events:hover { 				background-position: -88px -41px; }
#nav_mod ul li#events:active { 				background-position: -88px -82px; }

#nav_mod ul li#communities { 				background-position: -157px 0; }
#nav_mod ul li#communities:hover { 			background-position: -157px -41px; }
#nav_mod ul li#communities:active { 		background-position: -157px -82px; }

#nav_mod ul li#training { 					background-position: -260px 0; }
#nav_mod ul li#training:hover { 			background-position: -260px -41px; }
#nav_mod ul li#training:active { 			background-position: -260px -82px; }

#nav_mod ul li#support { 					background-position: -332px 0; }
#nav_mod ul li#support:hover { 				background-position: -332px -41px; }
#nav_mod ul li#support:active { 			background-position: -332px -82px; }

#nav_mod ul li#company { 					background-position: -406px 0; }
#nav_mod ul li#company:hover { 				background-position: -406px -41px; }
#nav_mod ul li#company:active { 			background-position: -406px -82px; }

#nav_mod ul li#contact { 					background-position: -486px 0; }
#nav_mod ul li#contact:hover { 				background-position: -486px -41px; }
#nav_mod ul li#contact:active { 			background-position: -486px -82px; }

/* a:link
------------------------------------------------------- */

/*
#nav_mod ul li#products { 		width: 88px }
#nav_mod ul li#specialty { 		width: 76px }
#nav_mod ul li#events { 		width: 69px }
#nav_mod ul li#communities { 	width: 103px }
#nav_mod ul li#training { 		width: 72px }
#nav_mod ul li#support { 		width: 74px }
#nav_mod ul li#company { 		width: 80px }
#nav_mod ul li#contact { 		width: 91px }


#nav_mod ul li#products { 					background-position: 0 0; }
#nav_mod ul li#products:hover { 			background-position: 0 -41px;z-index:100; }
#nav_mod ul li#products:active { 			background-position: 0 -82px; }

#nav_mod ul li#specialty { 					background-position: -88px 0; }
#nav_mod ul li#specialty:hover { 			background-position: -88px -41px;z-index:100; }
#nav_mod ul li#specialty:active { 			background-position: -88px -82px; }

#nav_mod ul li#events { 					background-position: -164px 0; }
#nav_mod ul li#events:hover { 				background-position: -164px -41px; z-index:100;}
#nav_mod ul li#events:active { 				background-position: -164px -82px; }

#nav_mod ul li#communities { 				background-position: -233px 0; }
#nav_mod ul li#communities:hover { 			background-position: -233px -41px;z-index:100; }
#nav_mod ul li#communities:active { 		background-position: -233px -82px; }

#nav_mod ul li#training { 					background-position: -336px 0; }
#nav_mod ul li#training:hover { 			background-position: -336px -41px; z-index:100;}
#nav_mod ul li#training:active { 			background-position: -336px -82px; }

#nav_mod ul li#support { 					background-position: -408px 0; }
#nav_mod ul li#support:hover { 				background-position: -408px -41px;z-index:100; }
#nav_mod ul li#support:active { 			background-position: -408px -82px; }

#nav_mod ul li#company { 					background-position: -482px 0; }
#nav_mod ul li#company:hover { 				background-position: -482px -41px; z-index:100;}
#nav_mod ul li#company:active { 			background-position: -482px -82px; }

#nav_mod ul li#contact { 					background-position: -562px 0; }
#nav_mod ul li#contact:hover { 				background-position: -562px -41px; z-index:100;}
#nav_mod ul li#contact:active { 			background-position: -562px -82px; }
*/


