﻿/* 設定折行 */
.wordbreak
{
	word-break:break-all;
}
.nobreak
{
	white-space:nowrap ;
}

/* 資料空時 */
tr.emptyrow td
{
	font-weight:bold; 
	font-size: 15px;
	/*color: red;*/
}

/* table style 1 用於排行榜 */
table.datalist
{
	border-collapse: collapse;
	border-spacing:0px;
	padding:0px;
	border-left:0px;
	border-right:0px;
	border-top:#C6C9D0 1px solid;
	border-bottom:#C6C9D0 1px solid;
	/*border-bottom-width:1px;
    border-bottom-color: white;
    border-bottom-style: solid;*/
	text-align: center;
	width:100%;
	clear:both;
}
table.datalist td
{
	font-weight:normal;
	font-size: 13px;
	/*vertical-align: baseline;*/
	vertical-align: middle;
	text-align:center;	
}
table.datalist th
{
	font-weight:normal;
	font-size: 13px;
	text-align:center;
	vertical-align: middle;
	padding-top:3px\9;
	vertical-align: middle\9;
	background-color:#fcf3bc;
	border-bottom:#C6C9D0 1px solid;
}
/* tbody */
table.datalist tbody{ /*for IE*/
	border-bottom:#C6C9D0 1px solid;
}

table.datalist tbody td,
table.datalist tbody th
{
	border-left: #C6C9D0 1px solid;
	border-right: #C6C9D0 1px solid;
}
table.datalist tbody td:first-child,
table.datalist tbody th:first-child
{
	border-left:#C6C9D0 0px solid;
}
/*last-child不用是因為ie8不吃
table.datalist tbody td:last-child,
table.datalist tbody th:last-child
{
	border-right:#cfd2d2 0px solid;
}*/

/* thead */
table.datalist thead td, 
table.datalist thead th,
table.datalist tbody th[scope=col] /*gridview head */
{
    background-color: #E8E8E8;
		color: #505050;	
		border-right: #C6C9D0 1px solid;
		border-left: #C6C9D0 1px solid;
		border-bottom: solid 1px #C6C9D0;
		vertical-align: middle;	
    text-align: center;
    padding:3px;
}
table.datalist thead td:first-child,
table.datalist thead th:first-child,
table.datalist tbody th[scope=col]:first-child /*gridview head */
{
	border-left:#C6C9D0 0px solid;
}
table.datalist thead td:last-child,
table.datalist thead th:last-child,
table.datalist tbody th[scope=col]:last-child /*gridview head */
{
	border-right:#C6C9D0 0px solid;
}
table.datalist tbody tr td
{
	padding: 3px;
}
/* even odd */
table.datalist tbody tr.odd td
{
	background-color: #FFF8e6;
}
table.datalist tbody tr.even td
{
	background-color:white;
}
table.datalist tbody tr.odd td.sort {
	background-color: #ffe9c9;
}

table.datalist tbody tr.even td.sort {
	background-color: #fff6e9;
}
table.datalist tbody tr.label td, 
table.datalist tbody tr.label th
{
	background:#fef2c6;
	padding: 3px 3px 3px 3px;
}
/* tfoot */
table.datalist tfoot td, 
table.datalist tfoot th
{
	padding: 3px 4px 0px 4px;
	background: #f7f2d9;
	color: #5a7834;
	padding-top: 3px;
	border-right:dotted 1px #a7b6af;
	border-bottom:dotted 1px #a7b6af;
}
table.datalist tfoot td:first-child, 
table.datalist tfoot th:first-child
{
	border-left:dotted 1px #a7b6af;
}
table.datalist tfoot tr.label td, 
table.datalist tfoot tr.label th
{
	background:#ece3cf;
}
/*表格中td第一欄變色*/
table.datalist tbody tr.even td.tdfirst,
table.datalist tbody tr.odd td.tdfirst
{
  background-color: #d5e9f7;
  color: Black;
  text-align: center;
  border-bottom: solid 1px #C6C9D0;
}
.eTitle{
	background-color: #ddcc72;
	color: black;
	font-size: 15px;
	letter-spacing: 1px;
	text-align:center;
	border-bottom: solid 1px #C6C9D0;
	border-top: solid 1px #C6C9D0;
	vertical-align: middle;
	padding: 3px 3px 3px 3px;
}
.eTitle_nb{ /*nb表示沒有bottom*/
	background-color: #ddcc72;
	color: black;
	font-size: 15px;
	letter-spacing: 1px;
	text-align:center;
	border-top: solid 1px #C6C9D0;
	vertical-align: middle;
	padding: 3px 3px 3px 3px;
}
/*
table.datalist tr.listFoot
{
  background-color: #d5e9f7;
}
*/


/* table style 1 用於ETF介紹 */
table.DataTable
{
	border-collapse: collapse;
	border-spacing:0px;
	padding:0px;
	border-left:0px;
	border-right:0px;
	border-top:#C6C9D0 1px solid;
	border-bottom:#C6C9D0 1px solid;
	text-align: center;
	width:100%;
}
table.DataTable td
{
	font-weight:normal;
	font-size: 13px;
	vertical-align: baseline;
	text-align:center;	
	vertical-align: middle;
}
table.DataTable th
{
	font-weight:normal;
	font-size: 13px;
	vertical-align: baseline;
	text-align:center;	
	vertical-align: middle;
	background-color:#fcf3bc;
	border-bottom:#C6C9D0 1px solid;
}
/* tbody */
table.DataTable tbody td,
table.DataTable tbody th
{
	border-left: #C6C9D0 1px solid;
	border-bottom:#C6C9D0 1px solid;
}
table.DataTable tbody td:first-child,
table.DataTable tbody th:first-child
{
	border-left:#C6C9D0 0px solid;
}
/*last-child不用是因為ie8不吃
table.DataTable tbody td:last-child,
table.DataTable tbody th:last-child
{
	border-right:#cfd2d2 0px solid;
}*/

/* thead */
table.DataTable thead td, 
table.DataTable thead th,
table.DataTable tbody th[scope=col] /*gridview head */
{
    background-color: #d4f6f7;
		color: #505050;	
		border-right: #C6C9D0 1px solid;
		border-bottom: solid 1px #C6C9D0;
		vertical-align: middle;	
    text-align: center;
}
table.DataTable thead td:first-child,
table.DataTable thead th:first-child,
table.DataTable tbody th[scope=col]:first-child /*gridview head */
{
	border-left:#C6C9D0 0px solid;
}
table.DataTable thead td:last-child,
table.DataTable thead th:last-child,
table.DataTable tbody th[scope=col]:last-child /*gridview head */
{
	border-right:#C6C9D0 0px solid;
}
table.DataTable tbody tr td
{
	padding: 3px 3px 3px 3px;
}
/* even odd */
table.DataTable tbody tr.odd td
{
	background-color: #F1F3F3;
}
table.DataTable tbody tr.even td
{
	background-color:white;
}
table.DataTable tbody tr.odd td.sort {
	background-color: #f0f3d7;
}

table.DataTable tbody tr.even td.sort {
	background-color: #feffe3;
}
table.DataTable tbody tr.label td, 
table.DataTable tbody tr.label th
{
	background:#fef2c6;
	padding: 3px 3px 3px 3px;
}
/* tfoot */
table.DataTable tfoot td, 
table.DataTable tfoot th
{
	padding: 3px 4px 0px 4px;
	background: #f7f2d9;
	color: #5a7834;
	padding-top: 3px;
	border-right:dotted 1px #a7b6af;
	border-bottom:dotted 1px #a7b6af;
}
table.DataTable tfoot td:first-child, 
table.DataTable tfoot th:first-child
{
	border-left:dotted 1px #a7b6af;
}
table.DataTable tfoot tr.label td, 
table.DataTable tfoot tr.label th
{
	background:#ece3cf;
}

table.DataTable tbody th.al
{
	padding-left:5px;
	text-align:left;
}
/*表格中td第一欄變色*/
table.DataTable tbody tr.even td.tdfirst,
table.DataTable tbody tr.odd td.tdfirst
{
  background-color: #d5e9f7;
  color: Black;
  text-align: center;
  border-bottom: solid 1px #C6C9D0;
}

table.datalist tbody tr.even td.MouseOn,
table.datalist tbody tr.odd td.MouseOn 
{
	background-color: moccasin;
}

table.datalist tbody tr td.ar
{
	text-align:right;
}

table.datalist tbody tr td.al
{
	text-align:left;
}

table.datalist tbody tr td.ar span
{
	text-align:left;
	color:#ff0000;
}

.negative {
	color:red;
}