
/*** adding the class sf-navbar in addition to sf-menu creates an all-horizontal nav-bar menu ***/




.sf-navbar {
	height:	79px;
	position:relative;
	width: 1110px;
	background: url(/forums/images/styles/lifeElement/style/navBG.gif) repeat-x;
}/*第一層的背景顏色*/




.sf-menu-navLeft {
background: url(/forums/images/styles/lifeElement/style/navLeft.gif) no-repeat left top;
height: 79px;
} /*左邊框架*/


.sf-menu-navRight {
	background: url(/forums/images/styles/lifeElement/style/navRight.gif) no-repeat right top;
	height: 79px;
} /*右邊框架*/




.tab {
	margin-left: 8px;
	margin-right: 8px;
} /* 選單內容物 */



.sf-navbar ul {
	width: 1130px;
	
}


sf-navbar a {
	border-top:		none;
}

.sf-navbar li {
	position:		static;
	border-left: 1px solid white;
	border-right: 1px solid #d4d7de;
	height: 42px;
	/*width: 8.1%;*/
	width: 9.6%;
	text-align:center;
	text-decoration: none;
	display:		block;
}/*第一層的背景顏色、文字*/



.sf-navbar li ul li a:hover {
	height:15px;
	background-color: blue;
	color: black !important; 
}


.sf-navbar  ul li a{
	height:42px;
}
/*第一層滑鼠選在上面的顏色*/

.sf-navbar a:hover{
	height:42px;
	color: #1e3648;
	background: url(/forums/images/styles/lifeElement/style/navBG_hover.gif) repeat-x;
}
/*第一層滑鼠選在上面的顏色*/


.sf-navbar li ul {
	width:	1130px; /*IE6 soils itself without this*/
	
	padding: 0;
	height: 34px;
	display: block;
}/*第二層*/



.subtab {
	top:			43px; /* 第二欄的高度起始位置 */
	height:42px;
	color:yellow;
}

.sf-navbar li ul li{
	border:none;
}




.sf-navbar li li {
	background:		none;
	position:		relative;
}

.sf-navbar li ul li a, .sf-navbar li ul li a:visited {
	color: white;
	font-size: 13px;
	width: auto;
	text-decoration: none;
	border-style: none;
	border-width: 0;
	top: 1px;
} /*第二層文字*/




.sf-navbar li li ul {
	width:			13em;
}
.sf-navbar li li li {
	width:			100%;
	height:34px;
}



.sf-navbar ul li {
	width:			auto;
	float:			left;
}


.sf-navbar a, .sf-navbar a:visited, .sf-navbar h3 {
	border:			none;
}



.sf-navbar li.current {
	/*background:		#BDD2FF;*/
	background: url(/forums/images/styles/lifeElement/style/navBG_hover.gif) repeat-x;

}/*目前所在tab的顏色*/

/*
.sf-navbar li:hover,
.sf-navbar li.sfHover,
.sf-navbar li li.current,
.sf-navbar a:focus, .sf-navbar a:hover, .sf-navbar a:active {
	background: url(/forums/images/styles/lifeElement/style/navBG_hover.gif) repeat-x;
	color: #1e3648;
}*/
/*第一層滑鼠選在上面的顏色*/



/*
.sf-navbar li li a:hover,
.sf-navbar ul li.sfHover,
ul.sf-navbar ul li:hover li,
ul.sf-navbar ul li.sfHover li,
.sf-navbar ul a:focus, .sf-navbar ul a:hover, .sf-navbar ul a:active {
	background: blue;
	color:white!important;
	height:34px;
}*/
/*第二層滑鼠選在上面的顏色*/





ul.sf-navbar li li li:hover,
ul.sf-navbar li li li.sfHover,
.sf-navbar li li.current li.current,
.sf-navbar ul li li a:focus, .sf-navbar ul li li a:hover, .sf-navbar ul li li a:active {
	background:		#E6EEFF;
}
ul.sf-navbar .current ul,
ul.sf-navbar ul li:hover ul,
ul.sf-navbar ul li.sfHover ul {
	left:			0;
	top:			43px; /* match top ul list item height */
}
ul.sf-navbar .current ul ul {
	top: 			-999em;
}

.sf-navbar li li.current > a {
	font-weight:	bold;
}

/*** point all arrows down ***/
/* point right for anchors in subs */
.sf-navbar ul .sf-sub-indicator { background-position: -10px -100px; }
.sf-navbar ul a > .sf-sub-indicator { background-position: 0 -100px; }
/* apply hovers to modern browsers */
.sf-navbar ul a:focus > .sf-sub-indicator,
.sf-navbar ul a:hover > .sf-sub-indicator,
.sf-navbar ul a:active > .sf-sub-indicator,
.sf-navbar ul li:hover > a > .sf-sub-indicator,
.sf-navbar ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/*** remove shadow on first submenu ***/
.sf-navbar > li > ul {
	-moz-border-radius-bottomleft: 0;
	-moz-border-radius-topright: 0;
	-webkit-border-top-right-radius: 0;
	-webkit-border-bottom-left-radius: 0;
}