html,
body,
#app,
main {
  height: 100%;
  overflow-x: hidden;
  font-family: "Roboto", sans-serif;
  background-color: #ebebeb;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */

input[type=number] {
  -moz-appearance: textfield;
}

.f-z-i {
  font-size: inherit !important;
}

.num-f {
  font-size: 25px !important;
  line-height: 20px;
  font-weight: bold !important;
}

.inp-sp {
  font-size: 20px !important;
  background-color: #222939 !important;
  color: gold !important;
}

.inp-sp-s {
  font-size: 20px !important;
  padding: 0rem 0.4rem !important;
}

.tot-f {
  background-color: #222939 !important;
  color: gold;
}

.ref-f {
  background-color: #a41919 !important;
  color: gold;
}

.bal-f {
  background-color: #232569 !important;
  color: gold;
}

.f-1-1em {
  font-size: 1.2em !important;
}

.f-2em {
  font-size: 2em;
}

.f-3em {
  font-size: 3em !important;
}

.p-r-30 {
  padding-right: 30px !important;
}

.pro-img img {
  position: absolute;
  height: 100%;
}

.d-ib {
  display: inline-block;
}

.st-img {
  position: absolute;
  height: 100%;
  left: 50%;
  transform: translate(-50%, 0);
}

.st.pen {
  background-color: #1d68a7;
  color: #ffffff;
  padding: 2px 10px;
}

.st.can {
  background-color: #ff0000;
  color: #ffffff;
  padding: 2px 10px;
}

.st.ref {
  background-color: #ffa500;
  color: #ffffff;
  padding: 2px 10px;
}

.st-sub {
  padding: 2px 10px !important;
}

.fn-1 {
  font-size: 20px;
  font-weight: bold;
}

.modal .modal-dialog {
  height: 90%;
}

.modal-open .submodal {
  overflow-x: hidden;
  overflow-y: auto;
}

.submodal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1052;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

body .modal:nth-of-type(2) {
  z-index: 1052 !important;
}

body .modal-backdrop:nth-of-type(2) {
  z-index: 1051 !important;
}

.nav-link {
  padding: 0.2rem 3rem;
}

.bar-top-action {
  margin-bottom: 5px;
  background-color: #ffffff;
}

.bar-top-action div {
  margin: 0;
  padding: 0;
}

.bar-bottom-action {
  background-color: #ffffff;
  padding: 5px;
}

.bar-summary {
  background-color: #ffffff;
}

.sec-heading {
  border-left: 4px solid #468a8e;
  padding: 0.5em;
  margin-bottom: 10px;
  background-color: #fff;
  position: relative;
}

.sec-heading > * {
  margin: 0;
}

.sec-heading span {
  font-size: 0.8em;
  color: #7b7979;
  font-weight: 500;
}

.btn-b {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.btn-print-show {
  background-color: #464646;
  color: #ffffff;
}

.btn-print,
.btn-print2,
.btn-print3,
.btn-print4 {
  background-color: #464646;
  color: #ffffff;
}

.print-show-con {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.65);
}

.sec-heading .menu {
  position: absolute;
  top: 0;
  right: 0;
}

.sec-heading .menu i {
  width: 40px;
  height: 20px;
  text-align: center;
  display: block;
  line-height: 20px;
  cursor: pointer;
  color: #797979;
}

.sec-heading .menu i:hover {
  background-color: #eee;
}

.sec-heading .shortcut-hint {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 5px;
}

.tbl-data {
  position: relative;
  border: 1px solid #e2e2e2;
  box-shadow: 0 0 1px #ccc;
  background-color: #ebebeb;
}

.sec-data {
  position: absolute;
  overflow-y: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.sec-data div {
  padding: 0;
}

.sec-data-header {
  background-color: #2b63ad;
  color: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.sec-data-header > div {
  padding: 0.4em;
  border-bottom: 1px solid #dedede;
  margin-bottom: 5px;
  font-size: 0.9em;
  font-weight: 700;
}

.sec-data p,
.sec-data-header p {
  margin: 0;
}

.sec-data .row,
.sec-data-header {
  margin: 0;
}

.sec-data > ul,
.sel-items-list ul,
.sel-items-list2 ul {
  padding: 0;
  margin: 0;
}

.sec-data > .row,
.sec-data > ul li,
.sel-items-list ul li,
.sel-items-list2 ul li {
  border-bottom: 1px solid #dedede;
  padding: 0.3em 0.4em;
  font-size: 0.9em;
  display: table;
  width: 100%;
  line-height: 18px;
  transition: 0.2s all ease-in;
  font-weight: 500;
}

.sel-items-list ul li {
  cursor: pointer;
}

.sel-items-list ul li:focus {
  background-color: #000000 !important;
}

.op-menu {
  display: table-cell;
  vertical-align: middle;
  width: 90px;
}

.sec-data.sel ul li {
  cursor: pointer;
}

.sec-data > ul li.active {
  background-color: #20374e !important;
  color: #ffffff;
}

.sec-data .sec-data-header > .row {
  display: table;
  width: 100%;
  line-height: 18px;
}

.sec-data .row > .row {
  width: 100%;
}

.sec-data .chk {
  width: 30px;
  display: table-cell;
  vertical-align: middle;
}

.sec-data .op-more {
  width: 30px;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
}

.sec-data .op-more:hover i {
  color: #ccc;
}

.sec-data .chk input[type=checkbox] {
  opacity: 0;
  position: absolute;
  z-index: 9;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.sec-data .chk.l input[type=checkbox] {
  opacity: 1;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
}

.sec-data .chk label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 0;
  font-weight: 700;
  position: relative;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.sec-data .chk input[type=checkbox]:checked + label:before {
  border-color: #03A9F4;
  background: #03A9F4;
}

.sec-data .chk label:before {
  content: "";
  margin-right: 10px;
  display: inline-block;
  vertical-align: text-top;
  background: white;
  border: 1px solid #bbb;
  border-radius: 2px;
  box-sizing: border-box;
  z-index: 2;
  cursor: pointer;
}

.sec-data .chk label:before {
  width: 18px;
  height: 18px;
}

.sec-data .chk input[type=checkbox]:checked + label:after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: inherit;
  z-index: 3;
  transform: rotateZ(45deg);
}

.sec-data .chkinput[type=checkbox]:checked + label:after {
  border-color: #fff;
}

.sec-data > .row:nth-child(odd),
.sec-data > ul li:nth-child(odd),
.sel-items-list ul li:nth-child(odd),
.sel-items-list2 ul li:nth-child(odd) {
  background-color: #fff;
}

.sec-data > .row:nth-child(even),
.sec-data > ul li:nth-child(even),
.sel-items-list ul li:nth-child(even),
.sel-items-list2 ul li:nth-child(even) {
  background-color: #f5f5f5;
}

.sec-data > ul li.selected {
  background-color: #92e81f;
  box-shadow: inset 0 0 5px #bbafaf;
}

.sec-data .barcode {
  font-size: 2em;
}

.form-control {
  height: initial;
  font-size: 0.9em;
  padding: 0.2rem 0.4rem;
  border-radius: 0;
  font-weight: 500;
}

.form-group {
  margin-bottom: 0.25rem;
}

#frm1 label,
#frm1-1 label,
#frm1-2 label,
#frm1-3 label,
#frm-add label,
#frm-data2 label,
#frmprint label {
  font-size: 0.9em;
  font-weight: 500;
  padding: 0.3rem;
  text-align: right;
}

.col-form-label {
  font-size: 0.9em;
  font-weight: 500;
  padding: 0.3rem;
}

#frm-add label {
  padding-bottom: 0;
  padding-left: 0;
}

#summary label {
  font-size: 0.9em;
  font-weight: 500;
  padding: 0.3rem;
  text-align: right;
}

#frmprint {
  background-color: #fff;
  padding: 2em;
  height: 95% !important;
}

.frm-ad-f {
  position: relative;
  background-color: #f7f7f7 !important;
  margin-top: 5px !important;
  border: 1px solid #e8e8e8;
  box-shadow: 0 0 4px 0px #ececec;
}

.frm-ad-f .label {
  padding: 0 !important;
}

#main-menu .head {
  background-color: #fff;
  border: 1px solid #e2e2e2;
  padding: 0.5em 1em;
  color: #5f5f5f;
  font-size: 1.1em;
  font-weight: 500;
}

#main-menu .tile {
  padding: 5px;
  padding: 5px;
  text-align: center;
}

#main-menu .tile a {
  text-decoration: none;
}

#main-menu .tile i {
  font-size: 4em;
}

#main-menu .tile img {
  height: 60px;
}

#main-menu .tile .n {
  font-size: 1.1em;
  font-weight: 500;
  /* padding: 10px 0 0 0; */
  margin-top: 20px;
  padding: 0;
}

#main-menu .tile .con {
  background-color: #ffffff;
  border: 1px solid #e2e2e2;
  padding: 2em 1em;
  color: #5f5f5f;
}

.section-module {
  padding: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease-in;
}

.tab-content > .active {
  display: flex;
  flex-direction: column;
}

.tab-content {
  padding: 0.5em 0.5em 0 0.5em;
  background-color: #ffffff;
}

.sel-items-list,
.sel-items-list2 {
  background-color: rgba(183, 183, 183, 0.72);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 75%;
  overflow-x: hidden;
  z-index: 5;
  padding: 5px !important;
  display: none;
}

.sel-items-list2 {
  background-color: #444444;
}

.sel-items-list ul li.active,
.sel-items-list2 ul li.active {
  background-color: #349800;
  color: #ffffff;
}

.pay-section,
.pay-section2,
.pay-section3 {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.77);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: none;
}

.pay-section > div > div,
.pay-section2 > div > div,
.pay-section3 > div > div {
  background-color: #ffffff;
  padding: 2em;
}

.pay-section div > div {
  background-color: #212529;
  color: #ffffff;
}

.in-chk {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  vertical-align: sub;
}

.find-section,
.refund-section {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.77);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: none;
}

.find-section label,
.refund-section label {
  font-size: 15px;
  font-weight: 500;
}

.find-section input,
.refund-section input {
  font-size: 30px;
}

.find-section > div > div,
.refund-section > div > div {
  background-color: #ffffff;
  padding: 2em;
}

.barcode-search-section {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  display: none;
}

.barcode-search-section input {
  font-size: 40px !important;
}

.barcode-search-section > div {
  margin: auto;
}

.click-select ul li {
  cursor: pointer;
}

.click-select ul lihover {
  background-color: #aaaaaa;
}

.custom-file-label {
  text-align: left !important;
}

.file-preview {
  display: none;
}

.file-preview i {
  position: absolute;
  top: 0;
  right: 0;
  /* padding: 10px; */
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border: 1px solid #fff;
  cursor: pointer;
  z-index: 2;
  margin: 5px;
  color: #fff;
  border-radius: 5px;
  background-color: rgba(62, 62, 62, 0.3);
}

.file-preview .ovl {
  background-color: rgba(62, 62, 62, 0.3);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.print-frame {
  border: 0;
  background-color: #999;
}

.frm-sp label {
  font-size: 30px !important;
  padding-right: 1em !important;
}

.frm-sp input {
  font-size: 40px !important;
  color: #ffffff;
  border: 1px solid #5d5d5d;
}

.frm-sp .nt {
  background-color: #4e4e41;
}

.frm-sp .cash {
  background-color: #269279;
}

.frm-sp .card {
  background-color: #189bda;
}

.frm-sp .change {
  background-color: #ea124e;
}

.frm-sp .form-control:focus {
  color: #ffffff !important;
}

.inv-card {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  padding: 0.5em;
  box-shadow: 0 0 20px #c1c1c1;
  cursor: pointer;
}

