#menu-main
{
  float: right;
  text-transform: lowercase;
}

#menu-main li
{
  border-left: thin solid #999;
  padding: 0 0 0 4px;
}

#menu-main li:first-child
{
  border-left: none;
}

#menu-main a
{
  color: #999;
  font: normal 11px/12px "Lucida Grande", "Lucida Sans Unicode", verdana, lucida, sans-serif;
  height: 12px;
  text-align: center;
  text-decoration: none;
}

#menu-main a:hover
{
  background: #000;
  color: #FFF;
}

#menu-main a.active
{
  color: #A22;
  text-decoration: underline;
}

.menu-secondary
{
  background-color: #CCF;
  border: 0;
  border-bottom: 1px solid #000;
  height: 25px;
  margin: 0;
  padding: 8px 0 0 30px;
}

.menu-secondary a
{
  background: #CCF;
  border: 0;
  color: #000;
  display: block;
  float: left;
  font: normal 15px/15px georgia, serif;
  height: 15px;
  margin: 3px 19px 0;
  padding: 0 0 2px;
  text-align: center;
  text-decoration: none;
}

.menu-secondary a:link,
.menu-secondary a:visited,
.menu-secondary a:active
{
  background: #CCF;
  color: #000;
  text-decoration: none;
}

.menu-alternate
{
  background-color: #FFF;
  border: 0;
  height: 12px;
  margin: 0;
  padding: 3px 0 0;
}

.menu-alternate a
{
  background: #FFF;
  border: 0;
  border-left: 1px solid #CCC;
  color: #999;
  display: block;
  float: right;
  font: normal 11px/12px "Lucida Grande", "Lucida Sans Unicode", verdana, lucida, sans-serif;
  height: 12px;
  margin: 0;
  padding: 0 5px;
  text-align: center;
  text-decoration: none;
}

.menu-alternate a:link,
.menu-alternate a:visited,
.menu-alternate a:hover
{
  background: #FFF;
  color: #999;
  text-decoration: none;
}

.menu-alternate a.active
{
  border-bottom: 3px solid #999;
}

.menu-alternate a#first
{
  border-left: none;
}

.menu-action
{
  border: 0 solid #000;
  height: 40px;
  margin: 15px 0;
}

.menu-action a:link,
.menu-action a:visited,
.menu-action a:active
{
  background-color: #000;
  border-bottom: 3px solid #999;
  border-right: 3px solid #999;
  color: #FFF;
  float: right;
  font: normal 15px/15px georgia, serif;
  margin: 0 0 0 5px;
  padding: 3px 8px 4px;
  text-decoration: none;
}

.submit
{
  background-color: #000;
  border-bottom: 3px solid #999;
  border-right: 3px solid #999;
  color: #FFF;
  float: right;
  font: normal 15px/15px georgia, serif;
  height: 25px;
  margin: 14px 0 0 5px;
  padding: 0 6px 1px;
  text-decoration: none;
  width: 60px;
}

.submithover
{
  background-color: #FFF;
  border-bottom: 3px solid #999;
  border-right: 3px solid #999;
  color: #000;
  float: right;
  font: normal 15px/15px georgia, serif;
  height: 25px;
  margin: 14px 0 0 5px;
  padding: 0 6px 1px;
  text-decoration: none;
  width: 60px;
}

.menu-detail
{
  border: 0;
  margin: 0;
  padding: 0 0 10px 10px;
}

.menu-edit
{
  border: 0 solid #000;
  clear: both;
  height: 25px;
  margin: 15px 0 0;
}

.menu-edit a:link,
.menu-edit a:visited,
.menu-edit a:active
{
  background-color: #CCC;
  border-bottom: 3px solid #999;
  border-right: 3px solid #999;
  color: #000;
  float: right;
  font: normal 15px/15px georgia, serif;
  margin: 0 0 0 5px;
  padding: 3px 8px 4px;
  text-decoration: none;
}

.contextMenu
{
  overflow: hidden;
}

.contextMenu .label
{
  background-color: #999;
  border-bottom: 1px solid #000;
  color: #FFF;
  font-weight: 700;
  margin-top: 2px;
  overflow: hidden;
  width: 100%;
}

.contextMenu .node
{
  border-bottom: 1px solid #999;
  margin-bottom: 4px;
  overflow: hidden;
  width: 100%;
}

.contextMenu .currentNode
{
  border-bottom: 1px solid #000;
  font-weight: 400;
  margin-bottom: 4px;
  overflow: hidden;
  width: 100%;
}

.contextMenu .node .plus
{
  background-image: url(../images/tree_plus.gif);
  background-position: top left;
  background-repeat: no-repeat;
  padding-left: 17px;
}

.contextMenu .node .rootPath
{
  background-image: url(../images/tree_minus.gif);
  background-position: top left;
  background-repeat: no-repeat;
  padding-left: 17px;
}

.menu-secondary a:hover,
.menu-secondary a.active
{
  background: #CCF;
  border-bottom: 5px solid #000;
  color: #000;
  text-decoration: none;
}

.menu-action a:hover,
.menu-edit a:hover
{
  background: #FFF;
  border-bottom: 3px solid #999;
  border-right: 3px solid #999;
  color: #000;
  float: right;
  text-decoration: none;
}

.contextMenu .node .minus,
.contextMenu .currentNode .rootPath
{
  background-image: url(../images/tree_minus.gif);
  background-position: top left;
  background-repeat: no-repeat;
  padding-left: 17px;
}

body#page-home #mainMenu > li#home > a { color: #c00; text-decoration: underline; }
body#page-demo #mainMenu > li#demo > a { color: #c00; text-decoration: underline; }
body#page-download #mainMenu > li#download > a { color: #c00; text-decoration: underline; }
body#page-code #mainMenu > li#code > a { color: #c00; text-decoration: underline; }
body#page-documentation #mainMenu > li#documentation > a { color: #c00; text-decoration: underline; }
body#page-discussion #mainMenu > li#discussion > a { color: #c00; text-decoration: underline; }
body#page-about #mainMenu > li#about > a { color: #c00; text-decoration: underline; }
body#page-contact #mainMenu > li#contact > a { color: #c00; text-decoration: underline; }
