﻿#colorWrap {
    width: 130px;
}

#colorWrap .m_switch {
    width: 36px;
    height: 20px;
}

#colorWrap .keyColorDot {
    border: 1px solid #ddd;
    cursor: pointer;
}

.materialIconWrap, .keyColorWrap {
    background-color: #cfd8dc;
    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: var(--primaryColor);
        color: #fff;
        border: none;
        box-shadow: none;
    }

#customEditWrap .edit-toolbar .primary-light, .btn-shadow {
    box-shadow: 0 0 10px 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;
}

.list-content .edit-label, .list-content .edit-label-2 {
    border-right: none;
}

.list-content .edit-input-wrap, .list-content .edit-select-wrap {
    position: relative;
    min-height: 48px;
    margin-right: 0;
    border-left: 1px solid #d3d3d3;
}

.list-content .edit-select-wrap {
    padding-right: 0.5rem;
}

.list-content .edit-select-wrap select, .list-content .edit-input-wrap input {
    width: 100%;
    min-height: 45px;
    border-radius: 0;
    border: none;
}

.list-content .edit-input-wrap + .edit-label {
    border-left: 1px solid #d3d3d3;
}

.list-content .checkbox-block, .list-content .radio-block {
    min-height: 48px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.list-content .checkbox-block + .checkbox-block, .list-content .radio-block + .radio-block {
    padding-top: 5px
}

.list-content .custom-checkbox, .list-content .custom-radio {
    margin-bottom: 0;
}

.list-content .edit-input-wrap select, .list-content .edit-input-wrap input {
    width: 100%;
    min-height: 48px;
    border-radius: 0;
    border: none;
}

.list-content .edit-input-wrap input[type="checkbox"]:not(.m_switch_check) {
    width: unset;
    min-height: unset;
}

.list-content .edit-input-wrap .edit-text {
    padding: 10px;
    color: #757575;
}

.list-content .edit-input-wrap .edit-text span {
    color: black;
}

.list-content .button-select {
    display: flex;
    align-items: center;
    background-color: #f7f7f7;
}

.list-content .button-select button {
    border: 1px solid #e6e6e6;
    border-radius: 0;
    background-color: #fff;
    white-space: nowrap !important;
}

.list-content .button-select button + button {
    border-left: none;
}

.list-content .edit-label-grow {
    border-right: none;
}

.list-content 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;
}

.puregrid-style-1 {
    border: 1px solid #d3d3d3;
}

.puregrid-style-1 .th {
    min-width: 40px !important;
    font-size: 16px;
    font-weight: 400;
    color: #212529;
    background-color: #e6e6e6 !important;
    border-bottom: 2px solid #dee2e6;
}

.puregrid-style-1 .col {
    padding: 7px 0.75rem !important;
}

.puregrid-style-1 .row:not(.th) .col {
    white-space: normal;
    word-break: break-word;
}

.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.25rem;
    }
}


.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;
    max-height: 60px;
    max-width: 60px;
    border: 1px solid #ddd;    
    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;
}


.dotColor {
    height: 25px;
    width: 25px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}
