/*-------------------------------------------------
MENU
-------------------------------------------------*/
#menu {
	float:left
}
#nav {
	margin: 17px 0 0 0;
}

/* make the LI display inline */
/* it's position relative so that position absolute */
/* can be used in submenu */
#nav li {
	float: left;
	display: block;
	background: #494949;
	position: relative;
	z-index: 500;
	margin: 0 1px 0 1px;
}

/* this is the parent menu */
#nav li a {
	display: block;
	padding: 8px 15px 8px 15px;
	color: #fff;
}

#nav li a:hover {
	background: #fefefe;
	color: #000;
	text-decoration: none;
}

/* you can make a different style for default selected value */
#nav a.ativo {
	background: #fefefe;
	color: #000;
	font-weight: bold;
	border-bottom: 1px solid #fefefe;
}

/* submenu, it's hidden by default */
#nav ul {
	position: absolute;
	left: 0;
	display: none;
	margin: 0 0 0 -1px;
	padding: 0;
	list-style: none;
}

#nav ul li {
	float: left;
}

/* display block will make the link fill the whole area of LI */
#nav ul a {
	background: #393939;
	display: block;
	padding: 6px 10px 5px 10px;
	color: #fff;
	min-width: 100px;
	border-bottom: 1px solid #494949;
	border-top: none;
}

#nav ul a:hover {
	text-decoration: none;
}

/* menu horizontal-vertical by micox */
 .menu-hv * { margin: 0; padding: 0;z-index: 9999;}
 .menu-hv a { display: block; }
 .menu-hv li { list-style: none; float: left; height: 1%; }
 .menu-hv li ul { position: absolute; visibility: hidden;}
 .menu-hv li ul li { float: none; white-space: nowrap; display: inline; /* o inline é pro IE */}
 .menu-hv li ul li ul { position: absolute; left: 100%; top: 0; }
 .menu-hv li:hover ul, .menu-hv li.over ul { visibility: visible;}
 .menu-hv li:hover ul ul, .menu-hv li.over ul ul { visibility: hidden;}
 .menu-hv ul ul li:hover ul, .menu-hv ul ul li.over ul { visibility: visible;}
 /* visual */
 .menu-hv {  background: #000; margin:53px 0 0 0px; height: 31px;}
.menu-hv a { font-weight: bold;  text-decoration: none; color: #FFF; padding: 0 10px; line-height: 23px;}
.menu-hv a:hover { text-decoration:  underline; background-color: #000; color: #FFF;}
.menu-hv ul li ul {  background-color: #393939; border: 1px solid #000; }