ul#css3menu1{
	margin:0;list-style:none;padding:0;background-color:black;border-width:1px;border-style:solid;border-color:#5f5f5f;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;font-size:0;z-index:999;position:relative;display:inline-block;zoom:1;
	*display:inline;}	
ul#css3menu1 li{
	display:block;white-space:nowrap;font-size:0;float:left;}	
ul#css3menu1 li a{
	display:block;	padding:5px 15px 5px 10px;	/* top right bottom left anticlock */}	
ul#css3menu1>li{
	margin:0;}
ul#css3menu1 a:active, ul#css3menu1 a:focus{
	outline-style:none;}
ul#css3menu1 a{
	display:block;vertical-align:middle;text-align:left;text-decoration:none;font:bold 12px Trebuchet MS;color:white;text-shadow:#FFF 0 0 1px;cursor:pointer;padding:10px;background-color:black;background-image:url("mainbk.png");background-repeat:repeat;background-position:0 0;border-width:0 0 0 1px;border-style:solid;border-color:#C0C0C0;}
ul#css3menu1 li:hover>a,ul#css3menu1 li a.pressed{
	background-color:#7c7575;border-color:#C0C0C0;border-style:solid;color:#ffffff;text-shadow:#FFF 0 0 1px;background-image:url("mainbk.png");background-position:0 100px;text-decoration:none;}
ul#css3menu1 img{
	border:none;vertical-align:middle;margin-right:10px;}
ul#css3menu1 li.topfirst>a{
	border-radius:5px 0 0 5px;-moz-border-radius:5px 0 0 5px;-webkit-border-radius:5px;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:0;}
ul#css3menu1 li.toplast>a{
	border-radius:0 5px 5px 0;-moz-border-radius:0 5px 5px 0;-webkit-border-radius:0;-webkit-border-top-right-radius:5px;-webkit-border-bottom-right-radius:5px;}

ul#css3menu1 li:hover{
		display:block;}
ul#css3menu1 li ul{
		display:none;}	
ul#css3menu1 li a:hover{
		background-color:#585353;color:white;}
ul#css3menu1	li:hover ul{
		display:block;position:absolute;}
ul#css3menu1	li:hover li{	
	float:none;	}
ul{ 
	margin:0;padding:0;}