/*
 * Copyright (C) 2004-2005, Esben Høgh-Rasmussen
 */


/* Basic navlist style.
 * The left margin is 12-5=7 pixels: 12 is half the
 * icon-width, and 5 is the padding used to center the
 * expand/collapse box around the connector line.
 */
.navlist, .navlist ul {
  list-style: none;
  margin: 0 0 0 7px;
  padding: 0;
  text-indent: 0;
}

/*
 * Normal item with connector lines.
 */
.navlist li {
  margin: 0 0 0 12px;
  padding: 0 0 0 5px;
  text-indent: -12px;
  border: solid;
  border-width: 0 0 0 1px;
  border-color: #808080;
}

/* Navhead item: these items contains an icon
 * positioned on top of the connector line
 * (i.e. no navigation section).
 */
li.navhead {
  margin: 0;
  padding: 0;
  text-indent: 0;
  border: none;
}

/* The last item in a sublist should not have a
 * connector line attached. Use the navtail class
 * for these items.
 *
 * We include the special case, where we only have
 * one line. This may be useful with other
 * stylesheets.
 */
li.navtail, li.navsingle {
  margin: 0 0 0 12px;
  padding: 0 0 0 6px;
  text-indent: -12px;
  border: none;
}

/* Graphical section elements must be positioned
 * at the top. This is necesseray for the bottom
 * element (to avoid holes in the connector lines),
 * and it looks bad to let this item stand out.
 *
 * Icons get the same treatment, so they align
 * with the navigation element.
 */
img.navsec {
  height: 20px;
  width: 20px;
  border: none;
  vertical-align: top;
}

img.icon {
  height: 24px;
  width: 24px;
  border: none;
  vertical-align: top;
}

/* The only reliable way I can think of to
 * keep the line-distance (given IE bugs) is to
 * use struts :-(
 *
 * IE have a weird bug with bottom padding, and
 * min-height is not obeyed for LI-elements.
 */
img.strut1 {
  vertical-align: baseline;
  width: 1px;
  height: 14px;
}

img.strut2 {
  vertical-align: middle;
  width: 1px;
  height: 1.5em;
}
