/*
 * Copyright 2003-2009 inxire GmbH. All rights reserved.
 * ------------------------------------------------------
 * Version: $Id: menuDropdown.css,v 1.23.58.5.8.1 2009/06/03 12:40:43 amorgner Exp $
 *
 * Cascading Stylesheet (CSS 1.0)
 *
 * Style and classes for dropdown menu and navigation tabs.
 *
 * 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>
 *
 * The structure of a tab list
 * <ul class="tabList">
 *   <li [class="selected"]>
 *     <span class="start">&nbsp;</span><a [class="disabled"]>Home</a><span class="end">&nbsp;</span>
 *   </li>
 * </ul>
 *
 * In general the menuList or tabList is included in some specific wrapper, 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: #f2f4f7;
  color: #000;
  border: 1px solid #bac0c6;
  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:focus, .menu a:hover, .menu a:active {
  background-color: #bac0c6;
  color: #fff;
  text-decoration: none;
}

.menu a.disabled, .menu a.disabled:link, .menu a.disabled:focus, .menu a.disabled:hover {
  background-color: transparent;
  color: #bac0c6;
  /* cursor: pointer;   HMK: why use hand symbol on disabled links? */
  /* cursor: default;        force default pointer? */
}

/* Menu separator */
.menu hr {
  color: #bac0c6;             /* used by IE 5.5 */
  background-color: #bac0c6;  /* 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;
}


/* ************************************************************************** *
 *                      Base Tab and Task Styles                                       *
 * ************************************************************************** */

ul.tabList, ul.taskList {
  margin: 0px;    /* needed by IE */
  padding: 0px;   /* needed by Mozilla */
}

ul.tabList li, ul.taskList li {
  display: block;
  list-style-type: none;
  float: left;

  margin-right: 2px;  /* use negative values to overlap */

  position: relative;
  z-index: 0;
/* This code is needed to move tab over border of following div
  top: 1px;
*/
}

ul.tabList table, ul.taskList table {
  border-collapse: collapse;
}

/*
 * Single tab
 */
ul.tabList td {
  background: #697f97;  /* url('tab_bg.gif') repeat-x top left; */
  padding: 0 0.1em;
  line-height: 1.8em;
  /* vertical-align: center; */
  /* height: 1.8em; */
  white-space: nowrap;
  /* warning: width and height brakes IE - ignored by other */
}

ul.tabList td.start {
  background: #697f97;  /* url('tab_bg_start.gif') no-repeat top left; */
  /* text-align: right; */
  padding: 0 0 0 0.75em;
}

ul.tabList td.end {
  background: #697f97;  /* url('tab_bg_end.gif') no-repeat top left; */
  padding: 0 0.75em 0 0;
}

ul.tabList li.selected {
  z-index: 2;
}

ul.tabList li.selected td {
  background: #e7eaee;  /* url('tab_bg_curr.gif') repeat-x top left; */
}

ul.tabList li.selected td.start {
  background: #e7eaee;  /* url('tab_bg_curr_start.gif') no-repeat top left; */
}

ul.tabList li.selected td.end {
  background: #e7eaee;  /* url('tab_bg_curr_end.gif') no-repeat top left;  */
}

/*
 * Single task
 */
ul.taskList td {
  background: #697f97;  /* url('tab_bg.gif') repeat-x top left; */
  padding: 0 0.1em;
  line-height: 1.8em;
  /* vertical-align: center; */
  /* height: 1.8em; */
  white-space: nowrap;
  /* warning: width and height brakes IE - ignored by other */
}

ul.taskList td.start, ul.taskList td.startFirst {
  background: #697f97;  /* url('tab_bg_start.gif') no-repeat top left; */
  /* text-align: right; */
  padding: 0 0 0 0.75em;
}

ul.taskList td.end {
  background: #697f97;  /* url('tab_bg_end.gif') no-repeat top left; */
  padding: 0 0.75em 0 0;
}

ul.taskList li.selected {
  /* z-index: 2;  keep stacking */
}

ul.taskList li.selected td {
  background: #e7eaee;  /* url('tab_bg_curr.gif') repeat-x top left; */
}

ul.taskList li.selected td.start, ul.taskList li.selected td.startFirst {
  background: #e7eaee;  /* url('tab_bg_curr_start.gif') no-repeat top left; */
}

ul.taskList li.selected td.end {
  background: #e7eaee;  /* url('tab_bg_curr_end.gif') no-repeat top left;  */
}

