/* $Id: nice_menus.css,v 1.6.2.2 2006/04/21 13:40:46 jakeg Exp $ */
/*
  To help understand the CSS, the HTML looks like this (where x is a number):
  <ul id='nice-menu-x' class='nice-menu nice-menu-TYPE'>
    <li><a href='#'>This is a menu item</a></li>
    <li class='menuparent'><a href='#'>A submenu</a>
      <ul><li>...</li>
      </ul>
    </li>
    ...
  </ul>

  If you have more than one nice-menu and want to target a particular one, use its id (e.g. ul.#nice-menu-2)

  See README.txt for some CSS customization examples!

  First we're going to define CSS for all menus, then we'll define based on the type of menu
*/

/* below should fix menu being a few pixels away in some themes, and menus disappearing behind other stuff */
.block-nice_menus {
  line-height: normal;
  font-size: normal;
  /*position: relative;*/
  z-index: 10;
}

/* most people won't want to see the menu's title */
.block-nice_menus h2 {
  display: none;
}

div.block-nice_menus a:link {
color: #ffffff;}

div.block-nice_menus a:visited {
color: #ffffff;}

div.block-nice_menus a:hover {
color: #ffffff;
text-decoration: none;
background: #77839F;}

div.block-nice_menus a:active {
color: #ffffff;
text-decoration: none;}




ul.nice-menu,
ul.nice-menu ul{
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #292A5E;
  z-index: 5;
}

ul.nice-menu li {
  border: 1px solid #292A5E;
  border-top: 0;
  position: relative;
  float: left;
  background-color: #415C9E;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
}

ul.nice-menu a {
  padding: 0.3em 15px 0.3em 5px;
  display: block;
  text-decoration: none;
  color: #ffffff;
}

ul.nice-menu hover {
  padding: 0.3em 15px 0.3em 5px;
  display: block;
  text-decoration: none;
  color: #ffffff;
    background: #77839F;
}

ul.nice-menu ul{
  position: absolute;
  top: 1.8em;
  left: -1px;
  border: 0;
  border-top: 1px solid #292A5E;
  margin-right: 0;
  display: none;
  color: #ffffff;
}

ul.nice-menu li.over ul{
  display: block;
}

ul.nice-menu ul li{
  width: 150px;
  display: block;
}

ul.nice-menu:after {
  content: "."; 
  display: block;
  height: 0; 
  clear: both; 
  visibility: hidden;
}

/* Show submenus when over their parents */
ul.nice-menu li:hover ul,
ul.nice-menu li.menuparent li:hover ul,
ul.nice-menu li.menuparent li.menuparent li:hover ul,
ul.nice-menu li.over ul,
ul.nice-menu li.menuparent li.over ul,
ul.nice-menu li.menuparent li.menuparent li.over ul { 
  display: block;
    text-decoration: none; 
    color: #ffffff;
  background: #77839F;
} 

/* Hide sub-menus initially */
ul.nice-menu li:hover ul ul,
ul.nice-menu li:hover ul ul ul,
ul.nice-menu li.over ul ul,
ul.nice-menu li.over ul ul ul { 
  display: none; 
      text-decoration: none; 
    color: #ffffff;
  background: #77839F;
} 

/* Now stuff specific to the menu type (down, left or right menu pop) */

/* All VERTICAL (left/right) menus */

/* This is the default width of vertical menus. You can override these in your own stylesheet. */
ul.nice-menu-right, ul.nice-menu-left, 
ul.nice-menu-right li, ul.nice-menu-left li{
  width: 150px;
}

/* stuff for VERTICAL menus where submenus pop RIGHT (default) */

ul.nice-menu-right ul {
  width: 150px;
  left: 150px;
  top: -1px;
}

ul.nice-menu-right ul ul {
  width: 150px;
  left: 150px;
  top: -1px;
}

ul.nice-menu-right li.menuparent,
ul.nice-menu-right li li.menuparent{ 
  background: #415C9E url(images/arrow-right.png) right center no-repeat; 
}

ul.nice-menu-right li.menuparent:hover,
ul.nice-menu-right li.over,
ul.nice-menu-right li li.menuparent:hover,
ul.nice-menu-right li li.over{
  background: #77839F url(images/arrow-right.png) right center no-repeat;
    text-decoration: none;
    color: #ffffff;
}

/* stuff for VERTICAL menus where submenus pop LEFT */

ul.nice-menu-left li ul{
  width: 150px;
  left: -151px;
  top: -1px;
}

ul.nice-menu-left li ul li ul {
  width: 150px;
  left: -151px;
  top: -1px;
}

ul.nice-menu-left li.menuparent,
ul.nice-menu-left li li.menuparent{ 
  background: #415C9E url(arrow-left.png) left center no-repeat; 
}

ul.nice-menu-left li.menuparent:hover,
ul.nice-menu-left li.over,
ul.nice-menu-left li li.menuparent:hover,
ul.nice-menu-left li li.over{
  background: #77839F url(arrow-left.png) left center no-repeat;
      text-decoration: none;
    color: #ffffff;
}

ul.nice-menu-left a, ul.nice-menu-left ul a {
  padding-left: 14px;
  text-decoration: none;
}

/* stuff for HORIZONTAL menus where submenus pop DOWN */

ul.nice-menu-down {
  float: left;
  border: 0;
}

ul.nice-menu-down li {
border-top: 1px solid #415C9E;
}

ul.nice-menu-down li li {
border-top: 0;
}

ul.nice-menu-down ul {
  left: 0;
}

ul.nice-menu-down li ul li ul {
  left: 150px;
  top: -1px;
}

ul.nice-menu-down .menuparent a{
  padding-right: 15px;
  text-decoration: none;
}

ul.nice-menu-down li.menuparent{ 
  background: #415C9E url(arrow-down.png) right center no-repeat; 
}

ul.nice-menu-down li.menuparent:hover,
ul.nice-menu-down li.over{
  background: #77839F url(arrow-down.png) right center no-repeat;
      text-decoration: none;
    color: #ffffff;
}

ul.nice-menu-down li li.menuparent{ 
  background: #415C9E url(arrow-right.png) right center no-repeat; 
}

ul.nice-menu-down li li.menuparent:hover,
ul.nice-menu-down li li.over{
  background: #77839F url(arrow-right.png) right center no-repeat;
      text-decoration: none;
    color: #ffffff;
}

ul.nice-menu-down ul li {
  clear: both;
}