/* CSS Document */
div#container{  padding:0 10px; text-align:center;}
div#container div.tabpanel{
	width:100%;
	margin:0 0 10px 0;	
	clear: both;
	float:left; /* 解決firefox tab內的資料少於圖示高度外框會往上縮的問題 */
	
}
div#container div.tabpanel ul.tablist {
	margin: 0px 0px 0 0;
	padding: 2px 0 0px 0;	
	list-style-type: none;
	width:100%;
	_width:100%;
	overflow:hidden;    /*----overflow要加-----*/
	background:#FFFFFF url(../images/tablist_bg.gif) repeat-x 0 bottom; /*----底線設在背景圖像中-----*/
		
}

div#container div.tabpanel li.tab {
	background-image: url(../images/PanelsTab1.gif);
	background-repeat: no-repeat;
	background-position: left top;
	padding:0px 0 0px 8px;	
	margin:0 2px 0 0px;
	list-style-type: none;
	margin-right:2px;
	float:left;
	cursor: pointer;
	word-break:keep-all;
	font-size:125%;	
	border:0px none;
	border-bottom: solid 1px #ddd;
	margin-top: -1px; /*-----往上移--*/
}
div#container div.tabpanel li.tab span{
	text-align:center;
	background-image: url(../images/PanelsTab1.gif);
	background-repeat: no-repeat;
	background-position: right top;
	padding:6px 8px 2px 0px;
	color: #016CB0;
	display:block;
	
}
div#container div.tabpanel li.tab span em{ font-size:100%;color: #09465d; }


div#container div.tabpanel li.selected {
	background-image: url(../images/PanelsTab2.gif);
	background-repeat: no-repeat;
	background-position: left top;
	float: left;
	display:block;
	margin:0 2px 0 0px;
	padding:0px 0 0px 5px;
	border-bottom: 0px none;  /*-----將下方的border 隱藏掉------*/
	margin-bottom: -1px;      /*----再設margin-top:-1 往上1px------*/
	
}
div#container div.tabpanel li.selected span{
	background-image: url(../images/PanelsTab2.gif);
	background-repeat: no-repeat;
	background-position: right top;
	padding:6px 8px 2px 0px;
	font-weight: bold;
	color: #FFFFFF;
	display:block;
	cursor: hand;
}


div#container div.tabpanel div.tabpanel {
	clear: both;
	width:99%;
	border: solid 1px #1899f2;
	/*border-top: none;         ---要把上面的框線隱藏掉--*/
	margin:-1px 0 0px 0;
	padding:5px;
	background-color: #9fd7ef;
}
