/* CSS Menus - Horizontal CSS Menu with Dropdown and Popout Menus - 20050131 */

/*************
**   MENU   **
*************/

#menu {
	position:absolute;
	top: 161px; /* 121 */
	left:50%;
	margin-left: -445px;
	height:25px;
	width:890px;
	text-align:center;
	padding-top:5px;
	background:#fff;
	z-index:950;
	list-style:none;
	display:inline;
}

#menu li {
	float:left; 
	border-left: 4px solid #fff;
	margin:0;
	padding: 0;
	height:25px;
}

#menu ul li { border:none; margin: 0 7px; }

#menu li a {
	float:left;
	height:0;
	padding-top:25px;
	overflow:hidden;
	font: 11px Verdana, Arial, Helvetica, sans-serif;
}

#menu li a:hover {
background-position: 0 -25px;}

/* visual styles */

.adminButton a {
	width:72px;
	background:url(images/mastheads/buttons/admin.gif) no-repeat;
}

.adminStudent a {
	width:72px;
	background:url(images/mastheads/buttons/admin-students.gif) no-repeat;
}

.newHomeButton a {
	width:30px;
	background:url(images/mastheads/buttons/newhome.gif) no-repeat;
}

.featuresButton a {
	/*width:98px;*/
	width:90px;
	background:url(images/mastheads/buttons/features.gif) no-repeat;
}

.whatsonButton a {
	width:99px;
	background:url(images/mastheads/buttons/whatson.gif) no-repeat;
}

.visitchesterButton a {
	width:126px;
	background:url(images/mastheads/buttons/visitchester.gif) no-repeat;
}

.goingoutButton a {
	width:104px;
	background:url(images/mastheads/buttons/goingout.gif) no-repeat;
}

.mychesterButton a {
	width:108px;
	background:url(images/mastheads/buttons/mychester.gif) no-repeat;
}

.newsandsportButton a {
	width:124px;
	background:url(images/mastheads/buttons/newsandsport.gif) no-repeat;
}

.forumButton a {
	width:73px;
	background:url(images/mastheads/buttons/forum.gif) no-repeat;
}

.aboutusButton a {
	width:92px;
	background:url(images/mastheads/buttons/aboutus.gif) no-repeat;
}

.shoppingButton a {
	width:92px;
	background:url(images/mastheads/buttons/shopping.gif) no-repeat;
}

.studentsButton a {
	width:73px;
	background:url(images/mastheads/buttons/students.gif) no-repeat;
}

.newHomeButtonGrey a {
	width:30px;
	background:url(images/mastheads/buttons/newhomeGrey.gif) no-repeat;
}


.featuresButtonGrey a {
	/*width:98px;*/
	width:90px;
	background:url(images/mastheads/buttons/featuresGrey.gif) no-repeat;
}

.whatsonButtonGrey a {
	width:99px;
	background:url(images/mastheads/buttons/whatsonGrey.gif) no-repeat;
}

.visitchesterButtonGrey a {
	width:126px;
	background:url(images/mastheads/buttons/visitchesterGrey.gif) no-repeat;
}

.goingoutButtonGrey a {
	width:104px;
	background:url(images/mastheads/buttons/goingoutGrey.gif) no-repeat;
}

.mychesterButtonGrey a {
	width:108px;
	background:url(images/mastheads/buttons/mychesterGrey.gif) no-repeat;
}

.newsandsportButtonGrey a {
	width:124px;
	background:url(images/mastheads/buttons/newsandsportGrey.gif) no-repeat;
}

.aboutusButtonGrey a {
	width:92px;
	background:url(images/mastheads/buttons/aboutusGrey.gif) no-repeat;
}
.shoppingButtonGrey a {
	width:92px;
	background:url(images/mastheads/buttons/shoppingGrey.gif) no-repeat;
}

/* Begin CSS Popout Menu */

#menu li ul{
	position:absolute;
	z-index:500;
	top:auto;
	margin-top:21px;
	display:none;
	list-style:none;
	overflow:hidden;
	background:#CCCCCC;
}

#menu ul li {
	list-style:none;
	text-align:center;
	height:25px;
	padding:0;
	margin:0;
	float:left;
	clear:left;
}

#menu li {
	background:none;
}

#menu li:hover {
	color:#fff;
	background:#000;
	/*height:25px;*/
}

#menu li ul {
	display:none;
}

#menu li:hover ul {
	display:block;
}


#menu ul li a, #menu ul:hover li a {
	height:25px;
	margin:0;
	padding: 5px 0 0 0;
	color:#fff;
	text-align:center;
	text-decoration:none;
	font-size:10px;
}

body.students #menu ul li a, body.students #menu ul:hover li a {
	color:#fa6510;
}

body.students #menu .studentsButton li a {
	color:#fff;
}

body.students #menu .studentsButton:hover li a {
	color:#fff;
}

body.students #menu .studentsButton:hover li a:hover {
	color:#fa6510;
}

body.students li ul li a, body.students li ul:hover li a {
	background-image:none;
	background-color:#ddd;
}

.visitorsButton ul li a, .visitorsButton ul:hover li a {
	background:url(images/mastheads/blocks/visitors.gif);
}

.newsButton ul li a, .newsButton ul:hover li a {
	background:url(images/mastheads/blocks/news.gif);
}

.sportButton ul li a, .sportButton ul:hover li a {
	background:url(images/mastheads/blocks/sport.gif);
}

.entertainmentButton ul li a, .entertainmentButton ul:hover li a {
	background:url(images/mastheads/blocks/entertainment.gif);
}

.localButton ul li a, .localButton ul:hover li a {
	background:url(images/mastheads/blocks/local.gif);
}

.propertyButton ul li a, .propertyButton ul:hover li a {
	background:url(images/mastheads/blocks/property.gif);
}

.visitchesterButton ul li a, .visitchesterButton ul:hover li a {
	background:url(images/mastheads/blocks/visitors.gif);
}

.homeButton ul li a, .homeButton ul:hover li a {
	background:url(images/mastheads/blocks/home.gif);
}

.newsandsportButton ul li a, .newsandsportButton ul:hover li a {
	background:url(images/mastheads/blocks/news.gif);
}

.goingoutButton ul li a, .goingoutButton ul:hover li a {
	background:url(images/mastheads/blocks/sport.gif);
}

.whatsonButton ul li a, .whatsonButton ul:hover li a {
	background:url(images/mastheads/blocks/entertainment.gif);
}

.mychesterButton ul li a, .mychesterButton ul:hover li a {
	background:url(images/mastheads/blocks/local.gif);
}

.forumButton ul li a, .forumButton ul:hover li a {
	background:url(images/mastheads/blocks/jobs.gif);
}

.aboutusButton ul li a, .aboutusButton ul:hover li a {
	background:url(images/mastheads/blocks/home.gif);
}

.featuresButton ul li a, .featuresButton ul:hover li a {
	background:url(images/mastheads/blocks/features.gif);
}


.studentsButton ul li a, .studentsButton ul:hover li a, body.students .studentsButton ul li a, body.students .studentsButton ul:hover li a{
	background:url(images/mastheads/blocks/students-orange.gif);
	color:#fff;
}

#menu ul li a:hover, #menu ul:hover li a:hover {
	background:#fff;
	color:#000;
}

.homeButton ul #panelPic1 a, .homeButton ul:hover #panelPic1 a {
	height:auto;
	margin:0;
	padding: 0;
	color:#fff;
	text-align:center;
	text-decoration:none;
	background:none;
}