/* Start of CMSMS style sheet 'TASS menu' */
/* The wrapper clears the floating elements of the menu */
#menuwrapper { 
   background-color: transparent;
   width: 100%;
   padding : 0 10px 0 40px;
   z-index:10;
   clear : both;
   color : white;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li {   width: 150px; }

/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
 }

#primary-nav ul {
	position: absolute;
	top: auto;
	display: none;
   }

#primary-nav ul ul { 
   margin-top: -1px; /*-1 makes 3rd-level line up with 2nd-level */
   margin-left: 0;/*Changed from -1px to stop the bg of a child ul overwriting the border of the 1st li.  Care is > 0 : the cursor may "fall down the crack"  */
   left: 100%; 
   top: 0px; 
}

#primary-nav li { 
  margin-left: 1px; 
  margin-right : 1px;
	background-color:transparent;
   float: left; 
	
}

#primary-nav li li { 
   margin-left: 0px;
   margin-top: -1px; 
   float: none; 
   position: relative; 
}



/* Styling the basic apperance of the menu elements */

/* This applies to all links */
#primary-nav a { 
   display: block; 
   margin: 0px; 
   padding: 5px 10px; 
   text-decoration: none; 
	color : white;
	font-weight : bold;
   font-size : 12px;
}

#primary-nav a:hover { text-decoration:underline;}

/*Aplies to top-level links */
#primary-nav li a { 
   background-color: transparent;
   border-right : 1px solid white;
   }

/*Aplies to links below top level */
#primary-nav li li a {
	border: 1px solid black;
	border-bottom: 1px dotted black;
	background-color : #D60000; 
	padding : 0.3em 1em 0.3em 1em;
	margin : 2px 5px 2px 5px;
	text-decoration : none;
	color : black;
	text-align : left;
}

#primary-nav li li a:hover {
		border: 1px solid white;
		color : white;
		text-decoration:none;
		background-color : #D60000;
		}

/*Aplies to all li */
#primary-nav li, #primary-nav li.menuparent { 
/*   background-color: #0f0; */
}

#primary-nav li li {
	background-color:#DC0000;
	border : 0;
	margin : 0;
}	

/*The bg-color is needed for IE7.  Without it moving if there is a margin between <li> then when the 
cursor moves into the space between them it "falls off" the menu*/
#primary-nav li ul {
	background-color:#D60000;
	border : 1px solid black;
	}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */
/*
#primary-nav li.menuactive {
	background-color: #FFF;
	border-top : 1px solid #cfe2f0;
	border-left : 1px solid #cfe2f0;
	border-right : 1px solid #cfe2f0;
	 }

#primary-nav li a.menuactive { 
border-bottom: 6px solid #fff;
}
*/
#primary-nav a.menuparent { background-image: url(images/tass/arrow-down.gif); 
   background-position: center right; 
   background-repeat: no-repeat; }

#primary-nav ul a.menuparent { background-image: url(images/tass/arrow-right.gif); 
   background-position: center right; 
   background-repeat: no-repeat; }
	
/*CSS to hide & unhide elements */
#primary-nav ul , 
/* #primary-nav li:hover ul, */
#primary-nav li:hover ul ul, 
#primary-nav li:hover ul ul ul
{  display: none; }

#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav ul ul ul li:hover ul
{  display: block; }

/*CSS to hide & unhide elements for ie6, which needs js to add a onmouseover / onmouseout function to all li elements in the menu*/
#primary-nav li.iehover ul, 
#primary-nav li.iehover ul ul, 
#primary-nav li.iehover ul ul ul 
{  display: none; }

#primary-nav li.iehover ul, 
#primary-nav ul li.iehover ul, 
#primary-nav ul ul li.iehover ul, 
#primary-nav ul ul ul li.iehover ul
{  display: block; }

/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}

#primary-nav li li a { height: 1%; }

#primary-nav dfn { display:none; height:0; width : 0;}
div.clearb {clear : both;}

/* End of 'TASS menu' */

