@font-face {
  font-family: 'crushed';
  src: url('fonts/Lato-Regular.ttf');
  font-size: 12pt;
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'titlefont';
  src: url('fonts/Lato-Regular.ttf');
  font-size: 12pt;
  font-weight: normal;
  font-style: normal;
}

.unstyled::-webkit-inner-spin-button,
.unstyled::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}

.unstyled {
  width: 100%;
  text-align: center;
  border: none;
  background: white
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-inner-spin-button {
  display: none;
}

.form-control {
  width: 100%;
  padding: 7px;
  background: #f5f5f5;
  border: solid silver 1px;
  box-sizing: border-box;
  margin-bottom: 7px
}

.trback {
  background: #ddd;
}

* {
  outline: none;
  font-family: titlefont;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --header: #003080;
}

table {
  border-collapse: collapse;
  white-space: nowrap;
}

.contents {
  box-sizing: border-box;
  padding: 10px;
  height: 100%
}

body {
  box-sizing: border-box;
  outline: none;
  margin: 0px;
  padding: 10px
}

body.lowquality * {
  filter: none !important;
}

.login {
  width: 100%;
  height: 100%;
  background: white;
}

.container {
  z-index: 40;
  height: 100%;
}

.login-company {
  width: 100%;
  height: 19%;
  text-align: center;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center
}

.shopname {
  line-height: 130%;
  font-size: 22pt;
  text-align: center;
  width: 100%;
  display: block;
  font-family: titlefont
}

.login-img {
  width: 100%;
  align-items: center;
  justify-content: center;
  height: 30%;
  display: flex;
  background: white
}

.login-form {
  z-index: 10;
  width: 100%;
  height: 50%;
  padding: 20px;
  box-sizing: border-box;
  background: white
}

.item-form {
  z-index: 10;
  width: 100%;
  height: 50%;
  padding: 20px;
  box-sizing: border-box;
  background: white
}

.login-form .input input {
  display: block;
  width: 100%;
  margin: 5px 0px;
  padding: 10px 10px 10px 40px;
  background: #fff;
  border: solid gray 1px;
  border-radius: 5px
}

.login-form .input input:focus {
  box-shadow: 0px 0px 5px grey
}

select {
  display: block;
  width: 100%;
  padding: 5px;
  background: #ddd;
  border: solid gray 1px
}

.item-form .input input,
select {
  display: block;
  width: 100%;
  margin: 5px 0px;
  background: #ddd;
  border: solid gray 1px
}

.login-form button {
  display: block;
  width: 100%;
  font-size: 12pt;
  padding: 10px;
  background: var(--header);
  border: none;
  border-radius: 5px;
  color: white
}

.input {
  position: relative;
}

.input .fa {
  position: absolute;
  padding: 8px;
  font-size: 16pt
}

.input a {
  display: block;
  width: 100%;
  background: #ccc;
  text-decoration: none;
  padding: 8px;
  color: black;
  margin-top: -5px;
  box-sizing: border-box
}

.input a:hover {
  background: gray;
  color: white
}

.menu {
  display: none;
  z-index: 20;
  max-height: 200px;
  overflow: auto;
  margin-bottom: 5px
}

.signup {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bar {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--header);
  color: white;
  width: 100%;
  z-index: 50
}

.bar td {
  padding: 5px
}

.tabrow {
  width: 100%;
  box-shadow: 0px 0px 10px gray;
  cursor: arrow
}

.tab {
  display: inline-block;
  width: 32%;
  line-height: 50px;
  text-align: center;
  cursor: hand
}

.tabrow .active {
  border-bottom: solid red 2px
}

.loader {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.3);
}

.gif img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto
}

.tabdetails {
  padding: 5px;
}

.cata {
  display: inline-block;
  width: 80px;
  height: 125px;
  vertical-align: top;
  margin: 5px 10px 5px 5px;
  box-sizing: border-box;
  border: solid #ddd 1px;
  padding: 5px;
  box-shadow: 0px 0px 5px #ddd
}

.cata-image {
  width: 100%;
  box-sizing: border-box;
}

.cata-caption {
  font-size: 10pt;
  padding-top: 5px;
  box-sizing: border-box;
  text-align: center;
  border-top: solid gray 0px;
  margin-top: 5px
}

.brand {
  display: inline-block;
  text-transform: capitalize;
  padding: 5px 10px;
  border: solid #ddd 1px;
  border-radius: 10px;
  margin: 6px;
  box-shadow: 0px 0px 3px silver;
  text-decoration: none;
  color: black
}

.itemdiv {
  border: solid #ddd 1px;
  box-shadow: 0px 0px 5px #ddd;
  margin: 10px;
  border-collapse: collapse
}

.itemdiv .itemname {
  background: #e5e5e5;
  text-transform: capitalize;
  font-size: 11pt;
  padding: 10px
}

.itemdiv td {
  padding: 3px;
  font-size: 10pt
}

.txtqty,
.xtxtqty {
  border: none;
  text-align: center
}

.btnqty {
  background: #ddd;
  color: black;
  border: none;
  padding: 10px;
  border-radius: 5px
}

4 .cart {
  position: fixed;
  z-index: 90;
  width: 100%;
  height: 100%;
  right: -100%;
  top: 0;
  background: white;
  border-left: solid #ddd 2px;
  overflow: auto
}

.header {
  background: #ddd)
}

.header td {
  background: #ddd;
  color: black;
  font-size: 10pt
}

.header .fa {
  color: white
}

.cartitems {
  width: 100%;
  max-height: 100%;
  padding: 5px;
  box-sizing: border-box;
}

.cartitems td {
  padding: 5px;
  text-transform: capitalize
}

.saveqty {
  background: var(--header);
  width: 50%;
  color: white;
  padding: 5px
}

#final {
  width: 100%
}

.terms {
  padding: 10px
}

.search {
  width: 100%;
  border: solid #ddd 1px;
  border-radius: 5px;
  padding: 7px;
  padding-left: 30px;
  margin: 5px 0px;
  box-sizing: border-box
}

#finditem {
  position: absolute;
  display: inline-block;
  padding: 5px;
  top: 10px
}

.slidemenu {
  position: fixed;
  top: 0;
  left: -70%;
  width: 60%;
  background: white;
  border-right: solid black 1px;
  z-index: 60;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  overflow: auto
}

.menuclose {
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px;
  color: black
}

.shopaddr {
  font-size: 10pt;
  text-align: center
}

.icons .fa {
  font-size: 24pt;
  color: black
}

.icons .fab {
  font-size: 24pt;
  color: black
}

.trheader {
  background: #ddd
}

td {
  padding: 5px;
  font-size: 10pt
}

.links a {
  display: block;
  width: 100%;
  text-decoration: none;
  line-height: 30px;
  color: black;
  border-bottom: solid #ddd 1px
}

.links a:hover {
  background: #e5e5e5
}

.status {
  padding: 3px;
  color: white;
  font-size: 8pt
}

.billed {
  background: green
}

.smallcaption {
  font-size: 8pt
}

.suppname {
  font-size: 12pt;
  padding: 3px
}

.suppaddr {
  font-size: 10pt;
  color: gray;
  padding: 3px
}

.supptitle {
  font-size: 12pt;
  padding: 5px
}

.supp {
  border: solid #ddd 1px;
  border-width: 1px 0px 1px 0px;
  padding: 10px;
  margin-top: -1px
}

.supp:hover {
  background: #ddd;
  cursor: hand
}

.item_outer {
  margin: 5px 0px;
  border-bottom: solid #ddd 1px;
  padding-bottom: 5px;
}

.item_outer td {
  padding: 0px;
  font-size: 10pt;
}

#toast {
  display: none;
  background: black;
  color: white;
  padding: 10px;
  border-radius: 50px;
  text-align: center;
  position: fixed;
  bottom: 20px;
  left: 50%;
  font-size: 10pt;
  width: 80%;
  transform: translate(-50%, 0);
  z-index: 100;
}

.pagetitle {
  width: 100%;
  padding: 10px 0px;
  font-size: 14pt;
  box-sizing: border-box;
  font-weight: 600
}

.odate {
  width: 100%;
  padding: 5px;
  background: #ddd;
  box-sizing: border-box
}

.xrow td {
  padding: 5px
}

tr.xrow:hover {
  background: #f1f1f1
}

.chiplist {
  float: right;
  padding: 3px;
}

.chip {
  font-size: 9pt;
  background: #ddd;
  padding: 3px 5px;
}

.chipactive {
  background: var(--header);
  color: white
}

.modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0);
  z-index: 30000;
  display: none;
}

.btnsave {
  background: var(--header);
  color: white
}

select {
  visibility: visible;
  -webkit-appearance: menulist-text;
}

.xrow {
  padding: 5px;
  box-sizing: border-box;
  border-bottom: solid #ddd 1px;
  display: inline-block;
  width: 100%;
  position: relative
}

.brand_name {
  font-size: 11pt;
  width: 75%;
  display: inline-block
}

.item_rate {
  font-size: 11pt;
  width: 25%;
  display: inline-block;
  float: right;
  text-align: right
}

.slider {
  position: absolute;
  top: 0;
  right: -100;
  padding: 10px;
  box-sizing: border-box;
  background: white;
  border-left: solid #ddd 1px;
  display: none;
  overflow-y: hidden;
  z-index: 50
}

.slider a {
  color: black
}

.popup-out {
  width: 100%;
  position: fixed;
  bottom: 0px;
  left: 0px;
  background: transparent;
  border: none;
  bottom: -1050px;
  overflow: auto;
  z-index: 110;
  box-sizing: border-box;
  margin: 0 auto;
}

.pop-title {
  display: inline-block;
  width: 70%;
  padding: 10px;
  box-sizing: border-box;
}

.close {
  position: absolute;
  right: 0px;
  top: 10px;
  margin-top: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
}

.popup {
  width: 90%;
  background: white;
  border: solid silver 2px;
  box-shadow: 0px 0px 5px gray;
  ;
  overflow: auto;
  padding: 10px;
  box-sizing: border-box;
  margin: 20px auto;
  border-radius: 10px;
  position: relative
}

.datetitle {
  width: 100%;
  font-size: 10pt;
  border-bottom: solid #ddd 2px;
  padding: 5px;
  box-sizing: border-box;
}

.deli {
  border-bottom: solid #ddd 1px
}

.deli:hover {
  background: #f0f0f0
}

.tblhome td.item_title {
  background: red;
  font-weight: bold;
  color: white
}

.tblhome td {
  background: white
}

.home {
  width: 100%;
  padding: 15px;
  box-sizing: border-box
}

.btn {
  width: 100%;
  color: white;
  padding: 7px;
  background: var(--header);
  text-align: center;
  border: none;
  border-radius: 5px;
}

.catatitle {
  width: 100%;
  color: black;
  padding: 10px;
  background: #ddd;
  text-align: left;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  box-sizing: border-box;
}

.imgopc {
  opacity: 0.2
}

label {
  width: 100%;
  margin: 10px 0px;
  font-size: 9pt;
  color: var(--header)
}

.mainbox {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start
}

.box {
  width: 40%;
  height: 150px;

  background: white;
  flex-grow: 1;
  margin: 0.7em;
  display: flex;
  flex-wrap: wrap;
  align-items: strech;

}

.maincontainer {
  display: flex;

  background-color: white;
  width: 100%;
  flex: auto;
  overflow: hidden;
}

.icon {
  width: 100%;
  height: 110px;
  background: white;
  align-items: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px 10px 0px 0px;
  border: solid #291F74;
  1px;
}

.caption {
  width: 100%;
  background: #291F74;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14pt;
  border-radius: 0px 0px 10px 10px;
}

.newfa {
  font-size: 48pt;
  color: var(--header);
}

.xbox {
  width: 100%;
  border: solid black 1px;
  margin-top: 10px;
  padding: 10px;
  box-sizing: border-box
}

.xbox-active {
  background: var(--header);
  color: white
}

.w1 {
  width: 10%;
  float: left;
  padding: 3px;
  box-sizing: border-box
}

.w2 {
  width: 20%;
  float: left;
  padding: 3px;
  box-sizing: border-box
}

.w3 {
  width: 30%;
  float: left;
  padding: 3px;
  box-sizing: border-box
}

.w4 {
  width: 40%;
  float: left;
  padding: 3px;
  box-sizing: border-box
}

.w5 {
  width: 50%;
  float: left;
  padding: 3px;
  box-sizing: border-box
}

.w6 {
  width: 60%;
  float: left;
  padding: 3px;
  box-sizing: border-box
}

.w7 {
  width: 70%;
  float: left;
  padding: 3px;
  box-sizing: border-box
}

.w8 {
  width: 80%;
  float: left;
  padding: 3px;
  box-sizing: border-box
}

.w9 {
  width: 90%;
  float: left;
  padding: 3px;
  box-sizing: border-box
}

.w10 {
  width: 100%;
  padding: 3px;
  box-sizing: border-box
}

.modal-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}


.modal-header .close,
.modal-header .mailbox-attachment-close {
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
}

.title {
  font-size: 14pt;
  font-weight: 600;
  margin: 10px 0px;
  color: var(--header)
}

.content {
  padding: 5px;
  box-sizing: border-box
}

.err {
  color: red;
  font-size: 8pt;
  margin-top: -5px
}

.report {
  width: 100%;
  overflow-x: auto
}