﻿
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, select, textarea, input, button {
    font-family: "微軟正黑體","Tahoma";
}


.modal {
    text-align: center;
    padding: 0 !important;
}

    .modal:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px;
    }

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.modal-header-airgo {
    border-radius: 5px;
    background-color: DodgerBlue;
    padding: 5px;
    margin: 5px 5px 0;
}

.CaseBox {
    background-color: transparent;
    margin: 0 auto;
    width: 99%;
    padding: 3px 3px;
    border-radius: 8px;
    behavior: url(pie/PIE.htc); /* IE6, IE7, IE8 */
    font-size: 12px;
    line-height: 22px;
    margin-bottom: 10px;
}

    .CaseBox .TdBg {
        border: 1px #e6e4e4 solid;
        background-color: #fff;
        vertical-align: middle;
        height: 22px;
    }

    .CaseBox .TdBt {
        text-align: right;
        vertical-align: middle;
        height: 22px;
    }

.ui-datepicker-header select.ui-datepicker-month,
.ui-datepicker-header select.ui-datepicker-year {
    height: 24px;
}

.ui-dialog {
    z-index: 2200;
}

    .ui-dialog .ui-dialog-titlebar {
        background: #d25353;
        border: 1px solid #d25353;
        color: #fff;
        font-size: 11pt;
        font-weight: normal;
        font-family: Tahoma,微軟正黑體;
    }

.gv_List tr th {
    text-align: center !important;
    border: 1px solid #ffffff;
}

.gv_List tr td {
    /*border: 1px solid #ffffff;*/
    border-top: 0px solid #ffffff;
    border-bottom: 1px solid #cccccc;
    border-left: 0px solid #ffffff;
    border-right: 0px solid #ffffff;
    padding: 4px 3px 4px 3px;
}

.gv_List tr:first-child td {
    border: 0;
    padding: 4px 3px 4px 3px;
}

.gv_no_data td {
    border: 0;
    font-family: Tahoma,微軟正黑體;
    background-color: #fff;
    padding-left: 15px;
}

.gv_head {
    font-family: Tahoma,微軟正黑體;
    text-align: center;
}

.p_info {
    font-size: 1.2em;
    color: blue;
    background-color: transparent;
    width: 99%;
    font-family: 微軟正黑體;
    padding: 3px 5px 3px 5px;
    vertical-align: bottom;
}

.alert_msg {
    font-size: 11pt;
    font-family: 微軟正黑體;
    width: 95%;
    color: #111111;
}

.input_tip {
    font-size: 1em;
    font-family: Tahoma,微軟正黑體;
    color: #909090;
}

.btn {
    text-align: center;
    vertical-align: top;
}

.tb_input_ch {
    border: 1px #aaaaaa solid;
    background-color: #ffffff;
    text-align: left;
    height: 16px;
    font-family: Tahoma,微軟正黑體;
    font-size: 1.2em;
    color: maroon;
}

.tb_input_ch_l_fs {
    border: 1px #aaaaaa solid;
    background-color: #ffffff;
    text-align: left;
    height: 16px;
    font-family: Tahoma,微軟正黑體;
    font-size: 1.0em;
    color: maroon;
}

.tb_input_ch_c_fs {
    border: 1px #aaaaaa solid;
    background-color: #ffffff;
    text-align: center;
    height: 16px;
    font-family: Tahoma,微軟正黑體;
    font-size: 1.0em;
    color: maroon;
}

.tb_input_en {
    border: 1px #aaaaaa solid;
    background-color: #ffffff;
    text-align: left;
    height: 16px;
    font-family: Tahoma;
    font-size: 1.2em;
    color: maroon;
}

.tb_input_en_c {
    border: 1px #aaaaaa solid;
    background-color: #ffffff;
    text-align: center;
    height: 16px;
    font-family: Tahoma;
    font-size: 1.2em;
    color: maroon;
}

.tb_input_cbl {
    border: 0;
    background-color: #ffffff;
    text-align: left;
    font-family: Tahoma,微軟正黑體;
    font-size: 1.2em;
    color: maroon;
    font-weight: normal;
    padding: 0;
    height: 10px;
}

    .tb_input_cbl td {
        height: 10px;
        font-weight: normal;
    }

    .tb_input_cbl label {
        height: 10px;
        font-weight: normal;
        font-family: Tahoma,微軟正黑體;
        font-size: 1.4rem;
        color: maroon;
    }

.tb_input_rbl {
    border: 0;
    background-color: #ffffff;
    text-align: left;
    font-family: Tahoma,微軟正黑體;
    font-size: 1.2em;
    color: maroon;
    font-weight: normal;
    padding: 0 0 0 0;
    height: 10px;
}

    .tb_input_rbl td {
        width: 100px;
        height: 10px;
        text-align: left;
        padding: 0 0 0 0;
        font-weight: normal;
    }

    .tb_input_rbl label {
        height: 10px;
        font-weight: normal;
        font-family: Tahoma,微軟正黑體;
        font-size: 1.4rem;
        color: maroon;
    }

.tb_input_rbl_w {
    border: 0;
    background-color: #ffffff;
    text-align: left;
    font-family: Tahoma,微軟正黑體;
    font-size: 1.2em;
    color: maroon;
    font-weight: normal;
    padding: 0 0 0 0;
    height: 10px;
}

    .tb_input_rbl_w td {
        width: 120px;
        height: 10px;
        text-align: left;
        padding: 0 0 0 0;
        font-weight: normal;
    }

    .tb_input_rbl_w label {
        height: 10px;
        font-weight: normal;
        font-family: Tahoma,微軟正黑體;
        font-size: 1.4rem;
        color: maroon;
    }

.div_input_title {
    float: left;
    text-align: right;
    height: 25px;
    padding-top: 2px;
    border: 1px solid #fff;
    font-family: Tahoma,微軟正黑體;
    font-size: 1.2em;
    font-weight: normal;
    vertical-align: middle;
}

.div_input {
    float: right;
    text-align: left;
    border: 1px solid #fff;
}

.div_text {
    text-align: left;
    padding-top: 3px;
    font-family: Tahoma,微軟正黑體;
    font-size: 1.2em;
    padding-left: 5px;
}

.div_label {
    float: right;
    text-align: left;
    padding-top: 3px;
    font-family: Tahoma,微軟正黑體;
    font-size: 1.2em;
    color: maroon;
    padding-left: 5px;
}

.div_label_red {
    float: right;
    text-align: left;
    padding-top: 3px;
    font-family: Tahoma,微軟正黑體;
    font-size: 1.2em;
    color: #ef0000;
    padding-left: 5px;
}

.txt_label {
    font-family: Tahoma,微軟正黑體;
    font-size: 1.2em;
    color: maroon;
}

.txt_blue {
    font-family: Tahoma,微軟正黑體;
    font-size: 1.0em;
    color: #2222ff;
}

.txt_loading {
    font-family: Tahoma,微軟正黑體;
    font-size: 1.2em;
    color: #004080;
}

.txt_info {
    font-family: Tahoma,微軟正黑體;
    font-size: 0.9em;
    color: #29a3a3;
}

.txt_alert {
    font-family: Tahoma,微軟正黑體;
    font-size: 1.2em;
    color: #ee2222;
}

.txt_tip {
    font-family: Tahoma,微軟正黑體;
    font-size: 1.0em;
    color: #555555;
}

.lbtn_blue {
    text-align: center;
    font-size: 1.2em;
    color: #2222ff;
    font-family: Tahoma,微軟正黑體;
    text-decoration: none;
}

.ddl_Page_blue {
    font-family: Tahoma,微軟正黑體;
    font-size: 1.0em;
    color: #2222ff;
}

.uploadfile {
    font-family: Tahoma,微軟正黑體;
    font-size: 1.0em;
    padding: 2px 2px 2px 2px;
    color: Maroon;
    display: inline-block;
}

ol {
    margin: 0; /*因為radiobuttonlist會使用ol讓後面元素掉下去*/
}


.form-horizontal {
    overflow: hidden;
}

    .form-horizontal div.FormTitle {
        margin-bottom: 20px;
    }

    .form-horizontal span {
        margin: 0px 3px 0px 3px;
        line-height: 26px;
    }

.aspNetDisabled span {
    margin: 0;
}

.form-horizontal div.narrow, .form-horizontal div.wide {
    background-color: white;
    float: left;
    margin: 5px;
    padding: 5px;
    font-family: "Tahoma,微軟正黑體", Times, serif;
    font-size: 14px;
}

.form-horizontal div.wide {
    width: calc(100% - 10px);
}

.form-horizontal div.narrow {
    width: calc(100%/2 - 10px);
}

.form-horizontal label {
    font-weight: 400;
    margin: 0;
    width: 110px;
    float: left;
    display: inline-block;
    text-align: right;
    padding: 0px 10px 0px 0px;
    line-height: 22px;
    white-space: nowrap;
}

    .form-horizontal label.required {
        color: #d9534f;
    }

.form-horizontal div input {
    width: 110px;
}

.order div input {
    width: 250px;
}

.form-horizontal div select {
    height: 26px;
}

.actionbar {
    text-align: right;
    float: right;
    padding: 5px;
}

.pagebar {
    font-family: Tahoma,微軟正黑體;
    font-size: 1.0em;
    padding: 4px;
    margin: 20px 0 8px 0;
}

    .pagebar span, .pagebar select {
        color: #2222ff;
        margin: 0 8px 0 8px;
    }

.gridviewtable {
    font-family: Tahoma,微軟正黑體;
    border: 1px solid #ffffff;
}

    .gridviewtable th {
        color: White;
        background-color: #0768C5;
        font-weight: bold;
        height: 25px;
        padding: 5px 10px 5px 10px;
        text-align: center;
        word-break: keep-all;
    }

    .gridviewtable tr {
        border-bottom: 1px solid #cccccc;
    }

    .gridviewtable td {
        padding: 5px 10px 5px 10px;
        word-break: keep-all;
        white-space: nowrap;
    }

.gridviewDetail, .gridviewDetail td, .gridviewDetail tr {
    border: 0px;
}

    .gridviewDetail th {
        color: White;
        background-color: gray;
        font-weight: bold;
        height: 25px;
        padding: 5px 10px 5px 10px;
        text-align: center;
        word-break: keep-all;
    }

.member div input[type=text], .member div select {
    width: calc(100% - 110px);
}

.member div input[type=text], .member div select {
    width: calc(100% - 110px);
}

.alert_text {
    color: #ee2222;
}

div.Required label::before {
    content: "*";
    color: red;
}

.Note {
    float: left;
    width: 100%;
    text-align: center;
    background-color: #ffff66;
    color: #ee2222;
    padding: 5px;
}

input.error[type=text] {
    border: 1px solid red;
}

.radio label:nth-child(n+2) {
    width: auto;
    text-align: left;
    padding: 0px 7px 0px 20px;
}

.radio input[type="radio"] + label:before {
    top: 3px;
    border-radius: 50%;
}

.radio input[type="radio"]:checked + label:after {
    top: 8px;
}


/* Jquery UI Dialog */

.custom-ui-widget-header-info .ui-dialog-titlebar {
    background-color: #11a0f6;
    border: 1px solid #11a0f6;
}

.custom-ui-widget-header-alert .ui-dialog-titlebar {
    background-color: #d25353;
    border: 1px solid #d25353;
}


/* 付款視窗 */

.Pay h4 {
    text-align: center;
    font-weight: bold;
}

.Pay div.wide {
    width: calc(100% - 10px);
    padding: 5px 0 5px 0;
}

.Pay div.narrow {
    width: calc(100%/2 - 10px);
    display: inline-block;
}

.Pay .form select, .Pay .form input {
    height: 28px;
}

.Pay label {
    font-weight: 400;
    margin: 0;
    width: 110px;
    float: left;
    display: inline-block;
    text-align: right;
    padding: 0px 10px 0px 0px;
    line-height: 26px;
    white-space: nowrap;
}

.Pay select {
    box-sizing: border-box;
    border-width: 1px;
    padding: 2px 1px;
}

.Pay div.narrow input[type=text] {
    width: calc(100% - 110px);
}

.Pay div.narrow select {
    width: calc((100%/2 -120px)/2 );
}

.pay_detail {
    clear: both;
}

.Pay label {
    height: 26px;
}

.detail_list li {
    margin: 0 20px;
    text-align: right;
    line-height: 26px;
    border-bottom: 1px dotted gray;
}

.detail_list span {
    width: 40%;
    float: left;
    text-align: left;
}


.Pay .addr addr {
    width: 30px;
}

.Pay .addr input[type=text] {
    width: calc(100% - 260px);
}

.paylist th {
    text-align: center;
}

.paylist label {
    font-weight: initial;
    margin: 0;
    width: auto;
    height: auto;
    float: none;
    display: inline-block;
    text-align: right;
    padding: 0px 0px 0px 25px;
    line-height: initial;
    white-space: nowrap;
}
