/* Tioga Central Railroad Menu Stylesheet */

.menuBorderLeft{
	border-left: 1px solid #8A0903;
}

.menuBorderRight{
	border-right: 1px solid #8A0903;
}

.menuBorderBottom{
	border-bottom: 1px solid #8A0903;
}

#menu{
	padding: 0;
	margin-top: 0;
	list-style: none;
	width: 955px;
	position: relative;
	z-index: 500;
}

#menu li{
	float: left;
	margin-right: 0px;
	margin-top: 9px;
}

#menu li a{
	display: block;
	float: left;
	width: 136px;
	height: 29px;
	line-height: 29px;
	text-align: center;
	font-family: "Times New Roman", Times, serif;
	font-size: 16px;
	color: #f6d9a5;
	text-decoration: none;
}

#menu table{
	border-collapse: collapse;
	width: 0;
	height: 0;
	position: absolute;
	top: 0;
	left: 0;
}


/* Default link styling */

/* Style the list OR link hover. Depends on which browser is used */

#menu li a:hover{
	z-index: 200;
	position: relative;
	color: #f6d9a5;
	text-decoration: underline;
	/*background-color: #c60;*/
}

#menu li:hover{
	position: relative;
	z-index: 200;
}

#menu li:hover > a{
	color: #f6d9a5;
	/*background: #c60;*/
}

#menu li:hover > a.sub{
	color: #f6d9a5;
	/*background-color: #c60;*/
}

#menu li.current a{
	color: #fff;
	background: #840;
}

#menu li a.sub{
	/*background: #333 url(down-arrow.gif) no-repeat right center;*/
	padding-bottom: -2px;
}

#menu li.current a.sub{
	color:#fff; background:#840 url(down-arrow.gif) no-repeat right center;
}

#menu :hover ul{
	left: 14px;
	top: 29px;
	width: 106px;
	height: 24px;
	background-color: #FAD273;
}

/* keep the 'next' level invisible by placing it off screen. */
#menu ul, #menu :hover ul ul{
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu :hover ul :hover ul{
	left: 120px;
	top: -1px;
	background: #222;
	white-space: nowrap;
	width: 100px;
	z-index: 200;
	height: auto;
}

#menu :hover ul li{
	margin: 0;
	/*border-top: 1px solid #666;*/
}

#menu :hover ul li a{
	width: 106px;
	background-color: #FAD273;
	color: #8A0903;
	text-decoration: none;
	height: 28px;
	font-family: "Times New Roman", Times, serif;
	line-height: 28px;
	font-size: 13px;
	text-align: center;
}

#menu :hover ul li a.fly{
	background: #333 url(right-arrow.gif) no-repeat right center;
}

#menu :hover ul :hover{
	/*background-color:#c60;*/
	color: #8A0903;
	text-decoration: underline;
}

#menu :hover ul :hover a.fly{
	/*background-color:#c60;*/
	color: #8A0903;
	text-decoration: underline;
}

#menu :hover ul li.currentsub a {background:#840; color:#fff;}
#menu :hover ul li.currentsub a.fly {background:#840 url(right-arrow.gif) no-repeat right center; color:#fff;}

#menu :hover ul :hover ul li a {width:100px; padding:0; text-indent:10px; background:#3e3e3e; color:#ccc;}
#menu :hover ul :hover ul :hover {background-color:#d70; color:#fff;}

#menu :hover ul :hover ul li.currentfly a,
#menu :hover ul :hover ul li.currentfly a:hover {background:#840; color:#fff;}

