/*  */

/* All ul tags */
ul.DMMenu, ul.DMMenu ul {
                /* sets the size of the menu blocks */
  border: 0px solid #FFFFFF;      /* puts a black border around the menu blocks */
  padding-left: 0px;           /* stops the usual indent from ul */
  cursor: default;             /* gives an arrow cursor */
  margin-left: 0px;            /* Opera 7 final's margin and margin-box model cause problems */
 margin-bottom:8px;

}

/* uls not at top level */
ul.DMMenu ul {
	background-color:#981307;
}

/* All li tags (at all levels) */
ul.DMMenu li {
  list-style-type: none;       /* removes the bullet points */
  margin: 0px;                 /* Opera 7 puts large spacings between li elements */
  position: relative;          /* makes the menu blocks be positioned relative to their parent menu item
                                  the lack of offset makes these appear normal, but it will make a difference
                                  to the absolutely positioned child blocks */
  color: #FFFFFF;                 /* sets the default font colour to white */
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 2px;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

/* li tags below the top level */
ul.DMMenu li li {
  background-color:#981307;
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 2px;
  border: 1px solid #981307;
  width:120px;
}

/* not ie code...  */
ul.DMMenu li > ul {          /* using the > selector prevents many lesser browsers (and IE - see below) hiding child ULs */
  display: none;               /* hides child menu blocks - one of the most important declarations */
  position: absolute;          /* make child blocks hover without leaving space for them */
  top: 0px;                    /* position slightly above than the parent menu item */
  left:82px;                  /* this must not be more than the width of the parent block, or the mouse will
                                  have to move off the element to move between blocks, and the menu will close */
}

/* hover state on li tags (at all levels) - setting a class for ie (which won't do a li:hover */
ul.DMMenu li:hover, ul.DMMenu li.CSStoHighlight {
  background-color: #A13E35;      /* active menu item (hover-state) background color */
  color: #FFFFFF;                 /* makes the active menu item text black */ 
  border: 1px solid #720E05;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 1px;
}

/* hover state on li tags (below the top level) */
ul.DMMenu li li:hover, ul.DMMenu li li.CSStoHighlight {
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 2px;
}

/* to prevent the hover state on certain li tags*/
ul.DMMenu li.noHover {background-color:transparent;}


/* used by ie javascript to display submenus*/
ul.DMMenu ul.CSStoShow {     /* must not be combined with the next rule or IE gets confused */
  display: block;              /* specially to go with the className changes in the behaviour file */
}

/* non-ie, displays submenus */
ul.DMMenu li:hover > ul {    /* one of the most important declarations - the browser must detect hovering over arbitrary elements
                                  the > targets only the child ul, not any child uls of that child ul */
  display: block;              /* makes the child block visible - one of the most important declarations */
}

/* anchor-tag styles */
ul.DMMenu li a { color: #FFFFFF; display: block; width: 100%; text-decoration: none; font-size:12px; font-weight:normal;}
ul.DMMenu li a:hover, ul.DMMenu li a.CSStoHighLink { color: #FFFFFF; }
ul.DMMenu li:hover > a { color: #FFFFFF; } /* supports links in branch headings - must not be display: block; */
