/*
 * Copyright 2003-2009 inxire GmbH. All rights reserved.
 * ------------------------------------------------------
 * Version: $Id: menuDropdown.css,v 1.23.8.1 2009/04/30 14:48:36 mgall Exp $
 *
 * Cascading Stylesheet (CSS 1.0)
 *
 * Style and classes for dropdown menu in explore view.
 *
 * The general structure of a menu (example taken from filesMenu.html):
 * <div class="menuList">
 *   <div class="singleMenuBox">
 *     <a href="#" id="filesActuator" class="actuator">Menu Label</a>
 *     <div id="filesMenu" class="menu">
 *       <div [id="filesMenu_copy"]><a href="...">[<img ...> ]Copy</a></div>
 *       ...
 *       <hr class="menuSeparator"/>
 *       ...
 *    </div>
 *    ...
 * </div>
 *
 * In general the menuList is included in some specific menu bar, e.g. div.mainMenu
 * or div.ioPortletMenu, which may be used as CSS context to define individual layouts.
 *
 * Author: Axel Morgner, Hans-Martin Keller
 */


/* ************************************************************************** *
 *                     Base Menu Styles                                       *
 * ************************************************************************** */

/* list of menus */
.menuList {
  position: relative;        /* => reference position for drop down menu !! */
  padding: 0px;
  background-color: transparent;
  z-index: 2000;
}

/* Complete dropdown menu, e.g. a drop down box with actuator */
.singleMenuBox {
  display: inline;
  background-color: transparent;
}

/* This is the drop down box itself */
.menu {
  position: absolute;
  top: 0px;  /* 1.1em;         /* only default value, will be adjusted during initializeMenu() */
  left: 0px;
  padding: 0px;
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
  visibility: hidden;
  z-index: 2000;   /* with IE only relative to "menuList.css.zIndex" */
}

/* Box around single menu entry. A menu consists of HR and DIV elements */
.menu div {
  /* margin: 0px; */
  /* padding: 0px; */
}

/* Link element */
.menu a, .menu a:link, .menu a:visited {
  color: #000;
  text-decoration: none;
  display: block;
  margin: 0px;
  /* padding: 4px 4px; */
  padding: 3px 4px;
  /*  width: 100%;*/
}

.menu a:hover, .menu a:focus, .menu a:active {
  background-color: #aaa;
  color: #fff;
  text-decoration: none;
}

.menu a.disabled, .menu a.disabled:link, .menu a.disabled:hover, .menu a.disabled:focus {
 background-color: transparent;
 color: #888;
 cursor: pointer;
 cursor: pointer;
}

/* Menu separator */
.menu hr {
  color: #005187;             /* used by IE 5.5 */
  background-color: #005187;  /* used by Mozilla, Opera, NS 7 ... */
  height: 1px;
}

/* Menu icon */
.menu img {
  vertical-align: middle;
}

/* Drag and Drop icon menu */
.ddIconMenu {
  position: absolute;
  top: 0px;  /* 1.1em;         /* only default value, will be adjusted during initializeMenu() */
  left: 0px;
  width:  30px;       /* must fit to 16x16 icons */
  height: 16px;
  text-align: right;
  background-color: transparent;
  visibility: hidden;
  z-index: 3000;
}

.ddIconMenu img {
  filter: alpha(opacity=80);
  -moz-opacity: 0.8;
}
