﻿#colorWrap {
    width: 130px;
}

    #colorWrap .m_switch {
        width: 36px;
        height: 20px;
    }

    #colorWrap .keyColorDot {
        border: 1px solid #ddd;
        cursor: pointer;
    }

.dotColor {
    height: 25px;
    width: 25px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.materialIconWrap, .keyColorWrap {
    background-color: white;
    width: 130px;
    height: 130px;
    border: 0;
}

.keyColorDot {
    border-radius: 25px;
    height: 25px;
    width: 25px;
    background-color: #cfd8dc;
}

#colorPickerWrap {
    position: absolute;
    width: 200px;
    height: auto;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    background-color: white;
    border: solid 1px #efefef;
    z-index: 999;
}

    #colorPickerWrap .close {
        position: absolute;
        top: 10px;
        right: 4px;
        outline: none;
        cursor: pointer;
    }

.colorIcon {
    width: 22px;
    height: 22px;
    margin: 1px;
    cursor: pointer;
    border: 1px solid #dee2e6;
}

#brandColorPickerContent {
    box-shadow: 0px 0px 1px #616161;
}

    #brandColorPickerContent .colorIcon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
        min-width: 22px;
        margin: 0 1px;
        padding: 3px;
        font-size: 12px;
    }

#customAdminNavToolbar.editToolbar {
    background-color: white;
    flex: 1;
    box-shadow: 0 1px 15px 1px rgb(69 65 78 / 10%);
}

.customDataWrap, #customEditWrap {
    background-color: #f2f3f8;
}

    #customEditWrap .edit-toolbar {
        padding-bottom: 15px;
        margin-left: auto;
    }

        #customEditWrap .edit-toolbar .btn + .btn {
            margin-left: 5px;
        }

        #customEditWrap .edit-toolbar .btn {
            border: 1px solid #dddddd;
            background-color: #fafafa;
        }

            #customEditWrap .edit-toolbar .btn.primary-light {
                background-color: #3c6ecb;
                color: #fff;
                border: none;
                box-shadow: none;
            }

        #customEditWrap .edit-toolbar .primary-light, .btn-shadow {
            box-shadow: 0 0 5px 0 rgba(0,0,0,.25) !important;
        }

            #customEditWrap .edit-toolbar .primary-light:active, .btn-shadow:active {
                box-shadow: none !important;
            }

.sortableEdit .fa-w-14 {
    cursor: pointer;
}

.sortableEdit > .row:last-child .edit-input {
    pointer-events: all;
}

.sortableEdit > .row:last-child .fa-w-14 {
    display: none;
}

.sortableEdit .ui-sortable-handle {
    background-color: #fff;
}

.ui-timepicker-standard {
    z-index: 1050 !important;
}

#mdStore .collapseIcon {
    cursor: pointer;
}

.list-content:not(.table-responsive) {
    background-color: #f7f7f7;
}

.checkbox-block, .radio-block {
    min-height: 45px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

    .checkbox-block + .checkbox-block, .radio-block + .radio-block {
        padding-top: 5px
    }

.custom-checkbox, .custom-radio {
    margin-bottom: 0;
}

.button-select {
    display: flex;
    align-items: center;
    background-color: #f7f7f7;
}

    .button-select button {
        border: 1px solid #e6e6e6;
        border-radius: 0;
        background-color: #fff;
        white-space: nowrap !important;
    }

        .button-select button + button {
            border-left: none;
        }

.edit-label-grow {
    border-right: none;
}

input[readonly] {
    background-color: #fafafa;
}

.productOption, .productGroup {
    border: 1px solid #d3d3d3;
}

    .productOption th,
    .productGroup th {
        min-width: 40px !important;
        padding: 7px 0.75rem;
        font-weight: 400;
        background-color: #e6e6e6 !important;
    }

    .productOption tr td, .productOption input[readonly],
    .productGroup tr td, .productGroup input[readonly] {
        background-color: #fff;
    }

    .productOption td#name, .productOption td#price, .productOption td#isDefault,
    .productGroup td#name, .productGroup td#qty, .productGroup td#price, .productGroup td#amt {
        border-left: 1px solid #d3d3d3;
    }

    .productOption #icon,
    .productGroup #icon {
        cursor: pointer;
    }

    .productOption .edit-input,
    .productGroup .edit-input {
        padding-left: 10px;
    }

.select2-container--default .select2-search--inline .select2-search__field {
    margin-top: 0 !important;
    width: 100% !important;
    min-height: unset;
    height: 48px !important;
    line-height: 48px;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    display: flex !important;
    align-items: center;
    min-height: 48px !important;
    /*height: 48px;*/
    border: none !important;
    border-radius: 0 !important;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    width: 100%;
}

.select2-container--open .select2-dropdown--below {
    max-width: 200px;
    border-radius: 0;
    border-top: 1px solid #aaa !important;
}

.select2-container {
    width: 100% !important;
}

.select2.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: #fff;
    opacity: .35;
}

.select2.select2-container--default .select2-selection--multiple .select2-selection__choice {
    padding-left: 0;
}

.select2.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: relative;
    left: unset;
    top: unset;
}

.select2-container--default .select2-search--inline .select2-search__field {
    width: 0 !important;
}

.sortableEdit .fa-grip-vertical {
    cursor: pointer;
}

.thead-style-1 > table > thead th, .thead-style-2 > table > thead th {
    min-width: 40px !important;
    padding: 7px 0.75rem;
    font-weight: 400;
    background-color: #e6e6e6 !important;
    white-space: nowrap;
}

.thead-style-2 > table > thead th {
    background-color: #fafafa !important;
}

.rwd {
    display: none;
}

.table thead th {
    white-space: nowrap;
}

@media screen and (max-width: 1380px) {
    #discountQueryToolbar {
        flex-direction: column;
        align-items: unset !important;
    }

        #discountQueryToolbar .advanceSearch {
            margin-top: 15px;
        }

    #printOptionLeftSide, #kdsLeftSide {
        flex-basis: 600px !important;
        width: auto !important;
    }

    #printOptionMain, #kdsMain {
        flex-basis: 600px !important;
        width: auto !important;
        padding-left: 0 !important;
    }

    #seatMain {
        flex-wrap: wrap;
    }
}

.rwd-1080 {
    display: none;
}

@media screen and (max-width: 1199px) {
    .rwd-1199, .rwd-1080 {
        display: block;
    }

    #productQueryToolbar,
    #menusQueryToolbar {
        flex-wrap: wrap;
    }

        #productQueryToolbar .advanceSearch,
        #menusQueryToolbar .advanceSearch {
            margin-top: 15px;
        }

    .table th, .table td {
        padding: 0.75rem 0.5rem;
    }

    .btn:not(.btn-secondary-light-2) {
        padding: 0.375rem 0.5rem;
    }
}

#tabMemo {
    height: calc(100vh - 215px);
}

#tabDetail > div {
    border-bottom: solid 1px #e9e9e9;
}

#tabDetail ul li > a {
    padding-top: 20px;
}

.btnTag, .btnTag-light {
    border-radius: 3px;
    background-color: var(--primaryColor);
    white-space: nowrap;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    font-size: 80%;
    font-weight: 400;
    display: inline-block
}

.btnTag-light {
    background-color: #ccc;
}

.currentUserIcon {
    display: inline-block;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.userIcon, .userIcon-small {
    height: 60px;
    width: 60px;
    max-height: 60px;
    max-width: 60px;
    border: 1px solid #ddd;
    border: 1px solid red;
    border-radius: 50%;
    padding: 5px;
    margin: 5px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.userIcon-small {
    height: 40px;
    max-height: 40px;
    max-width: 40px;
    padding: 1px;
    margin: 1px;
}

    .userIcon-small.active {
        border-color: var(--primaryColor);
    }


.yearpicker {
    width: 160px !important;
    max-width: 160px !important;
}

.inputLabel {
    position: absolute;
    border-left: 1px solid #ddd;
    top: 0;
    right: 0;
}

.logo {
    max-width: 200px;
    max-height: 60px;
}


.btnCircle {
    display: inline-block;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    border: solid 1px #999;
    font-size: 18px;
    line-height: 42px;
    text-align: center;
}


.btnCircle-dark {
    height: 45px;
    width: 45px;
    background-color: white;
    border-radius: 50%;
    border: solid 1px #999;
    border-width: thin;
    display: inline-block;
    color: #666;
    line-height: 40px;
    text-align: center;
}

#qtyPad .btnQty {
    height: 30px;
    width: 30px;
    background-color: transparent;
    border-radius: 50%;
    border-width: thin;
    display: inline-block;
    color: #000;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
}

#qtyPad .active {
    height: 30px;
    width: 30px;
    background-color: #262629;
    border-radius: 50%;
    border-width: thin;
    display: inline-block;
    color: white;
    text-align: center;
}

.btn-d-100 {
    border: solid 1px #ff8787;
    color: #ff8787;
    border-radius: 5px;
    border-width: 3px;
    padding: 2px;
    font-weight: bold;
}

.btn-d-500 {
    border: solid 1px #e9cbcd;
    color: #e9cbcd;
    border-radius: 5px;
    border-width: 3px;
    padding: 2px;
    font-weight: bold;
}

.btn-d-1000 {
    border: solid 1px #acd1d4;
    color: #acd1d4;
    border-radius: 5px;
    border-width: 3px;
    padding: 2px;
    font-weight: bold;
}

.tabbar {
    display: flex;
    background-color: white;
    border-bottom: solid 1px #dee2e6;
}

.tabbar .tabTitle {
    padding: 10px 10px;
    color: #757575;
    cursor: pointer;
    margin-left: 10px;
}

    .tabbar .tabTitle.active {
        color: var(--primaryColor);
        font-weight: bold;
        border-bottom: 4px solid var(--primaryColor);
    }

    .tabbar .active {
        color: var(--primaryColor);
        border-bottom: 2px solid var(--primaryColor);
    }

    .tabbar > div {
        font-size: 1rem;
        color: #666;
        font-weight: bold;
        padding: 10px 20px;
        cursor: pointer;
    }

.no-border {
    border: 0;
    box-shadow: none; /* You may want to include this as bootstrap applies these styles too */
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btnFunction {
    padding: 15px !important;
    margin: 5px;
    border: solid 1px #ddd;
    border-radius: 3px;
    text-align: center;
}

.row-active {
   /* background-color: #efefef;*/
    background-color: color-mix(in srgb, var(--primaryColor) 10%, transparent) !important;
}


.btn-orange {
    color: white;
    background-color: #ff8300;
    border: 1px solid #dddddd;
    font-size: 16px;
}

    .btn-orange.active, .btn-orange.active:active {
        border: 0px;
        background-image: linear-gradient(71deg,#ff8300,#ff7f00 27%,#ff7200 54%,#ff5e00 82%,#ff4c00) !important;
    }

.btn-lg {
    padding: 10px 40px;
    font-size: 20px;
    cursor: pointer;
}

.btn-white {
    padding: 10px;
    border-radius: 2px;
    background-color: white;
    border: solid 1px #898989;
    cursor: pointer;
    text-align: center;
    width: 100%;
    color: #212529;
    border-radius: 10px;
}

.btn-white-flat {
    padding: 15px;
    background-color: white;
    border-bottom: solid 1px #ececec;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

    .btn-white-flat.text-active {
        background-color: #fafafa;
    }

.btn-light-gray {
    padding: 10px;
    border-radius: 10px;
    background-color: #efefef;
    border: solid 1px #efefef;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

    .btn-light-gray.active {
        color: #fff;
        background-color: var(--primaryColor);
        border: 1px solid var(--primaryColor);
        outline: none;
    }

.paymentBorder {
    border: 1px solid var(--primaryColor) !important;
    border-radius: 5px;
}

.carrierSelect {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border-radius: 5px;
    border: none;
    outline-color: var(--primaryColor);
}

#paymentTypeWrap button {
    color: #212529;
}

    #paymentTypeWrap button.active {
        color: #fff;
    }


.btn-dark-h50, .btn-dark-h50:hover {
    min-width: 100px;
    height: 50px;
    color: #fff;
    background-color: #262629;
    border: none;
    border-radius: 10px;
}

.btn-primary-h50, .btn-primary-h50:hover {
    min-width: 100px;
    height: 50px;
    color: #fff;
    background-color: var(--primaryColor);
    border: none;
    border-radius: 10px;
}



.rounded-10 {
    border-radius: 10px !important;
}

.rounded-5 {
    border-radius: 5px !important;
}

.rounded-25 {
    border-radius: 25px !important;
}

.rounded-md {
    border-radius: var(--modal-rounded);
}