#navcategorii{
	list-style-type:none;
	margin-top: 5px;
	left: -30px;
	width: auto;
	font-family: Arial;
	font-weight:normal; 
	position: relative;
    z-index:1;
}

#navcategorii li{
    float:left;
	list-style-type: none;
}
#navcategorii img{
	margin-top: 1px;
	margin-right: 1px;
}
#navcategorii a{
	display:block;
	font-size:14px;
	width: 170px;
	text-align: left;
	font-family: Arial;
	font-weight:normal; 
	border: 1px solid #eee;
	padding: 8px;
	color:#000000;
	background-color: #FFFFFF;
    text-decoration:none;
}
#navcategorii a:hover{
    color:#D62828;
    text-decoration:none;	
}
#navcategorii a:active{
    color:#D62828;
	float:left;
    text-decoration:underline;	
}
/*--- DROPDOWN ---*/
#navcategorii ul{
    list-style:none;	
	text-align: left;
    position:absolute;
    left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
}
#navcategorii ul li{
 /* Introducing a padding between the li and the a give the illusion spaced items */
    float:left;
	width: 145px;
}
#navcategorii ul a{
    white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
#navcategorii li:hover ul{ /* Display the dropdown on hover */
    left:0; /* Bring back on-screen when needed */
}
#navcategorii li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
    background:#FFF;
    text-decoration:none;
}
#navcategorii li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
    text-decoration:none;
}
#navcategorii li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
    background:#FFF;
}