/**************************************************************
   AUTHOR:  Pat Heard (fullahead.org)
   DATE:    2007.10.23
   PURPOSE: Styles the dropdown menus
 **************************************************************/

/* this is the clipping region for the menu. it's width and height get set by script, depending on the size of the items table */
.transMenu {
  position:absolute;
  overflow: hidden;
  left:-1000px;
  top:-1000px;
}

/* this is the main container for the menu itself. it's width and height get set by script, depending on the size of the items table */
.transMenu .content {
  position:absolute;
  left: 3px;
}

/* this table comprises all menu items. each TR is one item. It is relatively positioned so that the shadow and background transparent divs can be positioned underneath it */
.transMenu .items {
  position:relative;
  left:0px; top:0px;	
  z-index:2;
  width: 240px;
}

.transMenu.top .items {
  border-top:none;        
}

/* each TR.item is one menu item */
.transMenu .item {            
  font: 0.9em arial, sans-serif;
  text-align: left;
  color:#FFF;
   
  /* this is a hack for mac/ie5, whom incorrectly cascades the border properties of the parent table to each row */
  border:none;
  cursor:pointer;
  cursor:hand;
}
	
.transMenu tr.item td div {
  margin: 0 30px 0 25px;
  padding: 5px 0;
  border-bottom: 1px solid #84735B;
}

.transMenu tr.item td div.last {
  border: 0;
  margin-bottom: 15px;
}

/* this DIV is the semi-transparent background of each menu. the -moz-opacity is a proprietary way to get transparency in mozilla, the filter is for IE/windows 5.0+. */
/* we set the background color in script because ie mac does not use it; that browser only uses a semi-transparent white PNG that the spacer gif inside this DIV is replaced by */
.transMenu .background {
  position:absolute;
  left:0px; top:0px;
  z-index:1;
  opacity:.57;
  filter:alpha(opacity=57);
}

/* this is the class that is used when the mouse is over an item. script sets the row to this class when required. */
.transMenu .item.hover {
  color: #B8D854;
}

/* this is either the dingbat that indicates there is a submenu, or a spacer gif in it's place. We give it extra margin to create some space between the text and the dingbat */
.transMenu .item img {
  margin-left:10px;
}