/* VERTICAL FREESTYLE MENU LAYOUT */

.submenugauchebottom{
	background: url(../images/submenu_bottom.jpg) bottom left no-repeat;
}

.submenugauchemiddle{
	background: url(../images/submenu_repeat.jpg) repeat-y;
}

.submenugauchetop{
	background: url(../images/submenu_top.jpg) no-repeat;
}

/* All <ul> tags in the menu including the first level */
.menulistgauche, .menulistgauche ul {
 margin: 0;
 list-style: none;
}

.menulistgauche div {
  width:170px;
  float:left;
  margin:0px;
}

.menulistgauche ul {
  margin:10px 0 0 0;
  padding:0;
  display: none;
  position: absolute;
  top: -1px;
  left: 189px;
  width: 190px;
}

.menulistgauche ul ul {
  left: 169px;
  width: 170px;
}

/*
 All menu items (<li> tags) are relatively positioned to correctly offset their submenus.
 They have borders that are slightly overlaid on one another to avoid doubling up.
*/
.menulistgauche li {
  width:100%;
 position: relative;
 margin:0 0 -1px 0;
 padding:10px 0 0 10px;
 font-family:Arial;
 font-weight:bold;
 font-size:12px;
}

.menulistgauche ul > li:last-child {
  margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulistgauche ul li a {
  display: block;
  padding: 0px 0px 0px 3px !important;
  text-decoration: none;
  margin: 0px 4px 2px 0px !important;
}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulistgauche a#xyz {
      background-image: url(out.gif);
    }
    .menulistgauche a#xyz:hover, .menulistgauche a.highlighted#xyz, .menulistgauche a:focus {
     background-image: url(over.gif);
    }
*/
.menulistgauche a:hover, .menulistgauche a.highlighted:hover,.menulistgauche a:focus, .menulistgauche a.highlighted {
 background-color: rgb(210,210,201);
}
.menulistgauche a.nolink, .menulistgauche a.nolink:hover, .menulistgauche a.nolink:focus  { background-color:#bfbfb8 !important; }

/* 'subind' submenu indicators, which are automatically prepended to 'A' tag contents. */
.menulistgauche a .subind {
 float: right;
 padding-right: 12px;
}

.menulistgauche li:last-child{ padding: 0 0 8px 0; }

/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .menulistgauche li {
 float: left;
 width: 100%;
}

* html .menulistgauche li {
 float: left;
 height: 1%;
}
* html .menulistgauche a {
 height: 1%;
}
/* End Hacks */

/* HORIZONTAL FREESTYLE MENU LAYOUT */


.submenuhautbottom{
	background: url(../images/submenu_bottom.jpg) bottom left no-repeat;
}

.submenuhautmiddle{
	background: url(../images/submenu_repeat.jpg) repeat-y;
}

.submenuhauttop{
	background: url(../images/submenu_top.jpg) no-repeat;
}

/* All <ul> tags in the menu including the first level */
.menulisthaut, .menulisthaut  ul {
  margin: 0;
  list-style: none;
}

.menulisthaut div {
  width: 170px;
  float:left;
  margin:0px;
}

.menulisthaut ul {
 display: none;
 position: absolute;
 top: 42px; 
 margin: 1px 3px 1px 1px !important;
 /* I'm using ems and px to allow people to zoom their font */
 /*left: -1px;*/
 width: 170px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulisthaut ul ul {
 position:absolute;
 top: -1px; 
 margin-top: 0px;
 left: 169px;
 width: 170px;
 }

/* Second and third etc. level submenus - position across from parent instead */
.menulisthaut ul li {
 top: -1px; 
 margin-top: 0;
 /*padding:0;*/
 left: 0px;
}


.menulisthaut ul a {
 top: -1px;
 padding:3px 0px 0px 2px;
 margin: 4px 3px 2px 3px !important;
 left: 0px;
}


.menulisthaut ul li a {
  /*display: block;*/
  top: -1px;
  left: 0px;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.menulisthaut li {
 float: left;
 /*display: block;*/
 padding:10px 0px 0 10px;
 /*border: 1px solid #330;*/
 position: relative;

 /*margin-right: -1px;*/
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulisthaut ul li {
 float: none;
 margin: 0;
 margin-bottom: -1px;
}
.menulisthaut ul > li:last-child {
 margin-bottom: 4px; /* Mozilla fix */
}

/* Links inside the menu */
.menulisthaut a {
 display: block;
 padding: 3px;
 color: #000;
 text-decoration: none;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulisthaut ul li a:hover, .menulisthaut ul li a.highlighted:hover, .menulisthaut ul li a:focus,.menulisthaut ul li a.highlighted {
  background-color: rgb(210,210,201);
}
.menulisthaut a.nolink, .menulisthaut a.nolink:hover, .menulisthaut a.nolink:focus  { background-color:#bfbfb8 !important; }
/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulisthaut a#xyz {
      background-image: url(out.gif);
    }
    .menulisthaut a#xyz:hover, .menulisthaut a.highlighted#xyz, .menulisthaut a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulisthaut a .subind {
 display: none;
}
.menulisthaut ul a .subind {
 display: block;
 padding-top: 8px;
 padding-right: 3px;
 float: right;
}


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */

.menulisthaut a {
 float: left;
}
.menulisthaut ul a {
 float: none;
}

.menulisthaut a {
 float: none;
}
/* */


/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .menulisthaut ul li {
 float: left;
 width: 100%;
}

* html .menulisthaut ul li {
 float: left;
 height: 1%;
}
* html .menulisthaut ul a {
 height: 1%;
}
/* End Hacks */
