﻿/*Global CSS Area &&  Overwrite HTML Control
*/

@font-face {
    font-family: "noto";
    src: url('/fonts/NotoSansTC-Regular.otf');
}

@font-face {
    font-family: "noto-light";
    src: url('/fonts/NotoSansTC-Light.otf');
}

@font-face {
    font-family: "noto-bold";
    src: url('/fonts/NotoSansTC-bold.otf');
}

@font-face {
    font-family: "nunito";
    src: url('/fonts/Nunito-Regular.ttf');
}

@font-face {
    font-family: "nunito-light";
    src: url('/fonts/Nunito-Light.ttf');
}

@font-face {
    font-family: "nunito-bold";
    src: url('/fonts/Nunito-Bold.ttf');
}

body, html {
    height: 100%;
    font-family: 'noto', sans-serif;
    font-style: normal;
    overflow: hidden;
    font-size: 16px;
}

a {
    color: #333;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    outline: none !important;
    box-shadow: none !important;
}

:root {
    --primaryColor: #ff8400;
    --secondaryColor: #ffa500;
    --secondaryXorColor: #66e9e3;
    --modal-rounded: 10px;
}

.rounded-md {
    border-radius: var(--modal-rounded);
}

.rounded-10 {
    border-radius: 10px;
}

.rounded-25 {
    border-radius: 25px;
}

.h-viewport {
    height: var(--vh, 100vh);
}

.color-primary {
    color: var(--primaryColor) !important;
}

.color-secondary {
    color: var(--secondaryColor) !important;
}

.customToolbar {
    background-color: #fff;
}

.ui-widget {
    font-family: 'noto', sans-serif;
    font-size: 1rem;
}

#tabData .control-label {
    text-align: right;
}

.control-label {
    font-size: 0.9em;
    font-weight: 500;
}

::-webkit-input-placeholder { /* Edge */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    font-family: 'noto-light';
    color: #8e9399;
}

::placeholder {
    font-family: 'noto-light';
    color: #8e9399;
}

.btn-gray-light {
    color: #16181b;
    background-color: #f8f9fa
}

.btn-gray-light.active {
    color: white;
    background-color: var(--primaryColor) !important;
}

select:required:invalid {
    color: #8e9399;
}

.select-lg {
    background-color: #fff;
    border: 0px;
    margin: 10px 10px;
    font-size: 20px;
}

.select-md {
    padding: 5px 20px 5px 10px;
    background-color: #fff;
    border: 0px;
    font-size: 1.1rem;
}

input {
    position: relative;
}

option[value=""][disabled] {
    display: none;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: transparent;
    border-radius: 10px;
}

#sidebar .flex-grow-scroll::-webkit-scrollbar-track, [id*=popMenu]::-webkit-scrollbar-track {
    background-color: transparent;
}

#sidebar .flex-grow-scroll::-webkit-scrollbar-thumb, [id*=popMenu]::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 10px;
}

#sidebar .flex-grow-scroll::-webkit-scrollbar-thumb:hover, [id*=popMenu]::-webkit-scrollbar-thumb:hover {
    background: transparent;
    border-radius: 10px;
}

[id*=popMenu]::-webkit-scrollbar-track,
[id*=popMenu]::-webkit-scrollbar-thumb {
    border-radius: 0.25rem;
}

.debug-r {
    border: solid 3px red !important;
}

.debug-g {
    border: solid 3px green !important;
}

.debug-b {
    border: solid 3px black !important;
}

.noto-light {
    font-family: 'noto-light';
}

.workarea {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-size: 17px;
}

img {
    max-width: 100%;
}

#posMaster .btn {
    font-size: 20px;
}

.workarea input[type=text] {
    font-size: 17px;
    border-radius: 5px;
    padding: 5px;
}

/*jquery ui tabs fix*/
#tabs1 {
    height: 100%;
    position: relative;
    min-height: 100%;
}

#tabDetail {
    /*height: 100%;
    position: relative;
    min-height: 100%;
    flex-grow: 1;*/

    flex: 1 1 auto;
    overflow-y: auto;
    border: solid 3px blue;
}

.tab-fill {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
}

.tbAttachmentList {
    display: flex;
    flex-wrap: wrap;
}

/*remark 20211008*/
.ui-tabs-panel {
    /*overflow-y: auto;*/
    display: flex;
}

.timePanel {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 300px;
    height: 150px;
    color: #666;
    font-size: 30px;
}

.statusbar {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 4%;
    background-color: #ececec;
}

.textarea-small {
    min-height: 60px;
}

textarea {
    width: 100%;
    border-radius: 10px;
    padding: 10px;
    min-height: 80px;
}

    textarea:focus, input:focus {
        outline: none;
    }

.pointer {
    cursor: pointer;
}

.labelHead {
    font-size: 41px;
    margin: 20px 0;
}

.labelTitle {
    font-size: 24px;
    color: #1b2733;
    margin: 20px 0;
}

.btn-number {
    background: rgb(2,0,36);
    background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(106,106,107,1) 49%, rgba(135,136,136,1) 100%);
    width: 60px;
    height: 60px;
    text-align: center;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    border-bottom: 0px;
}

.btn-function {
    background: rgb(2,0,36);
    background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(106,106,107,1) 49%, rgba(135,136,136,1) 100%);
    width: 80px;
    height: 60px;
    text-align: center;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    border-bottom: 0px;
}

.btnPayment {
    height: 55px;
    font-size: 20px;
    width: 250px;
    color: white;
    background-color: orange;
}

.btn-white {
    padding: 10px;
    border-radius: 2px;
    background-color: white;
    border: solid 1px #efefef;
    cursor: pointer;
    text-align: center;
}

.label {
    font-size: 17px !important;
}

.labelSmall {
    font-size: 12px !important;
}

/*input[type=text], input[type=password] {
    height: 55px;
    line-height: 55px;
    border-radius: 10px;
    border: solid 1px #d8d8d8;
    font-size: 20px;
    padding-left: 10px;
    border-radius: 5px;
    width: 100%;
}*/

.panelMonitor {
    height: 90px;
    color: white;
}

.panelMaterialType {
    height: 200px;
    overflow: auto;
}

.scrollable {
    height: 100%;
    overflow-y: auto;
}

.btn-materialType {
    background: rgb(241,140,47);
    width: 120px;
    height: 60px;
    text-align: center;
    padding: 0px;
    color: white;
    font-size: 22px;
    border-bottom: 0px;
    margin: 3px 0 0 3px;
    overflow: hidden;
}

    .btn-materialType.actived {
        background: rgb(207,86,30);
    }

.btn-material {
    background: rgb(0,120,215);
    width: 140px;
    height: 80px;
    padding: 10px;
    text-align: center;
    padding: 0px;
    color: white;
    font-size: 20px;
    border-bottom: 0px;
    margin: 5px 0 0 5px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
    line-height: 22px;
}

.btn-paymentItem {
    background-color: #eee;
    color: black;
    font-size: 22px;
    min-width: 100px;
    height: 60px;
    padding: 0px;
    line-height: 60px;
    padding: 0 10px;
    white-space: normal;
}

.btn-dollarType {
    background-color: #999;
    color: black;
    font-size: 22px;
    width: 100px;
    height: 60px;
    padding: 0px;
    line-height: 60px;
    border: solid 1px #ececec;
    color: white;
}

.btn.active {
    background-color: var(--primaryColor) !important;
    color :white !important;
}

.btn-number-w {
    background-color: #999;
    color: white;
    font-size: 28px !important;
}

#panelMaterial {
    overflow: auto;
    height: 100%;
}

#salesGrid {
    color: black;
    width: 100%;
}

.dark {
    background-color: black;
    color: white;
}

.text-1 {
    font-size: 36px !important;
}

.text-2 {
    font-size: 24px !important;
}

.text-3 {
    font-size: 17px !important;
}

.text-small {
    font-size: 12px !important;
}

.dialog-header {
}

.dialog-body {
    background-color: #fcfcfc;
}

.dialog-footer {
}

.lbIcon {
    background: rgb(201,99,28);
    background: linear-gradient(0deg, rgba(201,99,28,1) 0%, rgba(162,72,28,1) 49%, rgba(124,48,27,1) 100%);
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    border-radius: 10px;
    color: white;
}

.ui-keyboard {
    left: 0px !important;
    top: 0px !important;
    position: relative !important;
    border: 0px !important;
}

#mdInvoiceDonation .ui-keyboard {
    position: relative !important;
    top: 0px !important;
    margin-top: 30px;
}

.bg-blue {
    background-color: #308bdb;
    color: white;
}

.text-blue {
    color: #308bdb;
}

.background {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    /*background-image: url('/Images/backgroundgreen1.jpg');*/
    background-image: url('/Images/background/AAGOFg6.jfif');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

button:focus, select:focus {
    box-shadow: none !important;
}

.primary-light, .btn-secondary-light, .btn-secondary-light-2, .btn-white-fixed {
    min-width: 114px;
    width: auto;
    height: 38px;
    line-height: 1.3;
    border-radius: 0;
}

.btn-secondary-light-2 {
    width: auto !important;
    background-color: #fafafa;
    color: black;
    border: 1px solid #ddd;
}

.primary-light:hover {
    color: #fff;
}

.btn-white-fixed {
    padding: 9px 6px;
}

.modal .modal-dialog {
    margin: 0.5rem !important;
}

.modal .modal-content {
    border: none;
    border-radius: 4px;
    box-shadow: 0 0 15px 1px rgb(69 65 78 / 20%);
}

.modal .modal-header {
    position: relative;
    text-align: center;
}

.modal .modal-title {
    width: 100%;
}

.modal .modal-header .close {
    position: absolute;
    right: 1rem;
    outline: none;
}

.modal .modal-footer .btn {
    min-width: 100px;
    width: auto;
    height: 40px;
    padding: 0 6px;
    border-radius: 0;
    border-color: #ddd;
    cursor: pointer;
}

    .modal .modal-footer .btn:hover {
        background-color: #f4f5f8;
    }

.modal .modal-footer .bg-primary {
    /*box-shadow: 0 0 10px 0 rgb(0 0 0 / 30%) !important;*/
}

    .modal .modal-footer .bg-primary:active {
        box-shadow: none !important;
    }

.table {
    margin-bottom: 0;
}

#errorPanel {
    /*border-radius: 4px;
    box-shadow: 0 0 15px 1px rgb(69 65 78 / 20%);*/
}

a.bg-primary:hover, a.bg-primary:focus, button.bg-primary:hover, button.bg-primary:focus {
    background-color: var(--primaryColor) !important;

}

.bg-delete {
    background-color: #e50000 !important;
}

.bg-white {
    background-color: #fff !important;
}

.bg-table {
    background-color: #f7f7f7 !important;
}

.bg-readonly {
    background-color: #e9ecef !important;
}



.btn-dark, .btn-dark:hover, .btn-dark:focus {
    color: #fff;
    background-color: #23272b;
    border-color: #1d2124;
}

.btn-secondary, .btn-secondary:hover, .btn-secondary:focus {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.m_switch_color {
    background-color: var(--primaryColor) !important;
    box-shadow: inset 0 0 0px 1px rgb(0 0 0 / 5%) !important;
}

.border {
    border: 1px solid #d3d3d3 !important;
}

.border-top {
    border-top: 1px solid #d3d3d3 !important;
}

.border-bottom {
    border-bottom: 1px solid #d3d3d3 !important;
}

.border-right {
    border-right: 1px solid #d3d3d3 !important;
}

.border-left {
    border-left: 1px solid #d3d3d3 !important;
}

.border-notop {
    border: 1px solid #d3d3d3 !important;
    border-top: none !important;
}

.listDataColumn tbody tr.active {
    color: var(--primaryColor);
}

#companyIcon {
/*    height: 60px;
    padding: .8rem 0 .5rem;*/
}

#ui-datepicker-div {
    border: 1px solid #c5c5c5 !important;
}

.ui-sortable-handle, .ui-sortable-helper {
    background-color: #fff;
}

.table thead th {
    background-color: #fff;
}

#menuToggle {
    cursor: pointer;
}

.fa-arrow-alt-circle-left {
    cursor: pointer;
}

.white-space-nowrap {
    white-space: nowrap !important;
}

.customEditMenu > .flex-column {
    box-shadow: 2px 0 6px 0 rgb(0 0 0 / 50%);
    z-index: 1;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: unset !important;
    color: unset !important;
}

.select2-container--default .select2-results__option--selected.select2-results__option--selectable {
    background-color: #ddd !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable:hover {
    background-color: #5897fb !important;
    color: white !important;
}

@media screen and (max-width: 1199px) {
    .primary-light, .btn-secondary-light, .btn-secondary-light-2, .btn-white-fixed {
        min-width: 100px;
    }
}

@media screen and (min-width: 576px) {
    .modal .modal-dialog {
        margin: 1.75rem auto !important;
    }
}

#mdProductList .productItemWrap .custom-checkbox {
    white-space: unset;
}

tr.rowCancel td:not(.tdFunction) {
    opacity: .25;
}

.pointer-all {
    pointer-events: all !important;
}

/*usersAuth*/
.authHide {
    display: none !important;
}

.authReadonly .btnReadonly,
.authReadonly #homeListData .tdFunction button:not(.btn-edit),
.mdReadonly .btnReadonly {
    cursor: default !important;
    pointer-events: none !important;
    opacity: .35 !important;
}

.authReadonly .divReadonly,
.authReadonly #homeListData .m_switch,
.mdReadonly .divReadonly {
    cursor: default !important;
    pointer-events: none !important;
}

.authReadonly #btnToogle,
.mdReadonly #btnToogle,
.authReadonly .btnToogle,
.mdReadonly .btnToogle {
    pointer-events: all !important;
}

.authReadonly #calendar .fc-today-button,
.authReadonly #calendar .fc-prev-button,
.authReadonly #calendar .fc-next-button {
    pointer-events: all !important;
}

.mdReadonly #btnCheckListShowAll,
.mdReadonly .collapseIcon,
.mdReadonly #btnExpendAll {
    pointer-events: all !important;
}

.authReadonly #menuItemWrap > div,
.authReadonly #dragProductTypeWrap > div {
    pointer-events: none !important;
}


.tab-button .active {
    color: var(--primaryColor);
    font-weight: bold;
    border-bottom: 4px solid var(--primaryColor);
}

.hiddenRow {
    display: none !important;
}
