/* $Id: cssplay_simpledrop_blackred.css 219 2008-07-21 20:43:24Z mateo $ */
/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/simple_vertical.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
/* Adapted for Zikula menutree, Erik Spaan, http://code.zikula.org/blanktheme */

#nav_cssplay ul {margin:0;}

/* Add a margin - for this demo only - and a relative position with a high z-index to make it appear over any element below */
#nav_cssplay {
  position:relative;
  width:100%;
  height:31px;
  z-index:100;
  background: #000 url(../pnimages/cssplay_simpledrop/sb_black.gif) repeat-x center;
}

/* hack to correct IE5.5 faulty box model */
* html #nav_cssplay {
  width:98%;
  w\idth:100%;
}

/* Get rid of the margin, padding and bullets in the unordered lists */
.cssplay_drop, .cssplay_drop ul {
  position: relative;
  padding:0;
  margin:0;
  list-style-type: none;
}
/* Offset the first menu item from the left */
#nav_cssplay .cssplay_drop {
  margin-left: 20px;
}

/* Set up the link size, color and borders */
.cssplay_drop a, .cssplay_drop a:visited {
  display:block;
  width:120px;
/*  font: normal 11px verdana,arial,sans-serif;*/
/*  font:normal 0.9em 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', Times, serif;*/
/*  font:normal 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;*/
  font:bold 1em Georgia, "Times New Roman", Times, serif;
  color:#f9f9f9;
  height:31px;
  line-height:28px;
  text-decoration:none;
  text-indent:10px;
  border:1px solid #000;
  border-width:0;
}

/* Set up the sub level borders */
.cssplay_drop li ul li a, .cssplay_drop li ul li a:visited {
  border-width:0 1px 1px 1px;
  width:150px;
}
.cssplay_drop li ul li a.enclose, .cssplay_drop li ul li a.enclose:visited {
  border-width:1px;
}

/* Set up the list items */
.cssplay_drop li, .cssplay_drop li ul li {
  position: relative;
  float:left;
  background: transparent;
  margin: 0;
}
/* Sub level coloring */
.cssplay_drop li ul li {
  background:#980e10;
}

/* For Non-IE browsers and IE7 */
.cssplay_drop li:hover {
  position:relative;
  z-index: 200 /*IE6*/;
}
/* Make the hovered list color persist */
.cssplay_drop li:hover > a, .cssplay_drop li.selected > a {
  color:#fff;
  background:#000 url(../pnimages/cssplay_simpledrop/sb_red.gif) repeat-x center;
}
/* Sublevel hover coloring */
.cssplay_drop li ul li:hover > a {
  background:#cf1519;
}
/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
.cssplay_drop li ul {
  display:none;
}
/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
.cssplay_drop li:hover > ul {
  display:block;
  position:absolute;
  top:-11px;
  left:110px;
  padding:10px 30px 30px 30px;
  background:transparent url(../pnimages/cssplay_simpledrop/transparent.gif);
  width:150px;
  z-index:200;  
}
/* Position the first sub level beneath the top level links */
.cssplay_drop > li:hover > ul {
  left:-30px;
  top:20px;
}

/* get rid of the table */
.cssplay_drop table {
  position:absolute;
  border-collapse:collapse;
  top:0;
  left:0;
  z-index:100;
  font-size:1em;
}

/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. 
This is needed to trigger IE to show the sub levels */
* html .cssplay_drop li a:hover {
  position:relative;
  color:#f9f9f9;
  background:#980e10 url(../pnimages/cssplay_simpledrop/sb_red.gif) repeat-x center;
  text-decoration: none;
}
* html .cssplay_drop li ul li a:hover {
  background:#cf1519;
}

/* For accessibility of the top level menu when tabbing */
.cssplay_drop li a:active, .cssplay_drop li a:focus {
  color:#f9f9f9;
  background:#980e10 url(../pnimages/cssplay_simpledrop/sb_red.gif) repeat-x center;
}

/* Set up the pointers for the sub level indication */
.cssplay_drop li.fly {
  background:#980e10 url(../pnimages/cssplay_simpledrop/fly_f9f9f9.gif) no-repeat right center;
}
.cssplay_drop li.drop {
  background:transparent url(../pnimages/cssplay_simpledrop/drop_f9f9f9.gif) no-repeat right center;
}

/* This lot is for IE5.5 and IE6 ONLY and is necessary to make the sublevels appear */
/* change the drop down levels from display:none; to visibility:hidden; */
* html .cssplay_drop li ul {
  visibility:hidden;
  display:block;
  position:absolute;
  top:-11px;
  left:110px;
  padding:10px 30px 30px 30px;
  background:transparent url(../pnimages/cssplay_simpledrop/transparent.gif);
}
/* keep the N level+ hidden when you hover on N-2 level link */
.cssplay_drop li a:hover ul ul,
.cssplay_drop li a:hover ul a:hover ul ul,
.cssplay_drop li a:hover ul a:hover ul a:hover ul ul,
.cssplay_drop li a:hover ul a:hover ul a:hover ul a:hover ul ul {
  visibility:hidden;
}
/* make the second level visible when hover on first level link and position it */
.cssplay_drop li a:hover ul {
  visibility:visible;
  left:-30px;
  top:18px;
  lef\t:-31px;
  to\p:19px;
}
/* make the N level visible when you hover over N-1 level link and position it and all further levels */
.cssplay_drop li a:hover ul a:hover ul,
.cssplay_drop li a:hover ul a:hover ul a:hover ul,
.cssplay_drop li a:hover ul a:hover ul a:hover ul a:hover ul, 
.cssplay_drop li a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul {
  visibility:visible;
  top:-11px;
  left:120px; /*For IE without overlap */
}
/* If you can see the pattern in the above IE5.5 and IE6 style then you can add as many sub levels as you like */
