@font-face {
  font-family: IRANYekan;
  src: url(/assets/fonts/IRANYekan.woff);
}

body,strong,.fontfa{
  font-family: 'IRANYekan', Open Sans, sans-serif !important; 	
}

html, body { 
margin: 0px auto !important;
max-width: 900px;
font-family: 'IRANYekan', Open Sans, sans-serif !important;
}

.appHeader {
  max-width: 900px;	
  margin: 0px auto !important;
}

.appBottomMenu {
  max-width: 900px;	
  margin: 0px auto !important;
}

.alignCenter {
  text-align: center;	
}

.login-back {
	/* background: radial-gradient(circle, rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%); */
	background-image: url(/assets/img/login.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;		
}

.login-box {
  /* From https://css.glass */
background: rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);	
}

h1,h2,span,label,div {

  -webkit-user-select: none; /* Safari */        
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */	
  -khtml-user-select: none;
  -o-user-select: none;
}

.unselectable {

  -webkit-user-select: none; /* Safari */        
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */	
  -khtml-user-select: none;
  -o-user-select: none;
}

.disableEdt {
   user-select: none;
   -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -o-user-select: none;
   pointer-events:none;  
   /*color: #212529 !important;*/
   background-color: #ffffff9e !important;   
}

.mynumber,.myprice,.myfloat {
  text-align: center;	
  direction: ltr;
}

.cursorPointer {
  cursor: pointer;	
}

.row-trash-btn {
  font-size: 25px;
  color: #f37d8a;
  margin-right: 2px; 
  cursor: pointer;  
}

.row-edit-btn {
  font-size: 25px;
  color: #7db2f3; 
  cursor: pointer;  
  margin-bottom: 12px;
}

.row-print-btn {
  font-size: 25px;
  color: #f3c97d; 
  cursor: pointer; 
  margin-bottom: 10px;  
}

.row-add-btn {
  font-size: 25px;
  color: #05D0A4; 
  cursor: pointer; 
  margin-bottom: 10px;  
} 
    
.row-num-btn {
  font-size: 20px;
  margin-bottom: 10px;  
  text-align: center;
}	

.row-typ-caption {
  font-size: 15px; 
  display:inline-block !important; 
  vertical-align: top; 
  margin-top: 15px;	
}

@page { size: auto;  margin: 0mm; } /*remove header footer print*/

.gridDelDiv {
  position: absolute;
  width: 84%; 
  text-align: center;
  left: 8%;  
}

.ltr {
  text-align: left;
  direction: ltr;  
}

.disabled {
  pointer-events: none;	
}

.pdf-frame {
  border: none !important;
  overflow-y: auto !important;
  height: 92vh !important;
  width: 100% !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-position: center !important;

}

.btn-white {
    color: inherit;
    background: white;
    border: 1px solid #e7eaec;
}

@media all and (min-width: 950px) { /*desktop*/
/*@media all and (min-width: 480px) {*/
    .deskContent {display:block !important;}
    .phoneContent {display:none !important;}
	.nav-scroll-tab { scrollbar-color: #6236ff63 transparent !important; }
	.centered-div { max-width: 80% !important; margin: 0 auto; }
}

@media all and (max-width: 1200px) {
/*@media all and (max-width: 579px) {*/
    .deskContent {display:none !important;}
    .phoneContent {display:block !important;}
	.nav-scroll-tab { scrollbar-color: unset !important; }
	.centered-div { max-width: 96% !important; margin: 0 auto; }
	.stat-box { min-height: 103px; }
}

/*--------------------draglist------------------*/
proBox {
  max-width: 400px;
  list-style: none;
  margin: 50px auto;
  text-align: left;
  /*padding-left: 0;*/
  background-color: rgba(255, 255, 255, 0.3);
  padding: 15px 10px 10px 10px;
  border-radius: 5px;
}

.no-swipe {
  /*background-color: steelblue;*/
  color: white;
  font-weight: 100;
  letter-spacing: 0.1em;
  padding: 10px;
  margin: 5px 0;
  border-radius: 2px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.handle {
  float: left;
  /*width: 15%;*/
  height: 100%;
  text-align: right;
  color: lightgray;
  cursor: move;
  /*cursor: grab;
  &:active {
    cursor: grabbing;
  }*/
}

.slip-swiping-container {
  overflow-x: hidden;
}

.slip-reordering {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
/*--------------------draglist------------------*/

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

.financial-item {
  /*border-radius: 0px !important; */
  border-top-right-radius: 0px !important; 
  border-bottom-right-radius: 0px !important;
  margin-bottom: 0px !important;  
}

.financial-item-select {
  background: green;
  padding: 2.5px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 2;
}

.financial-dis {
  background-color: orange;
  border-radius: 25px;
  padding: 10px;
  color: white !important;
  text-align: center;  
}

/*-------------------------checkbox dropdown-----------------------*/
.dropdown {
  /*position: absolute;
  top:50%;
  transform: translateY(-50%);*/
  padding-right: 0 !important;
  padding-left: 0 !important;
}

a {
  /*color: #fff;*/
}

.dropdown dd,
.dropdown dt {
  margin: 0px;
  padding: 0px;
}

.dropdown ul {
  margin: -1px 0 0 0;
}

.dropdown dd {
  position: relative;
}

.dropdown a,
.dropdown a:visited {
  color: #fff;
  text-decoration: none;
  outline: none;
  font-size: 12px;
}

.dropdown dt a {
  background-color: #4F6877;
  display: block;
  padding: 8px 20px 5px 10px;
  min-height: 42px;
  line-height: 24px;
  overflow: hidden;
  /*border: 0;
  width: 272px;*/
  
  height: auto !important;
  padding-right: 7px !important;
  padding-left: 7px !important;
}

.dropdown dt a span,
.multiSel span {
  cursor: pointer;
  display: inline-block;
  padding: 0 3px 2px 0;
  font-size: 1rem;
  margin-top: 8px;
  
  background-color: #6236ff;
  border-radius: 25px;
  padding: 1px 8px !important;
  color: white !important;
  font-size: 16px !important;
  margin-left: 5px;
}

.dropdown dd ul {
  background-color: #4F6877;
  /*border: 0;*/
  color: #fff;
  display: none;
  left: 0px;
  padding: 2px 15px 2px 5px;
  position: absolute;
  top: 2px;
  width: 100%;
  list-style: none;
  height: auto !important;
  overflow: auto;
  line-height: 28px;
}

.dropdown span.value {
  display: none;
}

.dropdown dd ul li{
  margin-top: 5px;
}

.dropdown dd ul li input {
  margin-left: 8px;
}

.dropdown dd ul li a {
  padding: 5px;
  display: block;
}

.dropdown dd ul li a:hover {
  background-color: #fff;
}

.licheck {
  cursor: pointer;	
}

/*-------------------------checkbox dropdown-----------------------*/

.f-z-f {
    background-image: url(/assets/img/404.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 20vh;
    margin-top: 57px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.android-dl {
    background: linear-gradient(90deg, rgb(126, 174, 124) 0%, rgb(162, 200, 114) 50%, rgb(99, 145, 110) 100%);
}

a {
  text-decoration: none !important;
}

.grid-modal-body {
  background: #EDEDF5 !important;
  padding: unset !important;  
}

body.dark-mode .grid-modal-body {
  background: #030108 !important;	
  padding: unset !important; 
}

body.dark-mode .lblcolor {
  color: white !important;
}

.lblcolor {
  color: #8b8b8b !important;	
}

.stuff-img {
  margin-left: 14px;
  margin-right: -15px;
  height: 100px;  
}

.liq-img {
  margin-left: 14px;
  margin-right: -15px;
  height: 76px;  
}

.scroll-btn {
  margin-bottom: 10px;	
}

.scroll-btn-div {
  overflow-x: auto;
  white-space: nowrap;
}

.scroll-btn-div::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
	border-radius: 10px;
	
}

.scroll-btn-div::-webkit-scrollbar
{
	width: 5px;
	height: 5px;
	background-color: #F5F5F5;
}

.scroll-btn-div::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.44, rgb(131 133 137)), color-stop(0.72, rgb(161 174 189)), color-stop(0.86, rgb(156 160 171)));
	cursor: pointer;
}

.barcode-btn {
	
	transition: all 300ms ease-in-out;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    margin-bottom: 88px;
    margin-right: 36px;
    bottom: 0px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    color: white;
    font-size: 2em;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.16), 0px 3px 10px rgba(0, 0, 0, 0.16);
	border-radius: 10px;
	
}

/*------------------*/
@keyframes flickerAnimation {
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
@-o-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
@-moz-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
@-webkit-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
.animate-flicker {
   -webkit-animation: flickerAnimation 1s infinite;
   -moz-animation: flickerAnimation 1s infinite;
   -o-animation: flickerAnimation 1s infinite;
    animation: flickerAnimation 1s infinite;
}
/*------------------*/

/*------------Modal Image-------------*/
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modalImg {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 3000000; /* Sit on top */
  padding-top: 20px; /* Location of the box */
  left: 0;
  top: 40px;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modalImg-content {
  margin: auto;
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modalImg-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  /*position: absolute;*/
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 17px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}
/*------------Modal Image-------------*/