﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
body {
    font-family: arial,"Microsoft JhengHei","微軟正黑體",sans-serif !important;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 40px;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 40px; /* Vertically center the text there */
    background-color: white;
    border-top-color: #707070 !important;
}



.nav-item {
    padding-left: 10px;
    padding-right: 10px;
    align-self: center;
}

.navbar-nav {
    flex-direction: initial;
}


/* Helen Test styles ：總覽畫面 (Home/Index.cshtml)
-------------------------------------------------- */
.div_Home_img > img {
    max-height: 100%;
    max-width: 100%;
}

form .col-form-label {
    margin-right: 10px;
}

.picker__select--month,
.picker__select--year {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

@media (min-width: 500px ) {
    .div_Home_img {
        height: 100px;
        text-align: right;
        padding: 0px;
    }

    .div_Home_a {
        display: flex;
        align-items: center;
        font-size: large;
        padding: 0px;
    }

    .div_h5_1 {
        text-align: right;
        padding: 0px;
    }

    .div_h5_2 {
        text-align: left;
        padding: 0px;
    }
}

@media (max-width: 499px ) {
    .div_Home_img {
        height: 100px;
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        padding: 0px;
    }

    .div_Home_a {
        line-height: 25px;
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        font-size: large;
        padding: 0px;
    }

    .div_h5_1 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        padding: 0px;
    }

    .div_h5_2 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        padding: 0px;
    }

    form .col-form-label {
        max-width: 100%;
    }
}

.list-group-item-action {
    width: auto;
}
/* styles ：查詢畫面 
-------------------------------------------------- */
.card_summary {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 22px;
    white-space: nowrap;
}

.card_col_noright {
    padding-right: 0px;
}

.card_label_overflow {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}


a.fc-event {
    border-radius: 7px;
    /*     round edges */
    width: 7px;
    /*     fixed width */
    color: transparent;
    /*     hide text */
    height: 9px;
}

    a.fc-event .fc-time {
        color: transparent;
        /*hide text*/
    }

td .fc-event-container {
    text-align: -webkit-center;
}

.k-dropzone {
    display: none !important;
}

.k-upload {
    border: none !important;
}

.k-upload-files {
    border: none !important;
}


/* styles ：span 包含 input + X 按鈕
-------------------------------------------------- */
.span-can-removed {
    border-width: 1px;
    border-style: solid;
    display: flex;
    border-color: #ced4da;
    width: 100%;
}

    .span-can-removed:focus-within {
        border-color: #80bdff;
        box-shadow: 0 0 0 0.2rem rgb(0 123 255/25%);
        visibility: visible;
    }

    .span-can-removed:hover > span {
        visibility: visible
    }

    .span-can-removed > span {
        visibility: hidden;
        align-self: center;
    }
/*    .span-can-removed > input:-internal-autofill-selected,
    .span-can-removed > input:-webkit-autofill,
    .span-can-removed > input:-webkit-autofill:hover,
    .span-can-removed > input:-webkit-autofill:focus,
    .span-can-removed > input:-webkit-autofill:active {
        background-color: green !important;
    }*/

.checkbox-lg .custom-control-label::before,
.checkbox-lg .custom-control-label::after {
    top: .8rem;
    width: 1.55rem;
    height: 1.55rem;
}

.checkbox-lg .custom-control-label {
    padding-top: 13px;
    padding-left: 6px;
}


.checkbox-xl .custom-control-label::before,
.checkbox-xl .custom-control-label::after {
    top: 1.2rem;
    width: 1.85rem;
    height: 1.85rem;
}

.checkbox-xl .custom-control-label {
    padding-top: 18px;
    padding-left: 10px;
    font-size: large;
}


.table td, .table th {
    padding: 0rem;
}
/*待辦公文 
    --------------------------------------------------*/
/*待辦公文欄位標題*/
.vdocmDesc {
    font-weight: bold;
    vertical-align: top;
}
/*待辦公文欄位資料*/
.vdocmCol {
    padding-right: 5px !important;
    word-wrap: break-word;
    line-height: 20px;
}

/*待辦公文結束
    --------------------------------------------------*/


/*單證畫面 如有特殊寬度 請自行在該畫面設定寬度
    --------------------------------------------------*/

/*單證畫面 主檔 欄位標題*/
.erpTdMasterDesc {
    text-align: right;
    vertical-align: top;
    font-weight: bold;
    font-size: 17px;
    line-height: 28px;
    width: 100px;
    padding-left: 10px !important;
}
/*單證畫面 主檔 欄位資料*/
.erpTdMasterCol {
    text-align: left;
    vertical-align: top;
    padding-right: 5px !important;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-all;
    line-height: 28px;
    font-size: 17px;
    min-width: 80px;
}
/*單證畫面 表格 欄位標題*/
.erpTdTableDesc {
    text-align: center;
    font-size: 15px;
}
/*單證畫面 表格 欄位資料*/
.erpTdTableCol {
    text-align: right;
    vertical-align: top;
    font-weight: bold;
    font-size: 15px;
    line-height: 28px;
    width: 100px;
    padding-right: 10px !important;
}
/*單證畫面 表格 欄位高度*/
.erpTrTableHeight {
    height: 30px;
}
/*單證畫面 明細 勾選框位置*/
.erpTdDetailCheckbox {
    text-align: right !important;
    width: 20px !important;
    padding-left: 60px !important;
}
/*單證畫面 明細 項次*/
.erpTdDetailLin {
    width: 60px !important;
    text-align: right;
    vertical-align: top;
    font-weight: bold;
    font-size: 17px !important;
    line-height: 28px;
}
/*單證畫面 明細 欄位標題*/
.erpTdDetailDesc {
    text-align: right;
    vertical-align: top;
    width: 120px;
    font-weight: bold;
    font-size: 17px;
    line-height: 28px;
}
/*單證畫面 明細 欄位資料*/
.erpTdDetailCol {
    text-align: left;
    vertical-align: top;
    padding-right: 5px !important;
    padding-left: 5px !important;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-all;
    line-height: 28px;
    font-size: 17px;
    min-width: 80px;
}
/*單證另外開明細檔畫面*/
.tdDetailDesc {
    font-weight: bold;
    line-height: 20px;
    vertical-align: top;
}
/*單證另外開明細檔畫面*/
.tdDetailcol {
    padding-right: 5px !important;
    word-wrap: break-word;
    line-height: 20px;
    vertical-align: top;
}
/*單證之明細檔超連結文字顏色*/
.aColor {
    color: #bd2228 !important;
}
/*單證footer位置上下左右對齊*/
.footerHeight {
    height: 81px;
}
/*單證footer位置上下左右對齊*/
.footerIconAlign {
    margin: 0;
    padding-top: 10px;
}
/*單證footer下拉式選單設定*/
.footerDropdown-select {
    /*移除箭頭樣式*/
    -moz-appearance: none;
    -webkit-appearance: none;
    /*改變右邊箭頭樣式*/
    background-size: 20px 20px !important;
    width: 100%;
    padding-left: 2px;
    padding-right: 40px;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    margin: 7px;
    padding: 0 0 0 10px;
    font-size: 16px;
    color: #4d4d4d;
}

    /*IE隱藏箭頭樣式*/
    .dropdown-select::-ms-expand {
        display: none;
    }

    .dropdown-select:focus {
        box-shadow: 0 0 5px 2px #467BF4;
    }

/*單證畫面結束
    --------------------------------------------------*/

/*之後不用 單證明細主檔*/
.tdMasterDesc {
    text-align: right;
    vertical-align: top;
    font-weight: bold;
    font-size: 14px;
    line-height: 28px;
}

/*之後不用 單證明細主檔標題寬度*/
.tdMasterDesc_width70 {
    width: 70px;
}
/*之後不用 單證明細主檔標題寬度*/
.tdMasterDesc_width80 {
    width: 80px;
}
/*之後不用 單證明細主檔標題寬度*/
.tdMasterDesc_width100 {
    width: 100px;
}
/*之後不用 單證明細主檔標題寬度*/
.tdMasterDesc_width150 {
    width: 150px;
}
/*之後不用 */
.tdDesc {
    text-align: right;
    vertical-align: top;
    width: 100px;
    font-weight: bold;
    font-size: 14px;
    line-height: 28px;
}
/*之後不用 */
.tdDesc150 {
    text-align: right;
    vertical-align: top;
    width: 150px;
    font-weight: bold;
    font-size: 14px;
    line-height: 28px;
}
/*之後不用 */
.tdCol {
    text-align: left;
    vertical-align: top;
    padding-right: 5px !important;
    padding-left: 5px !important;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-all;
    line-height: 28px;
    font-size: 14px;
    min-width: 80px;
}


/*第二行縮排*/
.td-text-indent {
    text-indent: -1em;
    margin-left: 1em;
    padding-left: 1em;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.5rem;
}

.btnLargSize {
    font-size: 14px;
}

.div-2btns {
    margin: 10px;
    padding: 0 10px 0 10px;
}
/* 首頁 ICON  */
.index_icon {
    padding: 7px 7px 20px 7px;
}
/* 首頁 ICON 文字說明 */
.index_icon_desc {
    font-size: 20px !important;
}
/* 首頁 ICON IMG */
.index_icon_img {
    width: 127px;
    height: 93px;
}
/*首頁標頭模組名稱*/
.index_header_module {
    padding: 0;
    height: 20px;
    margin-right: 0px;
    margin-left: 10px;
    margin-bottom: 9px;
    vertical-align: text-bottom;
}
/*首頁標頭模組圖案*/
.index_header_module_img {
    max-height: 100%;
    max-width: 100%;
    /*vertical-align: text-bottom;*/
}
/* 共用 Card 樣式*/
.card_style {
    margin-bottom: 7px;
    border-radius: 0.5rem !important;
    font-size: 16px;
    line-height: 20px;
    white-space: nowrap;
}

/* 限制只SHOW一行 並加上 ...(...加粗 變色)  
    原內容 需多包一層 <span>
     <label class="text-overflow">
           <span>備 註：@item.Remark</span>
     </label>
*/
.text-overflow {
    color: gray;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    white-space: nowrap;
    font-size: 18px;
    margin-bottom: 0.5rem;
}

    .text-overflow > span {
        font-weight: normal;
        color: black;
        font-size: 16px;
    }

/* 限制只SHOW多行 並加上 ...(...加粗 變色)  
    原內容 需多包一層 <span>
     <label class="text-overflow">
           <span>備 註：@item.Remark</span>
     </label>
*/
/* 多行顯示三行*/
.text-overflow-3 {
    color: gray;
    font-weight: bold;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    white-space: normal !important;
    width: 100%;
    margin-bottom: 0.5rem;
}

    .text-overflow-3 > span {
        font-weight: normal;
        color: black;
        /*font-size: 16px;*/
    }
/* 多行顯示兩行*/
.text-overflow-2 {
    color: gray;
    font-weight: bold;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    white-space: normal !important;
    width: 100%;
    margin-bottom: 0.5rem;
}

    .text-overflow-2 > span {
        font-weight: normal;
        color: black;
        font-size: 16px;
    }


.notify-badge {
    position: absolute;
    right: 3px;
    top: -7px;
    background: red;
    text-align: center;
    border-radius: 30px 30px 30px 30px;
    color: white;
    padding: 5px 13px;
    font-size: 16px;
}

/* 查詢畫面無輔助輸入圖案*/
.prepend-no-search-svg {
    height: 33.5px;
    width: 31px !important;
    margin-right: 10px;
}

.text-no-search-svg {
    background-color: transparent;
    border: none;
    padding: 3px;
    height: 33.5px;
    width: 31px !important;
}

/*斑馬紋單數行變色*/
.card-odd-row {
    padding: 5px 5px 8px 5px;
    background-color: rgb(247,247,247);
}

/*斑馬紋雙數行不變色*/
.card-even-row {
    padding: 5px 5px 8px 5px;
}

/* f8 table stryle*/
.f8TdCol {
    text-align: left;
    vertical-align: top;
    padding-right: 5px !important;
    padding-left: 5px !important;
    overflow: hidden;
    word-wrap: break-word;
    word-break: keep-all;
    line-height: 32px;
    font-size: 16px;
}
/* table 過長開放 scrollbar */
.table-wrapper {
    border: none;
    width: 100%;
    height: auto;
    overflow: auto;
}




/* */
.colLeft {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 15px !important;
}

.colRight {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 15px !important;
}

.col-label {
    font-weight: bold;
    font-size: 15px;
}




/* 多頁次 HEADER */
.navbarPageTop {
    overflow: hidden;
    background-color: white;
    position: fixed; /*Set the navbar to fixed position */
    top: 55px; /*Position the navbar at the top of the page */
    width: 100%; /*Full width */
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: center;
    padding: 17px 7px 7px 7px;
}

.navbarPage {
    overflow: hidden;
    background-color: white;
    width: 100%; /*Full width */
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: center;
    padding: 10px 7px 0px 7px;
    white-space: nowrap;
}
/*輔助輸入左右兩側 img*/
.footerPage-last-img {
    height: 22px;
    vertical-align: text-top;
    padding-right: 3px;
}

.footerPage-next-img {
    height: 22px;
    vertical-align: text-top;
    padding-left: 3px;
}

.footerPage {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 18px;
    color: #89888a;
}

.footerPage-nopadding {
    padding-left: 0px;
    padding-right: 0px;
    font-size: 18px;
    color: #89888a;
}

.footerPage-currentpage {
    font-weight: bolder;
    color: #9c0005;
}
/* 查無資料*/
.NoDataMsg {
    text-align: center;
    padding-top: 45px;
    font-size: 16.5px;
}

.MessageDiv {
    padding: 30px;
    overflow-x: scroll;
    min-height: 300px;
    max-height: 400px;
    text-align: left;
    font-size: 16px;
}

/*斑馬紋單數行變色*/
.card-odd-row {
    padding: 10px 10px 0px 10px;
    background-color: #f2f2f2;
}

/*斑馬紋雙數行不變色*/
.card-even-row {
    padding: 10px 10px 0px 10px;
}

/*多選 底色*/
.selectedItem {
    background-color: #e2e2e2 !important;
}
/* input placeholder 文字顏色*/
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #a5a5a5;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #a5a5a5;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #a5a5a5;
}

/*下拉式選單更換箭頭樣式*/
.dropdown-select {
    /*移除箭頭樣式*/
    -moz-appearance: none;
    -webkit-appearance: none;
    /*改變右邊箭頭樣式*/
    background-size: 20px 20px !important;
    background-position: 99.5% 0px !important;
    width: 100%;
    height: 30px;
    padding-left: 2px;
    padding-right: 40px;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
}

    /*IE隱藏箭頭樣式*/
    .dropdown-select::-ms-expand {
        display: none;
    }

    .dropdown-select:focus {
        box-shadow: 0 0 5px 2px #467BF4;
    }

/*底線*/
.underline {
    border-style: solid;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 1px;
    border-left-width: 0px;
    border-color: #ccc;
}
