/*reset css*/
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 {
    margin: 0;
    padding: 0;
    border: 0;
}

a, button {
    outline: medium none;
    text-decoration: none;
}

body, input, textarea, .btn-link, .btn-link-dialog, option {
    font-family: "微軟正黑體",Arial, Helvetica, sans-serif,"新細明體";
}

body, html {
    height: 100%;
}

.wrap {
    min-height: 100%;
}

.placeholder {
    color: #aaa;
}

/*clear float*/
.clear::before, .clear::after {
    content: "";
    display: table;
}

.clear::after {
    clear: both;
}

.clear {
    zoom: 1; /*IE6, IE7*/
}


/*content------------------------------------------------------------------*/
.content {
    padding: 10px;
    font-size: 14px;
}

    .content h3 {
        color: #046581;
        font-size: 20px;
        font-weight: bold;
        line-height: 1;
    }

    .content h4 {
        color: #666;
        font-size: 18px;
        font-weight: bold;
        line-height: 1;
    }

.innerBox {
    margin: 15px 0px;
    padding: 20px;
    /*border: solid 1px #d9d9d9;*/
    position: relative;
}

.center {
    margin: 0 auto !important;
}

input {
    padding: 2px 5px;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input[type=text] {
    height: 27px;
}

select {
    font-size: 14px;
    padding: 2px 5px;
}

textarea {
    resize: none;
    padding: 2px 5px;
    font-size: 14px;
}

.innerBox table tr {
}

.innerBox table td, .panel-body table td {
    padding: 4px 6px;
}

.innerBox table.shelf td {
    padding: 1px 2px;
}


.innerBox table .features {
    width: 65px;
    height: 120px;
    font-size: 12px;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.nowrap {
    white-space: nowrap !important;
}

.pull-left {
    float: left !important;
}

.pull-right {
    float: right !important;
}

.text-danger {
    color: #d44950;
}

.text-info {
    color: #31708f;
}

.alert {
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.error-list {
    list-style:decimal;
}

    .error-list li {
        margin-bottom: 3px;
    }

p.msg-code{
    text-align: right;
    font-style: italic;
    color: darkgray;
    margin:0;
    margin-top: 16px;
    padding: 3px 5px;
}

/*通用------------------------------------------------------------------------------------*/

/*Table區塊*/
.table-list {
    width: 100%;
    margin-top: 10px;
}

.table-list th {
    text-align: center;
    vertical-align: middle;
    color: #fff;
    background: #12a554;
    font-weight: bold;
    white-space: nowrap;
}

.table-list td {
    font-size: 14px;
}

.table-list a {
    text-decoration: underline;
    color: #0029FF;
}

.table-list tbody:nth-child(even) > tr:nth-child(even) {
    background-color: #f1fcff;
}

.table-list tbody:nth-child(odd) > tr:nth-child(odd) {
    background-color: #f1fcff;
}

/*.table-list tbody > tr:hover {
    background-color: #7ccce5 !important;
}

.table-list tbody > tr.subTotal{
    background-color:#e9e9e9 !important;*/
/*}*/

.tab-width {
    width: 100%;
}

/*set thead------------------*/
.set-thead {
    text-align: center;
    color: #fff;
    background: #12a554;
    font-weight: bold;
    white-space: nowrap;
}
/*set tbody------------------*/
.set-tbody {
    text-align: center;
    font-size: 14px;
}

    .set-tbody a {
        text-decoration: underline;
        color: #0029FF;
    }

        .set-tbody a:hover {
            text-decoration: none;
        }

span.word {
    margin-right: 10px;
}

div.th {
    font-weight: bold;
    white-space: nowrap;
    padding: 4px 6px;
    width: 90px;
    text-align: right;
    display: inline-table;
}

tr.total {
    background-color: #D1F5FF;
}

/*通用Table*/
.CommonWrap {
    max-width: 1105px;
    min-width: 480px;
    margin: 20px auto;
    background: #FFF;
}

    .CommonWrap .CommonTab {
        margin: 0 auto;
        border: solid 1px #c1c1c1;
        padding: 15px;
    }

        .CommonWrap .CommonTab h3 {
            background: #79818c;
            font-size: 20px;
            color: #fff;
            margin: -15px;
            margin-bottom: 15px;
            text-align: center;
            line-height: 2;
        }

        .CommonWrap .CommonTab .alignL {
            text-align: left;
        }

/*通用表格底下的文字區塊*/
th {
    font-weight: bold;
    white-space: nowrap;
    padding: 4px 6px;
}

.table-form th,
.th {
    width: 90px;
    text-align: right;
    font-weight: bold;
    white-space: nowrap;
    padding: 4px 6px;
}

th em {
    color: #F00;
    margin: 0 5px;
    font-style: normal;
}

.Subtopic {
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
}

.notice {
    color: #00B050;
}

.notice a {
    color: #00B050;
    text-decoration: underline;
}

.notice .btn-link-dialog {
    color: #00B050;
}

/*通用表格底下的input區塊*/
.set-input {
    padding: 10px 0;
}

.enterInput {
    width: 80px;
}

.readonlyInput {
    width: 153px;
    background: #c1c1c1;
}

.nopadding {
    padding: 0 !important;
    white-space: nowrap;
}

.btn, .ui-dialog-buttonset .ui-button {
    display: inline-block;
    padding: 3px 12px 2px 12px;
    margin-bottom: 0;
    font-size: 12px !important;
    font-weight: bold;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: none;
    border: 1px solid transparent;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background-color: #2dbf6f;
    color: white;
}

.ui-dialog-buttonset .ui-button-text{
    padding: 3px 12px;
}

.btn-danger {
    background-color: #F24236;
}

.btn-warning {
    background-color: #ED7D3A;
}

.btn-link {
    background-color: transparent;
    border: none;
    color: #0029FF;
    font-weight: normal;
    font-size: 14px;
    padding: 3px 0;
}

.btn-link-dialog {
    background-color: transparent;
    border: none;
    font-weight: bold;
    font-size: 14px;
    padding: 3px 0;
    text-decoration: underline;
    cursor: pointer;
    color: #000;
}

.table-list th .btn-link-dialog {
    color: #fff;
}

.btn-link-dialog[disabled] {
    text-decoration: none;
    cursor: inherit;
}

.btn-icon {
    display: inline-block;
    width: 16px;
    height: 20px;
    margin: 0;
    margin-right: 4px;
    margin-top: -8px;
    vertical-align: middle;
    background-image: url(images/icon.png);
}

.btn-icon-add {
    width: 16px;
    height: 20px;
    background-position: 0px 0px;
}

.btn-icon-data {
    width: 16px;
    height: 20px;
    background-position: -16px 0px;
}

.btn-icon-editor {
    width: 16px;
    height: 20px;
    background-position: -32px 0px;
}

.btn-icon-print {
    width: 16px;
    height: 20px;
    background-position: -48px 0px;
}

.btn-icon-save {
    width: 16px;
    height: 20px;
    background-position: -64px 0px;
}

.btn-icon-back {
    width: 16px;
    height: 20px;
    background-position: 0px -24px;
}

.btn-icon-search {
    width: 16px;
    height: 20px;
    background-position: -16px -24px;
}

.btn-icon-delete {
    width: 16px;
    height: 20px;
    background-position: -32px -24px;
}

.btn-icon-cancel {
    width: 16px;
    height: 20px;
    background-position: -48px -24px;
}

.btn-icon-clear {
    width: 16px;
    height: 20px;
    background-position: -64px -24px;
}

.btn-icon-sent {
    width: 16px;
    height: 20px;
    background-position: 0px -48px;
}

.btn-icon-export {
    width: 16px;
    height: 20px;
    background-position: -16px -48px;
}

.btn-icon-import {
    width: 16px;
    height: 24px;
    background-position: -64px -46px;
}

.btn:hover, .ui-dialog-buttonset .ui-button:hover {
    background-color: #8ee3f5;
    border: 1px solid #67D1EA;
    color: #2dbf6f;
}

.btn:focus, .ui-dialog-buttonset .ui-button:focus {
    background-color: #8ee3f5;
    border: 1px solid #67D1EA;
    color: #2dbf6f;
}

.btn:active {
    background-color: #67D1EA;
    border: 1px solid #67D1EA;
    color: #2dbf6f;
}

.btn-link:hover {
    background-color: transparent;
    border: none;
    color: #0029FF;
    text-decoration: underline;
}

.btn-danger:hover {
    background-color: #FF9188;
    border: 1px solid #EF6C62;
    color: #A33830;
}

.btn-danger:focus {
    background-color: #FF9188;
    border: 1px solid #EF6C62;
    color: #A33830;
}

.btn-danger:active {
    background-color: #EF6C62;
    border: 1px solid #EF6C62;
    color: #A33830;
}

.btn-warning:hover {
    background-color: #FFAE7E;
    border: 1px solid #FF9A5E;
    color: #CB5B19;
}

.btn-warning:active {
    background-color: #FF9A5E;
    border: 1px solid #FF9A5E;
    color: #CB5B19;
}

fieldset[disabled] .btn, .btn.disabled, .btn[disabled] {
    background-color: ButtonFace;
    color: ButtonShadow;
    cursor: not-allowed;
    text-decoration: none;
}

/*表格文字連結彈出式窗iframe---------------------------*/
.CommonWrap_iframe {
    max-width: 1105px;
    min-width: 480px;
    margin: 20px auto;
    position: absolute;
    top: 130px;
    background: #FFF;
}

    .CommonWrap_iframe .CommonTab {
        margin: 0 auto;
        border: solid 1px #c1c1c1;
        padding: 15px;
    }

        .CommonWrap_iframe .CommonTab h3 {
            background: #79818c;
            font-size: 20px;
            color: #fff;
            margin: -15px;
            margin-bottom: 15px;
            text-align: center;
            line-height: 2;
        }

        .CommonWrap_iframe .CommonTab .alignL {
            text-align: left;
        }

.tabs {
    border: 1px solid #c1c1c1;
    margin-top: 70px;
    padding: 12px 10px;
    display: block;
}

.tabs ul {
    list-style: none;
    position: relative;
    top: -42px;
    left: -9px;
    margin: 0;
    padding: 0;
    height: 0;
}

.tabs ul li {
    display: inline;
    cursor: pointer;
    border: 1px solid #AAA;
    padding: 10px;
    text-align: center;
    background-color: #DDD;
    color: #000;
    margin: -2px;
}

.tabs ul li.active {
    background-color: #FFF;
    border-bottom: 1px solid transparent;
    cursor: initial;
}

.tabs ul li.disabled {
    color: gray;
    cursor: not-allowed;
}

.tabs .non-tab {
    border: none;
    background: none;
}

.tabs .innerBox {
    overflow: auto;
}

.clearfix:after {
    clear: both;
    display: table;
    content: " ";
}
/*六塊Table------------------------------------*/
.FloatWrap {
    width: 900px;
    margin: 20px auto;
    background: #FFF;
}

    .FloatWrap .FloatTab {
        float: left;
        margin: 8px;
        width: 400px;
        height: 430px;
        border: solid 1px #c1c1c1;
        padding: 15px;
    }

/*固定Table*/
.NormalWrap {
    width: 900px;
    margin: 20px auto;
    background: #FFF;
}

    .NormalWrap .FloatTab {
        float: left;
        margin: 8px;
        width: 400px;
        border: solid 1px #c1c1c1;
        padding: 15px;
    }
/*---------------------------六塊Table end---------------------------*/

.bgColor_orange {
    border: solid 1px #f09424;
    background: #ffc742; /* Old browsers */
    background: -moz-linear-gradient(top, #ffc742 0%, #ff8122 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffc742), color-stop(100%,#ff8122)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffc742 0%,#ff8122 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffc742 0%,#ff8122 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffc742 0%,#ff8122 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffc742 0%,#ff8122 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffc742', endColorstr='#ff8122',GradientType=0 ); /* IE6-9 */
}

/*---------------------------Panel-----------------------------*/
.panel {
    margin: 15px 0;
    padding: 0;
}

.panel-heading {
    background-color: #79818c;
    border: solid 1px #79818c;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-align: center;
    padding: 5px 10px;
}

.panel-body {
    border: solid 1px #d9d9d9;
    padding: 20px;
}
/*---------------------------Panel end-------------------------*/

/*---------------------------dialog icon-----------------------------*/
.ui-icon36 {
    width: 36px;
    height: 36px;
    float: left;
    margin-right: 5px;
    background-image: url("images/ui-icons_36.png");
}

.ui-icon-error {
    background-position: 0px 0px;
}

.ui-icon-warning {
    background-position: -36px 0px;
}

.ui-icon-information {
    background-position: -72px 0px;
}

.ui-icon-indent {
    padding-left: 46px;
}

    .ui-icon-indent .error-list {
        margin-left: 20px;
    }
/*---------------------------dialog icon end-------------------------*/

/*---------------------------sidetab---------------------------------*/

/*履歷*/
.record-wrap {
    position: relative;
    width: 100%;
}

.record-menu {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 140px;
    min-height: 20px;
    max-height: 460px;
    padding: 0px;
    display: block;
}

.record-sidebar {
    width: 140px;
    min-height: 20px;
    max-height: 460px;
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
}


.record-content {
    margin-left: 150px;
    min-height: 20px;
    background-color: white;
    overflow: auto;
}

    .record-content .tabs {
        margin-top: 45px;
    }

.record-title {
    color: #79818C;
    line-height: 30px;
    padding: 6px 10px;
    text-align: center;
    font-size: 20px;
}

.btn-date {
    border: 1px solid #AAA;
    display: block;
    padding: 5px 5px;
    background-color: #DDD;
    margin: 2px 0;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    cursor: pointer;
}

    .btn-date span {
        text-align: center;
        font-size: 18px;
        color: #000;
    }

    .btn-date:hover {
        border: 1px solid #DDD;
        background-color: #DDD;
    }

    .btn-date:active {
        border: 1px solid #AAA;
        background-color: #C8C8C8;
    }

    .btn-date.current {
        background-color: #FFF;
    }
/*履歷End*/
.inputfile {
    display: none;
}

input[type=text]::-ms-clear {
     display: none;
}

/*處理中*/
.loading-msg {
    border: 1px solid transparent;
    border-radius: 4px;
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 999;
    width: 230px;
    height: 80px;
}
    .loading-msg .loading-img {
        margin: 25px 10px 30px 20px;
        float: left;
    }
    .loading-msg .loading-text {
        margin-top: 30px;
    }

.blocker {
    display: none;
    width: 100%;
    height: 100%;
    z-index: 998;
    position: absolute;
    top: 0;
    left: 0;
}

.timeout-msg{
    z-index: 1000;
}
/*處理中End*/

/*******標題Banner*******/
div.banner {
    padding: 15px;
    font-size: 20px;
    text-align :center;
}


/*******分隔線*******/
h1.h_line {
    width: 100%;
    height: 25px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #000;
    text-align: center;
}
h1.h_line span {
    font-size: 15px;
    background-color: white;
    padding: 0 10px
}

/*******方塊div*******/
div.block {
    display: inline-block;
    width: 300px;
    padding: 5px 10px;
    text-align: right;
}
div.block div {
    display: inline-block;
    width: 0px;
}

.inlineBlock {
    display: inline-Block;
}
div.Contype-block {
    padding: 10px;
    cursor: pointer;
    border: 1px solid;
    border-color: #dddddd;
    width: 150px;
    margin: 5px;
    text-align: center;
    border-radius: 9px;
    display: inline-block;
}
    div.Contype-block:hover {
        padding: 10px;
        cursor: pointer;
        border: 1px solid;
        border-color: #dddddd;
        width: 150px;
        margin: 5px;
        text-align: center;
        border-radius: 9px;
        display: inline-block;
        background-color: #e6ff99;
    }
div.btn-unclick {
    padding: 10px;
    cursor: pointer;
    border: 1px solid;
    border-color: #dddddd;
    width: 150px;
    margin: 5px;
    text-align: center;
    border-radius: 9px;
    display: inline-block;
}
div.btn-click {
    padding: 10px;
    cursor: pointer;
    border: 1px solid;
    border-color: #dddddd;
    width: 150px;
    margin: 5px;
    text-align: center;
    border-radius: 9px;
    display: inline-block;
    background-color: #e6ff99;
}