#nav, #nav ul{
     margin:0;
     padding:0;
     list-style-type:none;
     list-style-position:outside;
     position:relative;
     line-height:2.15em;
     z-index: 800;
 }
 
 #nav a {
    display:block;
    padding:0px 5px;
    text-decoration:none;
    color: #000;
    background: #eee url('../images/layout/tab_left.gif') left top no-repeat;
    padding: 0 0 0 15px;
    color: #333;
 }
   #nav a span {
      background: url('../images/layout/tab_right.gif') right top no-repeat;
      padding: 6px 15px 6px 0;
   }

#nav a:hover, #nav a.on{
   color: #fff;
   background: #820000 url('../images/layout/tab_left_over.gif') left top no-repeat;
}
   #nav a.on {
      font-weight: bold;
   }
   #nav a:hover span, #nav a.on span {
        background: url('../images/layout/tab_right_over.gif') right top no-repeat;
   }
      #nav ul a:hover {
         background: #941717;
      }
      

#nav li{
    float:left;
    position:relative;
    margin-right: 5px;
}

#nav ul {
    position:absolute;
    width:12em;
    top:2.15em;
    display:none;
}
   #nav li ul a {
    width:12em;
    float:left;
    background: #eee;
    color: #333;
    padding: 2px 0 0 15px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
   }
      #nav li ul.wyer a {
         width:15em;
      }
      #nav li ul.nogwyer a {
         width:18em;
      }

   #nav ul ul{
	top:auto;
	}	

#nav li ul ul {
    left:12em;
    margin:0 0 0 15px;
    }
    #nav li ul.wyer ul {
      left: 15em;
    }
    
    #nav li ul ul.wyer { left: 15em; }
    #nav li ul ul.wyer a { width:19em; }



#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
    display:none;
    }
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
    display:block;
    }