.only_desktop{
    display: table-column-group;
}
.only_mobile{
    display: none;
}


table {
    border-collapse: collapse;
    table-layout: fixed;
}

#cnhk.inside_content .chart_area.no_bot_border {
    border: none;
}

#cnhk.inside_content .chart_area.no_bot_border .chart .market_close{ text-align:center; font-size:24px; font-weight:bold; line-height:70px;}

.chart_table {
    width: 100%;
    margin-top: 2rem;
    font-size: 16px;
    font-weight: 700;
}

.chart_table * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.chart_table a {
    color: #000;
    text-decoration: none;
}

.chart_table .short,
.chart_table .put_link,
.chart_table .bear_link,
.chart_table .put,
.chart_table .bear,
.chart_table .long,
.chart_table .call_link,
.chart_table .bull_link,
.chart_table .call,
.chart_table .bull {
    /* font-weight: bold; */
    /* font-size: 14px; */
}

.chart_table .short{ color: #8b460e;}
.chart_table .long{ color: #1b435b;}

.chart_table .put_link{ color: #ed8b00;}
.chart_table .put{ color: #ed8b00;}

.chart_table .bear_link{ color: #a38123;}
.chart_table .bear{ color: #a38123;}

.chart_table .call_link{ color: #4D7AA7;}
.chart_table .call{ color: #4D7AA7;}

.chart_table .bull_link{ color: #1c6a64;}
.chart_table .bull{ color: #1c6a64;}

.chart_table a.short:hover,
.chart_table a.put_link:hover,
.chart_table a.bear_link:hover,
.chart_table a.put:hover,
.chart_table a.bear:hover {
    text-decoration: underline;
}


.chart_table a.long:hover,
.chart_table a.call_link:hover,
.chart_table a.bull_link:hover,
.chart_table a.call:hover,
.chart_table a.bull:hover {
    text-decoration: underline;
}

.chart_table.top10 {
    margin-top: 10px;
}

.chart_table thead th {
    background-color: #eceff1;
    /* font-size: 16px; */
    /* font-weight: 400; */
    text-align: center;
    vertical-align: middle;
    line-height: 1;
    border-bottom: 1px solid #000000;
    height: 30px;
    padding: 0px;
    /* font-family: arial, "新細明體"; */
}

.chart_table.turnover thead th {
    background-color: #FFF !important;
    border-bottom: none;
    height: 14px;
}


.chart_table thead th.focus {
    background-color: #faf8f2;
}

.chart_table tbody td {
    /* font-size: 16px; */
    text-align: left;
    line-height: 20px;
    padding: 6px 0;
    /*height:12px;*/
}

.chart_table.etf tbody td.name .long{ color:#000;}
.chart_table.etf tbody td.name .short{ color:#000;}
.chart_table.stock tbody td.name .long{ color:#000;}
.chart_table.stock tbody td.name .short{ color:#000;}

.chart_table.stock tbody td.name,
.chart_table.etf tbody td.name,
.chart_table.warrant tbody td.name,
.chart_table.cbbc tbody td.name,
.chart_table.top10 tbody td.name {
    text-align: center;
}

.chart_table.top10 tbody td.name a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 170px;
    margin: 0 auto;
    display: block;
}



.chart_table.turnover tbody td {
    font-size: 15px;
    padding: 6px 0;
}

.chart_table.turnover tbody tr.stamp td {
    font-size: 13px;
    line-height: 13px;
    padding: 0px 0;
    font-weight: bold;
    text-align: center;
    font-family: arial, "新細明體";
}



.chart_table tbody td.name a:hover {
    text-decoration: underline;
}

.chart_table.etf tbody .name {
    /*padding-left: 20px;*/
    line-height: 17px;
}

.chart_table tbody .focus {
    text-align: center;
    background-color: #faf8f2;
}

.chart_table.turnover tbody .focus {
    background-color: #FFF;
}

.chart_table .top_legend {
    position: relative;
    width: 100%;
    display: block;
    height: 100%;
}

.chart_table .top_legend span {
    position: absolute;
    line-height: 30px;
    height: 20px;
    width: 60px;
    right: -65px;
    /*font-family: arial, "新細明體";*/
    /* font-weight: 400; */
    /* font-size: 14px; */
}

.chart_table .top_legend.right span {
    left: -66px;
}

.chart_table.turnover .top_legend.right span {
    left: 20px;
    top: -10px;
}

.chart_table.turnover .top_legend.left span {
    right: 20px;
    top: -10px;
}


.chart_table .flow_in_area {
    border-left: 1px solid #000000;
}

.chart_table.stock .flow_out_area,
.chart_table.etf .flow_out_area,
.chart_table.warrant .flow_out_area,
.chart_table.cbbc .flow_out_area,
.chart_table.top10 .flow_out_area {
    border-right: 1px solid #000;
}


.chart_table .bar_containers {
    width: 100%;
    height: 100%;
    position: relative;
}

.chart_table .bar {
    height: 16px;
    display: inline-block;
    position: relative;
    z-index: 11;
    float: left;
    z-index: 3;
    margin-top: 0px;
    transition: all 0.7s ease-out;
    opacity: 1;
}

.chart_table.turnover .bar {
    background-color: #EE3324;
}

.chart_table.top10 .bar {
    background-color: #EE3324;
}

.chart_table .bar.active {
    width: 0 !important;
}

.chart_table .bar.call {background-color: #4D7AA7;}
.chart_table .bar.put {background-color: #ed8b00;}
.chart_table .bar.bull {background-color: #1c6a64;}
.chart_table .bar.bear {background-color: #a38123;}
.chart_table .bar.long {background-color: #1a7b99;}
.chart_table .bar.short {background-color: #e26e00;}



.chart_table.top10 .bar.call {background-color: #4D7AA7;}
.chart_table.top10 .bar.put {background-color: #ed8b00;}
.chart_table.top10 .bar.bull {background-color: #1c6a64;}
.chart_table.top10 .bar.bear {background-color: #a38123;}
.chart_table.top10 .bar.long {background-color: #1b435b;}
.chart_table.top10 .bar.short {background-color: #8b460e;}



.chart_table.turnover .bar.call {background-color: #4D7AA7;}
.chart_table.turnover .bar.put {background-color: #ed8b00;}
.chart_table.turnover .bar.bull {background-color: #1c6a64;}
.chart_table.turnover .bar.bear {background-color: #a38123;}
.chart_table.turnover .bar.long {background-color: #1b435b;}
.chart_table.turnover .bar.short {background-color: #8b460e;}



.chart_table .flow_out_area .bar {
    float: right;
}

.chart_table .bars .data {
    font-size: 14px;
    line-height: 16px;
    margin-left: 5px;
    float: left;
    position: relative;
    z-index: 2;
}

.chart_table .flow_out_area .data {
    float: right;
    padding-right: 5px;
	margin-left:0;
}

.chart_table tbody .space td {
    padding: 4px 0;
}






.chart_table .number td {
    border: 1px solid #000;
    border-left: none;
    border-right: none;
    padding: 0px !important;
    line-height: 25px;
}

.chart_table.turnover .number td {
    border-bottom: none
}


.chart_table .num_box {
    position: relative;
    width: 100%;
    height: 100%;
}

.chart_table .num_box div {
    width: 30px;
    font-size: 14px;
    float: left;
    text-align: center;
    line-height: 25px;
    margin-left: calc(20% - 30px);
}
@media only screen and (max-width: 767px){
.chart_table{ border-bottom:1px solid #000;}
.chart_table tr.number, .chart_table tr.stamp{
	display:none;
}
}

.chart_table .num_box div.first {
    margin-left: -15px !important;
}

.chart_table .right .num_box  div.first{
    font-size: 12px;
    color: #FFF;
}

.chart_table .num_box div.last {
    position: absolute;
    right: -15px;
}

.chart_table .num_box span {
    position: absolute;
    width: 1px;
    height: 263px;
    background: #efefef;
    bottom: 26px;
}

#money_flow.inside_content.stock .right_area .chart_table .num_box span {
	height: 392px;
}

#money_flow.inside_content.stock .right_area .chart_table tbody td{
	padding:2px 0;
}

#money_flow.inside_content.stock .right_area .chart_table tbody td{
	line-height:17px;
}

.chart_table .num_box .line1 {
    left: 0;
}

.chart_table .num_box .line2 {
    left: 20%;
}

.chart_table .num_box .line3 {
    left: 40%;
}

.chart_table .num_box .line4 {
    left: 60%;
}

.chart_table .num_box .line5 {
    left: 80%;
}

.chart_table .num_box .line6 {
    left: 100%;
}

.chart_table .stamp td {
    padding: 0 !important;
    font-size: 12px;
}

.chart_table .stamp td .timer {
    margin-top: 0;
    line-height: 38px;
    position: relative;
    width: 100%;
    height: 100%;
    font-size: 14px;
}

.chart_table .stamp td .timer {
    line-height: 20px;
}


.chart_table .stamp td .mid_text {
    width: 200px;
    right: -100px;
    text-align: center;
    position: absolute;
    /* font-family: Arial, Helvetica, sans-serif; */
}

.chart_table .stamp td.mid_txt {
    text-align: center;
}

.chart_table.top10 .stamp td.mid_txt {
    position: relative;
}

.chart_table.top10 .stamp td.mid_txt div {
    position: absolute;
    margin-top: 0px;
    left: 0;
    width: 250px;
    margin-left: -30px;
    top: 0;
}

.chart_table .stamp td.right_txt {
    text-align: right
}

.chart_table.stock .stamp td .mid_text,
.chart_table.etf .stamp td .mid_text,
.chart_table.warrant .stamp td .mid_text,
.chart_table.cbbc .stamp td .mid_text,
.chart_table.top10 .stamp td .mid_text {
    width: 231px;
    right: 7%;
    margin: 0 auto;
    left: 0;
    text-align: center;
    position: absolute;
    /* font-family: Arial, Helvetica, sans-serif; */
}

.chart_table .chart_tooltip {
    border-radius: 5px;
    background: #242527;
    color: #fff;
    padding: 5px 10px;
    width: 200px;
    position: absolute;
    z-index: 100;
    font-size: 14px;
    opacity: 0;
    top: -16px;
    right: -255px;
    margin: 0 -15px 0 0;
    transition: all 0.2s ease-out;
    pointer-events: none;
}

.chart_table.turnover .chart_tooltip {
    background: #ee3324;
}

.chart_table.top10 .chart_tooltip {
    background: #ee3324;
}



.chart_table .bar .chart_tooltip span {
    line-height: normal;
    margin: 0;
    font-size: 14px;
    line-height: 1.5
}

.chart_table .bar:hover .chart_tooltip {


    display: block;
    margin: 0px;
    opacity: 1;

}

.chart_table .flow_out_area .chart_tooltip {
    top: -16px;
    left: -255px;
    margin: 0 0 0 -15px;
}

.chart_table .bar.call .chart_tooltip {background-color: #4D7AA7;}
.chart_table .bar.put .chart_tooltip {background-color: #ed8b00;}
.chart_table .bar.bull .chart_tooltip {background-color: #1c6a64;}
.chart_table .bar.bear .chart_tooltip {background-color: #a38123;}
.chart_table .bar.long .chart_tooltip {background-color: #1a7b99;}
.chart_table .bar.short .chart_tooltip {background-color: #e26e00;}

.chart_table.turnover .bar.call .chart_tooltip {background-color: #4D7AA7;}
.chart_table.turnover .bar.put .chart_tooltip {background-color: #ed8b00;}
.chart_table.turnover .bar.bull .chart_tooltip {background-color: #1c6a64;}
.chart_table.turnover .bar.bear .chart_tooltip {background-color: #a38123;}
.chart_table.turnover .bar.long .chart_tooltip {background-color: #1b435b;}
.chart_table.turnover .bar.short .chart_tooltip {background-color: #8b460e;}

.chart_table.top10 .bar.call .chart_tooltip {background-color: #4D7AA7;}
.chart_table.top10 .bar.put .chart_tooltip {background-color: #ed8b00;}
.chart_table.top10 .bar.bull .chart_tooltip {background-color: #1c6a64;}
.chart_table.top10 .bar.bear .chart_tooltip {background-color: #a38123;}
.chart_table.top10 .bar.long .chart_tooltip {background-color: #1b435b;}
.chart_table.top10 .bar.short .chart_tooltip {background-color: #8b460e;}



.chart_table tbody td.left_remark {
    padding-left: 2%;
}



.bar:hover {
    background-image: url(../images/bar_bg.png);
}

@-webkit-keyframes test {
    0% {
        background-position: 10px 0px
    }

    100% {
        background-position: -9999px 0px
    }
}

.bar:hover {
    -webkit-animation-name: test;
    -webkit-animation-duration: 700s;
    -webkit-animation-iteration-count: 999;
    -webkit-animation-timing-function: linear;
}


#type_index .chart_table .num_box span {
	height: 275px;
    bottom: 26px;
}

#chart_table_wnt.chart_table .num_box span{
	height:275px;
}
#chart_table_cbbc.chart_table .num_box span{
	height:275px;
}

.home #type_index .chart_table .num_box span {
    height: 288px;
}

.home #chart_table_wnt.chart_table .num_box span {
    height: 275px;
}

#type_index .chart_table#chart_table_index .num_box span, #type_long .chart_table#chart_table_long .num_box span, #type_short .chart_table#chart_table_short .num_box span {
height: 424px;
    bottom: 1px;
}

.chart_table .num_box span {
    height: 476px;
    bottom: 1px;
}
colgroup.show{
    display: none;
}
#chart_table_wnt.chart_table .num_box span,#chart_table_cbbc.chart_table .num_box span {
    height: 264px;
}


@media only screen and (max-width: 767px){
.chart_table.stock#chart_table_index tbody td.name span,
.chart_table.warrant tbody td.name span{
    display: block;
}

colgroup.show{
    display: table-column-group !important;
}


}

.home #type_index .chart_table#chart_table_index .num_box span{
    height: 420px;
}

.home .chart_table.stock#chart_table_index tbody td.name span,.home  .chart_table.warrant tbody td.name span {
    display: block;
}
.chart-name{
    position: absolute;
    left: 0;
    transform: rotate(90deg);
    white-space: nowrap;
    margin-left: -30px;
    top: 105px;
}
.chart-name.top5-name-2{
margin-left: -36px;
}
@media (max-width: 992px) {
    .chart_table {
        font-size: 14px;
    }
    .chart_table tbody .focus {
        /* padding-left: 10px !important; */
        /* padding-right: 10px !important; */
        /* width: 200px; */
    }
}
.mid-use{
    display: none;
}
@media (max-width: 1100px) {

    .mid-use {
        display: table-column-group !important
    }
        .hide-mobile{
            display: none !important
        }
}
@media (max-width: 767px) {
.hide-mobile,.mid-use{
    display: none !important
}
.chart_table .top_legend span{
    display: block;
    right: -42px;
}
.chart_table .top_legend.right span {
    left: -58px;
}
.chart_table.etf tbody td.name{
    line-height: 20px;
}
.chart_table .bars .data{
    float: none;
    display: block;
    margin-top: 3px;
    margin-left: 3px;
    margin-right: 3px;
    width: 100%;
}
.chart_table .bar{
    float: none;
}
.flow_out_area .data{
    text-align: right;
}
.chart_table .flow_out_area .bar {
    /* float: none; */
}
.chart_table .flow_out_area .data {
    float: right !important;
    padding-right: 0 !important;
}
.mf-chart{
    margin-left: -1rem;
    margin-right: -1rem;
}
.chart-name {
    margin-left: -24px;
}

.chart-name.top5-name-2{
    margin-left: -28px;
}

.chart_table .bar.long .chart_tooltip{
    display: none !important
}

}

.chart_table .numer_area.right .num_box div {
    text-indent: 24px;
}

.result-table{
    overflow-x: auto
}

.table.e-table {
    width: auto;
    min-width: 100%;
}

.chart_table.etf tbody td.name a{
    text-decoration: underline;
}

.result-table .underlying a{
    text-decoration: underline;
}

.result-table .table__td span.call,.result-table .table__td span.put{
    display: inline-block;
    width: 140px;
}

.result-table .table__td span+span {
    /* margin-left: 1rem; */
}

@media (max-width: 992px) {
    .result-table .table__td span.call,
        .result-table .table__td span.put {
        display: block;
        margin-left: 0 !important;
        width: auto;
    }


}