﻿@charset "UTF-8";

#TOP_MENU
{
	/* background-image: url(../images/top_bar_bg.jpg); */
	height: 36px;
	width: 990px;
	background-repeat: no-repeat;
	margin-bottom: 0px;
	margin-top: 0px;
	margin-left: 3px;
	font-size: 16px;
	margin-right: 0px;
	font-family: "微軟正黑體";
	font-weight: bold;
}
ul.MenuBarHorizontal
{
	margin: 0;
	padding: 0;
	cursor: default;
	display: block;
	width: auto;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
	z-index: 1000;
}
/* 主選項均分寬度*/
ul.MenuBarHorizontal li
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	position: relative;
	width: 10.30em;
	float: left;
}
/* 子項均分寬度*/
ul.MenuBarHorizontal ul
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 100%;
	z-index: 1010;
	cursor: default;
	width: 17em;
	position: absolute;
	left: -1000em;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
{
	left: auto;
}
/* 子項樣式 */
ul.MenuBarHorizontal ul li
{
	width: 100%;
	text-align: left;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
	font-size: 15px;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
	position: absolute;
	margin-top: 0%;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 95%;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
{
	top: 0;
}

/*******************************************************************************

 DESIGN INFORMATION: describes color scheme, borders, fonts

 *******************************************************************************/

/*子項外框背景設定*/
ul.MenuBarHorizontal ul
{
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #CCC;
	border-right-color: #CCC;
	border-left-color: #CCC;
	background-color: #F7F7F7;
	font-size: 13px;
}
/*子項區塊位置設*/
ul.MenuBarHorizontal a
{
	display: block;
	cursor: pointer;
	color: #666;
	text-decoration: none;
	padding-top: 0.5em;
	padding-right: 0.75em;
	padding-bottom: 0.5em;
	padding-left: 0.75em;
}
/* Menu items that have mouse over or focus have a blue background and white text */
/*子項滑過樣式2*/
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
{	
	background-image: url(../images/line_menu3.jpg);
	background-repeat: repeat-x;
}
/*子項滑過樣式*/
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
{
	background-image: url(../images/line_menu3.jpg);
	background-repeat: repeat-x;
	color: #666;
}

/*******************************************************************************

 SUBMENU INDICATION: styles if there is a submenu under a given menu item

 *******************************************************************************/

/* 主選項底色 */
ul.MenuBarHorizontal a.MenuBarItemSubmenu 
{
	color: #FFF;
	text-align: center;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #FFFFFF;
	font-size: 17px;
	height: 17px;

}
ul.MenuBarHorizontal a.MenuBarItemSubmenu2
{
	color: #FFF;
	text-align: center;
	height: 17px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
/*子項有第三層的過樣式*/
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu 
{
	text-align: left;
	background-image: url(../images/SpryMenuBarRight.gif);
	background-repeat: no-repeat;
	color: #666;
	background-position: 95% 50%;
}
/*主選項滑過樣式*/
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover 
{
	background-image: url(../images/line_menu2.jpg);
	background-repeat: repeat-x;
	background-position: 95% 50%;
}

/* 子項第三層滑過效果*/
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
{
	background-image: url(../images/line_menu4.jpg);
	background-repeat: no-repeat;
	background-position: left 50%;
}

/*******************************************************************************

 BROWSER HACKS: the hacks below should not be changed unless you are an expert

 *******************************************************************************/

/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
{
	position: absolute;
	z-index: 1010;
	filter:alpha(opacity:0.1);
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
	ul.MenuBarHorizontal li.MenuBarItemIE
	{
		display: inline;
		f\loat: left;	
	}
}
