﻿html, body {
    width: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

input::-ms-clear{
    display:none;
}

select {
    font-size: 12px;
}

@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    select {
        font-size: 12px;
    }
}

.center_dialog {
    position: absolute;/*fixed*/
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
    height:100%;
    width:100%;
}

.position_loading {
    top: 10%;
}

.dialog_main_frame {
    min-width: 300px;
    max-width: 600px;
    z-index: 2000;
    /*padding: 5px;*/
    border-radius:15px;
}

.dialog_hover {
    z-index: 1500;
    width: 100%;
    height: 100%;
}

.dialog_title {
    font-weight: bold;
    height:40px;
    line-height:40px;
    font-size:18px;
    border-top-left-radius:inherit;
    border-top-right-radius:inherit;
   

}

.risk_disclaimer_dialog_content {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 400px;
}

.dialog_content {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 400px;
}

.dialog_content_list {
    padding-left: 10px;
    padding-right: 10px;
}

    .dialog_content_list table {
        text-align: left;
    }

    .dialog_content_list div.list_header {
        display: inline-block;
        font-weight: bold;
        padding-right: 30px;
        padding-bottom: 20px;
    }

    .dialog_content_list div.list_data {
        display: inline-block;
        padding-bottom: 20px;
    }

    .custom_sortorder_main_frame div.dialog_content{
        height:340px;overflow-y:scroll;
        margin-bottom:5px;
        margin-top:5px;

    }

    .custom_sortorder_main_frame div.risk_disclaimer_dialog_content{
        height: 340px;
        overflow-y: scroll;
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .datatable_detail_main_frame .dialog_title{
        
    }
    .datatable_detail_main_frame .dialog_title div{
        text-align:center;
        
    }

    .btn-datatabledetail-modify2.green {
        color: white;
        background-color: rgb(61,198,78);
        border: 1px solid rgb(61,198,78);
        border-radius: 4px;
        margin-top: 2px;
        cursor: pointer;
    }

    .btn-datatabledetail-cancel2.red {
        color: white;
        background-color: rgb(204,1,2);
        border: 1px solid rgb(204,1,2);
        border-radius: 4px;
        margin-top: 2px;
        cursor: pointer;
    }

    .btn-datatabledetail-modify2 {
        margin-left: 5px;
    }

    .btn-datatabledetail-cancel2 {
        margin-left: 5px;
    }

    .btn-datatabledetail-modify.green{
        color:rgb(3, 181, 25);
    }

    .btn-datatabledetail-cancel.red{
        color:rgb(204, 1, 2);
    }

    .btn-datatabledetail-modify{
        margin-left:10px;
        text-decoration:underline;
    }
    .btn-datatabledetail-cancel{
        margin-left:10px;
        text-decoration:underline;
    }

.list_data select {
    width: 150px;
    font-weight: bold;
}

.dialog_main_button {
    text-align: center;
    padding-bottom: 10px;
    padding-top: 10px;
}

    .dialog_main_button button {
        min-width: 70px;
    }

.dialog_button {
    text-align: center;
    min-height:40px;
    padding:5px 5px 5px 5px;
    
}

    .dialog_button button {
        border: 0px;
        width: 150px;
        font-size:14px;
        height: 30px;
        line-height:20px;
        cursor:pointer;
        font-weight:bold;
        padding-top:-5px;
    }

    .dialog_button button:disabled,
    .dialog_button button[disabled] {
        opacity: 0.6;
    }


    .dialog_button button.short{
        width:110px;
    }
.dialog_warningmsg {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 12px;
}

@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    .dialog_warningmsg {
        font-size: 12px;
    }
}

.dialog_main_button {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.changePW_notice {
    line-height: 1em;
    font-size: 12px;
}

    .changePW_notice p {
        margin: 5px;
    }

@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    .changePW_notice {
        font-size: 12px;
    }
}

.changePW table {
    width: 100%;
}

.changePW p,
.subAccountLogin p{
    text-align: right;
    margin: 0px;
}

.changePW input {
    text-align: left;
}

.ipo_dialog_title {
    font-weight: bold;
    padding-top: 5px;
    padding-left: 10px;
}

.ipo_dialog_areement {
    font-weight: bold;
    padding-left: 10px;
}

.ipo_dialog_button {
    text-align: left;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 10px;
}

.ipo_button_bg {
    padding-bottom: 20px;
    padding-top: 20px;
}

.ipo_content {
    padding-top: 30px;
    padding-bottom: 30px;
}

.ipo_main_frame {
    position: fixed;
    top: 35%;
    left: 30%;
    min-width: 300px;
    max-width: 600px;
    z-index: 2000;
}

.ipo_item_details_frame {
    min-width: 710px;
}

.ipo_item_title {
    font-size: 12px;
    padding-left: 13px;
}

@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    .ipo_item_title {
        font-size: 12px;
    }
}

.ipo_item_content {
    padding-left: 10px;
    font-size: 12px;
}

    .ipo_item_content table {
        font-size: 12px;
    }

@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    .ipo_item_content {
        font-size: 12px;
    }

        .ipo_item_content table {
            font-size: 12px;
        }
}

.icbci_comfirm_order_frame {
    min-width: 450px;
}

.comfirm_order_frame {
    min-width: 500px;
}

.comfirm_order_title {
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 12px;

}

.comfirm_order_title_2 {
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 12px;
    border-bottom: 1px solid #cfcfcf;
}


@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    .comfirm_order_title {
        font-size: 12px;
    }
}

.icbci_comfirm_order_content {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 60px;
    font-size: 12px;
    max-width: 700px;
    font-weight: bold;
}

.icbci_comfirm_order_content table {
    font-size: 12px;
}

.comfirm_order_content {
    padding-left: 80px;
    font-size: 12px;
    max-width: 700px;
    font-weight: bold;
}

    .comfirm_order_content table {
        font-size: 12px;
    }

@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    .comfirm_order_content {
        font-size: 12px;
    }

        .comfirm_order_content table {
            font-size: 12px;
        }
}



@media screen and (max-device-width: 1024px), screen and (max-device-height: 768px) {
    .icbci_comfirm_order_content {
        font-size: 12px;
    }

    .icbcicomfirm_order_content table {
        font-size: 12px;
    }
}


.modify_order_content {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
}

    .modify_order_content table {
        font-size: 12px;
    }

    .modify_order_content .price_minus_button, .modify_order_content .price_add_button, .modify_order_content .trigger_price_minus_button, .modify_order_content .trigger_price_add_button, .modify_order_content .qty_minus_button, .modify_order_content .qty_add_button {
        -webkit-appearance: none;
        -webkit-border-radius: 0;
        font-family: Arial, sans-serif;
        font-size-adjust: 0.5;
    }

@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    .modify_order_content {
        font-size: 12px;
    }

        .modify_order_content table {
            font-size: 12px;
        }
}

.ack_content {
    max-width: 500px;
    padding-top: 30px;
    height: 100px;
}

    .ack_content p {
        font-weight: bold;
        margin: 0px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .ack_content .changePW_notice p::first-line {
        padding-top: 15px;
    }

    .ack_content .changePW_notice {
        font-weight: normal;
        font-size: 12px;
        text-align: left;
    }

@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    .ack_content .changePW_notice {
        font-size: 12px;
    }
}

.custom_sortorder_main_frame{
    min-width: 350px;
    height: 450px;
    font-weight:bold;
}

.custom_sortorder_main_frame .dialog_title div, .custom_sortorder_content div{
    display:inline-block;   
}

.custom_sortorder_main_frame .dialog_title div:first-child, .custom_sortorder_content div:first-child{
    width:70px;
    text-align:center;
    
}


.custom_sortorder_main_frame .dialog_title div:nth-child(2), .custom_sortorder_content div:nth-child(2){
    width:140px;
    text-align:left;
    padding-left:10px;
    
}

.custom_sortorder_main_frame .dialog_title div:nth-child(3), .custom_sortorder_content div:nth-child(3){
    width:90px;
    text-align:left;
    margin-left:10px;
}

.custom_sortorder_content{
    text-align:left;
    padding:0px;
}

.custom_sortorder_content{
    width: 350px;
    max-width: 350px;
}


.custom_sortorder_content div{
    height :35px;
    line-height:35px;
    
}

.custom_sortorder_content{
    border-bottom:1px solid silver;
}

.ack_main_frame {
    min-width: 500px;
    height: 230px;
    
}

.acct_setting_content {
    margin-top:10px;
    width: 500px;
    max-width: 500px;
}

.acct_setting_button {
    padding-top: 20px;
}

.tsd_content {
    height:170px;
    max-height:170px;
    overflow-y:auto;
    max-width: 490px;
    min-width: 490px;
    width: 490px;
    padding-left: 0px;
    padding-right:0px;
}

.tsd_frame {
    height: 250px;
}

.tsd_button {
    position: relative;
    bottom: 0px;
}

.tsd_content table{
    font-size: 12px;
    text-align: right;
    width: 100%;
}

.tsd_content td{
    padding-right:2px;
}

@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    .tsd_content table {
        font-size: 12px;
    }
}

.tsd_content th {
    background: url("../images/Trade/tb_header_bg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-left: 5px;
    padding-right: 5px;
}

.loading_main_frame {
    height: 150px;
}

.loading_position {
    height: 100px;
}

.calc_fee_content {
    padding-left: 20px;
    padding-left: 20px;
    max-width: 460px;
}

    .calc_fee_content table {
        font-size: 12px;
    }

@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    .calc_fee_content table {
        font-size: 12px;
    }
}

.calc_fee_desp_table {
    text-align: right;
    border-spacing: 0px;
}

    .calc_fee_desp_table th {
        padding-right: 4px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .calc_fee_desp_table td {
        padding-right: 4px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

        .calc_fee_desp_table td:first-child {
            font-weight: bold;
        }

    .calc_fee_desp_table th {
        background-image: url(../images/Trade/tb_header_bg.png);
        background-size: 100% 23px;
    }

.calc_fee_action_table td:nth-child(2) {
    width: 212px;
}

.calc_fee_action_table .cfd_price_minus_button, .calc_fee_action_table .cfd_price_add_button, .cfd_qty_minus_button, .cfd_qty_add_button, .cfd_action_buy_button, .calc_fee_action_table .cfd_action_sell_button {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    font-family: Arial, sans-serif;
    font-size-adjust: 0.5;
    outline: none;
}

#cfd_input_price, #cfd_input_qty {
    padding: 0px;
    outline: none;
}

.calc_fee_action_table .cfd_action_buy_button, .calc_fee_action_table .cfd_action_sell_button {
    padding: 3px 6px;
    display: block;
    float: left;
}

    .calc_fee_action_table .cfd_action_buy_button, .calc_fee_action_table .cfd_action_sell_button:focus {
        outline: 0;
    }



.device_management_main_frame {
    min-height: 300px;
    max-height: 500px;
}

.first_disclaimer_main_frame {
    max-height: 500px;
}

.first_disclaimer_content {
    max-width: 580px;
    width: 580px;
    max-height: 400px;
    overflow-y: auto;
    margin-top:5px;
}

    .first_disclaimer_content p, .first_disclaimer_content ol{
        font-size: 12px;
        text-align: left;        
    }

    .first_disclaimer_content div {
        font-size: 12px;
        text-align: left;
        margin-bottom:15px;
    }

@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    .first_disclaimer_content p {
        font-size: 12px;
    }
}


.dialog_main_button .close_button {
    border: 1px solid rgb(100,100,100);
    background-color: rgb(100,100,100) !important;
}


.dialog_main_button .confirm_button {

    border: 1px solid rgb(25,77,179);
    background-color: rgb(25,77,179);
}

.device_management_disclaimer_content {
    max-height: 400px;
    min-height: 250px;
    overflow-y: auto;
    margin-top: 5px;
    text-align: left;
    font-size: 13px;
}


.device_management_content_item {
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid rgb(207,207,207);
    padding-bottom: 5px;
}

.device_management_name_item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 280px;
    display: inline-block;
    margin-top: 10px;
    margin-left: 10px;
}

.device_management_unbind_button {
    text-align: center;
    padding: 5px 5px 0px 5px;
    display: inline-block;
    float: right;
    margin-right:10px;
}

.device_management_unbind_button button {
    border: 0px;
    font-size: 14px;
    height: 30px;
    line-height: 20px;
    cursor: pointer;
    font-weight: bold;
    padding-top: -5px;
}

.device_management_unbind_button button:disabled,
.device_management_unbind_button button[disabled] {
    opacity: 0.6;
}

.combine_disclaimer_content {
    max-width: 580px;
    width: 580px;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 5px;
}


.combine_disclaimer_content p {
    font-size: 12px;
    text-align: left;
        
}

    .combine_disclaimer_content div {
        font-size: 12px;
        text-align: left;
        margin-bottom:15px;
    }

        .combine_disclaimer_content li {
        text-align: left;
        font-size:14px;
    }

@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    .combine_disclaimer_content p {
        font-size: 12px;
    }
}
.order_cancelled_content {
    font-weight: bold;
    font-size: 12px;
}

@media screen and (max-device-width: 1024px) , screen and (max-device-height: 768px) {
    .order_cancelled_content {
        font-size: 12px;
    }
}


.twofactor_resendbutton {
    margin-right: 10px;
    text-align: center;
    display: block;
    color: red;
    min-height: 15px;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

.twofactor_resendbutton.disable {
    color: grey;
    text-decoration:none;

}
