﻿body {
    font-size: 18px;
    font-family: "微軟正黑體", "Microsoft JhengHei",'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "微軟正黑體", "Microsoft JhengHei",'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;
}

.form-control {
    font-size: 18px;
    /*height:43px;*/
}

.sidebar-menu .treeview-menu > li > a {
    font-size: 18px;
}

.sidebar-menu .treeview-menu > li > form {
    padding: 5px 5px 5px 15px;
    font-size: 14px;
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
    margin-left: 0;
}

.hidden {
    display: none !important;
}

input[type=checkbox][checked][disabled] {
    outline: 1px solid red;
}

.main-header h1 {
    margin: 0;
    color: #FFF;
    font-size: 24px;
    float: left;
    line-height: 50px;
    padding-left: 10px;
}

.main-header nav > a.btn {
    border: 0 none;
}

a.btn.new:before {
    content: " ";
    display: block;
    float: right;
    background: #F00;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #FFF;
}

#myModal {
    height: 90vh;
}
/* D:\同佑\dotnetApp\git\GayoWeb\Areas\Admin\Views\Checkout\Index.cshtml */
ul.tableTabs li {
    float: left;
}

    ul.tableTabs li a.btn:focus {
        background-color: #2e6da4;
        color: #FFF;
    }

/* D:\同佑\dotnetApp\git\GayoWeb\Areas\Admin\Views\Orders\Index.cshtml */
ul.tableTabs li {
    float: left;
}

    ul.tableTabs li a.btn:focus {
        background-color: #2e6da4;
        color: #FFF;
    }

#myModal .modal-content {
    height: 80vh;
}

#myModal .modal-body {
    position: absolute;
    top: 94px;
    left: 0;
    right: 0;
    bottom: 0;
}

ul.prod-items {
    position: absolute;
    top: 50px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    overflow: auto;
}

.gotop a {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: rgba(0, 192, 239, 0.14);
    border-radius: 999em;
    display: block;
    padding: 20px;
    font-size: 24px;
    margin: 0px auto;
}

.gotop div {
    position: fixed;
    right: 10px;
    bottom: 150px;
    background: red;
    border-radius: 999em;
    display: block;
    padding: 20px;
    font-size: 24px;
    margin: 0px auto;
}

.gotop span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.ui-selectmenu-button.ui-button {
    width: auto;
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fontColor-red {
    font-size: 20px;
    color: red;
}

.table thead tr th.align-middle {
    vertical-align: middle;
}

/*垂直置中*/
.align-middle {
    vertical-align: middle;
    text-align: center;
}

/*當天銷貨單*/
table tr.table-insert {
    background: #ffe3be !important;
}

table tr.table-cancel {
    background: #c3c3c3 !important;
}

.padding-bottom {
    padding-bottom: 25px;
}

.padding-top {
    padding-top: 10px;
}

.table-striped tbody tr.item-active {
    background: #ff4f4f !important;
}

.prod-filter .btn-group {
    /*display: block;*/
}

#stock_Save .prod-filter .btn-group {
    margin: 0;
}

.prod-filter .sale-filter {
    /*padding-right: 4px;*/
}

.table-striped tbody tr:nth-child(odd) {
    background-color: #FFFACD;
}

table tr.item_rows {
    border-bottom-style: dashed;
    border-bottom-color: #FFA91F;
}

.box .nav-stacked > li.margin-bottom {
    margin-bottom: 15px;
}

.bgck-red {
    background-color: red;
}

.bgck-light_red {
    background-color: #ffb9b9;
}

.bgck-light_blue {
    background-color: #b37fee;
}

.bgck-light_gray {
    background-color: #d7d7d7;
}

.bgck-light_orange {
    background-color: #f5a165 !important;
}

.color_red {
    color: red;
}

.color_green {
    color: green;
}

#batch_no {
    font-size: 14px;
}

.img_width {
    width: 100%;
}

font_size_md {
    font-size: 15px;
}

.checkbox_big {
    /* Double-sized Checkboxes */
    -ms-transform: scale(1.5); /* IE */
    -moz-transform: scale(1.5); /* FF */
    -webkit-transform: scale(1.5); /* Safari and Chrome */
    -o-transform: scale(1.5); /* Opera */
}

/*遮罩*/
.cover {
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

.button {
    display: block;
    border: 0;
    border-radius: 12px;
    padding: 10px;
    padding-bottom: 12px;
    background: #404040;
    text-align: center;
    -moz-box-shadow: inset 0px -4px 0px 0px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0px -4px 0px 0px rgba(0, 0, 0, 0.4);
    box-shadow: inset 0px -4px 0px 0px rgba(0, 0, 0, 0.4);
}

    .button.button--search {
        width: 50px;
        height: 25px;
        background-color: #ff6553;
        background-image: url("../img/_images/icon/search.png");
        background-size: auto 50%;
        background-repeat: no-repeat;
        background-position: center 40%;
    }

    .button.button--count {
        width: 30px;
        height: 30px;
        background-image: url("../img/_images/icon/count.png");
        background-size: 55% 55%;
        background-repeat: no-repeat;
        background-position: center 40%;
    }



@media (max-width: 767px) {
    .main-header .logo {
        display: none;
    }

    .fixed .content-wrapper, .fixed .right-side,
    .main-sidebar, .left-side {
        padding-top: 55px;
    }

    .fix-top-nav {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        background-color: #FFF;
        padding: 4px 4px;
        z-index: 99;
        border-bottom: 1px solid #CCC;
    }

        .fix-top-nav button {
            font-size: 16px;
            padding: 12px 9px;
        }

    .condition-store {
        /*width: 68px;*/
    }
}

div.has-top-nav {
    padding-top: 60px;
}

body.map {
    font-size: 14px;
}

    body.map .form-control {
        font-size: 14px;
    }

    body.map #mapinfo2 .box-body {
        height: 250px;
        overflow: auto;
    }

.products-list .product-info {
    margin-left: 0px;
}

.products-list .product-img + .product-info {
    margin-left: 30px;
}

.products-list .product-img img {
    width: auto;
    height: auto;
    max-width: 30px;
    max-height: 30px;
}

@media (max-width: 767px) {
    .content {
        padding: 5px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .box {
        margin-bottom: 5px;
    }

    .box-header,
    .box-body,
    .box-footer {
        padding: 5px;
    }
}
/*-------STOCK-------*/
/*<style >*/
input.batch_no,
.send_qty.number,
.in_qty.number,
/*.stock.number,*/
.batch_no.number {
    width: 80px;
}

input.item_b {
    width: 18px;
    height: 18px;
}

.button.button--count {
    width: 30px;
    height: 30px;
    display: block;
}

.diff, input.err {
    color: #E0070B;
}

input.active {
    border: 1px solid #F00;
}

.modal-dialog {
    text-align: center;
}

.message {
    padding-top: 10px;
}

    .message > .message {
        padding: 10px;
    }

#tableTabs {
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    z-index: 99;
    background: #FFF;
    text-align: center;
}

    #tableTabs a {
        padding: 10px 5px;
        font-size: 24px;
    }

tr.show {
    display: table-row !important;
}

.objectCenter {
    margin: 0 auto !important;
    float: none !important;
}

.modal#modalCount .count--form__input {
    display: inline-block;
    border: 1px solid #bfbfbf;
    border-radius: 8px;
    padding: 8px 4px;
    width: 14%;
}
/*</style >*/
/*-------/STOCK-------*/
.user-block .label {
    margin-right: 5px;
}

input[type=number] {
    text-align: right;
}

/*凍結表頭/行頭*/
/*sticky會跟著上一層的overfloat跑！！因此要定義一個外框*/
.table-sticky-wrapper {
    /*width: 100%;*/
    height: 90vh; /*外框的高度*/
    overflow: auto;
}

table.table-sticky {
    table-layout: fixed;
    min-width: 100%;
    width: auto;
    overflow: unset !important
}

.table-sticky th {
    position: sticky;
    word-break: keep-all;
    background: #fff
}

.table-sticky td {
    border-right: 1px solid #ddd;
    /*text-align: right*/
}

.table-sticky thead tr th:first-of-type {
    left: 0; /*sticky要用 上下左右定位*/
    z-index: 3;
    border-right: 0;
    box-shadow: -2px -2px 0 inset #ddd
}

.table-sticky thead tr th {
    top: 0; /*sticky要用 上下左右定位*/
    background: #f7f7f7;
    vertical-align: top;
    border-bottom: 0;
    border-right: 1px solid #ddd;
    box-shadow: 0 -2px 0 inset #ddd;
    z-index: 2;
}
/*sticky要用 上下左右定位*/
.table-sticky tbody th {
    left: 0; /*定位用*/
    z-index: 2; /*遮蓋表格內容的圖層層級設定*/
    box-shadow: -2px 0 0 inset #ddd; /*內框線*/
}

.table-sticky .card-header {
    background: #f7f7f7
}

.table-sticky td a {
    float: left
}
/*為了按鈕設定的，刪除不影響*/
.table-sticky th a {
    display: inline-block
}
/*為了按鈕設定的，刪除不影響*/

/*表格做記號：群組底色*/
table [data-group="0"], table tr[data-group="0"] > th {
    background: #ffffff !important;
}

table [data-group="1"], table tr[data-group="1"] > th {
    background: #F5F6F7 !important;
}

.line_break {
    display: inline-block;
    max-width: 4em; /* 根據中文字數調整，例如 4em 大約等於 4 個中文字 */
    word-break: break-word;
    white-space: normal;
}

/*@media screen and (max-width: 767px) {
    .table-sticky tbody th,
    .table-sticky thead tr th:first-of-type {
        width: unset !important;*/ /*th有時會自帶寬度設定，用以清除*/
        /*word-break: break-word;
        min-width: 100px;
        max-width: 150px
    }
}*/
/*讓左邊第一直欄的寬度 手機尺寸時不要過寬遮蔽資訊*/