/* Start of CMSMS style sheet 'Topmenu' */
/* new menu */
div#topmenu {
	background-color: #000;
	height: 20px;
	margin: 0px 0px 2px 0px;
	padding-top: 2px;
	padding-left: 6px;
	padding-bottom: 0px;
}

div#topmenu a {
	color:#D0D0D0;
	text-align: center;
	font-size: 12px;
	margin: 0px 0px 0px 0px;
	text-align: left;
	font-variant:small-caps;
	display: block;
}

div#topmenu ul .menuactive {
	list-style: none;
}

div#sidemenu {
	line-height: 228%;
	font-size: 11px;
}
 
div#sidemenu ul {
	list-style: none;
}

div#sidemenu a {
	text-decoration:none;
	font-size: 11px;
	color:#404040;
}

.primary-nav {
	padding-left: 27px;
	margin-top: 5px;

}

div#sidemenu a:hover {
	color:#8E398D;
	text-decoration:none;
}

div#sidemenu a:visited {
	text-decoration:none;
}

ul .menuactive {
	list-style-image:url(uploads/images/purplesquare.gif);
}

/*/old menu*/
/* The wrapper clears the floating elements of the menu */

#topmenu .menuwrapper {
	height: 20px;
    overflow: hidden;
    width: 100%;
     }
    
#topmenu .menuwrapper a {
	margin-top: -2px;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */

#topmenu .primary-nav li li {
	display: none;
}

#topmenu .primary-nav li a:hover  {
	color:#8E398D;
	font-variant:small-caps;


}

#topmenu .primary-nav li a:visited  {
	color:#D0D0D0;
	font-variant:small-caps;
}

#topmenu .primary-nav li a:visited:hover  {
	color:#8E398D;
	font-variant:small-caps;
}


/* Unless you know what you do, do not touch this */

#topmenu .primary-nav, #topmenu .primary-nav ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#topmenu .primary-nav ul {
	position: absolute;
	top: auto;
	display: none;
	}
	
#topmenu .primary-nav ul ul {
	margin-top: 1px;
 	margin-left: -1px;
	left: 100%;
	top: 0px;
	}

#topmenu .primary-nav li {
	height: 20px;
	margin-left: 2px;
	float: left;
	}
	
	
#topmenu .primary-nav li li {
	margin-left: 0px;
	margin-top: -1px;
	float: none;
	position: relative;
	width: 200px;
	}

/* Styling the basic apperance of the menu elements */

#topmenu .primary-nav a {
	display: block;
	margin-bottom: 3px;
	padding: 5px 10px;
	text-decoration: none;
	}
	
#topmenu .primary-nav li a {
	background-repeat: no-repeat;
	background-position: right;
	}
	
#topmenu .primary-nav li li a {
	background-image: none;
	}
	
#topmenu .primary-nav li, #topmenu .primary-nav li.menuparent {
	/*background:url(images/SCAP-menuslice.jpg) repeat-x;*/
    
	}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#topmenu .primary-nav li.menuactive li.menuvisited {

	}

/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */

#topmenu .primary-nav ul li.menuparent, #topmenu .primary-nav ul li.menuparent:hover, #topmenu .primary-nav ul li.menuparenth {
	background-position: center right;
	background-repeat: no-repeat;
    
	}

/* Styling the apperance of menu items on hover */

#topmenu .primary-nav li:hover, #topmenu .primary-nav li.menuh, #topmenu .primary-nav li.menuparenth, #topmenu .primary-nav li.menuactiveh {
	text-decoration: none;
	}

/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

#topmenu .primary-nav ul, #topmenu .primary-nav li:hover ul, #topmenu .primary-nav li:hover ul ul,
#topmenu .primary-nav li.menuparenth ul, #topmenu .primary-nav li.menuparenth ul ul {
	}
	
#topmenu .primary-nav li:hover ul, #topmenu .primary-nav ul li:hover ul, #topmenu .primary-nav ul ul li:hover ul,
#topmenu .primary-nav li.menuparenth ul, #topmenu .primary-nav ul li.menuparenth ul, #topmenu .primary-nav ul ul li.menuparenth ul {
	display: block;
	}

/* IE Hacks */

#topmenu .primary-nav li li {
	margin-top:-2px;
	margin-bottom:-3px;
	float: left;
	clear: both;
	}
	
#topmenu .primary-nav li li a {
	height: 1%;
	}
	
#topmenu dfn {display: none;}
/* End of 'Topmenu' */

