/*

Here's a demo stylesheet used to format a menu and its content.
Feel free to alter the menu layout however you want!
All you have to do is ensure the script has the correct CSS property name
(like 'visibility' or 'display') that changes to show/hide menus.

If you want to extend this layout, one good resource for UL/LI formatting is:
    http://www.alistapart.com/articles/taminglists/
Alternatively, you can use any other CSS dropdown layout instead. More here:
    http://www.alvit.de/css-showcase/
Consult your favourite CSS reference for customising fonts/borders/etc.

Otherwise, you can just change the #RGB border/background colours where
suitable to customise for your site -- easy :).

*/
#CatMenuBar{
	margin-left: 20px;
	margin-top: 15px;
}



/* HORIZONTAL FREESTYLE MENU LAYOUT */

#TopNavDropMenu {
	float:right;
	margin-top: 14px;

	/*background:url(../../images/navheader/bg_topnav.gif) repeat-x top;*/
}
#topnav_left {
	float:left;
	background:url(../../images/styles/bg_topnav.gif) repeat-x top;
}
#topnav_right {
	float:right;
}
#topnav_midpic {
	float:left;
	display:block;
}
img {
	border:0;
}

.Catdivider {
 float: left;
 display: block;
 position: relative;
width:10px;
 background-repeat: no-repeat;
  height: 25px;

}

/* HORIZONTAL FREESTYLE MENU LAYOUT */

.CatMenuBox{
	height: 27px;
	width: 156px;
	float: left;
	margin-left: 10px;
}
.CatMenuBoxInner{
	margin: 5px 5px 0 5px;
}

/* All <ul> tags in the menu including the first level */
.menulistCat, .menulistCat  ul {
 margin: 0;
 padding: 0;
 list-style: none;
}



/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulistCat ul {
 display: none;
 position: absolute;
 top: 31px; /* I'm using ems and px to allow people to zoom their font */
 left: 0px;
 width: 156px;
 background: #e7e6e6 url(../../images/styles/MenuCat_backgroundDrop.gif) repeat-x;
border-left: 1px solid #dedede;
 border-right: 1px solid #dedede;
border-bottom: 1px solid #dedede;
}


/* Second and third etc. level submenus - position across from parent instead */
.menulistCat ul ul {
 top: 0px;
 margin-top: 0;
 left: 180px;
    border: 0px;
 width: 180px;


}


/*
 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.
*/
.menulistCat li {
 float: left;
 display: block;
 position: relative;
 margin-right: -1px;
 font-size: 12px;
 font-family: font-family: Arial, Helvetica, sans-serif;
 font-weight: bold;
 text-transform: lowercase;


}


.menulistCat li li {
 float: left;
 display: block;
 position: relative;
 margin-right: -1px;
 font-size:11px;
 font-weight: normal;
 width: 211px;
 padding-top: 0px;
 color: #5c5c5c;

}

.menulistCat li li li {
 padding: 5px 0px 5px 1px;
 float: left;
 display: block;
 position: relative;
 margin-right: -1px;
 font-size:11px;
 font-weight: normal;
 padding-top: 0px;
 color: #5c5c5c;

}



/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulistCat ul li {
 float: none;
 margin: 0;
 margin-bottom: -1px;
}
.menulistCat ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulistCat a {

}

.menulistCat li a {
 display: block;
 text-decoration:none;
 color: #7b7b7b;
 text-decoration: none;
 padding-left: 10px;
 padding-top: 5px;
 text-transform: lowercase;
 width: 156px;
 height: 26px;
 margin: 0;
  background: url(../../images/styles/MenuCat_background.gif) no-repeat;
}


.menulistCat li a:hover, .menulistCat li a.highlighted:hover, .menulistCat li a:focus {
 	color: #5889a5;
 text-decoration:none;
 border-bottom: 1px solid white;
 padding-bottom: 1px;

 }



.menulistCat li a.highlighted {
 color: red;
 text-decoration:none;
 border-bottom: 1px solid white;
  padding-bottom: 1px;
}


.menulistCat li li a {
 	display: block;
 padding-left: 10px;
 padding-top: 5px;
 text-transform: lowercase;
  width: 156px;
 height: 15px;
	text-decoration:none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color:#5c5c5c;
  text-decoration:none;
   text-transform: lowercase;
  	background: transparent;


}

.menulistCat li li li a {
 	display: block;
	text-decoration:none;
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 10px;
	text-transform: lowercase;
	color:#5c5c5c;
	text-decoration:none;
  	background: #5e7684;
	}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulistCat a:hover, .menulistCat a.highlighted:hover, .menulistCat a:focus {

}
.menulistCat a.highlighted {


}

.menulistCat li li a:hover, .menulistCat li li a.highlighted:hover, .menulistCat li li a:focus {
  	display: block;
 	color: #5889a5;
	text-decoration:none;
	 height: 15px;

}
.menulistCat li li a.highlighted {
 color: #ffffff;
  	background: #5e7684 url(../../images/navHeader/Linkback-hover.gif) repeat-y;
 text-decoration:none;
	border-top: 1px solid #343b41;
	border-bottom: 1px solid #343b41;
	border-right: 1px solid white;
	border-left: 1px solid white;			
 }

.menulistCat li li li a:hover, .menulistCat li li li a.highlighted:hover, .menulistCat li li li a:focus {
 color: white;

 text-decoration:none;
 background-color: #e90004;

}
.menulistCat li li li a.highlighted {
 color: white;
 background-color: #e90004;
 text-decoration:none;


}

/*
 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:
    .menulistCat a#xyz {
      background-image: url(out.gif);
    }
    .menulistCat a#xyz:hover, .menulistCat a.highlighted#xyz, .menulistCat a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulistCat a .subind {
 display: none;
}
.menulistCat ul a .subind {
 display: block;
 float: right;
 font-size:9px;
 font-weight:bold;
}


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulistCat a {
 float: left;
}
.menulistCat ul a {
 float: none;
}
/* \*/
.menulistCat 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 .menulistCat ul li {
 float: left;
 width: 100%;
}

* html .menulistCat ul li {
 float: left;
 height: 1%;
}
* html .menulistCat ul a {
 height: 1%;
}
/* End Hacks */


.menulistCat li:hover>ul {
 display: block;
}

.menulistCatTitle{
	padding: 5px 0px 0px 0px;
	color: #5c5c5c;
}



