@charset "utf-8";
#navigation,#navigation *{
	list-style:none;
	padding:0px;
	margin:0px;
}

#navigation{

}
	
#navigation > li{
	display:inline-block;
	margin-right:-2px;
	*margin-right:1px;
	*display:inline;
	*zoom: 1;		
}

#navigation a{
	height:35px;
	display:table-cell;
	vertical-align:middle;	
	text-align:center;
	font-weight:bolder;
	font-size:15px;
	font-family:"微軟正黑體";
	color:#666666;
	white-space:nowrap;
	text-decoration:none;
	*height:100%;
	*zoom:1;	
}

#navigation a:hover,
#navigation .focus{
	color:#FFF;
}

#navigation li:first-child a,
#navigation .last a{
	width:1px;
}


/****************************************/
#navigation a > span{
	height:35px;
	display:table-cell;
	vertical-align:middle;	
	text-align:center;
	*height:100%;
	*padding:8px 0px;
	*display:inline;
	*zoom:1;	
}

#navigation a > span:first-child,
#navigation a > span:first-child + span + span{
	width:15px;/*文字裡的padding 要由此width來設定*/
}

#navigation > li:hover > a > span:first-child,
#navigation .focus > span:first-child{
	background:url(navigation-hover.png) left top no-repeat;
}

#navigation > li:hover > a > span:first-child + span + span,
#navigation .focus > span:first-child + span + span{
	background:url(navigation-hover.png) right top no-repeat;
}

#navigation > li:hover > a > span:first-child + span,
#navigation .focus > span:first-child + span{
	background:url(navigation-hover.png) -8px top no-repeat;
}

#navigation > li:hover > a{
	color:#FFF;
}

#navigation > li:first-child > a > span:first-child,
#navigation > li:first-child > a > span+span+span,
#navigation > .last > a > span:first-child,
#navigation > .last > a > span:first-child+span+span{
	background:url(navigation-hover-empty.png);
}

#navigation span span{
	position:relative;
	top:-2px\0;
	*top:-1px;
}

@-moz-document url-prefix()    /*Firefox*/
{
	#navigation span span{
		top:-2px;
	}
}