﻿
html, body {
    background-color: #f3f4f6;
    font-family: 'Kulim Park',Noto Sans TC,微軟正黑體;
}

.navbar {
    border-bottom: 1px solid #ebebeb;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 4px 5px rgba(102, 102, 102, 0.4);
}

.navbar-light .navbar-nav .nav-link {
    color: black;
    margin: 0 10px;
}

@media (min-width:1200px) {
    .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
        color: black;
        padding-bottom: 4px;
        border-bottom: 5px solid #d92231;
    }

    .info {
        flex-direction: column;
        justify-content: flex-end;
        font-size: 10pt;
        margin-right: 12px;
    }

    .info_1 {
        display: flex;
        justify-content: flex-end;
        margin-right: 10px;
    }

    .info_2 {
        display: flex;
        flex-direction: row;
        list-style: none;
        margin-bottom: 0px;
        padding-left: 0px;
    }

    .info_2 li {
        line-height: 0;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .info_2_1 {
        border-left: thin solid #dbdbdb;
        white-space: nowrap;
        text-align: right;
    }

    .info_2_2 {
        display: none;
    }

    .info_2_3 {
        border-left: thin solid #dbdbdb;
        border-right: thin solid #dbdbdb;
        text-align: right;
    }

    .info_2 a {
        text-decoration: none;
        color: black;
    }

    .info_2 a:hover {
        padding-bottom: 2px;
        border-bottom: 3px solid #d92231;
    }
}

@media (max-width:1199px) {
    .info {
        border: thin solid #dbdbdb;
        flex-direction: column;
        margin-bottom: 10px;
    }

    .info_1 {
        display: flex;
        justify-content: center;
        margin-right: 0px;
        font-size: 18pt;
        padding-top: 5px;
        padding-bottom: 5px;
        border-bottom: thin solid #dbdbdb;
        margin-left: 15px;
        margin-right: 15px;
    }

    .info_2 {
        display: flex;
        justify-content: center;
        list-style: none;
        margin-bottom: 0px;
        padding: 0px;
        font-size: 14pt;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .info_2_1 {
        text-align: center;
        padding-left: 5px;
        padding-right: 5px;
    }

    .info_2_2 {
        display: inline-block;
        padding-left: 5px;
        padding-right: 5px;
    }

    .info_2_3 {
        text-align: center;
        padding-left: 5px;
        padding-right: 5px;
    }

    .info_2 a {
        text-decoration: none;
        color: black;
    }

    .btn {
        width: 100%;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.1rem;
    }
}

.dropdown-toggle::after {
    border: 0em;
}

.separator {
    transform: translate(0, -50%);
    position: absolute;
    border-left: thin solid #dbdbdb;
    width: 1px;
    display: block;
    height: 19px;
    top: 50%;
}

.fa {
    padding-right: 4px;
}

.ejet_breadcrumb {
}

.content {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 5px rgba(102, 102, 102, 0.4);
    width: 95%;
}


.form-floating > label {
    padding: .5rem .75rem;
}

.form-floating > .form-control, .form-floating > .form-select {
    height: calc(2.5rem + 2px);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-select ~ label {
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.form-floating > .form-select {
    padding-top: 1rem;
    padding-bottom: 0rem;
}

.btn {
    padding: .5rem .75rem;
}

.btn-outline-primary {
    color: #3282c5;
    border-color: #3282c5;
}

.table-card {
    font-size: 10pt;
}

.table-card-line {
    font-size: 10pt;
}

table.table-mobile_mode tbody tr {
    cursor: pointer;
}

table thead tr.table-card-hide th {
    color: #000000;
    background-color: #f6f2f0;
}

table tbody tr {
    --bs-table-hover-bg: rgba(0, 0, 0, 0.020);
}

.td_left {
    text-align: left;
}

.td_center {
    text-align: center;
}

.td_right {
    text-align: right;
}

.td_inline_block {
    display: inline-block !important;
    width: 50%;
}

.td_textbox {
    display: inline-block !important;
    width: 100%;
}

.td_div {
    display: flex;
    align-items: center;
    width: 100%;
}

.td_title {
    display: none;
}

.td_content {
    width: 100%;
}

.td-obj {
    padding: 0 !important;
    height: 1px;
}

.td-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
    height: 100%;
}

.td_txt_qty {
    min-width: 80px;
    font-size: 10pt;
    padding: 0px 5px 0px 5px;
}

.td_txt_price {
    min-width: 100px;
    font-size: 10pt;
    padding: 0px 5px 0px 5px;
}

.td_txt_comment {
    min-width: 200px;
    font-size: 10pt;
    padding: 0px 5px 0px 5px;
}

.td_txt {
    min-width: 100px;
    font-size: 10pt;
    padding: 0px 5px 0px 5px;
}

tbody, td, tfoot, th, thead, tr {
    vertical-align: middle;
}

@media (max-width: 736px) {
    .table-card tr.table-card-hide {
        display: none;
    }

    .table-card td {
        display: block;
    }

    .table-card tr {
        display: block;
        border: 1px solid #ddd;
        margin-top: 5px;
        border-radius: 15px;
    }

    tbody, td, tfoot, th, thead, tr {
        border-color: none;
        border-style: none;
        border-width: 0;
    }

    .table-card td:before {
        content: attr(data-th) " : ";
        display: inline-block;
        text-transform: uppercase;
        font-weight: bold;
        margin-right: 10px;
        color: #000000;
    }

    .table-card-line tr.table-card-line-hide {
        display: none;
    }

    .table-card-line td {
        display: block;
    }

    .table-card-line tr {
        display: block;
        border: 1px solid #ddd;
        margin-top: 5px;
        border-radius: 15px;
    }

    .table-card-line td:before {
        display: inline-block;
        text-transform: uppercase;
        font-weight: bold;
        margin-right: 10px;
        color: #000000;
    }

    tbody, td, tfoot, th, thead, tr {
        border-color: none;
        border-style: none;
        border-width: 0;
    }

    .td_left {
        text-align: left;
    }

    .td_center {
        text-align: left;
    }

    .td_right {
        text-align: left;
    }

    .td_textbox {
        display: inline-block !important;
        width: 50%;
    }

    .td_div {
        width: 100%;
    }

    .td_title {
        display: inline-block;
        text-align: right;
        width: 25%;
    }

    .td_content {
        display: inline-block;
        width: 75%;
    }

    .td-obj {
        padding: .5rem .5rem !important;
        height: auto;
    }

    .td-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
}


.page_control {
    display: flex;
    justify-content: space-between;
}

.form-select {
    padding: 0.08rem 1.75rem 0.08rem .75rem;
}

.page-link {
    white-space: nowrap;
    color: black;
    padding: .1rem .5rem;
}

.footer {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: white !important;
}

.btn-primary {
/*    color: #fff;
    background-color: #accbe1;
    border-color: #accbe1;*/
    white-space: nowrap;
}

    .btn-primary:hover {
/*        color: #fff;
        background-color: #96bbd5;
        border-color: #96bbd5;*/
        white-space: nowrap;
    }

    .btn-primary:focus {
        /*        color: #fff;
        background-color: #96bbd5;
        border-color: #96bbd5;
        box-shadow: none;*/
        white-space: nowrap;
    }

    .btn-primary:active {
/*        color: #fff;
        background-color: #96bbd5;
        border-color: #96bbd5;
        box-shadow: none !important;*/
        white-space: nowrap;
    }

.btn-secondary {
/*    color: #fff;
    background-color: #d5d0cd;
    border-color: #d5d0cd;*/
    white-space: nowrap;
}

    .btn-secondary:hover {
/*        color: #fff;
        background-color: #b1b0b0;
        border-color: #b1b0b0;*/
        white-space: nowrap;
    }

    .btn-secondary:focus {
/*        color: #fff;
        background-color: #b1b0b0;
        border-color: #b1b0b0;
        box-shadow: none;*/
        white-space: nowrap;
    }

    .btn-secondary:active {
        /*        color: #fff;
        background-color: #b1b0b0;
        border-color: #b1b0b0;
        box-shadow: none !important;*/
        white-space: nowrap;
    }

.btn-success {
/*    color: #fff;
    background-color: #b2dbbf;
    border-color: #b2dbbf;*/
    white-space: nowrap;
}

    .btn-success:hover {
/*        color: #fff;
        background-color: #93c0a1;
        border-color: #93c0a1;*/
        white-space: nowrap;
    }

    .btn-success:focus {
/*        color: #fff;
        background-color: #93c0a1;
        border-color: #93c0a1;
        box-shadow: none;*/
        white-space: nowrap;
    }

    .btn-success:active {
/*        color: #fff;
        background-color: #93c0a1;
        border-color: #93c0a1;
        box-shadow: none !important;*/
        white-space: nowrap;
    }

.btn-warning {
    color: #fff;
/*    background-color: #fdb79c;
    border-color: #fdb79c;*/
    white-space: nowrap;
}

    .btn-warning:hover {
        color: #fff;
/*        background-color: #f39975;
        border-color: #f39975;*/
        white-space: nowrap;
    }

    .btn-warning:focus {
        color: #fff;
/*        background-color: #f39975;
        border-color: #f39975;
        box-shadow: none;*/
        white-space: nowrap;
    }

    .btn-warning:active {
        color: #fff;
/*        background-color: #f39975;
        border-color: #f39975;
        box-shadow: none !important;*/
        white-space: nowrap;
    }

.btn-danger {
/*    color: #fff;
    background-color: #f0bfbf;
    border-color: #f0bfbf;*/
    white-space: nowrap;
}

    .btn-danger:hover {
/*        color: #fff;
        background-color: #e6a8a8;
        border-color: #e6a8a8;*/
        white-space: nowrap;
    }

    .btn-danger:focus {
/*        color: #fff;
        background-color: #e6a8a8;
        border-color: #e6a8a8;
        box-shadow: none;*/
        white-space: nowrap;
    }

    .btn-danger:active {
/*        color: #fff;
        background-color: #e6a8a8;
        border-color: #e6a8a8;
        box-shadow: none !important;*/
        white-space: nowrap;
    }

.btn-info {
/*    color: #fff;
    background-color: #56a0d3;
    border-color: #56a0d3;*/
    white-space: nowrap;
}


    .btn-info:hover {
/*        color: #fff;
        background-color: #2B76A8;
        border-color: #2B76A8;*/
        white-space: nowrap;
    }

    .btn-info:focus {
/*        color: #fff;
        background-color: #2B76A8;
        border-color: #2B76A8;
        box-shadow: none;*/
        white-space: nowrap;
    }

    .btn-info:active {
/*        color: #fff;
        background-color: #2B76A8;
        border-color: #2B76A8;
        box-shadow: none !important;*/
        white-space: nowrap;
    }

.btn-outline-warning:hover {
    color: #fff;
}

.btn-outline-warning:focus {
    color: #fff;
}

.page-item.active .page-link {
    color: #000;
    background-color: #e9ecef;
    border-color: #e9ecef;
}



.btn_size_left {
    width: 80px;
    display: inline-block;
    margin-right: 10px;
    white-space: nowrap;
}

.form-floating label {
    opacity: .65;
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    background-color: #b1b0b0;
}

.dropdown-item.list {
    cursor: pointer;
}

.dropdown-toggle {
    padding-bottom: 4px;
    border-bottom: 5px solid #00000000;
}

.nav-item.dropdown a {
    user-select: none;
}

a.dropdown-toggle.active {
    border-bottom: 5px solid #e9860c;
}

a.dropdown-toggle.show {
    border-bottom: 5px solid #d92231;
}

.drp-disabled:disabled {
    opacity: 1;
    color: black;
    background-color: #e9ecef;
    background-image: none;
}

.txt-disabled:disabled {
    opacity: 1;
    color: black;
    background-color: #e9ecef;
}

.drp-disabled-gray:disabled {
    opacity: 1;
    color: black;
    background-color: #e9ecef;
    background-image: none;
}

.txt-disabled-gray:disabled {
    opacity: 1;
    color: black;
    background-color: #e9ecef;
}

.txt_red {
    color: #FF0000;
}

.btn-size-2 {
    width: 80px;
}

.btn-size-4 {
    width: 110px;
}

.btn-size-5 {
    width: 130px;
}


.td-btn a {
    color: white;
    text-decoration: none;
}

.td_nowrap {
    white-space: nowrap;
}

.td_wrap {
    white-space: normal;
}


@media (max-width: 767px) {
    .ejet-mb-2 {
        margin-bottom: .5rem !important;
    }

    .btn-size-2 {
        width: 100%;
    }

    .btn-size-4 {
        width: 110px;
    }
}

@media (min-width: 768px) {
    .col-btn-2 {
        width: auto;
        margin-left: 0px;
        padding-left: 0px;
        white-space: nowrap;
    }
}

.ajax-loader {
    visibility: hidden;
    background-color: rgba(255,255,255,0.7);
    position: fixed;
    z-index: +99999 !important;
    height: 100vh; /* to make it responsive */
    width: 100vw; /* to make it responsive */
    overflow: hidden; /*to remove scrollbars */
}

    .ajax-loader img {
        position: relative;
        display: block;
        top: 10%;
        left: 50%;
        height: 32px;
        width: 32px;
    }

.list_th_bgcolor {
    background-color: #f6f2f0 !important;
}

.form-signin {
    width: 100%;
    max-width: 440px;
    padding: 15px;
    margin: auto;
}