@charset "iso-8859-1";
/* CSS Laboratório de Biotecnologia da Madeira */

/* Menu horizontal */
#menu{
	display: block;
	width: 750px;
	margin: 20px auto;
	font-size:11px;
	z-index:0;
}

.preload1 {background: url(../imagens/bg0.jpg);}
.preload2 {background: url(../imagens/bg1a.jpg);}

.preload3 {background: url(../imagens/bg1a.jpg);}
.preload4 {background: url(../imagens/biodegradacao1_lbm.gif);}

#nav {
	padding:0;
	margin:0;
	list-style:none;
	height:35px;
	background-color:#CAC78A;
	position:relative;
	z-index:800;	
	font-family:arial, verdana, sans-serif;
	color:#000000;
	text-align:left;
	width: 785px;
	background-image:url(../imagens/teste.png);
}
#nav li.top {display:block; float:left;}
#nav li a.top_link {
	display:block;
	float:left; 
	height:35px;
	line-height:28px; 
	color:#000000;
	text-decoration:none;
	font-size:12px;
	font-weight:bold;
	padding:0 0px 0 8px;
	cursor:pointer;
	
}
#nav li a.top_link span {
	float:left;
	display:block; 
	padding:0 20px 0 8px; 
	height:35px;
}
#nav li a.top_link span.down {float:left; display:block; padding:0 18px 0 8px; height:35px;


}

#nav li:hover a.top_link,
#nav a.top_link:hover
{color:#fff;}
#nav li:hover a.top_link span, 
#nav a.top_link:hover span
{background:url(../imagens/) no-repeat right top;}
#nav li:hover a.top_link span.down,
#nav a.top_link:hover span.down
{ padding-bottom:3px;}

#nav table {border-collapse:collapse; padding:0; margin:0; position:absolute; left:0; top:0;}

#nav li:hover {position:relative; z-index:200;}
#nav a:hover {position:relative; white-space:normal; z-index:200;}
/*borda do submenu nivel 1*/
#nav :hover ul.sub
{left:1px; top:38px; background: #C9C78A; padding:3px; border:1px solid #A1A070; white-space:nowrap; width:145px; height:auto; z-index:300;}
#nav :hover ul.sub li
{display:block; height:20px; position:relative; float:left; width:135px; font-weight:normal;}

#nav :hover ul.sub li a
{display:block; font-size:11px; height:18px; width:130px; line-height:18px; text-indent:5px; color:#000; text-decoration:none;border:1px solid #C9C78A;text-align:left; z-index:500}
#nav li ul.sub li a.fly
{background:#A1A070 url(../imagens/arrow.gif) 130px 6px no-repeat;}
#nav :hover ul.sub li a:hover 
{background:#A1A070 ; color:#fff; border-color:#000;}
#nav :hover ul.sub li a.fly:hover
{background:#A1A070 url(../imagens/arrow_over.gif) 130px 6px no-repeat; color:#fff;}

#nav li sub {display:block; font-size:11px; height:18px; width:98px; line-height:18px; margin-bottom:3px; text-indent:6px; color:#OOO; border-bottom:1px solid #000; cursor:default; font-weight:bold;}

#nav a:hover a:hover ul,
#nav a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover a:hover ul
{left:89px; top:-4px; background: #C9C78A; padding:3px; border:1px solid #fff; white-space:nowrap; width:130px; z-index:400; height:auto;text-align:left;}

#nav ul, 
#nav a:hover ul ul,
#nav a:hover a:hover ul ul,
#nav a:hover a:hover a:hover ul ul,
#nav a:hover a:hover a:hover a:hover ul ul
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;
text-align:left;}

#nav li:hover li:hover > ul
{left:135px; top:-4px; background:#C9C78A; padding:3px; border:1px solid #A1A070; white-space:nowrap; width:130px; z-index:400; height:auto;text-align:left;}
#nav li:hover > ul ul 
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;text-align:left;}
#nav li:hover li:hover > a.fly
{background:#A1A070 url(../imagens/arrow_over.gif) 120px 6px no-repeat; color:#000; border-color:#fff;text-align:left;} 
#nav li:hover li:hover > li a.fly
{background:#C9C78A url(../imagens/arrow.gif) 120px 6px no-repeat; color:#000; border-color:#A1A070;text-align:left;} 

/* Menu horizontal - Fim */
