/**************** menu coding *****************/
/* CSS Menus - Horizontal CSS Menu with Dropdown and Popout Menus - 20050131 */
/* Begin CSS Popout Menu */

#menu{
	background: url("../imagens/teste/teste1.jpg") repeat-x 100% 100%; 
	width:100%;	
	height:20px;
	font-size: 15.5px;
	padding-top: 6px;
	
}

#menu a, #menu h6{

	display:block;
	white-space:nowrap;
	margin:0;
	padding:0px 0 1px 3px;
	
	
}

#menu h6{
	color:#fff;	
}

#menu a{
	
	color:#fff;

}

#menu a, #menu a:visited{
	color:#fff;
}

#menu a:hover{
	color:#000;
	background-color:#004080;
}

#menu a:active{
	color:#000;
	background-color:#004080;
}

#menu ul{
	list-style:none;
	margin:0;
	padding:0;
	float:left;
	width:5.7em;
	
	
}

#menu li{
	position:relative;
	border-bottom-width:3px;
	
}

#menu ul li ul li{
	position:relative;
	border-bottom: 1px solid #FFF; 	
}

#menu ul ul{
	position:absolute;
	z-index:500;
	top:auto;
	display:none;
	width:10em;
	background-color:#004080;

}

#menu ul ul ul{
	top:0;
	left:100%;
	width:11.5em;

}

/* Begin non-anchor hover selectors */

/* Enter the more specific element (div) selector
on non-anchor hovers for IE5.x to comply with the
older version of csshover.htc - V1.21.041022. It
improves IE's performance speed to use the older
file and this method */

div#menu h6:hover{
	background-color:#004080;
}

div#menu li:hover{
	cursor:pointer;
	z-index:100;

}

div#menu li:hover ul ul,
div#menu li li:hover ul ul,
div#menu li li li:hover ul ul,
div#menu li li li li:hover ul ul
{display:none;
	

}

div#menu li:hover ul,
div#menu li li:hover ul,
div#menu li li li:hover ul,
div#menu li li li li:hover ul{
	display:block;

}

/* End of non-anchor hover selectors */

/* Styling for Expand */

#menu a.x, #menu a.x:visited{
	color:#000;

}

#menu a.x:hover{
	color:#fff;
	background:#000;
}

#menu a.x:active{
	color:#000;
	background-color:#004080;
}

<!--[if IE]>
<style type="text/css" media="screen">
body {
behavior: url(csshover.htc);
font-size: 100%;
}

#menu ul li {float: left; width: 100%;}
#menu ul li a {height: 1%;} 

#menu a, #menu h6 {
font: bold 0.7em/1.4em arial, helvetica, sans-serif;
}
</style>
<![endif]-->
