﻿
/* Added by Sam */
div.grey table tr.red_txt td.last,
div.org table tr.red_txt td.last{
	border-left: 2px solid silver;
	padding-left: 5px;
}


div.grey table tr.red_txt td,
div.org table tr.red_txt td{
	text-align: center;
	font-size: 200%;
	font-weight: bold;
	color: Red;
	height: 10px;
}

/**************/
body, html {
	text-align: center;
	background: url(../images/bg_main.jpg) repeat-y center top #DEDEDE;
	margin: 0px;
	padding: 0px;
}


html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, fieldset, form, label, legend, caption, td, tr{
	margin: 0px;
	padding: 0px;
	border: 0px;
	font-weight: inherit;
	font-style: inherit;
	font-size: 10px0px%;
	font-family: inherit;
	vertical-align: baseline;
}



div.LeftMenuMask 
{
     background-color:  #e1e1e1;  position:absolute;  bottom:0px; width: 188px; 
		    left:10px; height:3000px; z-index:2 ;
}
div.leftnav
{
	width: 188px;
	position:  relative;
	float: left;
	background-color:  #e1e1e1; 
	left:10px;
	z-index:3;
	margin-bottom:1px;
}

div.leftnav ul{
	margin: 0;
	padding: 0;
}



div.leftnav ul li.tab{
	background:url(../images/bg_leftnav_tab.jpg) no-repeat top ;
	border: 1px solid #bebdc2;
	width: 186px;
	/*min-height: 29px;*/
	height: 29px;
	margin: 0;
	padding: 0;
	list-style:none;
}
div.leftnav ul li.tab a,
div.leftnav ul li.tab_tall a{
	position: relative;
	top: 3px;
	left: 30px;
	text-decoration: none;
	font-size: 13px;
	line-height: 18px;
}


div.leftnav ul li.tab_tall{
	background:url(../images/bg_leftnav_tab.jpg) no-repeat top ;
	border: 1px solid #bebdc2;
	width: 186px;
	height: 45px;
	margin: 0;
	padding: 0;
	list-style:none;
}

div.leftnav ul li.link{
	margin-left: 15px;
	padding: 5px 0;
	list-style-type: disc;
	list-style-position: inside;
}

div.leftnav ul li.link a{
	position: relative;
	left: 1px;
	text-decoration: none;
	font-size: 11px;
}

.container  {
	width: 860px;
	margin: 0px auto;
	background-color: #fff;
	text-align: left;
	position: relative;
	left: 0px;
}

#header {
	width: 860px;
	height: 266px;
	border-bottom: 5px solid #141414;
	background: url(../images/bg_topnav.jpg) no-repeat center top #fff;
	position: relative;
	top: 0px;
	z-index:3;
}

#header_en {
	width: 860px;
	height: 266px;
	border-bottom: 5px solid #141414;
	background: url(../images/bg_topnav_en.jpg) no-repeat center top #fff;
	position: relative;
	top: 0px;
	z-index:3;
}

h1.logo {
	color: #fff;
	font-size: 8px;
	position: relative;
	top: 1.5em;
	left: 1px;
}

h4.lang {
	color: #000;
	font-size: 90%;
	position: relative;
	top: 8em;
	right: 10px;
	float: right;
}


h4.lang a{
	color: #134584;
	text-decoration: none;
}

h4.lang a:hover
{
	color: gray;
	text-decoration: underline;
}

.toolbar_wrap {
	position: absolute;
	right: 1px;
	top: 1px;
	clear: both;
}

/*** Toolbar of HeaderMenu ***/

ul.toolbar{
	list-style: none;
	display: inline;
	padding: 0;
	margin: 0;
	width: 420px;
	height: 20px;
	overflow: hidden;
	
	
}

ul.toolbar_en {
	list-style: none;
	display: inline;
	padding: 0;
	margin: 0;
	width: 430px;
	height: 20px;
	overflow: hidden;
}


ul.toolbar li, ul.toolbar_en li{
	margin: 0;
    list-style: none;
	display: inline;
	overflow: hidden;
}



ul.toolbar a{
	float: left;
	padding: 8px 10px 0 20px;
	height: 18px !important; 
	height /**/:18px; /* for IE5/Win only */
	display: block;
	outline: none;
	line-height: 15px;
	color: black;
	text-decoration: none;
	background: url(../images/toolbar.gif) no-repeat 4px top;
}

ul.toolbar_en a {
	float: left;
	padding: 8px 15px 0 18px;
	height: 18px !important; 
	height /**/:18px; /* for IE5/Win only */
	display: block;
	outline: none;
	line-height: 15px;
	color: black;
	text-decoration: none;
	background: url(../images/toolbar.gif) no-repeat 4px top;
}

ul.toolbar a:hover,
ul.toolbar a:active, 
ul.toolbar a.selected,
ul.toolbar_en a:hover,
ul.toolbar_en a:active, 
ul.toolbar_en a.selected {
	color: blue;
	text-decoration: none;
	background: url(../images/toolbar.gif) no-repeat 4px bottom;
}

ul.toolbar a:hover span,
ul.toolbar_en a:hover span {
	display: block;
}


.navbar_wrap {
	background-color: #394056;
	width: 858px;
	position: absolute;
	top: 120px;
	height: 31px;
	clear: both;
	margin: 0px auto;
	border-right:2px solid #232323 ;
}

.navbar {
	list-style: none;
	display: inline;
	padding: 0px;
	margin: 0px;
	width: 860px;
	height: 31px;
	overflow: hidden;
	border-right:2px solid #232323 ;
}




.navbar_columnWidth_Chi a#ucHeaderMenu_lnkHome { width:70px; }
.navbar_columnWidth_Chi a#ucHeaderMenu_lnkAboutUs { width:88px; }
.navbar_columnWidth_Chi a#ucHeaderMenu_lnkSecurities { width:72px; }
.navbar_columnWidth_Chi a#ucHeaderMenu_lnkFX { width:74px; }
.navbar_columnWidth_Chi a#ucHeaderMenu_lnkMetal { width:84px; }
.navbar_columnWidth_Chi a#ucHeaderMenu_lnkFutures { width:74px; }
.navbar_columnWidth_Chi a#ucHeaderMenu_lnkWealth { width:94px; }
.navbar_columnWidth_Chi a#ucHeaderMenu_lnkResearch {  /*width:76px;*/display:none; } /*IRES removed temporary */
.navbar_columnWidth_Chi a#ucHeaderMenu_lnkVacancy { width:94px; }
.navbar_columnWidth_Chi a#ucHeaderMenu_lnkCS { width:98px; }
.navbar_columnWidth_Chi a#ucHeaderMenu_lnkLink { width:88px; }
.navbar_columnWidth_Chi a#ucHeaderMenu_lnkForum {  /*width:84px;*/display:none; }
.navbar_columnWidth_Chi a#ucHeaderMenu_HyperLink1 { border-left-width: 2px; width:0px; }

.navbar_columnWidth_Eng a#ucHeaderMenu_lnkHome { width:70px; }
.navbar_columnWidth_Eng a#ucHeaderMenu_lnkAboutUs { width:70px; }
.navbar_columnWidth_Eng a#ucHeaderMenu_lnkSecurities { width:96px; }
.navbar_columnWidth_Eng a#ucHeaderMenu_lnkFX { width:40px; }
.navbar_columnWidth_Eng a#ucHeaderMenu_lnkMetal { width:70px; }
.navbar_columnWidth_Eng a#ucHeaderMenu_lnkFutures { width:70px; }
.navbar_columnWidth_Eng a#ucHeaderMenu_lnkWealth { width:80px; }
.navbar_columnWidth_Eng a#ucHeaderMenu_lnkResearch { /*width:76px;*/display:none;  }  /*IRES removed temporary */
.navbar_columnWidth_Eng a#ucHeaderMenu_lnkVacancy { width:80px; }
.navbar_columnWidth_Eng a#ucHeaderMenu_lnkCS { width:190px; }
.navbar_columnWidth_Eng a#ucHeaderMenu_lnkLink { width:70px; }
.navbar_columnWidth_Eng a#ucHeaderMenu_lnkForum {  /*width:84px;*/display:none; }
.navbar_columnWidth_Eng a#ucHeaderMenu_HyperLink1 { border-left-width: 2px; width:0px; }

 

.navbar_columnWidth_Chi li 
{
    font-family: 細明體;
}

.navbar_columnWidth_Eng li 
{
    font-family: Arial;
}


.navbar a {
	float: left;
	height: 31px !important; 
	/*display: block;*/
	/*outline: none;*/
	border-left-color: #232323 ;
	border-left-width: 2px;
    border-left-style: solid;
    
	color: #fff;
	text-align: center;
	background: url(../images/topnav_bg.jpg) repeat-x;
	text-decoration: none;
	padding-top:1px;
}


.navbar li{
	margin: 0; 
	padding: 0;
    list-style: none;
    text-align: center;
	display :inline;
    font-size:13px; 
}


.navbar a:hover,
.navbar a:active, 
.navbar a.selected {
	background: url(../images/topnav.jpg) no-repeat center top;
	color: yellow;
	text-decoration: none;
}
	
	
.navbar a:hover span,
.navbar a:active span, 
.navbar a.selected span,
.navbar a span{
	font-weight: bold;
	position: relative;
	top:0.5em;
	
}



div.swf{
	position: absolute;
	top: 150px;
	clear: both;
	height: 115px;
	width: 100%;
	display: block;
	background-image: url(../images/topnav_banner_1.jpg);
}





div.main_right{
	width: 300px;
	background-color: #cccccc;
	float: right;
	padding: 10px 2px 0 4px;
	margin: 0;
	position: relative;
}


div.main_right .box{
	background: url(../images/bg_main_rightbox.jpg) no-repeat top;
	width: 290px;
	clear: both;
	margin: none;
	position: relative;
	
	/*text-align:right; (Disabled because it doesn't be supported by FF*/
	
	margin: 0px 5px 20px;
	padding: 5px 0px 0px;
}

/*
div.main_right .box{
	background: url(../images/bg_main_rightbox.jpg) no-repeat top;
	width: 248px;
	clear: both;
	margin: 0px 0px 20px;
	position: relative;
	left: 3px;
	height: 180px;
	padding: 5px 0px 0px;
}
*/





div.main_right .box div.boxbtm{
	background: url(../images/bg_main_rightbox.jpg) no-repeat bottom #fff;
	height: 16px;
	width: 290px;
	position: relative;
	bottom: -10px;
	margin: none;
	text-align: right;
	
}



div.main_right .box div.boxbtm a{
	text-align: right;
	padding: 0 10px 30px 0;
	font-size: 85%;
	color: #134584;
	text-decoration: none;
}

div.main_right .box div.boxbtm a:hover
{
	color: gray;
	text-decoration: underline;
}










.box table.index tr.datagrid_lastrow td
.box table.news tr.datagrid_lastrow td{
	border: none;
}


.box table.index,
.box table.news{
	width: 260px;
	margin-left: 13px;
}

.box table.index tr.top td,
.box table.news tr.top td
{
	padding-bottom: 4px;
	height: 2em;
	color: #213e7e;
	font-size: 90%;
	font-weight: bold;
	border-bottom: 2px #213e7e solid;
}



.box table.index tr.datagrid td,
.box table.news tr.datagrid td{
	padding: 4px;
	border-bottom: 1px #213e7e solid;
	
	
}

.box table.index tr.datagrid td.day,
.box table.index tr.datagrid td.arrow,
.box table.index tr.datagrid td.night
{
    text-align:right;
}



table.index tr.top td.icon{
	background: url(../images/subhead_main_index.png) no-repeat left -3px;
	width: 60%;
	height: 15px;
	padding: 0;
	margin: 0;
	text-align: left;
}

table.index tr.top td.day{
	width: 21%;
	height: 15px;
	padding: 0;
	margin: 0;
	text-align: center;
}

table.index tr.top td.arrow,
table.index tr.top td.night{
	width: 8%;
	height: 15px;
	padding: 0;
	margin: 0;
	padding-right: 5px;
	text-align: right;
}







table.news tr.top td.icon{
	background: url(../images/subhead_main_latestnews.png) no-repeat left -1px;
	width: 60%;
	height: 2em;
	padding: 0;
	padding-bottom: 2px;
	margin: 0;
	text-align: left;
}

















/* home page */

div.main_left{
	width: 540px;
	background: #fff url(../images/subhead_main_quote.png) no-repeat 5px 5px;
	float: left;
	position: relative;
	margin:0px;
	/*overflow: hidden;*/
	/*padding: 40px 0 0;*/
	padding-top:40px;
	padding-left:0px;
	
	height:525px;
}

div.main_left .grid1{
	position: relative;
	float: left;
	/*margin-left: 5px;*/
	padding-left:8px;
	
	top: 5px;
	/*overflow: hidden;*/
	width: 235px;
}

div.main_left .grid2{
	position: relative;
	margin-left: 4px;
	float: left;
	clear: right;
	top: 5px;
	margin-right: 2px;
	width: 270px;
}


/* This class has been totally altered by Sam */
/* 即時新聞 at Left bottom of index.aspx */
div.main_left div.grid3{
    clear:both; width:545px
}

/* This class has been totally altered by Sam */
/* 即時新聞 at Left bottom of index.aspx */
div.main_left div.grid3 table.news{
    position: relative; float: left;  width:530px; margin-left:5px;  
}



/* This class has been totally altered by Sam */
/* [ET Net News][DJ News] at Left bottom of index.aspx */
.grid3 table.news td.newslink{
    
}

/* This class has been totally altered by Sam */
/* 即時新聞 HorseLamp at Left bottom of index.aspx */
table.news td.top{
    color: yellow ;height:24px;  padding-top:0px ; vertical-align:middle; background: url(../images/bg_main_news.jpg) left top;
}

/* New class added by Sam*/
/* DJNews at Left Bottom of index.aspx*/
/*div.main_left div.grid3 table.news table.djnews*/
tr#DJNews table
{
  border-collapse: collapse;
  width:100%;
}  

/* DJNews Link */
tr#DJNews table td.DJNews_one
{
    font-size: 90%;background-color: #fff;padding: 2px 5px;
}
tr#DJNews table td.DJNews_two
{
    font-size: 90%;background-color: #e6e6e6;padding: 2px 5px;
}
tr#DJNews table td.DJNews_Date
{
    width:100px;
}

div.main_left div.grid3 table.news table.djnews a
{
	color: #000;
	text-decoration: none;
}

div.main_left div.grid3 table.news table.djnews a:hover
{
	color: gray;
	text-decoration: underline;
}

tr#DJNews table td.DJNews_last 
{
     text-align: right; padding-top:10px;

}
/*******************************************/



table.news td.newslink a:hover{
	color: gray;
	text-decoration: none;
}

table.news td.newslink a{
	color: white;
	text-decoration: none;
}





div.main_left .grid4
{
	position: relative;
	float: left;
	width: 101%;
	margin-left: 6px;
	clear: both;
}




div.main_left .grid_break {
	float: left;
	overflow: hidden;
	position: relative;
	border-bottom: 2px solid #fc8300;
	width: 100%;
	clear: both;
	padding: 0;
	margin-top: 8px;
	margin-bottom: 12px;
}

div.main_left .grid3 table
{
    
	width: 100%;
	position: relative;
}























/*Footer*/



div#footer p {
	margin: 0;
	padding: 8px 10px 0 20px;
	color: #fff;
	/*font-size: 76%;*/
	line-height: 16px;
	display: block;
	clear: both;
    font-family: Verdana;
    font-size:12px;
}

div#footer p.footer_p_en
{
    font-family: Verdana;
}

div#footer p.footer_p_ch
{
    font-family: Verdana;
}

div#footer p a{
	color: white;
	text-decoration: none;
}
div#footer p a:hover{
	color: gray;
}

div#footer{
	background: url(../images/footer_bg.jpg) repeat-x #141414;
	margin: 0;
	padding: 0;
	clear: both;
	position: relative;
	bottom: 1px;
	height: 56px;
	overflow: hidden;
	z-index:2;
}

div#footer p.left{
	float: left;
	width: 45%;
	display: block;
}


div#footer p.right{
	float: left;
	display: block;
	width: 45%;
	clear: right;
	text-align: right;
}






.grid1 table.quote_1{
	width: 240px;
} 


table.quote_1 td{
	padding: 7px 5px;
	font: 89% Arial, Helvetica, sans-serif ;
	color: #000;
	text-align: center;
}

table.quote_1 td.top{
	background-color: #fc8300;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;
	width: 16%;
}

table.quote_1 td.tophdr{
	background-color: #fc8300;
	border-bottom: 1px solid #fff;
	width: 16%;
}

table.quote_1 td.hdr{
	background-color: #ccc;
	border-bottom: 1px solid #fff;
}

table.quote_1 td.up{
	background: url(../images/arrow_up_gr.png) no-repeat 5px center #f9f9f9;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;
}

table.quote_1 td.down{
	background: url(../images/arrow_down.png) no-repeat 5px center  #f9f9f9;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;
}

table.quote_1 tr.alt td.down{
	background: url(../images/arrow_down.png) no-repeat 5px center  #faf7d6;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;
}

table.quote_1 tr.alt td.up{
	background: url(../images/arrow_up_gr.png) no-repeat 5px center #faf7d6;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;
}





/* grid 2 */
.grid2 table.boxes {
	margin: none;
	padding: none;
	width: 250px;
}




div.org{
	background: url(../images/price_box_1.png) no-repeat ;
	width: 90px;
	height: 80px;
	margin: 2px;
	margin-top: 0;
	padding: 5px 0px;
	text-align: center;
}


div.grey{
	background: url(../images/price_box_2.png) no-repeat;
	width: 90px;
	height: 80px;
	margin: 2px;
	padding: 5px 0px;
	margin-top: 0;
	text-align: center;
}





div.grey table,
div.org table{
	border-spacing: 1px;
	padding:0px;
	width: 99%;
	position: relative;
	top: 8px;
	right: 1px;
}

div.grey table tr.plain td,
div.org table tr.plain td{
	width: 50%;
	text-align: center;
	font-size: 12px;
	color: #000;
	margin: 2px 0px;
}

div.grey table tr.num td,
div.org table tr.num td{
	text-align: center;
	font-size: 90%;
	color: #000;
	margin: 5px 0px;
}

div.grey table tr.plain td.last,
div.org table tr.plain td.last{
	border-left: 1px solid #000;
	padding-left: 1px;
}

div.grey table tr.grn_txt td,
div.org table tr.grn_txt td{
	text-align: center;
	font-size: 200%;
	font-weight: bold;
	color: green;
	height: 10px;
}

div.grey table tr.grn_txt td.last,
div.org table tr.grn_txt td.last{
	border-left: 2px solid silver;
	padding-left: 5px;
}






/* Disabled by Sam*/
/*.grid3 table.news td.one,
.grid3 table.news td.last{
	background-color: #fff;
	padding: 2px 5px;
	font-size: 90%;
}

.grid3 table.news td.two{
	background-color: #e6e6e6;
	padding: 2px 5px;
	font-size: 90%;
}*/


div.newsdate{
	float: left;
	width: 10%;
}
div.newsdetail{
	float: left;
	width: 89%;
}





td.last div.more{
	float: left;
	width: 10%;
	text-align: right;
	position: relative;
	top: 10px;
}

td.last div.newsdetail{
	float: left;
	width: 89%;
	position: relative;
	top: 10px;
}





.box table.news tr.datagrid td.date,
.box table.news tr.datagrid_lastrow td.date{
	width: 25%;
	height: 15px;
	padding: 0;
	margin: 0;
	text-align: left;
	padding-right: 3px;
}






.box table.news tr.datagrid td.detail,
.box table.news tr.datagrid_lastrow td.detail{
	width: 60%;
	height: 15px;
	padding: 3px 0 0;
	margin: 0;
	text-align: left;
}




td.day a:hover,
td.night a:hover
{
	color: gray;
	text-decoration: underline;
}


.box table.news tr.datagrid td.dl,
.box table.news tr.datagrid_lastrow td.dl{
	width: 10%;
	height: 15px;
	padding: 0;
	padding-right: 3px;
	margin: 0;
	text-align: center;
}










/* Link */
a.generalLink{
	color: #134584;
	text-decoration: none;
}

a.generalLink:hover
{
	color: gray;
	text-decoration: underline;
}








div.pagecontent_fullwidth .whatwedo{
	width: 473px;
	position: relative;
	background: url(../images/head_pages_whatwedo.jpg) no-repeat top center;
	min-height: 100px;
	padding-top: 30px;
	float: left;
}