@charset "UTF-8";
/* RES 1.2.0 */

/* 避免 300 delay */
html, a, button, .myelements {
    -ms-touch-action: manipulation; /* IE10 */
    touch-action: manipulation; /* IE11 */
}

/* 避免 iphone 無法點擊 */
a, button, .cursor-pointer {
    cursor: pointer;
}

.checkbox input[type=checkbox] ~ i,
.radio input[type=radio] ~ i {
    background-color: #ffffff;
    position: relative;
    top: 3px;
}

label.radio,
label.checkbox {
    padding: 0;
    margin: 0;
}

/* 清除底線(ex: a) */
.decoration-clear {
    text-decoration: none !important;
}

/* input 提示字 */
.form-group i.placeholder {
    position: absolute;
    right: 30px;
    top: 10px;
    color: #999;
}

/* 時間選擇器調整 */
.datepicker-dropdown {
    background-image: none !important;
    background-color: #ffffff !important;
    min-width: 160px;
    /*position: absolute;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);*/
}

.bootstrap-datetimepicker-widget {
    z-index: 999999 !important;
}

.line-height-30 {
    line-height: 30px;
}

.margin-0-auto {
    margin: 0 auto;
}

.width-100per {
    width: 100%;
}

.width-160-margin-center {
    margin: 0 auto;
    max-width: 160px;
}

.activity-message span {
    font-size: 30px;
    color: red;
}

.max-w-h-70 {
    max-width: 70px;
    max-height: 70px;
}

.max-w-h-100 {
    max-height: 100px;
    max-width: 100px;
}

.max-w-h-150 {
    max-height: 150px;
    max-width: 150px;
}

.max-w-h-200 {
    max-height: 200px;
    max-width: 200px;
}

.max-w-h-250 {
    max-height: 250px;
    max-width: 250px;
}

.max-w-h-300 {
    max-height: 300px;
    max-width: 300px;
}

.width-150 {
    width: 150px;
}

.width-200 {
    width: 200px;
}

.width-250 {
    width: 250px;
}

.width-300 {
    width: 300px;
}

.HctBody {
    border: 2px #dddddd dashed;
    padding: 5px;
}

.breakAll {
    word-break: break-all;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

/*
.form-group i {
    position: absolute;
    right: 10px;
    top: 15px;
    color: #aaaaaa;
}
*/

mark.highlight {
    background: #ffff00;
}

.tab-content .table tbody li {
    text-align: left !important;
}

table td, table th {
    word-break: break-all;
    word-wrap: break-word;
}

.table-scrollable > .table > tbody > tr > td {
    white-space: normal;
}

@media (max-width: 768px) {
    .table-responsive > .table > tbody > tr > th,
    .table-responsive > .table > tfoot > tr > th,
    .table-responsive > .table > thead > tr > th {
        white-space: nowrap;
        word-break: keep-all;
        max-width: 300px;
    }

    .table-responsive > .table > tbody > tr > td,
    .table-responsive > .table > tfoot > tr > td,
    .table-responsive > .table > thead > tr > td {
        white-space: normal;
        word-break: keep-all;
        max-width: 300px;
    }

    .table-responsive > .table {
        min-width: 500px;
    }

    .text-nowrap {
        white-space: nowrap !important;
    }

    .table-responsive > .table td form {
        max-width: 500px;
        max-width: -moz-calc(100vw - 52px);
        max-width: -webkit-calc(100vw - 52px);
        max-width: calc(100vw - 52px);
    }

    .page-body > .row > .col-xs-12 {
        padding-right: 0;
        padding-left: 0;
    }
}

/* 鎖定表頭使用 */
table .header-fixed {
    position: fixed;
    top: 0px;
    /* 10 less than .navbar-fixed to prevent any overlap */
    z-index: 1020;
    border-bottom: 1px solid #d5d5d5;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, 0.1);
    /* IE6-9 */
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.chk_q {
    display: inline;
}

.no-full {
    display: inline;
    width: auto;
}

.pl-5 {
    padding-left: 5px;
}

.pl-10 {
    padding-left: 10px;
}

.pl-20 {
    padding-left: 20px;
}

.pt-5 {
    padding-top: 5px;
}

.pt-10 {
    padding-top: 10px;
}

.pt-20 {
    padding-top: 20px;
}

.pr-5 {
    padding-right: 5px;
}

.pr-10 {
    padding-right: 10px;
}

.pr-20 {
    padding-right: 20px;
}

.pb-5 {
    padding-bottom: 5px;
}

.pb-10 {
    padding-bottom: 10px;
}

.pb-20 {
    padding-bottom: 20px;
}

.p-5 {
    padding: 5px;
}

.p-10 {
    padding: 10px;
}

.p-20 {
    padding: 20px;
}

.p-30 {
    padding: 30px;
}

.p-40 {
    padding: 40px;
}

.ph-20 {
    padding-left: 20px;
    padding-right: 20px;
}

.ph-30 {
    padding-left: 30px;
    padding-right: 30px;
}

.ph-40 {
    padding-left: 40px;
    padding-right: 40px;
}

.pv-20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.pv-30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.pv-40 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.pv-45 {
    padding-top: 45px;
    padding-bottom: 45px;
}

.mt-5 {
    margin-top: 5px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mr-5 {
    margin-right: 5px;
}

.mr-10 {
    margin-right: 10px;
}

.mr-20 {
    margin-right: 20px;
}

.mb-5 {
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.ml-5 {
    margin-left: 5px;
}

.ml-10 {
    margin-left: 10px;
}

.ml-20 {
    margin-left: 20px;
}

.clear {
    clear: both;
}