/* CSS Document */
html, body {
    margin: 0;
    padding: 0;
}
body {
	background-color:#000000 !important;
    min-height: 100vh !important;
    padding-right: 0 !important;
}
#wrapper {
	margin: auto;
    height: auto;
	max-width: 100%;
    min-height: 100vh;
    padding: 0;
    background-color: #FFF;
    z-index: 1;
}
.ui-tabs-panel {
    position: relative;
    min-height: calc(100vh - 45px);
    padding: 12px 10px 40px 10px !important;
}
.ui-dialog.setup-dialog {
    z-index: 3100 !important;
}
#items {
    min-height: 300px;
}
#items .item-note-input,
.item-note-input {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.2;
}
#totals {
    width:calc(100% - 13px);
    margin-top:10px;
    margin-bottom: 50px;
    position: absolute;
    bottom: 0;
}
#loginmodal {
    position:absolute;
    left:0;
    top:0;
    right: 0;
    width:100%;
    height: 100%;
    background-color:#000000;
    z-index: 3000;
    overflow: auto;
}
#loginbox {
    width: 400px;
    height: 380px;
    left:50%;
    margin-left:-200px;
    margin-top: 60px;
    text-align: center;
}
#loginbox .widget-main {
    padding: 16px 20px 20px;
    min-height: 100%;
}
#loginbox .input-icon {
    max-width: 320px;
    margin: 0 auto;
}
#loginbox #username,
#loginbox #username_input {
    padding-left: 24px;
    padding-right: 32px;
}
#loginbox #password {
    padding-right: 32px;
}

#loginbox .login-pass-toggle {
    cursor: pointer;
    z-index: 3;
}

#loginbox .login-pass-toggle-right {
    position: absolute;
    left: auto;
    right: 3px;
    top: 3px;
    bottom: 1px;
    padding: 0 3px;
    line-height: 28px;
}

#loginbox .login-pass-toggle:hover {
    color: #579;
}

body.rtl #loginbox #password {
    padding-left: 24px;
    padding-right: 32px;
}

body.rtl #loginbox .input-icon>.icon-lock {
    left: auto;
    right: 3px;
}

div:where(.swal2-container) {
    z-index: 3000 !important;
}

body.rtl #loginbox .login-pass-toggle-right {
    right: auto;
    left: 3px;
}
#login-banner {
    padding: 10px 12px !important;
    margin-bottom: 0 !important;
}
#reportcontain {
    border: solid 1px #ccc;
    width: 100%;
    min-width: 480px;
    -moz-box-shadow:    3px 3px 5px 6px #ccc;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;
    box-shadow:         3px 3px 5px 6px #ccc;
    min-height: 600px;
    overflow-x: auto !important;
}
.totalsbox {
    display: inline-block;
    max-width: 400px;
}
.totalslabel{
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    width: 100px;
}
.totalsval {
    font-size: 16px;
    width: 120px;
    display: inline-block;
}
.logout_btn {
    height: 45px;
    overflow: hidden;
}
.toolbarbtn {
    width:45px;
    height:45px;
    display:inline-block;
    margin-left:8px;
    margin-bottom:8px !important;
    font-size: 14px !important;
    text-align: center;
}
.regbtn {
    width:75px;
    height:45px;
    display:inline-block;
    margin-left:8px;
    margin-bottom:8px !important;
    font-size: 13px !important;
    text-align: center;
}
.small-button {
    font-size: 14px !important;
    height: 30px;
    margin:0;
}
.settings-row {
    margin: 10px;
}
.settings-help {
    display: block;
    font-size: 12px;
    color: #777;
    margin-top: 2px;
}
.inline {
    display: inline-block;
}
.settings-row label label {
    display: inline-block;
}
.fixedlabel {
    min-width:80px;
}
#regkey-inner {
    display:inline-block;
    width:160px;
    vertical-align:top;
}
#regkey-container {
    display:inline-block;
    width:160px;
    vertical-align:top;
    float: right;
}
.panel-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#ibox {
    position: absolute;
    right: 0;
    top:0;
    bottom: 0;
    width: 0;
    max-width: 450px;
    margin-bottom: 38px;
    overflow: visible !important;
    overflow-x: visible !important; /* Needed for when overflow is overridden */
}
#iboxhandle {
    position: absolute;
    width: 30px;
    height: 45px;
    top:5px;
    margin-left: -30px;
    line-height: 45px;
    text-align: center;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    cursor: ew-resize;
}
#iboxitem_contain {
    position: relative;
    min-width: 0;
    height: 100%;
    background-color: white;
    overflow-x: hidden !important;
}
#iboxitems {
    margin: 5px;
    margin-left: 15px;
    width: 440px;
    overflow-x: hidden !important;
}
.iboxitem {
    width: 134px;
    height: 134px;
    border: 2px solid #428BCA;
    border-radius: 4px;
    display: inline-block;
    background-color: #C5D0DC;
    margin: 4px;
    text-align: center;
    vertical-align: middle;
}
.ui-tabs .ui-tabs-nav li a {
    height: 44px !important;
    padding-top: 12px !important;
}
.navbar {
    border-bottom: 0 !important;
}
/* For android scanner */
.rotate {
    margin-bottom: 60px;
    behavior: url(-ms-transform.htc);
    /* Firefox */
    -moz-transform: rotate(90deg);
    /* Safari and Chrome */
    -webkit-transform: rotate(90deg);
    /* Opera */
    -o-transform: rotate(90deg);
    /* IE9 */
    -ms-transform: rotate(90deg);
    /* IE6,IE7 */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
    /* IE8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1);";
}
.field-button {
    height: 33px !important;
    margin-bottom: 4px !important;
}
.field-button-attach {
    margin-left: -4px !important;
}
#watermark {
    content : "";
    display: block;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 10px;
    width: 99.5%;
    height: 99%;
    opacity : 0.2;
    z-index: -1;
}
.ui-autocomplete li {
    overflow-x: hidden !important;
}
.ui-autocomplete {
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
}

#transactioninfo {
    max-width: 800px;
}

#transactiontable_processing {
    display: none;
}

#transactiontable_wrapper .col-sm-12 {
    padding: 0;
}

#transactiontable .table-header {
    font-size: 13px;
}

#totals-container {
    display:inline-block;
    max-width:450px;
    vertical-align:top;
}

/* #Media Queries
================================================== */

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
    #window_width_toggle {
        display: none;
    }
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {

}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    #reportcontain {
        width: 480px;
    }
    .hlabel {
        width: 100px;
    }
    #loginbox {
        width: 350px;
        margin-left:-175px;
    }
    #ibox {
        max-width: 300px;
    }
    #iboxitems {
        width: 290px;
    }
    #transactioninfo {
        max-width: 96%;
    }
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
    #reportcontain {
        width: 480px;
    }
    .hlabel {
        width: 95px;
    }
    #loginbox {
        width: 100%;
        left: 0;
        padding: 5px;
        margin-left: 0;
    }
    .settings-row label label {
        min-width: 70px;
    }
    #ibox {
        max-width: 160px;
    }
    #iboxitems {
        width: 150px;
    }
    .ui-dialog {
        width: 100% !important;
    }
}

@media only screen and (max-width: 630px) {
    #regkey-container {
        width: 100%;
        margin-top: 20px;
        text-align: center;
    }
}

body.rtl #regkey-container {
    float: left;
}

body.rtl .toolbarbtn,
body.rtl .regbtn {
    margin-left: 0;
    margin-right: 8px;
}

body.rtl .field-button-attach {
    margin-left: 0 !important;
    margin-right: -4px !important;
}

body.rtl #ibox {
    left: 0;
    right: auto;
}

body.rtl #iboxhandle {
    margin-left: 0;
    margin-right: -30px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

body.rtl #iboxhandle .icon-chevron-left {
    display: inline-block;
    transform: scaleX(-1);
}

body.rtl #iboxitems {
    margin-left: 0;
    margin-right: 15px;
}

body.rtl .navbar > button,
body.rtl .navbar > div {
    float: left !important;
}

body.rtl .navbar > div {
    text-align: left !important;
}

body.rtl #pos-dir-toggle {
    margin-left: 6px !important;
    margin-right: 0 !important;
}

body.rtl #items > button.btn {
    float: left !important;
}

body.rtl #paymentsdiv .add-payment-btn {
    float: left !important;
}

        .payment-invoice-preview {
            width: 100%;
            margin-bottom: 12px;
            border: 1px solid #dcdcdc;
            border-radius: 6px;
            background: #fff;
            padding: 12px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.05);
        }

        .payment-invoice-preview .preview-title {
            font-weight: 600;
            margin-bottom: 8px;
            text-align: right;
        }

        .payment-invoice-preview iframe {
            width: 100%;
            height: 360px;
            border: none;
            background: #fff;
        }

body.rtl #transactiondiv .trans-notes-save {
    float: left !important;
}

body.rtl #refpaydtlbtn {
    float: left !important;
}

th {
    text-align: start !important
}

#rest-home .rest-modes .rest-mode-btn {
    position: relative;
}

#rest-home .rest-modes .drag-handle {
    position: absolute;
    inset-inline-end: 5px;
        top: 5px;
    cursor: grab;
    user-select: none;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    color: white;
        display: flex;
        justify-content: center;
        align-items: center;
}



#rest-home .rest-modes .drag-handle:active {
    cursor: grabbing;
}

#rest-home .rest-modes .drag-handle i {
    pointer-events: none;
}
.drag-handle {
    cursor: grab;
}

#list-categories li.StackedListItem--isDraggable a {
    padding-right: 0;
}

#list-categories li.StackedListItem--isDraggable .menu-text {
    margin-inline-start: 4px;
}

#list-categories .drag-handle {
    height: 100%;
    display: inline-block;
    background: linear-gradient(#6fb7ff, #2f7fe0);
}

#list-categories .drag-handle img {
    filter: invert(1);
}
#rest-item-grid .rest-item .rest-mode-btn {
    position: relative;
}

#rest-item-grid .rest-item .drag-handle {
    position: absolute;
    inset-inline-end: 5px;
    top: 5px;
    cursor: grab;
    user-select: none;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}


#rest-item-grid .rest-item .drag-handle:active {
    cursor: grabbing;
}

#rest-item-grid .rest-item .drag-handle i {
    pointer-events: none;
}

.item-search-code {
    display: inline-block;
    min-width: 34px;
    margin-inline-end: 8px;
    padding: 3px 7px;
    border-radius: 4px;
    background: #ffd84d;
    color: #111;
    border: 1px solid #e0b900;
    font-weight: 800;
    text-align: center;
}

.ui-dialog-title {
    margin: 20px;
}

[aria-describedby="paymentsdiv"] {
    top: 70px !important;
}

.rtl table.table-bordered.dataTable tbody th,
.rtl table.table-bordered.dataTable tbody td {
    text-align: right !important
}
[data-pay="external"] {
    /*display: none !important;*/
}

.itemcellname {
    cursor: pointer;
}

.rest-parent-label {
    font-size: 0.75em;
    color: #999;
    margin-top: 2px;
    display: block;
}

.rest-suborder-note {
    font-size: 0.85em;
    margin-top: 6px;
    color: #4a4a4a;
}

.rest-suborder-note.hide {
    display: none;
}
