@font-face {
  font-family: vazir;
  src: url("../Font/Vazir.ttf"), url("../Font/Vazir.eot"); /* IE9+ */
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: #eee;
  font-family: vazir, serif;
  z-index: 99;
  height: 100%;
  width: 100%;
}
#html-content{
  max-width: 1920px;
  
}
select {
  width: 13rem;
}

.inDoc {
  background: #edffdd;
}

.inDocConfirm {
  background: #d3ffad;
}

.outDoc {
  background-color: #ffdad6;
}
.outDocConfirm {
  background-color: #ffa8a0;
}

.transferDoc {
  background-color: #efd7ff;
}
.transferDocConfirm {
  background-color: #d89eff;
}

.reserveDoc {
  background-color: #ffd1e7;
}
.reserveDocConfirm {
  background-color: #fda6ca;
}

.deductionDoc {
  background-color: #dae2ff;
}
.deductionDocConfirm {
  background-color: #a2b6fb;
}

.additionDoc {
  background-color: #d1f5ff;
}
.additionDocConfirm {
  background-color: #8fe3fa;
}


.verticalCenter{
  display :table-cell;
  vertical-align :middle;
}

.BUTTON_JIX {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  color: #000000;
  font-family: Brush Script MT;
  font-size: 10px;
  font-weight: 100;
  padding: 5px;
  background-color: #ffffff;
  -webkit-box-shadow: 1px 1px 5px 0 #ffffff;
  -moz-box-shadow: 1px 1px 50px 0 #ffffff;
  box-shadow: 1px 1px 20px 0 #ffffff;
  text-shadow: 1px 1px 20px #ffffff;
  border: solid #d534bc 2px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  text-align: center;
}

.BUTTON_JIX:hover {
  background: #f9f9f9;
  border: solid #fbadfd 2px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 2px;
  text-decoration: none;
}

/* 
.header{
    position : fixed;
    max-height: 50px;
    width: 100%;
    background: #e8e8e8;
    color: #555555;
    padding: 10px;
    display: flex;
    align-items: center;
    align-content: center;
    -webkit-box-shadow: 0px 0px 20px -2px #923CB5; 
    box-shadow: 0px 0px 20px -2px #923CB5;
}
.nav{
    margin-left: auto;
    order: 2;
    right: 0px;
    scroll-behavior: smooth;
    position: fixed;
    margin-top: 45px;
    height:100%;
    float: right;
    background: #e8e8e8;
    color: #555555;
    width: max-content;
    transform: translate(20rem , 0rem);
    padding: 15px;
    -webkit-box-shadow: 0px 0px 20px -2px #923CB5; 
    box-shadow: 0px 0px 20px -2px #923CB5;
    direction: rtl;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transition: 0.5s;
} */

/*

.table {
    font-family: vazir, sans-serif;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #ddd;
}
  
.table td {
    text-align: right;
    padding: 8px;
}
.table th {
    text-align: center;
    padding: 8px;
}


.table  tr:nth-child(even){background-color: #f2f2f2}

*/
table {
  -webkit-box-shadow: 0px 0px 11px 2px rgba(146, 60, 181, 0.33);
  box-shadow: 0px 0px 11px 2px rgba(146, 60, 181, 0.33);
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 1600px;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: 0.5em 0 0.75em;
}

table tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: 0.35em;
}

table th,
table td {
  padding: 0.625em;
  text-align: center;
}

table th {
  font-size: 0.85em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }

  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }

  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 0.8em;
    text-align: left;
  }

  table td::before {
    /*
      * aria-label has no advantage, it won't be read inside a table
      content: attr(aria-label);
      */
    content: attr(data-label);
    float: right;
    font-weight: bold;
    text-transform: uppercase;
  }

  table td:last-child {
    border-bottom: 0;
  }
}



label {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#printBarcode {
  text-align: center;
  justify-content: center;
}
#product-name {
  text-align: center;
  justify-content: center;
}

.center {
  align-content: center;
  justify-content: center;

  margin-left: auto;
  margin-right: auto;
}
 .print {
   height: auto;
   width: 100%;
 }

.transform {
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

.transform-active {
  transform: translate(0rem, 0rem);
}

/* .nav ul{
    margin: 10px;
    list-style: none;
}
.nav li{
    margin: 10px;
}
.nav a{
    cursor: pointer;
    text-decoration: none;
    color: #555555;
    padding: 0px 5px;
    border-radius: 10px;
    transition: 0.5s;
}
.nav a:hover{
    -webkit-box-shadow: 0px 0px 20px -2px #923CB5; 
    box-shadow: 0px 0px 20px -2px #923CB5;
} */

.spacer {
  width: 100%;
  height: 40px;
}

.camera {
  width: 300px;
  height: 300px;
}

#name-text {
  text-decoration: none;
  color: #ffffff;
  position: absolute;
  display: block;
  right: 16px;
  list-style: none;
  padding: 1px 5px;
  float: right;
}
.role-name {
  display: block;
  float: left;
}
.list-icon {
  cursor: pointer;
  position: absolute;
  right: 0px;
  max-height: inherit;
  padding: 10px;
}

.login-back {
  background: linear-gradient(120deg, #000000, #923cb5);
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-box {
  -webkit-box-shadow: 0px 0px 10px 1px rgba(153, 153, 153, 1);
  -moz-box-shadow: 0px 0px 10px 1px rgba(153, 153, 153, 1);
  box-shadow: 0px 0px 10px 1px rgba(153, 153, 153, 1);
  text-align: center;
  margin: auto;
  align-content: center;
  width: 90%;
  max-width: 480px;
  background: white;
  border-radius: 50px;
}

.logo {
  border-radius: 50%;
  transform: translate(0rem, -5rem);
  -webkit-box-shadow: 0px 0px 10px 1px rgba(153, 153, 153, 1);
  -moz-box-shadow: 0px 0px 10px 1px rgba(153, 153, 153, 1);
  box-shadow: 0px 0px 10px 1px rgba(153, 153, 153, 1);
  width: 10rem;
  transition: 1s;
}
.input {
  text-align: right;
  font-family: vazir, serif;
  transform: translate(0rem, -5rem);
  border: none;
  border-bottom: 1px solid #923cb5;
  background: transparent;
  font-size: 1.2rem;
  width: 70%;
  padding: 1rem;
  margin: 20px auto;
  transition: 1s;
}
.btn {
  cursor: pointer;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-family: vazir, serif;
  background: linear-gradient(120deg, #390756, #923cb5);
  transform: translate(0rem, -2rem);
  color: white;
  border: none;
  border-radius: 50px;
  transition: 0.5s;
}
.btn:hover {
  -webkit-box-shadow: 0px 0px 10px 1px rgba(153, 153, 153, 1);
  -moz-box-shadow: 0px 0px 10px 1px rgba(153, 153, 153, 1);
  box-shadow: 0px 0px 10px 1px rgba(153, 153, 153, 1);
  transition: 0.5s;
}
.login_btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-family: vazir, serif;

  background: transparent;
  border: none;
  border-bottom: 2px solid #8a8a8a;
  transform: translate(0rem, -7rem);
}
.link {
  padding: 20px;
  transform: translate(0rem, -1rem);
  text-decoration: none;
}
.main-box {
  width: 95%;
  height: 95%;
  border-radius: 10px;
  padding: 5px;
  background: white;
}

.barcodeScanner {
  width: auto;
  height: auto;
  border-radius: 10px;
  display: flex;
  padding: 5px;
  right: 0%;
} 

.drawingBuffer{
  display: none;
}

video {
  width: 95%;
  height: auto;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.warning {
  color: #d8b800;
}