/* $Id: nice_menus.css,v 1.27.2.1 2008/07/11 16:05:10 add1sun Exp $ */
/*
  This file contains the basic logic for nice menus, and should not be
  edited.  To customize the menus, it's recommended to create a custom CSS
  file using nice_menus_default.css as a template, then configure the module
  to use your custom CSS file (this is done in the global settings tab of
  the theme administration.)
*/

/* Below should fix menu being a few pixels away in some themes, and menus disappearing behind other stuff. */

.block-nice_menus {
  line-height: normal;
  z-index: 10;
  color: #ffffff;
  top: -3px;
}
ul.nice-menu,
ul.nice-menu ul {
  z-index: 5;
  position: relative;
  left: -2px;
  color: #ffffff;
  top: -3px;
}

ul.nice-menu li {
  position: relative;
  color: #ffffff;
  width: 150px;
  top: -3px;
}

ul.nice-menu a {
  display: block;
  color: #ffffff;
  top: -3px;
}

ul.nice-menu a:link {
  display: block;
  color: #ffffff;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 10px;
  text-decoration: none;
  color: #ffffff;
  top: -3px;
}

ul.nice-menu a:hover {
  display: block;
  color: #ffffff;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 10px;
  text-decoration: underline;
  color: #ffffff;
  top: -3px;
}

ul.nice-menu a:visited {
  display: block;
  color: #ffffff;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 10px;
  text-decoration: none;
  color: #ffffff;
}

ul.nice-menu ul,
/* For Garland header. */
#header-region ul.nice-menu ul {
  position: absolute;
  visibility: hidden;
  color: #ffffff;
}

ul.nice-menu li.over ul {
  visibility: visible;
  color: #ffffff;
}

ul.nice-menu ul li {
  display: block;
  background-color: #BC0517;
  color: #ffffff;
}

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 {
  visibility: visible;
}

/***************
 IE 6 Fixes
***************/

/* Iframe to fix z-index bug when menu hovers over <select> fields. */
ul.nice-menu li.menuparent ul,
/* For Garland header. */
#header-region ul.nice-menu li.menuparent ul {
	overflow: visible !important;
	/* overflow: hidden; */
}

ul.nice-menu li.menuparent ul iframe,
/* For Garland header. */
#header-region ul.nice-menu li.menuparent ul iframe {
	display: none;
	display/**/: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	filter: mask();
	width: 20px;
	height: 20px;
}
