/*

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 :).

*/



/* HORIZONTAL FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
 margin: 0;
 padding: 0;
 list-style: none;
}
.menulist{
	position:absolute;
	font-size:11px;
	top:84px;
	left:0px;
	padding-bottom:11px;
	height:28px;
	background:url(../images/bg_li.png) left 28px repeat-x;
        z-index: 25;
	}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 display: none;
 position: absolute;
 top: 1.0em; margin-top: 17px; /* I'm using ems and px to allow people to zoom their font */
 left: -1px;
	width:162px;
	overflow:hidden;
	padding-left:0;
	padding-right:0;
	background:url(../images/bg_mainnavul.png) left bottom no-repeat;
	padding-bottom:4px;
	z-index: 25;
}
.menulist  ul a{
	line-height:13px;
	color:#0c4268;
	background:url(../images/bg_arrowblue.png) 16px 7px no-repeat;
	}
.menulist  ul a:hover{
	color:#333333;
	background:url(../images/bg_arrowgray.png) 16px 7px no-repeat;
	}
.menulist #menu_articles ul,.menulist #menu_home ul,.menulist #menu_universities ul,.menulist #menu_degree ul,.menulist #menu_online ul,.menulist #menu_checkers ul,.menulist #menu_rankings ul{
	width:162px;
	overflow:hidden;
	}
.menulist #menu_articles ul a,.menulist #menu_home ul a,.menulist #menu_universities ul a,.menulist #menu_degree ul a,.menulist #menu_online ul a,.menulist #menu_checkers ul a,.menulist #menu_rankings ul a{

	width:122px;
	padding:5px 9px 5px 30px;
	overflow:hidden;
	}
.menulist  li .categoryitems {
	width:162px;
	overflow:hidden;
	}
.menulist  li .categoryitems a{
	width:122px;
	overflow:hidden;
	padding-left:30px;
	padding-right:10px;
	overflow:hidden;
	background:none;
	font-weight:normal;
	}
.menulist  li a.menuheader.expandable{
	padding-left:30px;
	background:url(../images/bg_arrowblue.png) 16px 8px no-repeat;
	border-top:#cfdee7 1px solid;
	cursor: pointer;
	}
.menulist  li a.menuheader:hover{
	background:url(../images/bg_arrowblue.png) 16px 8px no-repeat;
	}
.menulist  li a.menuheader.expandable.openheader{
	background:url(../images/bg_arrowdown.png) 14px 8px no-repeat;
	}
.menulist #menu_online ul,.menulist #menu_degree ul{
	width:218px;
	overflow:hidden;
	}
.menulist #menu_online ul li a,.menulist #menu_degree ul li a{
	width:auto;
	padding-left:30px;
	padding-right:9px;
	}
/* Second and third etc. level submenus - position across from parent instead  openheader*/
/*
.menulist ul ul {
 top: -1px; margin-top: 0;
 left: 148px;
}
*/
/*
 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.
*/
.menulist li {
 float: left;
 display: block;
 position: relative;
 margin-right:1px;
 z-index: 20;
}
.menulist .lastone{
	margin-right:0;
	}
/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none;
 margin: 0;
 border-left:#e5e5e5 1px solid;
 border-right:#e5e5e5 1px solid;
 background:#edf5fa;
 margin-bottom:0;
}
.menulist ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulist a {
 color:#fff;
 display:block;
 text-decoration: none;
 font-weight:bold;
}
.menulist #menu_home a{
 width:84px;
 text-align:center;
	}
.menulist #menu_home a b,.menulist #menu_home a em{
	width:84px;
	}
.menulist #menu_universities a{
	width:179px;
	}
.menulist #menu_universities a b,.menulist #menu_universities a em{
	width:165px;
	padding:0 0 0 14px;
	}
.menulist #menu_degree a{
	width:144px;
	}
.menulist #menu_degree a b,.menulist #menu_degree a em{
	width:130px;
	padding:0 0 0 14px;
	}
.menulist #menu_online a{
	width:127px;
	}
.menulist #menu_online a b,.menulist #menu_online a em{
	width:113px;
	padding:0 0 0 14px;
	}
.menulist #menu_rankings a{
	width:133px;
	}
.menulist #menu_rankings a b,.menulist #menu_rankings a em{
	width:119px;
	padding:0 0 0 14px;
	}
.menulist #menu_checkers a{
	width:143px;
	}
.menulist #menu_checkers a b,.menulist #menu_checkers a em{
	width:129px;
	padding:0 0 0 14px;
	}
.menulist #menu_articles a{
	width:162px;
	}
.menulist #menu_articles a b,.menulist #menu_articles a em{
	width:148px;
	padding:0 0 0 14px;
	}
.menulist a b{
	display:block;
	height:28px;
	line-height:28px;
 	background:#0c4268;
 	cursor:pointer;
	}
.menulist a:hover{
	text-decoration:none;
	}
.menulist a:hover b{
 background:url(../images/bg_liahover.png) repeat-x;
	}
.menulist a  em{
	display:block;
	height:11px;
	width:10px;
	margin:0 auto;
 overflow:hidden;
	}
.menulist a:hover em,.menulist .selected em,.menulist .selected:hover em{
    background:url(../images/bg_liselected.png) center 5px no-repeat;
	}
/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover b,.menulist .selected b, .menulist a.highlighted:hover b, .menulist a:focus b {
 background:url(../images/bg_liahover.png) repeat-x;
 color:#fff;
 text-decoration:none;
}
.menulist a.highlighted b {
 background:url(../images/bg_liahover.png) repeat-x;
}

.menulist a:hover em, .menulist a.highlighted:hover em, .menulist a:focus em {
    background:url(../images/bg_liselected.png) center 5px no-repeat;
}
.menulist a.highlighted em {
    background:url(../images/bg_liselected.png) center 5px no-repeat;
}
/*
 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:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulist a .subind {
 display: none;
}
.menulist ul a .subind {
 display: block;
 float: right;
}


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
}
.menulist ul a {
 float: none;
}
/* \*/
.menulist 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 .menulist ul li {
 float: left;
 width: 100%;
}

* html .menulist ul li {
 float: left;
 height: 1%;
}
* html .menulist ul a {
 height: 1%;
}
/* End Hacks */