/* $Id: nice_menus.css,v 1.14.2.5 2007/06/08 18:14:21 add1sun 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;
}

ul.nice-menu,
ul.nice-menu ul{
  list-style: none;
  padding: 0;
  margin: 0;
/*  border-top: 1px solid #ccc; */
/*  border-right: 2px solid #000; */
  z-index: 5;
}

ul.nice-menu li {
/*  border: 1px solid #ccc; */
/*  border-right: 2px solid #000; */
/*  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,
#header-region ul.nice-menu ul { /* for Garland header */
  position: absolute;
  top: 1.8em;
  left: -1px;
  border: 0;
  border-top: 1px solid #cc0000;  //only the top border shows
/*  border-right: 1px solid #000; */
  margin-right: 0;
  display: none;
}

ul.nice-menu li.over ul{
  color: #cc0000;
  display: block;
}

ul.nice-menu ul li{
/*  width: 12.5em; */
  width: 22em;
  text-align: left;
/*  display: block; */
  display: inline;
  color: #ffffff;
/*  color: #cc0000; */
}

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.menuparent 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,
ul.nice-menu li.menuparent li.menuparent li.menuparent li.over ul
/* Repeat all this stuff just for Garland headers */
#header-region ul.nice-menu li:hover ul,
#header-region ul.nice-menu li.menuparent li:hover ul,
#header-region ul.nice-menu li.menuparent li.menuparent li:hover ul,
#header-region ul.nice-menu li.over ul,
#header-region ul.nice-menu li.menuparent li.over ul,
#header-region 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:hover li:hover ul ul,
ul.nice-menu li:hover li:hover ul ul ul,
ul.nice-menu li:hover li:hover li:hover ul ul,
ul.nice-menu li:hover li:hover li:hover ul ul ul,
ul.nice-menu li.over ul ul,
ul.nice-menu li.over ul ul ul,
ul.nice-menu li.over li.over ul ul,
ul.nice-menu li.over li.over ul ul ul,
ul.nice-menu li.over li.over li.over ul ul,
ul.nice-menu li.over li.over li.over ul ul ul
/* Repeat all this stuff just for Garland headers */
#header-region ul.nice-menu li:hover ul ul,
#header-region ul.nice-menu li:hover ul ul ul,
#header-region ul.nice-menu li:hover li:hover ul ul,
#header-region ul.nice-menu li:hover li:hover ul ul ul,
#header-region ul.nice-menu li:hover li:hover li:hover ul ul,
#header-region ul.nice-menu li:hover li:hover li:hover ul ul ul,
#header-region ul.nice-menu li.over ul ul,
#header-region ul.nice-menu li.over ul ul ul,
#header-region ul.nice-menu li.over li.over ul ul,
#header-region ul.nice-menu li.over li.over ul ul ul,
#header-region ul.nice-menu li.over li.over li.over ul ul,
#header-region ul.nice-menu li.over li.over 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: 12.5em; */
  width: 22em;
}

/* stuff for VERTICAL menus where submenus pop RIGHT (default) */

ul.nice-menu-right ul {
/*  width: 12.5em; */
/*  left: 12.5em; */
  width: 22em;
  left: 22em;
  top: 5px; 
}

ul.nice-menu-right ul ul {
/*  width: 12.5em; */
/*  left: 12.5em; */
  width: 22em;
  left: 22em;
  top: 5px;
}

ul.nice-menu-right li.menuparent,
ul.nice-menu-right li li.menuparent{
/*  background: #eee url(arrow-right.png) right center no-repeat; */
  background: #ffffff url(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: #fff url(arrow-right.png) right center no-repeat;
/*  background: #f8f8f8 url(arrow-right.png) right center no-repeat; */
  color: #cc0000;
}

/* stuff for VERTICAL menus where submenus pop LEFT */

ul.nice-menu-left li ul{
/*  width: 12.5em; */
  width: 22em;
  left: -12.65em;
  top: 5px;
}

ul.nice-menu-left li ul li ul {
/*  width: 12.5em; */
  width: 22em;
  left: -12.65em; 
  top: 5px;
}

ul.nice-menu-left li.menuparent,
ul.nice-menu-left li li.menuparent{
/*  background: #eee url(arrow-left.png) left center no-repeat; */
  background: #fff 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: #fff url(arrow-left.png) left center no-repeat;
/*  background: #f8f8f8 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 SUB-MENUS pop DOWN */

ul.nice-menu-down {
  float: left;
/*  border-right: 2px solid #000; */
}

/* -------Puts borders for the whole menu. Include the very top menu------- */
ul.nice-menu-down li {
/*  border-top: 1px solid #cc0000; */
/*  border: 1px solid #cc0000; */
  border: none;
}

/* -------Place borders from the second level down, with just left, right, and bottom, if top, will be too thick------- */
ul.nice-menu-down li li {
  border-top: 0;
  border-left: 1px solid #cc0000;
  border-right: 1px solid #cc0000;
  border-bottom: 1px solid #cc0000;
}

ul.nice-menu-down ul {
  left: 0;
}

/* -------Menu slides out to the right------- */
ul.nice-menu-down li ul li ul,
#header-region ul.nice-menu-down li ul li ul { /* for Garland header */
/*  left: 12.5em; */
  top: 7px;
  left: 21.5em;
}

ul.nice-menu-down .menuparent a{
  padding-right: 15px;
  z-index: 15;
}

/* ~~~~~~~  TOP LEVEL ~~~~~~~*/
ul.nice-menu-down li.menuparent{
/*  background: #f8f8f8 url(arrow-down.png) right center no-repeat; */
  color: #ffffff;
}
/* ~~~~~~~  TOP LEVEL ~~~~~~~ */
ul.nice-menu-down li.menuparent:hover,
ul.nice-menu-down li.over,
/* Repeat for Garland header */
#sub_header ul.nice-menu-down li.menuparent:hover,
#sub_header ul.nice-menu-down li.over {
/*  background: #fff; */
/*  background: #f8f8f8; */
/*  color: #f8f8f8; */
  z-index: 11;
}
/* ~~~~~~~  2ND LEVEL ~~~~~~~ */
ul.nice-menu-down li li.menuparent{
  background: #ffffff url(arrow-right.png) right center no-repeat;
/*  color: #f8f8f8; */
}
/* ~~~~~~~  2ND LEVEL ~~~~~~~ */
ul.nice-menu-down li li.menuparent:hover,
ul.nice-menu-down li li.over,
/* Repeat for Garland header */
#header-region ul.nice-menu-down li li.menuparent:hover,
#header-region ul.nice-menu-down li li.over {
  background: #ffffff url(arrow-right.png) right center no-repeat; 
/*  background: #F8F8F8; */
  z-index: 18;
}

ul.nice-menu-down ul li {
  clear: both;
}

/* [IE6] Invisible iframe to fix z-index bug when menu hovers over <select> fields*/

li.menuparent ul, 
#header-region li.menuparent ul { /*for Garland header */
	overflow: visible !important; 
	overflow: hidden; 
 }

li.menuparent ul iframe, 
#header-region li.menuparent ul iframe { /*for Garland header */
	display:none; 
	display/**/:block; 
	position:absolute; 
	top:2px; 
	left:0; 
	z-index:-1; 
	filter:mask(); 
	width:400px;
	height:400px;
} 

/* Additional overrides to deal with Garland theme */
ul.nice-menu li {
  margin: 0;
  padding-left: 0;
  background-image: none;
}

/* #header-region ul.nice-menu li { */
#sub_header ul.nice-menu li {
  margin: 0;
  padding: 0;
/*  line-height: normal; */
  line-height: 20px;
/*  background: #fff; */
}

/* #header-region ul.nice-menu-down li.menuparent{ */
#sub_header ul.nice-menu-down li.menuparent{
  background: #fff;
/* url(arrow-down.png) right center no-repeat; */
}

/* #header-region ul.nice-menu-down li li.menuparent{ */
#sub_header ul.nice-menu-down li li.menuparent{
  background: #fff url(arrow-right.png) right center no-repeat;
}

/* Code copied from online source, might need modification */
UL.nice-menu LI.menuparent UL {
OVERFLOW: visible !important
}
UL.nice-menu LI.menuparent LI.menuparent UL {
OVERFLOW: visible !important
}
UL.nice-menu LI.menuparent LI.menuparent LI.menuparent UL {
OVERFLOW: visible !important
}
UL.nice-menu LI.menuparent UL IFRAME {
DISPLAY: block; Z-INDEX: -1; FILTER: mask(); LEFT: 0px; WIDTH: 400px; POSITION: absolute; TOP: 2px; HEIGHT: 400px
}
UL.nice-menu LI.menuparent LI.menuparent UL IFRAME {
DISPLAY: block; Z-INDEX: -1; FILTER: mask(); LEFT: 0px; WIDTH: 400px; POSITION: absolute; TOP: 2px; HEIGHT: 400px
}
UL.nice-menu LI.menuparent LI.menuparent LI.menuparent UL IFRAME {
DISPLAY: block; Z-INDEX: -1; FILTER: mask(); LEFT: 0px; WIDTH: 400px; POSITION: absolute; TOP: 2px; HEIGHT: 400px
}