@charset "utf-8";
* { margin: 0; padding: 0}
html { font-size:100%; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;}
body { font-size:100%; line-height:1.65em; font-family: Arial, "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "標楷體", DFKai-SB, sans-serif;}
html,body,h1,h2,h3,h4,h5,h6,p,ul,ol,li,dl,dt,dd,form,th,blockquote { margin:0; padding:0; font-weight:normal;}

/*通用樣式*/
 .col-md-1,  .col-md-2,  .col-md-3,  .col-md-4,  .col-md-5,  .col-md-6,  .col-md-7,  .col-md-8,  .col-md-9,  .col-md-10,  .col-md-11,  .col-md-12, .BoxContents .col-md-1, .BoxContents .col-md-2, .BoxContents .col-md-3, .BoxContents .col-md-4, .BoxContents .col-md-5, .BoxContents .col-md-6, .BoxContents .col-md-7, .BoxContents .col-md-8, .BoxContents .col-md-9, .BoxContents .col-md-10, .BoxContents .col-md-11, .BoxContents .col-md-12 { padding-right: 5px; padding-left: 5px;}
img { max-width:100%; height: auto;}
.border_radius {-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;}
.box_shadow {-moz-box-shadow: 0px 5px 10px rgba(0,0,0,0.35); -webkit-box-shadow: 0px 5px 10px rgba(0,0,0,0.35); box-shadow: 0px 5px 10px rgba(0,0,0,0.35);}
.clear_both:after{content:"";display:table;clear:both;}
#main-wrapper { padding: 85px 1% 30px 1%;}
#main-wrapper-element { padding: 5px 1% 30px 1%;}
#top-wrapper { padding: 5px 1% 30px 1%;}
#wrapper {/*width: 1200px;*/max-width: 100%; margin: 0 auto;background-color: rgba(0,0,0,0.03);}
.stock_search {width: 500px;max-width: 95%; margin: 0 auto;}
.box {max-width: 100%; margin: 30px auto; float: none;padding: 5px 5px 10px 5px;}
.box_inner {padding:0px;}
.box_inner.left {padding-right:5px;border-right: 1px dotted #ddd;}
.box_inner.right {padding-left:5px;}
/*Fonts*/
a:link, a:visited, a:active {text-decoration: none;}
a:hover {text-decoration: underline;}
.text_shadow {text-shadow: 1px 1px 2px #000;}
.C {text-align: center;}
.L {text-align: left;}
.R {text-align: right;}
.UP { color: #ff0000;}
.DN { color: #00861f;}
.title_1 { font-size: 20px;line-height: 35px;letter-spacing: 2px;font-weight: normal;color: #2a3d96;padding: 5px 10px;border-bottom: 1px solid #ddd; background: rgb(255,255,255); background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(243,243,243,1) 50%, rgba(237,237,237,1) 51%, rgba(255,255,255,1) 100%); background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%); background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );}
.title_1:before { content: "\f0a9"; font-family: FontAwesome; padding-right: 4px;}
.title_1 span.time {float: right;font-size: 12px;color: #878787;letter-spacing: 1px;}
.title_2 {font-size: 18px;line-height: 30px;margin-bottom: 10px;letter-spacing: 2px;font-weight: normal;}
.title_2.margin_1 {margin-left: 10px;}
i { padding-right: 4px;}
.News {margin: 20px 10px;}
.News ul li {list-style: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.News ul li, .News ul li a {color: #000;}
.News ul li span { margin-right: 0.55em; color: #a8a8a8;}
/*技術線圖*/
div.FL {padding: 0px 0px !important;}
.HighStockTAZone td, .HighStockTAZone td span {padding: 4px 2px 0px 5px;font-family: Arial, Helvetica, sans-serif, '微軟正黑體';font-size: 12px;}


/*Table*/
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th { vertical-align: middle !important;}
table th {color: #2a3d96;}
table tbody tr:nth-child(2n + 1) { background-color: rgba(220, 220, 220, 0.15);}
table.tbody_scroll tbody { height: 195px; overflow-y: auto; overflow-x: hidden;}
table.tbody_scrollB tbody { height: 600px; overflow-y: auto; overflow-x: hidden;}
table.tbody_scroll thead, table.tbody_scroll tbody,table.tbody_scrollB thead, table.tbody_scrollB tbody  { display: inline-block; width: 100%;}
table.tbody_scroll th, table.tbody_scroll td,table.tbody_scrollB th, table.tbody_scrollB td { width: 100px;}
table.table_border th, table.table_border td {border-right:1px solid #ddd;}
table.table_border th:last-child, table.table_border td:last-child {border-right:none;}
table.border_top {border-top: 1px solid #ddd;}

/*RWD Table*/
table {margin-bottom: 0px !important;}
table.RWD_table_1 {width:100%;border-collapse:collapse;/*margin-bottom: 0;*/}
table.RWD_table_1 th{background-color: rgba(220, 220, 220, 0.15);}
table.RWD_table_1 tr:nth-of-type(odd){background:#eee}
table.RWD_table_1 tbody tr:nth-child(2n + 1) { background-color: rgba(220, 220, 220, 0);}
table.RWD_table_1 td, table.RWD_table_1 th{padding:6px;/*border:1px solid #ccc;*/text-align:left}
table.RWD_table_1 th a { color: #2a3d96;text-decoration:underline;}
table.RWD_table_1 th a:hover { text-decoration:none;}
table.border_bottom {border-bottom: 2px solid #ddd;}
table#tblTicks th, table#tblTicks td { width: 200px; }
@media only screen and (max-width: 768px),(min-device-width: 800px) and (max-device-width: 1024px) {
	table.RWD_table_1, table.RWD_table_1 thead, table.RWD_table_1 tbody, table.RWD_table_1 th,table.RWD_table_1 td, table.RWD_table_1 tr{display:block}
	table.RWD_table_1 thead tr{position:absolute;top:-9999px;left:-9999px}
	table.RWD_table_1 tr{border:1px solid #ccc}
	table.RWD_table_1 td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%}
	table.RWD_table_1 td:before{position:absolute;top:6px;left:6px;width:45%;padding-right:10px;white-space:nowrap}
}

/* 營收盈餘 responsive tables (170801 added by Ariel.)*/
#tab_default_4 table {width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0;cursor:default;margin:0;}
/* scrollable table */
#tab_default_4 .tableWrapper { width: 100%; overflow: auto; max-width: 100%; margin: 0 auto; }
#tab_default_4 .tableWrapper.scrollRight{background:linear-gradient(to right,rgba(187,187,187,0) 95%,rgba(187,187,187,0.6) 100%)}
#tab_default_4 .tableWrapper.scrollLeft{background:linear-gradient(to right,rgba(187,187,187,0.6) 0,rgba(187,187,187,0) 5%)}
#tab_default_4 .tableWrapper.scrollLeft.scrollRight {background:linear-gradient(to right,rgba(187,187,187,0.6) 0,rgba(187,187,187,0) 5%,rgba(187,187,187,0) 95%,rgba(187,187,187,1) 100%)}
::-webkit-scrollbar{width:5px;height:5px;background-color:rgba(0,0,0,0.1)}
::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,0.5)}

/*Header, Navbar*/
header#header { position: fixed; width: 100vw; z-index: 999;}
.navbar-default { min-height: auto !important; padding: 0 1% !important; background: #e2e2e2; background: -moz-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); background: -webkit-linear-gradient(top, #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%); background: linear-gradient(to bottom, #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 );}
.navbar-default .navbar-nav>.active>a {background: #ffffff; background: -moz-linear-gradient(top, #ffffff 0%, #f3f3f3 50%, #ededed 51%, #ffffff 100%); background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 50%,#ededed 51%,#ffffff 100%); background: linear-gradient(to bottom, #ffffff 0%,#f3f3f3 50%,#ededed 51%,#ffffff 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );}
.navbar-nav { float: none; margin: 0; text-align: center;}
.navbar-nav>li {float: none; display: inline-block;border-left: 1px solid #fff;border-right: 1px solid rgba(0,0,0,0.2);}
.navbar-nav>li>a { padding-top: 10px; padding-bottom: 10px;}
.navbar-default .navbar-nav>li>a {color: #000;}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {color: #2a3d96}

/*Search*/
input.stock_search {width: 260px !important;}
.stock_search a {text-decoration:none;}

/*Tabs*/
.heading4{font-size:18px;font-weight:400;color:#111111;margin:0px 0px 5px 0px;}
.heading1{font-size:30px;line-height:20px;text-transform:uppercase;color:#1b2834;font-weight:900;}
.content-quality{float:left;width:193px;}
.content-quality p{margin-left:10px;font-family:'Open Sans', sans-serif;font-size:14px;font-weight:600;line-height:17px;}
.content-quality p span{display:block;}
.tabtop li a{font-weight:700;color:#1b2834;border-radius:0px;margin-right:-1px;border:1px solid #ebebeb !important;}
.tabtop .active a:before{content:"♦";position:absolute;top:15px;left:50px;color:#383838;font-size:30px;}
.tabtop li a:hover{color:#383838 !important;text-decoration:none;}
.tabtop .active a:hover{color:#fff !important;}
.tabtop .active a{background-color:#383838 !important;color:#FFF !important;}
.margin-tops{margin-top:30px;}
.tabtop li a:last-child{padding:10px 22px;}
.thbada{padding:10px 28px !important;}
.margin-tops4{margin-top:20px;}
.tabsetting{border-top:5px solid #ebebeb;padding-top:6px;}
.services{background-color:#d4d4d4;min-height:710px;padding:65px 0 27px 0;}
.services a:hover{color:#000;}
.services h1{margin-top:0px !important;}
.heading-container p{text-align:center;font-size:16px !important;text-transform:uppercase;}
.btn { display: inline-block; padding: 4px 12px; margin-bottom: 0; font-size: 14px; line-height: 20px; text-align: center; vertical-align: middle; cursor: pointer; color: #333333; text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); background-color: #f5f5f5; background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); border-color: #e6e6e6 #e6e6e6 #bfbfbf; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); border: 1px solid #cccccc; border-bottom-color: #b3b3b3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);}
.tabbable-panel .tab-content {padding: 15px 10px;}
/*價量走勢*/
.twstock_profile .outsdtext { float: left; color: #0066CC;}
.twstock_profile .insdtext { float: right; color: #c82222;}
.twstock_profile .idxbars .outsd, .twstock_profile .idxbars .insd, .twstock_profile .r_bar { height: 15px;}
.twstock_profile .idxbars .outsd { float: left; background-color: #00861f;}
.twstock_profile .idxbars .insd, .twstock_profile .r_bar { background-color: #ff0000;}
.twstock_profile .idxbars .insd { float: right;}
.idxbars {margin-bottom: 20px;}

/*個股總覽*/
.tab_1_2 div[place="title"] span {display: inline-block; width: 50%;}
.tab_1_2 div[place="title"] span:last-child {text-align: right;}

/*看懂個股*/
.StockKnow h4 {color: #2a3d96;line-height: 26px;}
.StockKnow .KnowChartBox_b h4 {position: relative; left: -10px;margin-bottom: 10px}
.StockKnow .KnowChartBox_b div[place="1"], .StockKnow .KnowChartBox_b div[place="2"] {border-bottom: 1px dotted #ddd;padding-bottom: 25px;}
.StockKnow .icon_know {position: relative;top:-2px;}

#footer { font-size: 20px;line-height: 40px;letter-spacing: 2px;font-weight: normal;color: #2a3d96;padding: 5px 10px;border-bottom: 1px solid #ddd; }
#footer .logo { float:left; width:50%; text-align:right;}


@media screen and (min-width: 991px) {/*視窗寬度大於991時*/
	div[place="table_3"] {border-right:1px dotted #ddd;}
	.StockKnow .table td {width: 30%;}
	.StockKnow .table th {width: 20%;}
}
@media only screen and (max-width: 1280px) {
	.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {font-size: 14px;padding: 8px 5px !important;}
}
@media only screen and (max-width: 991px) {
	.tab_1_1 table.tbody_scroll th, .tab_1_1 table.tbody_scroll td,.tab_1_1 table.tbody_scrollB th, .tab_1_1 table.tbody_scrollB td  { width: 152px;}
	.box_inner.left { padding-right: 0; border-right: none;}
	.box_inner.right {padding-left: 0;margin-top: 25px;}
	.StockKnow .KnowChartBox_a div[place="1"], .StockKnow .KnowChartBox_b div[place="3"] {border-bottom: 1px dotted #ddd;padding-bottom: 25px;}
	.StockKnow .KnowChartBox_b div[place="2"] {margin-top: 25px;}
}
@media only screen and (max-width: 768px) {
	.responsive:after { content: ''; position: absolute; z-index: 10; top: 0; bottom: 0; right: 0; width: 10%; background: -webkit-linear-gradient(left,rgba(0,0,0,0) 10%,rgba(0,0,0,0.2)); background: -moz-linear-gradient(left,rgba(0,0,0,0) 10%,rgba(0,0,0,0.2)); background: -ms-linear-gradient(left,rgba(0,0,0,0) 10%,rgba(0,0,0,0.2)); background: -o-linear-gradient(left,rgba(0,0,0,0) 10%,rgba(0,0,0,0.2)); background: linear-gradient(to right,rgba(0,0,0,0) 10%,rgba(0,0,0,0.2));}
}
@media only screen and (max-width: 767px) {
	.nav>li {display: inline-block;}
	.navbar-nav {margin:0 1% !important;}
	.navbar-default ul { overflow: hidden; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch;}
#footer .logo, #footer .link, #footer .copyright { width:100%; float:none;}
#footer .logo {width:100%;}
#footer .logo img { max-width:100px;}
#footer .copyright { text-align:center;}

}
@media only screen and (max-width: 599px) {
	.tab_1_2 div[place="title"] span {width: 100%;}
	.title_2, .tab_1_2 div[place="title"] span:last-child {text-align: center;}
	.tab_1_2 div[place="title"] span:last-child {margin-bottom: 10px;}
}
@media only screen and (max-width: 480px) {
	.tabtop .active a:before {display: none;}
	.tabtop li a:last-child{padding:10px 10px;}
}

