  @font-face {
    font-family: "Noto Sans Arabic";
    src: url("../fonts/Noto_Sans_Arabic/static/NotoSansArabic/NotoSansArabic-Regular.ttf");
  }

  :root {
    --font-segoe: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-noto: 'Noto Sans Arabic', sans-serif;
  }

  h1 {
    font-size: 2.25rem !important;
    font-weight: bold !important;
  }

  h2 {
    font-size: 1.875rem !important;
    font-weight: bold !important;
  }

  h3 {
    font-size: 1.5rem !important;
    font-weight: bold !important;
  }

  h4 {
    font-size: 1.25rem !important;
    font-weight: bold !important;
  }

  h5 {
    font-size: 1.125rem !important;
    font-weight: bold !important;
  }

  h6 {
    font-size: 1rem !important;
    font-weight: bold !important;
  }

  .ltr {
    direction: ltr !important;
  }

  .rtl {
    direction: rtl !important;
  }

  .text-right {
    text-align: right !important;
  }

  .text-left {
    text-align: left !important;
  }

  .numeric-text {
    text-align: right !important;
    direction: ltr !important;
  }

  body.bg-lighter {
    background-color: #eaedef !important;
  }

  table td,
  input[type=text].form-control {
    font-family: var(--font-noto);
  }

  table th {
    text-transform: none !important;
  }

  .breadcrumb li a,
  .breadcrumb li.active {
    text-transform: none;
  }

  input[type=text].form-control,
  textarea.form-control,
  input[type=number].form-control {
    font-size: 14px;
    color: #333;
    border: 1px solid #cccccc;
    line-height: 1.8rem;
    padding-top: 1px;
    padding-bottom: 0;
  }

  label.form-label {
    font-size: .96em;
  }

  .alert li {
    line-height: 30px;
  }

  /* home modules */
  .module-img {
    width: 100px;
    height: 100px;
    text-align: center !important;
    margin: 5px auto;
  }

  /* common table */
  /* table em.icon:hover {
    cursor: pointer;
  } */

  table ul.nk-tb-actions li {
    opacity: 0;
  }

  table tr:hover ul.nk-tb-actions li {
    opacity: 1;
  }

  .dataTables_info {
    direction: ltr;
  }

  table.dataTable.dtr-inline.collapsed>tbody>tr:not(.child)>td:first-child:before,
  table.dataTable.dtr-inline.collapsed>tbody>tr:not(.child)>th:first-child:before {
    font-family: "Nioicon";
    content: "";
    margin-right: .4rem;
    font-size: 15px;
  }

  .sys-table th,
  .sys-table td {
    white-space: nowrap;
  }

  .sys-table th,
  .sys-table td.light {
    color: rgb(128, 148, 174);
  }

  .sys-table td {
    color: rgb(54, 74, 99);
    vertical-align: middle;
  }

  .sys-table.c-pointer tr:hover td {
    background-color: rgb(245, 246, 250);
    cursor: pointer;
  }

  .sys-table tr.selected td {
    background-color: #d9e1ef;
    border-bottom: 1px solid #ccc;
  }

  .sys-table td ul.dtr-details {
    background-color: #f9f9f9;
    padding: 25px
  }

  .sys-table td ul.dtr-details li {
    padding: 5px;
    font-size: .9em;
  }

  .sys-table span.dtr-title {
    color: #555 !important;
  }

  .sys-table td ul.dtr-details li span {
    margin-bottom: 20px !important;
  }

  .sys-table td:not([class="hidden"]) ul.dtr-details li .dtr-title::after {
    content: " :";
  }

  .dataTable>thead>tr>th[class*="sort"]:before,
  .dataTable>thead>tr>th[class*="sort"]:after {
    content: "" !important;
  }

  .table-processes-list td {
    padding: 12px;
    vertical-align: middle;
    cursor: pointer;
  }

  .table-processes-list td a {
    color: #526484;
  }

  .table-processes-list tr:hover a:first-child {
    color: var(--bs-link-color);
  }

  .items-table input:focus {
    box-shadow: none;
    color: #000;
  }

  .items-table tbody tr:hover td {
    background-color: #fff;
  }

  .items-table tr.child ul li span:first-child {
    display: inline-block;
    width: 100px;
  }

  .items-table tr.child ul li,
  .items-table tr.child td {
    padding: 0 !important;
    margin: 0 !important;
  }

  .items-table td span.invalid {
    display: block;
  }

  /* success message */
  #success-message {
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    margin-top: -10px;
    z-index: 9999;
  }

  #success-message .success {
    line-height: 35px;
    text-align: center;
    width: 400px;
    margin-right: auto;
    margin-left: auto;
    color: #fff;
    font-weight: bold;
    font-size: .9em;
    box-shadow: 1px 0px 10px 1px #666;
    opacity: .8;
    letter-spacing: 1px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    direction: ltr;
    background-color: rgb(17, 158, 17);
  }

  /* ajax waiting */
  #ajax-start {
  position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    background: rgba(255, 255, 255, 0);
  }

  #ajax-start img,
  .spinner-border2 {
    content: url('../images/loading.gif');
    width: 60px;
    height: 60px;
  }

  /* modal full width */
  @media (min-width: 576px) {
    .modal.full-width {
      min-height: 100% !important;
      max-height: 100% !important;
    }

    .modal.full-width .modal-dialog {
      min-width: 95% !important;
      max-width: 95% !important;
      margin: 1rem auto;
    }

    .modal.full-width .modal-body {
      height: calc(100vh - 150px);
      overflow: auto;
    }
  }

  /* jquery validation */
  span.invalid,
  small.tab-error,
  label.error {
    font-size: 11px;
    color: #e85347;
    font-style: italic;
  }

  /* select2 */
  .select2-container--bootstrap .select2-selection--single {
    background-color: #f7f9fa !important;
    background-image: linear-gradient(to bottom, #fefefe, #edf1f3);
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  }

  .select2-container--bootstrap .select2-selection--single .select2-selection__rendered,
  .select2-container--bootstrap .select2-selection--single .select2-selection__clear {
    color: #007db8;
    font-family: var(--font-noto) !important;
    /* font-weight: 500 !important; */
    /* font-size: 0.8125rem !important; */
    font-size: 0.84rem !important;
  }

  .select2-container--bootstrap .select2-selection--single .select2-selection__clear {
    opacity: 0;
  }

  .select2-container--bootstrap .select2-selection--single .select2-selection__rendered:hover .select2-selection__clear {
    opacity: 1;
    color: red;
  }

  /* remove black sidebar from version 3 */
  .nk-fmg-aside {
    left: 0;
    right: 0;
  }

  /* nk-header shadow */
  .nk-header.nk-header-fixed,
  .nk-fmg-aside {
    box-shadow: 0px 1px 5px 0px rgba(192, 189, 189, 0.2), 0px 1px 10px 0px rgba(201, 191, 191, 0.20), 0px 2px 1px -1px rgb(0201, 191, 191, 0.20);
  }

  /* fix sidebar nav from version 8 to version 3 */
  .nk-header-menu.nk-header-active {
    transform: translateX(0);
  }

  @media (min-width: 992px) {
    .nk-header-menu {
      position: static;
      background: transparent !important;
      height: auto;
      max-height: auto;
      border-right: none;
      width: auto;
      padding: 0;
      overflow: visible;
      transform: translateX(0) !important;
    }

    .nk-header-menu .nk-header-mobile {
      display: none;
    }

    .nk-header-overlay {
      display: none;
    }

    .nav {
      display: flex;
    }
  }

  .nk-fmg-aside {
    width: 320px;
  }

  .nk-fmg-aside-top .link-list-menu a:after {
    content: "";
  }

  .nk-fmg .accordion {
    border: none;
  }

  .chat-link {
    padding: .55rem;
  }

  /* preview upload files */
  .preview-upload-container {
    position: relative;
    width: 100%;
    height: 200px;
  }

  .preview-upload-container ::file-selector-button {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    cursor: pointer;
    border: 2px dotted #ccc;
    background-color: #fff;
  }

  .preview-upload-container .drag-over {
    opacity: .3;
  }

  .preview-upload-container .drag-over::file-selector-button {
    border: 4px dotted #444 !important;
    background-color: #ccc !important;
    color: transparent;
  }

  .preview-upload-container .preview-upload-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    line-height: 200px;
    text-align: center;
    font-size: 35px;
    letter-spacing: 2px;
  }

  .preview-upload-list .nk-tb-item .nk-tb-col span {
    font-size: 14px !important;
  }

  .bg-color-1 {
    background-color: #0097A7 !important;
  }

  .bg-color-2 {
    background-color: #EF6C00 !important;
  }

  .bg-color-3 {
    background-color: #BF360C !important;
  }

  .text-color-1 {
    color: #d95b43 !important;
  }

  .text-color-2 {
    color: #0a0 !important;
  }

  .text-color-3 {
    color: rgb(12, 94, 168) !important;
  }

  .text-color-brown {
    color: #9f5245 !important;
  }

  .text-underline {
    text-decoration: underline !important;
  }

  .cursor-pointer {
    cursor: pointer !important;
  }

  .datepicker {
    border-radius: 4px;
    border: 3px solid #dbdfea;
    box-shadow: 0 5px 5px 0 #eee;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  }

  .btn-primary-3 {
    --bs-btn-color: #fff;
    --bs-btn-bg: #2263b3;
    --bs-btn-border-color: #2263b3;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1d5498;
    --bs-btn-hover-border-color: #1b4f8f;
    --bs-btn-focus-shadow-rgb: 67, 122, 190;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1b4f8f;
    --bs-btn-active-border-color: #1a4a86;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(16, 25, 36, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #2263b3;
    --bs-btn-disabled-border-color: #2263b3
  }

  .cash-payment-notes {
    font-size: 17px !important;
    font-weight: bold;
    line-height: 2em;
    letter-spacing: .8px;
    color: brown !important;
  }

  .table-items td,
  .table-new-items td {
    vertical-align: middle;
  }

  table .remove-row,
  table .remove-item,
  table .remove-new-item,
  table .remove-meal {
    cursor: pointer;
    font-size: larger;
  }

  table tr:hover .remove-row,
  table tr:hover .remove-item,
  table tr:hover .remove-new-item,
  table tr:hover .remove-meal {
    color: red;
  }

  .invoice-notes {
    color: brown !important;
    font-size: 16px !important;
    line-height: 2.1rem !important;
  }

  .table-items td p {
    margin: 1px;
    direction: ltr;
  }

  .jstree li,
  #jstree li,
  #jstree-instance li,
  #services-jstree li {
    font-size: 16px !important;
    font-family: var(--font-segoe) !important;
  }

  .modal-loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
  }

  .table-meals tr.service-item td {
    background: rgb(125 164 207 / 21%);
    color: #9f5245;
    font-weight: bold;
  }

  .table-meals tr.bounce-item td {
    color: red;
    font-size: larger;
    font-weight: bold;
  }

  input.table-input {
    width: 100%;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    direction: ltr;
    text-align: center;
  }

  input.table-input:focus {
    box-shadow: none;
  }

  .nk-menu-sub .nk-menu-item a {
    font-size: 14px !important;
  }

  .status-cheque-table td {
    padding-top: 25px;
    font-weight: bold;
  }

  .accordion {
    border: none !important;
    background: transparent;
  }

  .accordion-item {
    border: 1px solid #ddd !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px !important;
    margin-bottom: 10px;
  }

  .accordion-item>a {
    padding: 30px;
  }

  .custom-radio label {
    font-size: 17px;
    font-weight: bold;
    color: #333;
  }

  div.data-show {
    margin-bottom: 20px;
  }

  div.data-show h6 {
    color: #888;
  }

  div.data-show p {
    font-size: 15px;
    font-weight: bold;
    color: #333;
  }

  textarea.custom-textarea {
    min-height: 35px;
    max-height: 150px;
    font-size: 16px;
    field-sizing: content;
  }

  .chosen-tag-container {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 5px;
    display: inline-block;
    width: 100%;
    min-height: 36px;
    cursor: pointer;
  }

  .chosen-tag-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .chosen-tag-list li {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 6px 12px;
    position: relative;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
  }

  .chosen-tag-list li:hover {
    cursor: initial !important;
    background-color: #f0f0f0;
  }

  .chosen-tag-remove {
    margin-inline-start: 8px;
    cursor: pointer;
    color: #777;
    font-weight: bold;
  }

  .chosen-tag-remove:hover {
    color: red;
  }

  .select2-selection__choice {
    white-space: normal;
  }

  .jstree-anchor {
    overflow: hidden;
    max-width: 600px;
    height: fit-content !important;
    white-space: pre-line;
  }

  .jstree-anchor.jstree-disabled {
    color: brown;
  }

  /* tabs */
  ul.sys-tabs li.nav-item {
    padding: 4px !important;
    padding-bottom: 0 !important;
  }

  ul.sys-tabs .nav-item a.nav-link {
    font-size: 16px;
    min-width: 150px;
    padding: 15px 10px;
  }

  ul.sys-tabs .nav-item a.nav-link:hover {
    background-color: #efefef;
  }

  #mainItemsTable tr td {
    padding: 5px !important;
  }

  .select2-results__option[aria-selected="true"] {
    background-color: #ccc !important;
    color: #000 !important;
  }