/*
Theme Name: Ma5zan
Theme URI: 
Author: Mahmoud fathy
Author URI: https://wordpress.org/
Description: Sohag mall inventory app.
Tags: 
Version: 1.6.104
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ma5zan
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden], template {
  display: none;
}

html {
  background: #fff;
  color: #000;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
  font-family: sans-serif;
}

body {
  margin: 0;
}

a {
  background: transparent;
}

a:focus {
  outline: thin dotted;
}

a:hover, a:active {
  outline: 0;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h2 {
  font-size: 1.5em;
  margin: 0.83em 0;
}

h3 {
  font-size: 1.17em;
  margin: 1em 0;
}

h4 {
  font-size: 1em;
  margin: 1.33em 0;
}

h5 {
  font-size: 0.83em;
  margin: 1.67em 0;
}

h6 {
  font-size: 0.75em;
  margin: 2.33em 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}

pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}

q:before, q:after {
  content: '';
  content: none;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
  white-space: normal;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
}

button, input {
  line-height: normal;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
input[disabled] {
  cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input[type="search"] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

input[type="checkbox"], input[type="radio"] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

body {
  font-size: 18px;
  font-family: 'Tajawal', sans-serif;
  overflow: hidden;
  padding-right: 100px;
}

.table td,
.table th {
  vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 15px;
}

*:last-child {
  margin-bottom: 0;
}

.is-justify-content-end {
  -webkit-box-pack: end !important;
      -ms-flex-pack: end !important;
          justify-content: flex-end !important;
}

.app-loading {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #023357e8;
  z-index: 1000000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.app.loading .app-loading {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.login-container {
  width: 100%;
  max-width: 550px;
  margin: 50vh auto;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  text-align: center;
  border: 1px solid #e8e8e8;
  padding: 50px;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 5px #0000001a;
          box-shadow: 0 0 5px #0000001a;
}

.login-container img {
  margin-bottom: 40px;
}

.login-container form {
  text-align: start;
}

.login-container form p:not(:last-child) {
  margin-bottom: 20px;
}

[v-cloak] {
  display: none;
}

td {
  direction: ltr;
}

#inventory-app .container {
  max-width: none;
  margin: 0;
}

#inventory-app .container .page {
  padding: 0 50px 50px;
  overflow: auto;
}

@media (max-width: 767px) {
  #inventory-app .container .page {
    padding: 0 20px 20px;
  }
  .gridjs-search-input {
    width: 180px;
  }
}

#inventory-app .container input[type="number"] {
  direction: ltr;
  text-align: right;
}

#inventory-app .app-month {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: red;
  color: #fff;
  padding: 10px 25px;
  font-size: 24px;
  font-weight: 600;
}

#inventory-app tr.is-deleted {
  background: #f4433630;
  opacity: 0.5;
}

#inventory-app .invoice-container {
  margin: 15px auto;
  padding: 70px;
  max-width: 1000px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 100px;
  margin-bottom: 300px;
  position: relative;
}

@media (max-width: 767px) {
  #inventory-app .invoice-container {
    overflow-x: auto;
  }
}

#inventory-app .invoice-container .back-link {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 10px;
}

#inventory-app .invoice-container header, #inventory-app .invoice-container .info {
  margin-bottom: 30px;
}

#inventory-app .invoice-container footer {
  margin: -70px;
  padding: 30px 70px;
  border-top: 1px solid #e8e8e8;
}

#inventory-app .invoice-container .approved {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: #fff;
}

#inventory-app .invoice-container .auto-approve {
  position: absolute;
  top: -50px;
  left: -50px;
  background-color: #e74c3c;
  color: #fff;
  padding: 0 20px;
  line-height: 1px;
  height: 32px;
  display: flex;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 4px;
}

@media (max-width: 767px) {
  #inventory-app .invoice-container {
    padding: 35px 20px 70px 20px;
    margin-top: 0px;
    border: none;
    border-radius: 0px;
  }
}

#inventory-app .notification-dot {
  width: 20px;
  height: 20px;
  background-color: #F64540;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: 500;
  margin-right: 10px;
  border-radius: 50%;
  font-size: 12px;
}

#inventory-app .menu .notification-dot {
  position: absolute;
  top: -9px;
  left: -9px;
}

.mobile-menu {
  display: none;
}

.sidebar {
  background-color: #023357;
  min-height: 800px;
  height: 100vh;
  width: 100px;
  position: fixed;
  right: 0;
  top: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 30px 0 0;
  text-align: center;
  z-index: 100000;
}

.sidebar .close {
  display: none;
}

.sidebar .logo {
  margin-bottom: 30px;
  display: block;
}

.sidebar .logo img {
  width: 60px;
}

.sidebar .menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0 20px;
}

.sidebar .menu a {
  margin-bottom: 30px;
  position: relative;
  display: block;
}

.sidebar .menu a .label {
  position: absolute;
  right: 100%;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  white-space: nowrap;
  color: #fff;
  font-size: 26px;
  background: #fa622c;
  padding: 0 20px;
  height: 46px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 100;
  margin-right: 20px;
  border-radius: 3px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.sidebar .menu a:hover .label {
  opacity: 1;
  visibility: visible;
}

.sidebar .menu a.router-link-exact-active path, .sidebar .menu a.router-link-exact-active g {
  fill: yellow;
}

.sidebar .menu a .truck svg {
  width: 40px;
}

.sidebar .menu .icon {
  width: 28px;
}

.sidebar .menu .archive-link {
  position: relative;
}

.sidebar .menu .archive-link .archive {
  position: absolute;
  background: #eaeaea;
  padding: 10px;
  z-index: 10000;
  top: 30px;
}

.sidebar footer {
  color: #fff;
  text-transform: capitalize;
}

.sidebar footer .user-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.sidebar footer .avatar {
  border-radius: 50%;
  border: 1px solid #979797;
  margin-bottom: 15px;
}

.sidebar footer .username {
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}

.sidebar footer .role {
  font-size: 14px;
  margin-bottom: 20px;
  display: block;
}

.sidebar footer .logout {
  font-size: 15px;
  color: #FFE311;
}

.sidebar footer .reload {
  color: #FFE311;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 50px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 17px;
}

.sidebar footer .reload .icon {
  margin-bottom: 8px;
}

.gridjs-pagination.hidden {
  display: none;
}

.shelf-number {
  color: #f45d00;
  font-weight: 600;
}

.status {
  position: relative;
}

.status .desc {
  position: absolute;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  bottom: 100%;
  font-size: 14px;
  padding: 10px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.status .desc span {
  white-space: nowrap;
}

.status:hover .desc {
  opacity: 1;
  visibility: visible;
}

table.gridjs-table {
  min-width: 100%;
  text-align: right;
}

table.gridjs-table td {
  direction: unset;
}

.gridjs-pagination .gridjs-pages button:focus {
  -webkit-box-shadow: unset;
          box-shadow: unset;
}

.page-title {
  box-shadow: 0 3px 3px #0000001f;
  background-color: #021c2f;
}

.page-title h1 {
  font-size: 2.5rem;
  color: yellow;
  text-align: center;
  margin: 10px 0;
}

@media (max-width: 767px) {
  body {
    padding-right: 0;
  }
  .mobile-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    padding: 15px;
    background: #023357;
  }
  .mobile-menu svg {
    display: block;
  }
  .sidebar {
    width: 100%;
    display: none;
    min-height: auto;
    overflow: auto;
  }
  .sidebar .close {
    display: block;
    position: absolute;
    top: 15px;
    left: 15px;
  }
  .sidebar.active {
    display: block;
  }
  .credites-bar {
    display: block !important;
  }
  .credites-bar span {
    display: block;
  }
  .credites-bar span:not(:last-child) {
    margin-bottom: 15px;
  }
}

.print-only {
  display: none;
}
@media print {
  .print-only {
    display: block;
  }
  .no-print,
  .gridjs-search {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
  .page-title h1 {
    color: #000 !important;
  }
  .sidebar {
    display: none;
  }
  #inventory-app .invoice-container {
    padding: 40px;
  }
  hr, .invoice-container footer, .invoice-container .received, .invoice-container main hr {
    display: none;
  }
  .invoice-container .columns {
    margin-bottom: 5px;
  }
  .invoice-container h3 {
    margin-bottom: 5px;
  }
.table-title {
  font-size: 0 !important;
  margin: 20px 0 10px !important;
  border-bottom: 1px solid #dbdbdb;
}

  .invoice-container .column {
    padding: 0;
  }
  .invoice-container header {
    position: absolute;
    top: 15px;
    right: 15px;
  }
  .invoice-container header img {
    width: 100px;
  }
  .invoice-container header .columns .column:last-child {
    display: none;
  }
  .invoice-container main columns {
    display: flex;
    padding: 5px;
  }
  
  .invoice-container .approved {
    top: 10px;
    left: 10px;
  }
  .invoice-container.branch-copy .has-value {
    display: none;
  }
  .table td, .table th {
    padding: 5px 10px;
  }
}
