/* essential part */

#nav>ul>li 
{ 
  float: left; 
  position: relative; 
}
#nav ul ul 
{
  z-index: 100;
  display: none;
  position: absolute;
  top: 100%; left: 0;
}
#nav ul ul ul 
{ 
  top: 0; 
  left: 100%; 
}
#nav ul li:hover>ul 
{ 
  display: block; 
}
/* non-essential stuff, just prettifying */
#nav ul ul 
{
  /*min-width: 19em;*/
  /*box-shadow: inset 0 0 2px;*/
}
/*#nav li.firstLevel 
{
  text-decoration: none;
  padding-left:12px;
  padding-right:12px;
  color: #ffffff;
}*/
#nav li ul li a
{
  padding-left: 10px;  
}
/*#nav a 
{
  display: block;
  text-decoration: none;
  font-size: 16px;
  height: 55px;
  /*color: #ffffff;*/
}
#nav
{
  height: 55px;
}

/*#nav a:hover
{
  color: #000000;
}*/

li.active
{
	background-color: rgba(255, 125, 0, 0.5) !important;
	color: #000 !important;
	background-image: none!important;
}

#nav>ul>li 
{
  /*margin: 0 1px;*/
  /*color: #ffffff;*/
}
#nav>ul>li:hover>ul 
{
	display: block;
	/*background-color:#ffffff;*/
}
#nav>ul>li>a 
{
  text-align: center;
  text-transform: uppercase;
}
#nav ul ul a 
{
  font-weight: 700;
  color: #0052a0;
  background-color: #fff200;
  border-bottom:#0052a0;
  border-bottom-style:solid;
  border-bottom-width:1px;
}
/*second level nav hover*/
#nav ul ul a:hover 
{
  background: #0052a0;
  color: #ffffff;
}

/*first level nav hover*/
#nav ul li:hover 
{
  background: rgba(125, 255, 200, 0.5);
  color: #0052a0;
}