ul#topnav {
	margin: 0; padding: 0;
	float:left;
	width: 980;
	list-style: none;
	font-size: 1.1em;
}
ul#topnav li {
	float: left;
	margin: 0; padding: 0;
	position: relative; /*--Important--*/
}
ul#topnav li a {
	float: left;
	text-indent: -9999px; /*--Push text off of page--*/
	height: 30px;
}
ul#topnav li:hover a, ul#topnav li a:hover { background-position: left bottom; } /*--Hover State--*/
ul#topnav a.home {
	background: url(nav_home.gif) no-repeat;
	width: 80px;
}
ul#topnav a.us {
	background: url(nav_us.gif) no-repeat;
	width: 100px;
}
ul#topnav a.contacts {
	background: url(nav_contacts.gif) no-repeat;
	width: 120px;
}
ul#topnav a.curriculum {
	background: url(nav_curriculum.gif) no-repeat;
	width: 130px;
}
ul#topnav a.admissions {
	background: url(nav_admissions.gif) no-repeat;
	width: 130px;
}
ul#topnav a.info {
	background: url(nav_info.gif) no-repeat;
	width: 130px;
}
ul#topnav a.oldboys {
	background: url(nav_oldboys.gif) no-repeat;
	width: 130px;
}
ul#topnav a.pta {
	background: url(nav_pta.gif) no-repeat;
	width: 80px;
}
ul#topnav a.login {
	background: url(nav_login.gif) no-repeat;
	width: 80px;
}

ul#topnav .sub  { 
	background: #fafafa; 
	display: none; 
	padding: 10px; 
	position: absolute; 
	z-index: 99999; 
	top: 30px; 
	left: 2px; 
	float: left; 
	border-right: 1px solid #427bbd; 
	border-bottom: 1px solid #427bbd; 
	border-left: 1px solid #427bbd; 
	-khtml-border-radius-bottomleft: 5px; 
	-khtml-border-radius-bottomright: 5px; 
	-moz-border-radius-bottomleft: 5px; 
	-moz-border-radius-bottomright: 5px; 
	-webkit-border-bottom-left-radius: 5px; 
	-webkit-border-bottom-right-radius: 5px 
}

ul#topnav li:hover .sub   { 
	display: block; 
}

ul#topnav li#right .sub {
	position: absolute; /*--Important--*/
	top: 30px; left: -138px;
	z-index: 99999;
	background: #fafafa; /*--Background gradient--*/
	display: none;
	padding: 10px;
	float: left;
	/*--Bottom right rounded corner--*/
	-moz-border-radius-bottomright: 5px;
	-khtml-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	/*--Bottom left rounded corner--*/
	-moz-border-radius-bottomleft: 5px;
	-khtml-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
	display: none; /*--Hidden for those with js turned off--*/
}

ul#topnav li#right:hover .sub   { 
	display: block; 
}

ul#topnav li .row { /*--If needed to break out into rows--*/
	clear: both;
	float: left;
	width: 100%;
	margin-bottom: 10px;
}

ul#topnav li .sub ul { list-style: none; margin: 0; padding: 0; width: 195px; float: left }

ul#topnav .sub ul li {
	width: 100%; /*--Override parent list item--*/
	color: #427BBD;
}
ul#topnav .sub ul li h2  { color: #333333; font-size: 1em; font-weight: normal; margin: 10px 0 0; padding: 0 }
ul#topnav .sub ul li h2 a  { 
	color: gray; 
	background-image: none; 
	padding: 5px 0 
}

ul#topnav .sub ul li a {
	float: none;
	text-indent: 0; /*--Override text-indent from parent list item--*/
	height: auto; /*--Override height from parent list item--*/
	background: url(navlist_arrow.gif) no-repeat 5px 12px;
	padding: 3px 5px 3px 15px;
	display: block;
	text-decoration: none;
	color: #427BBD;
	font: normal 0.8em Verdana, Arial, Helvetica, sans-serif;
}
ul#topnav .sub ul li a:hover  { 
	color: #fff; 
	font: 0.8em Verdana, Arial, Helvetica, sans-serif; 
	background-color: #427bbd; 
	background-position: 5px 12px; 
	}
