/* $Id: nice_menus.css,v 1.6.2.4 2006/08/11 14:16:28 jakeg Exp $ */
/*
  To help understand the CSS, the HTML looks like this (where x is a number; TYPE is down/left/right; PATH is the menu path such as node/343; MID is the menu id such as 33):
  <ul id='nice-menu-x' class='nice-menu nice-menu-TYPE'>
    <li id='menu-MID' class='menu-path-PATH'><a href='#'>This is a menu item</a></li>
    <li class='menuparent menu-path-PATH'><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;
}

/* need this to enable hidding inner span */
.block-nice_menus h2.title {
  margin: 0;
  display: none;
}

.block-nice_menus h2.title .nice-menu-hide-title {
  display: none;
}

.block-nice_menus h2 {
  display: none;
}



/*.block-nice_menus h2.title .nice-menu-show-title {
  display: block;
  margin-bottom: 5px;
}*/

ul.nice-menu,
ul.nice-menu ul{
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #ccc;
  z-index: 5;
}

ul.nice-menu li {
  border: 1px solid #ccc;
  border-top: 0;
  position: relative;
  float: left;
  background-color: #FFFFFF;
}

ul.nice-menu a {
  padding: 0.3em 15px 0.3em 5px;
  display: block;
}

ul.nice-menu ul{
  position: absolute;
  top: 1.8em;
  left: -1px;
  border: 0;
  border-top: 0px;
  margin-right: 0;
  display: none;
}

ul.nice-menu li.over ul{
  display: block;
}

ul.nice-menu ul li{
  width: 14em;
  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; 
 
} 

/* 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; 
} 

/* 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: 13.5em;*/
 width: 160px;
}

ul.nice-menu-right h2 {
 display: none;
}
ul.nice-menu-right li {
 /*margin-top: -3px;
 margin-bottom: 15px;*/
 background-color:#FFFFFF;

font-family: Arial, Helvetica, sans-serif;
	font-size: 9pt;
	font-weight: normal;
	color: #000000;
	font-style: italic;
	text-align: left;
 	border-style: solid;
 	border-width: 1px;
 	border-color: black;
 	border-left-color: #FFFFFF;
	border-bottom: 1px;
	border-bottom-color: #FFFFFF;
	border-left: 0px;
	border-left-color: #FFFFFF;
	padding-top: 6px;
	/*padding-left: 10px;
	padding-right: 10px;*/
	padding-bottom: 3px;
	margin-bottom: 3px;
	margin-right: 10px;
	margin-left: 0px;
	list-style: none;



}

/* stuff for VERTICAL menus where submenus pop RIGHT (default) */

ul.nice-menu-right ul {
  width: 170px;
  left: 170px;
  /*top: -1px;*/
  top: 0px;
 
 font-family: Arial, Helvetica, sans-serif;
	font-size: 9pt;
	font-weight: normal;
	color: #000000;
	font-style: italic;
	text-align: left;
	border-top: 1px;
	border-top-color: #000000;
	border-bottom: 1px;
	border-bottom-color: #FFFFFF;
	border-left: 0px;
	border-left-color: #FFFFFF;
	padding-top: 6px;
	padding-bottom: 3px;
       margin-bottom: 3px;
	margin-right: -10px;
	margin-left: 0px;
	list-style: none;
}

ul.nice-menu-right ul ul {
  width: 170px;
  left: 170px;
  top: -1px;
  border-bottom: 1px;
  border-bottom-color: #FFFFFF;

}

ul.nice-menu-right li.menuparent,
ul.nice-menu-right li li.menuparent{ 
  background: #FFFFFF;

  url(arrow-right.png) right center no-repeat;
  margin-bottom: 6px;
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom: 1px;
  border-bottom-color: #FFFFFF;

 
}

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: #fde38a url(arrow-right.png) right center no-repeat;
}

ul.nice-menu-right li:hover,
ul.nice-menu-right li.over,
ul.nice-menu-right li li:hover,
ul.nice-menu-right li li.over{
  background: #fde38a;
}

/* stuff for VERTICAL menus where submenus pop LEFT */

ul.nice-menu-left li ul{
  width: 13.5em;
  left: -13.65em;
  top: -1px;
}

ul.nice-menu-left li ul li ul {
  width: 13.5em;
  left: -13.65em;
  top: -1px;
}

ul.nice-menu-left li.menuparent,
ul.nice-menu-left li li.menuparent{ 
  background: #FFFFFF 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: #FFFFFF url(arrow-left.png) left center no-repeat;
}

ul.nice-menu-left a, ul.nice-menu-left ul a {
  padding-left: 14px;
}
 
/* 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 #ccc;
}

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: 12.5em;
  top: -1px;
}

ul.nice-menu-down .menuparent a{
  padding-right: 21px;
}

ul.nice-menu-down li.menuparent{ 
  background: #eee url(arrow-down.png) right center no-repeat; 
}

ul.nice-menu-down li.menuparent:hover,
ul.nice-menu-down li.over{
  background: #ccc url(arrow-down.png) right center no-repeat;
}

ul.nice-menu-down li li.menuparent{ 
  background: #eee url(arrow-right.png) right center no-repeat; 
}

ul.nice-menu-down li li.menuparent:hover,
ul.nice-menu-down li li.over{
  background: #ccc url(arrow-right.png) right center no-repeat;
}

ul.nice-menu-down ul li {
  clear: both;
}
