* {
  padding: 0;
  padding-left: 5px;
  padding-right: 5px;
  margin: 0;
  box-sizing: border-box;
  line-height: 1;
  direction: rtl;
}

body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Droid Arabic Naskh", Arial, sans-serif;
}

body {
  overflow-y: scroll;
}

.full-screen-container {
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

input {
  font-weight: bolder !important;
  text-align: center !important;
}

.bg-grey-light {
  background-color: #bcbcbc;
}

.bg-grey {
  background-color: #999999;
}

.bg-grey-dark {
  background-color: #999999;
}

.text-center {
  padding-left: 3px;
  padding-right: 3px;
}

.ml-1 {
  margin-left: 1%;
}

.overflow-x-auto {
  overflow-y: scroll;
  overflow-x: hidden;
}

.row {
  --bs-gutter-x: 0;
}

.table-grid {
  max-height: 500px !important;
}

.modal-loader {
  position: absolute;
  left: 0px;
  top: 50%;
  width: 100%;
  z-index: 9999;
}

.table-modal {
  max-height: 350px;
  overflow-y: auto;
}

/* width */
::-webkit-scrollbar {
  width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #222222;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #515151;
}

.vertical-line {
  width: 1px;
  border-left: 1px solid white;
  height: 20px;
  /* Adjust the height as needed */
  z-index: 99999999;
}
.select2-selection:focus,
textarea:focus,
select:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[contenteditable].form-control:focus {
  box-shadow: inset 0 -1px 0 #ddd !important;
}

.th-custom {
  padding: 15px 1px 15px 1px !important;
  font-size: 16px !important;
  font-weight: bolder;
}

.input-custom {
  width: 100%;
  padding: 5px;
}

.btn-custom {
  padding: 8px !important;
  width: 100%;
}

.btn-custom:hover {
  opacity: 0.8;
}

.input-td-custom {
  padding: 0 !important;
  height: 100%;
}

.stock-search-icon {
  width: 100% !important;
  height: 100% !important;
  padding: 6px 1px 6px 1px !important;
}

.loading-stock-row {
  width: 100% !important;
  height: 100% !important;
  padding: 6px 1px 6px 1px !important;
}

.stock-search-icon:hover {
  background-color: rgb(178, 255, 178);
}

.success {
  background-color: rgb(4, 120, 4);
}

.border-0 {
  border: 0px;
}

tr:hover {
  opacity: 0.95;
}

.input-custom-md {
  width: 50%;
  padding: 5px;
}

.td-sm {
  width: 60px;
  padding: 0px !important;
  height: 100%;
}

.input-sm {
  width: 60px;
  padding: 5px;
}

.td-md {
  width: 70px;
  padding: 0px !important;
  height: 100%;
}

.input-md {
  width: 70px;
  padding: 5px;
}


.btn-search {
  padding: 5px;
  background-color: #e9ecef;
}

#table-grid {
  max-height: 350px;
}

.search-btn {
  background-color: #e9ecef;
  border: 1px solid #8c9195;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.search-input {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.custom-select {
  width: 100% !important;
}

.stock-id-ajax-label {
  width: 30px;
  height: 30px;
}

.page-link:focus {
  box-shadow: none;
}

.btn:focus {
  box-shadow: none;
}

.alt-stock-modal {
  height: 80% !important;
}

.modal {
  overflow: hidden !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.side-bar-list
{
  height: 100vh;
  overflow-y: auto;
}
.side-bar-list .list-title a
{
  cursor: pointer;
  color: white;
  text-decoration: none;
  transition: color 0.4s;
}
.side-bar-list .list-title a:hover
{
  color: rgb(129, 167, 238);
}
.side-bar-list .innert-list a
{
  position: relative;
}
.side-bar-list .innert-list a::before
{
  content: '';
  height: 2px;
  width: 0px;
  background-color: rgb(0, 191, 255);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.3s;
}
.side-bar-list .innert-list a:hover::before
{
  width: 100%;
}


.hor-line
{
  width: 95%;
  height: 2px !important;
  background-color: red;
  margin: 1.2rem 0;
}
.hor-line h6
{
  visibility: hidden;
}
.list-font
{
  font-size: 1.3rem;
  color: white;
}
.inner-list-font
{
  font-size: 1.1rem;
  color: white;
}
.icon-list
{
  color: white;
  font-size: 1.5rem;
  margin-left: 1rem;
}
.nav-item-list
{
  width: 100%;
  margin: 0.2rem 0;
  margin-right: 2%;
}
.navigation-link
{
  text-decoration: none;
  font-weight: bold;
}
.active-tab{
  background-color: rgb(32, 41, 222) !important;
  /* color: #0000FF !important;
  border-bottom: thick solid #0000FF !important;
  border-top: thick solid #0000FF !important;
  border-left:    #0000FF !important; */
  transition: background-color .2s linear;
  transform:  scale(1.05);
  padding: 7px;
  padding-right: 7px !important;
}
.shake {
  animation-name: shake;
  animation-duration: 0.3s;
  animation-fill-mode: both;
}
@keyframes shake {
  0%, 100% {
      transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
      transform: translateX(-3px);
  }
  20%, 40%, 60%, 80% {
      transform: translateX(3px);
  }
}
.bg-custom
{
  background-color: #82DE87;
}
.logo-container
{
  display: flex;
  margin-top: 10%;
  justify-content: center;
  background-color: rgb(219, 225, 230);
  border-radius: 6px;
}
.logo-container img
{
  width: 40%;
}
.version-container
{
  margin-top: 20%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.version-container h2
{
  font-weight: bold;
  color: white;
  font-size: 80%;
}

div.err_msg {
  margin: auto;
  padding: 3px;
  border: 1px solid #cc3300;
  background-color: #ffcccc;
  color: #ffffff;
  text-align: center;
  bottom: 5px;
  left: 5px;
  position: fixed;
  z-index: 1;
  padding-top: 150px;
  width: 38%;
  height: 10%;
  background-color: #cc3300;
  background-color: rgba(248, 73, 4, 0.932);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 1s;
  animation-name: animatetop;
  animation-duration: 1s;
  white-space: pre-wrap;
  margin-right: 25%;
  padding-bottom: 15px;
  padding-top: 15px;
  border-top: #cc3300 solid 30px;
  border-bottom: #cc3300 solid 30px;
  border-radius: 5px;
  cursor: pointer;

  animation: slide 3s linear forwards 5000ms;
}
