/* ------------------------------------------ */
.pan-ss-closed {
    height: 100vh;
    width: 100%;
    text-align: center;
    background-color: #000;
}

.pan-ss-closed img {
    width: 100%;
    height: 100%;
}

/* ------------------------------------------ */
.journal-cr-panel,
.journal-panel {
    position: relative;
    display: inline-block;
    width: 430px;
    margin-top: 0;
    vertical-align: top;
}

.journal-cr-panel {
    padding: 10px 20px;
    font-size: 1.7em;
    background-color: #C8C8C8;
}

.cr-journal {
    margin: 20px auto;
    height: calc(100vh - 50px - 230px);
    width: 90%;
    /* background-color: #C8C8C8; */
    background-color: #fff;
    border: 4px solid black;
    padding: 10px;
    overflow: hidden;
    font-size: 1.2em;
    line-height: 1.2em;
}
.cr-journal-new {
    background-color: #fff;
    padding: 0 15px;
}
.cr-journal-old {
    background-color: #E0E0E0;
    padding: 0 15px;
    min-height: 600px;
}

.cr-old-trans {
    /* background-color: #E0E0E0; */
}
.cr-line {

}
.cr-separator {

}
.cr-success {
    color: #3C6522;
}
.cr-fail {
    color: #C72414;
}

/* ------------------------------------------ */
.info-panel,
.info-panel-full {
    position: relative;
    display: inline-block;
    width: calc(100% - 435px);
    /*height: calc(100vh - 110px);*/
    height: calc(100vh);
    margin-top: 0;
    background-color: #000;
    border: 1px solid black;
    vertical-align: top;
    overflow: hidden;
}
.info-panel-full {
    width: 100%;
}

.journal-title {
    text-align: center;
}

.left-journal {
    background-color: #e5e5e5;
    border-bottom-right-radius: 12px;
    width: 430px;
    box-shadow: 2px 1px 1px #999;
    -webkit-box-shadow: 2px 1px 1px #999;
    padding: 0;
    /*margin-left: 1px;*/
}


.journal-details {
    overflow: hidden; /* hidden */
    color: #000;
    font-size: 12px;
}

.journal-header {
    padding: 15px 0 10px;
    margin: 0;
    font-weight: bold;
}


.journal-subtotal-bar {
    background-color: #2d353c;
    /* 313c64 */
    padding: 8px 15px 5px 8px;
    color: #fff;
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    /*width: 100%;*/
}

.journal-table-container {
    width: 100%;
    color: inherit;
    /*overflow-y: scroll;*/
    height: 100%;
    font-size: 1.2em;
}


.journal-receipt-discount-selected, .journal-combo-item-selected, .journal-combo-item-modifier-selected, .journal-item-modifier-selected, .journal-item-discount-selected {
    background-color: #0c7f0e !important;
    /* red !important; */
    color: white !important;
}

.journal-item-discount {
    color: red;
}

.journal-item-current {
    background-color: #cccccc;
    /* #bdceef; */
}


/*-------------------- pos table - START ------------------------*/

.journal-list {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.journal-list th {
    text-decoration: underline;
}

.journal-list th, .journal-list td {
    padding: 1px 5px;
    text-align: left;
}

.journal-list td:nth-child(1), .journal-list th:nth-child(1) {
    width: 52px;
}

.journal-list td:nth-child(2), .journal-list th:nth-child(2) {
    width: 300px;
}

.journal-list td:nth-child(3), .journal-list th:nth-child(3) {
    width: 70px;
    text-align: right;
}

.journal-list thead {
    background-color: #333333;
    color: #fdfdfd;
    font-size: 1.3em;
}

.journal-list thead tr {
    display: block;
    position: relative;
}

.journal-list tbody {
    display: block;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 105%;
    height: calc(100vh - 50px - 130px);
    font-size: 1.2em;
    line-height: 2.4em;
}

.journal-list tbody tr {
    border-bottom: 1px solid #888;
}

.journal-list tbody tr:hover {
    cursor: pointer;
}

.journal-item-indent {
    padding-left: 30px !important;
}

.journal-item-indent-2 {
    padding-left: 50px !important;
}


/*.journal-list tbody tr:nth-child(even) {
  background-color: #dddddd;
}*/

.journal-receipt-discount {
    /*background-color: #cacaca;*/
    padding: 1px 15px 10px 15px;
    font-weight: bold;
    font-size: 2em;
    display: list-list-item;
}

.journal-receipt-discount:hover {
    cursor: pointer;
}

.computation {
    color: blue;
}

.socket-status,
.version {
    display: inline-block;
    margin-top: 3px;
    color: #bbb;
}

.socket-status {
    width: 48%;
    margin-left: 10px;
}
.version {
    width: 45%;
    margin-right: 10px;
    text-align: right;
}

/* popup modal */
.modal-tender {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 430px;
    height: 100%;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0,0,0, 0.4);
}

.modal-tender-body {
    background-color: #fefefe;
    margin: 50% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* popup modal - receipt */
.modal-receipt {
    display: none;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    line-height: 100vh;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0,0,0, 0.4);
    text-align: center;
}

.modal-receipt-body {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 70%;
    vertical-align: middle;
    display: inline-block;
    text-align: left;
}

.tbl-tender {
    width: 100%;
    font-size: 1.5em;
}

.tbl-tender tr {
    border-bottom: solid 1px #ccc;
    line-height: 2.2em;
}

.tbl-info {

}

.tbl-info-value {
    text-align: right;
}

.tbl-row-receipt-pps-bal,
.tbl-row-payable {
    font-weight: bold;
    font-size: 1.1em;
}

.pps-place-card-msg {
    color: blue;
    font-size: 1.7em;
    padding: 1em 0 0.5em 0;
    text-align: center;
}

.ppc-warning {
    background-color: red;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 14pt;
}

.pps-result-msg {
    color: #fff;
    font-size: 2em;
    text-align: center;
}
