/*
* NOTE: 
* This are the styles for the NMR menu
* horizontal - vertical - vertical
*/

#menu 
{
   width: 58em;
   height: 2em;
   line-height: 2em;
   background: #5A4436;
   color: #fff;
   white-space: nowrap;
}

/* positions */
#menu
{
   position: absolute; /* needed, to make z-index work */
   top: 2.8em;
}
#menu ul,
#menu li 
{
   position: relative;
}
#menu ul ul,
#menu ul ul ul 
{
   position: absolute;
}

/* z-indexes */
#menu 
{
   z-index: 5000;
}
#menu ul ul 
{
   z-index: 500;
}

/* floats and positions */
#menu ul
{
   float: left;
}
#menu ul ul ul 
{
   top: 0;
   left: 100%;
}
/* hide */
#menu span {display: none;}
#menu p {display: none;}
#menu ul ul,
#menu ul li:hover ul ul,
#menu ul ul li:hover ul ul
{
   display: none;
}

/* show */
#menu ul li:hover ul,
#menu ul ul li:hover ul,
#menu ul ul ul li:hover ul
{
   display: block;
}

#menu ul
{
   list-style: none;
}

#menu ul,
#menu li,
#menu a
{
   display: block;
   margin:0;
   padding:0;
}

/* default a styles */
#menu a 
{
   background: transparent !important;
   color: #fff !important;
   text-transform: uppercase;
   font: bold 1em Arial, Helvetica, sans-serif;
   line-height: 2em;
   height: 2em;
   letter-spacing: -1px;
   padding: 0 .5em;
}
/* default hover styles */
#menu a:hover
{
   background: #F0ED82 !important;
   color: #5A4436 !important;
}
#menu ul ul a:hover
{
   color: #000 !important;
   background: #FFFFCC !important;
}
#menu ul ul ul a:hover
{
   background: #F0ED82 !important;
}
/* overwrite the default styles */
#menu ul ul
{
   background: #F0ED82;
}
#menu ul ul li
{
   width: 12em;
}
#menu ul ul ul li
{
   width: 14em;
}
#menu ul ul a
{
   font: normal .8em Arial, Helvetica, sans-serif;
   color: #000 !important;
   background: #F0ED82 !important;
   height: 1.3em;
   line-height: 1.3em;
   text-transform: none;
   letter-spacing: normal;
}
#menu ul ul ul a
{
   color: #000 !important;
   background: #FFFFCC !important;
   font: normal .8em Arial, Helvetica, sans-serif;
}
/* exceptions */
#menu ul.selected
{
   background: #F0ED82;
}