/* =====================================================================
   DELTA PEACE - Tema kasir (stok, penjualan, service)
   Untuk aplikasi PHPRad 3.7.4 berbasis Bootstrap.

   Dirancang untuk pemakaian 12 jam per hari, 7 hari seminggu:
   - Latar abu-hijau lembut (bukan putih murni) supaya tidak silau.
   - Teks 1A2427 di atas latar terang: kontras sekitar 14:1 (WCAG AAA 7:1).
   - Semua warna status memakai teks + warna, tidak hanya warna.
   - Tombol min. 44px, tombol aksi baris tabel min. 38px dengan jarak.
   - Angka rupiah rata kanan, lebar angka seragam (tabular-nums).
   - Fokus keyboard/scanner barcode berupa cincin oranye 3px yang jelas.
   - Tema terang (default) dan tema malam: <html data-theme="dark">.

   CARA PASANG
   1. Simpan sebagai  assets/css/delta-peace.css  (folder CSS project).
   2. Muat SETELAH CSS tema bawaan PHPRad, di layout/header project:
        <link rel="stylesheet" href="assets/css/delta-peace.css">
      Semua aturan diberi awalan "body" agar menang dari CSS bawaan
      tanpa perlu !important di hampir semua tempat.
   3. Buka halaman hasil generate, tekan F12 dan cek bagian bertanda
      "[CEK TEMPLATE]" di bawah: nama class pembungkus (navbar, sidebar,
      wrapper) berbeda antar template PHPRad.

   Class bantuan (dipakai di halaman custom, mis. halaman Kasir):
     .pos-layout .pos-panel .pos-search .pos-item-grid .pos-item
     .pos-summary .pos-total .pos-method-group .chip .struk .no-print
     .dp-scroll  (bungkus tabel panjang agar header tabel menempel)
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. TOKEN WARNA & UKURAN
   --------------------------------------------------------------------- */

:root {
  color-scheme: light;

  --dp-font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system,
             "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --dp-radius: 8px;
  --dp-radius-lg: 12px;

  /* Permukaan */
  --dp-bg:        #EDF0EF;
  --dp-surface:   #F9FAF9;
  --dp-surface-2: #E2E8E7;
  --dp-zebra:     #F0F3F2;
  --dp-hover:     #E1EEF0;
  --dp-selected:  #CFE6EB;

  /* Garis */
  --dp-border:        #C5CFCE;   /* pemisah dekoratif */
  --dp-border-strong: #6F858A;   /* batas kolom input & tombol (kontras 3.4:1+) */

  /* Teks */
  --dp-text:  #1A2427;
  --dp-muted: #41565C;

  /* Aksi utama */
  --dp-primary:       #0E5A6B;
  --dp-primary-hover: #0A4757;
  --dp-on-primary:    #FFFFFF;
  --dp-link:          #0E5A6B;

  /* Fokus */
  --dp-focus: #A04F00;

  /* Status */
  --dp-success: #1B6B3A;  --dp-success-bg: #DCF0E2;  --dp-success-fg: #14532D;  --dp-on-success: #FFFFFF;
  --dp-danger:  #B3261E;  --dp-danger-bg:  #F9E0DE;  --dp-danger-fg:  #8C1D18;  --dp-on-danger:  #FFFFFF;
  --dp-warn:    #F2B33D;  --dp-warn-bg:    #FCEBC2;  --dp-warn-fg:    #5C3A00;  --dp-warn-bd:    #B7791F;  --dp-on-warn: #2B1B00;
  --dp-info-bg: #D6EBF0;  --dp-info-fg:    #0B4A59;

  /* Navigasi & panel total */
  --dp-nav-bg:     #0F3B45;
  --dp-nav-text:   #E6EEEF;
  --dp-nav-muted:  #A9C3C8;
  --dp-nav-accent: #F0B44C;
  --dp-total-bg:   #0F3B45;
  --dp-total-fg:   #F1F7F7;
  --dp-total-muted:#A9C3C8;

  --dp-shadow: 0 2px 6px rgba(15, 35, 40, .12), 0 10px 28px rgba(15, 35, 40, .12);
  --dp-hover-filter: brightness(.92);
  --dp-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2341565C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Tema malam: aktifkan dengan <html data-theme="dark"> */
:root[data-theme="dark"] {
  color-scheme: dark;

  --dp-bg:        #12181A;
  --dp-surface:   #1A2326;
  --dp-surface-2: #243236;
  --dp-zebra:     #1E292C;
  --dp-hover:     #263A3F;
  --dp-selected:  #1F4650;

  --dp-border:        #34454A;
  --dp-border-strong: #6E858A;

  --dp-text:  #DCE4E3;   /* off-white, bukan putih murni */
  --dp-muted: #A3B5B8;

  --dp-primary:       #5CBCD0;
  --dp-primary-hover: #7CCBDB;
  --dp-on-primary:    #04232B;
  --dp-link:          #7CCBDB;

  --dp-focus: #F0A030;

  --dp-success: #4CC37A;  --dp-success-bg: #17301F;  --dp-success-fg: #9FDDB5;  --dp-on-success: #04200E;
  --dp-danger:  #FF8A80;  --dp-danger-bg:  #3D1613;  --dp-danger-fg:  #FFB4AB;  --dp-on-danger:  #2B0300;
  --dp-warn:    #F0B44C;  --dp-warn-bg:    #3A2B08;  --dp-warn-fg:    #F6D58A;  --dp-warn-bd:    #C99A3A;  --dp-on-warn: #2B1B00;
  --dp-info-bg: #12313A;  --dp-info-fg:    #A8DCE8;

  --dp-nav-bg:     #0D1416;
  --dp-nav-text:   #DCE4E3;
  --dp-nav-muted:  #93A8AC;
  --dp-nav-accent: #F0A030;
  --dp-total-bg:   #0D2A31;
  --dp-total-fg:   #E8F1F2;
  --dp-total-muted:#93A8AC;

  --dp-shadow: 0 2px 6px rgba(0, 0, 0, .5), 0 10px 28px rgba(0, 0, 0, .45);
  --dp-hover-filter: brightness(1.12);
  --dp-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23A3B5B8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


/* ---------------------------------------------------------------------
   2. DASAR: HURUF, LINK, SCROLLBAR
   --------------------------------------------------------------------- */

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--dp-font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--dp-text);
  background-color: var(--dp-bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body h1, body h2, body h3, body h4, body h5, body h6,
body .h1, body .h2, body .h3, body .h4, body .h5, body .h6 {
  color: var(--dp-text);
  font-weight: 600;
  line-height: 1.25;
}
body h1, body .h1 { font-size: 1.75rem; }
body h2, body .h2 { font-size: 1.5rem; }
body h3, body .h3 { font-size: 1.25rem; }
body h4, body .h4 { font-size: 1.125rem; }

body a { color: var(--dp-link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
body a:hover { color: var(--dp-primary-hover); }

body .text-muted, body small, body .small { color: var(--dp-muted); }
body .text-danger  { color: var(--dp-danger-fg)  !important; }
body .text-success { color: var(--dp-success-fg) !important; }
body .text-warning { color: var(--dp-warn-fg)    !important; }
body .text-primary { color: var(--dp-primary)    !important; }

body hr { border-color: var(--dp-border); opacity: 1; }
body ::selection { background: var(--dp-selected); color: var(--dp-text); }

/* Scrollbar lebih lebar supaya mudah diraih mouse/jari */
body ::-webkit-scrollbar { width: 14px; height: 14px; }
body ::-webkit-scrollbar-track { background: var(--dp-bg); }
body ::-webkit-scrollbar-thumb {
  background: var(--dp-border-strong);
  border: 3px solid var(--dp-bg);
  border-radius: 999px;
}
body * { scrollbar-color: var(--dp-border-strong) var(--dp-bg); }

/* Layar sentuh: hilangkan jeda 300ms dan zoom ketuk-dua-kali */
body a, body button, body .btn, body input, body select, body label, body .page-link {
  touch-action: manipulation;
}


/* ---------------------------------------------------------------------
   3. LATAR HALAMAN & KARTU
   [CEK TEMPLATE] daftar pembungkus di bawah adalah yang umum dipakai
   template Bootstrap/AdminLTE; hapus yang tidak ada di project Anda.
   --------------------------------------------------------------------- */

body .content-wrapper, body .page-wrapper, body .page-content,
body .main-content, body .page-container, body #page-wrapper {
  background-color: var(--dp-bg);
}

body .card, body .panel, body .box {
  background-color: var(--dp-surface);
  color: var(--dp-text);
  border: 1px solid var(--dp-border);
  border-radius: var(--dp-radius-lg);
  box-shadow: none;
}
body .card-header, body .panel-heading, body .box-header {
  background-color: var(--dp-surface-2);
  color: var(--dp-text);
  font-weight: 600;
  border-bottom: 1px solid var(--dp-border);
  padding: .85rem 1.1rem;
}
body .card-body, body .panel-body, body .box-body { padding: 1.1rem; }
body .card-footer, body .panel-footer, body .box-footer {
  background-color: var(--dp-surface);
  border-top: 1px solid var(--dp-border);
}


/* ---------------------------------------------------------------------
   4. NAVBAR & SIDEBAR   [CEK TEMPLATE]
   Bagian ini paling bergantung pada template yang Anda pilih di PHPRad.
   --------------------------------------------------------------------- */

body .navbar {
  background-color: var(--dp-nav-bg) !important;
  border: 0;
  min-height: 56px;
}
body .navbar-brand, body .navbar .nav-link, body .navbar-nav > li > a {
  color: var(--dp-nav-text) !important;
  font-weight: 600;
}
body .navbar .nav-link, body .navbar-nav > li > a { padding: .85rem 1rem; }
body .navbar .nav-link:hover, body .navbar-nav > li > a:hover {
  background-color: rgba(255, 255, 255, .10);
}
body .navbar .nav-link.active, body .navbar-nav > li.active > a {
  background-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 -3px 0 var(--dp-nav-accent);
}

body .sidebar, body .main-sidebar, body .menu-sidebar, body aside.sidebar {
  background-color: var(--dp-nav-bg);
}
body .sidebar a, body .main-sidebar a, body .menu-sidebar a {
  color: var(--dp-nav-text);
  font-weight: 500;
  padding: .75rem 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}
body .sidebar a:hover, body .main-sidebar a:hover, body .menu-sidebar a:hover {
  background-color: rgba(255, 255, 255, .10);
  color: var(--dp-nav-text);
}
body .sidebar .active > a, body .sidebar a.active,
body .main-sidebar .active > a, body .main-sidebar a.active,
body .menu-sidebar .active > a, body .menu-sidebar a.active {
  background-color: rgba(255, 255, 255, .14);
  box-shadow: inset 4px 0 0 var(--dp-nav-accent);
  color: #FFFFFF;
}
body .sidebar .nav-header, body .main-sidebar .nav-header { color: var(--dp-nav-muted); }


/* ---------------------------------------------------------------------
   5. TABEL (halaman List: barang, penjualan, pembelian, dst.)
   --------------------------------------------------------------------- */

body .table {
  --bs-table-color: var(--dp-text);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--dp-border);
  --bs-table-striped-color: var(--dp-text);
  --bs-table-striped-bg: var(--dp-zebra);
  --bs-table-hover-color: var(--dp-text);
  --bs-table-hover-bg: var(--dp-hover);
  --bs-table-active-bg: var(--dp-selected);
  color: var(--dp-text);
  border-color: var(--dp-border);
  font-size: 1rem;
  margin-bottom: 0;
}

body .table th, body .table td,
body .table > :not(caption) > * > * {
  padding: .75rem .9rem;
  vertical-align: middle;
  border-color: var(--dp-border);
}

body .table thead th, body .table > thead > tr > th {
  background-color: var(--dp-surface-2);
  color: var(--dp-text);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid var(--dp-border-strong);
}

/* Baris selang-seling & sorotan baris: tidak bergantung pada class .table-striped */
body .table:not(.table-striped) tbody tr:nth-child(even) { background-color: var(--dp-zebra); }
body .table-striped tbody tr:nth-of-type(odd) { background-color: var(--dp-zebra); }
body .table:not(.table-hover) tbody tr:hover,
body .table-hover tbody tr:hover { background-color: var(--dp-hover); }
body .table tbody tr.active, body .table tbody tr.selected, body .table tbody tr.table-active {
  background-color: var(--dp-selected);
}

body .table tfoot th, body .table tfoot td {
  background-color: var(--dp-surface-2);
  font-weight: 700;
  border-top: 2px solid var(--dp-border-strong);
  font-variant-numeric: tabular-nums;
}

/* Tabel panjang: bungkus dengan <div class="table-responsive dp-scroll"> */
body .dp-scroll { max-height: calc(100vh - 240px); overflow: auto; }
body .dp-scroll thead th { position: sticky; top: 0; z-index: 2; }

/* Penanda stok pada baris (beri class pada <tr> lewat custom view) */
body .table tr.row-stok-habis  > td:first-child { box-shadow: inset 5px 0 0 var(--dp-danger); }
body .table tr.row-stok-rendah > td:first-child { box-shadow: inset 5px 0 0 var(--dp-warn-bd); }

/* Angka rupiah, jumlah, stok: rata kanan, lebar angka seragam.
   Class td-<nama_kolom> adalah pola yang dipakai tabel PHPRad;
   [CEK TEMPLATE] pastikan lewat F12 bahwa class itu ada di <td>. */
body .num,
body td[class*="td-harga_"], body th[class*="td-harga_"],
body td[class*="td-total"],  body th[class*="td-total"],
body td[class*="td-subtotal"], body th[class*="td-subtotal"],
body td[class*="td-tarif"],  body th[class*="td-tarif"],
body td[class*="td-jumlah"], body th[class*="td-jumlah"],
body td[class*="td-stok"],   body th[class*="td-stok"] {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Kolom tombol aksi (edit / hapus) */
body td[class*="td-btn"] { white-space: nowrap; }
body td[class*="td-btn"] .btn { margin: 0 .2rem; }


/* ---------------------------------------------------------------------
   6. TOMBOL
   --------------------------------------------------------------------- */

body .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  padding: .5rem 1.1rem;
  font-family: var(--dp-font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  border-width: 2px;
  border-style: solid;
  border-radius: var(--dp-radius);
  cursor: pointer;
  user-select: none;
  box-shadow: none;
  transition: background-color .12s ease, border-color .12s ease, transform .06s ease;
}
body .btn:hover:not(:disabled):not(.disabled) { filter: var(--dp-hover-filter); }
body .btn:active:not(:disabled):not(.disabled) { transform: translateY(1px); }
body .btn:disabled, body .btn.disabled { opacity: .55; cursor: not-allowed; filter: none; }
body .btn i, body .btn .material-icons { font-size: 1.25em; line-height: 1; }
body .btn-sm { min-height: 38px; padding: .3rem .8rem; font-size: .95rem; }
body .btn-lg { min-height: 56px; padding: .75rem 1.5rem; font-size: 1.125rem; }
body .btn-block { display: flex; width: 100%; }

body .btn-primary, body .btn-primary:hover, body .btn-primary:focus, body .btn-primary:active {
  background-color: var(--dp-primary); border-color: var(--dp-primary); color: var(--dp-on-primary);
}
body .btn-success, body .btn-success:hover, body .btn-success:focus, body .btn-success:active {
  background-color: var(--dp-success); border-color: var(--dp-success); color: var(--dp-on-success);
}
body .btn-danger, body .btn-danger:hover, body .btn-danger:focus, body .btn-danger:active {
  background-color: var(--dp-danger); border-color: var(--dp-danger); color: var(--dp-on-danger);
}
body .btn-warning, body .btn-warning:hover, body .btn-warning:focus, body .btn-warning:active {
  background-color: var(--dp-warn); border-color: var(--dp-warn-bd); color: var(--dp-on-warn);
}
body .btn-info, body .btn-info:hover, body .btn-info:focus, body .btn-info:active {
  background-color: var(--dp-info-bg); border-color: var(--dp-primary); color: var(--dp-info-fg);
}
body .btn-secondary, body .btn-default, body .btn-light,
body .btn-secondary:hover, body .btn-default:hover, body .btn-light:hover,
body .btn-secondary:focus, body .btn-default:focus, body .btn-light:focus {
  background-color: var(--dp-surface-2); border-color: var(--dp-border-strong); color: var(--dp-text);
}
body .btn-outline-primary { background: transparent; border-color: var(--dp-primary); color: var(--dp-primary); }
body .btn-outline-danger  { background: transparent; border-color: var(--dp-danger);  color: var(--dp-danger-fg); }
body .btn-outline-secondary { background: transparent; border-color: var(--dp-border-strong); color: var(--dp-text); }
body .btn-link { background: transparent; border-color: transparent; color: var(--dp-link); text-decoration: underline; }

/* Tombol di dalam baris tabel dibuat "tonal" agar 12 jam tidak melelahkan:
   edit/lihat = biru muda berbingkai, hapus = hanya bingkai merah.
   Tombol hapus sengaja terlihat beda dari tombol edit supaya tidak salah ketuk. */
body .table .btn { min-height: 38px; padding: .3rem .75rem; font-size: .95rem; }
body .table .btn-primary, body .table .btn-success, body .table .btn-info,
body .table .btn-secondary, body .table .btn-default {
  background-color: var(--dp-info-bg); border-color: var(--dp-primary); color: var(--dp-info-fg);
}
body .table .btn-primary:hover, body .table .btn-success:hover, body .table .btn-info:hover,
body .table .btn-secondary:hover, body .table .btn-default:hover {
  background-color: var(--dp-primary); color: var(--dp-on-primary); filter: none;
}
body .table .btn-danger {
  background-color: transparent; border-color: var(--dp-danger); color: var(--dp-danger-fg);
}
body .table .btn-danger:hover {
  background-color: var(--dp-danger); color: var(--dp-on-danger); filter: none;
}


/* ---------------------------------------------------------------------
   7. FORM
   --------------------------------------------------------------------- */

body label, body .control-label, body .form-label {
  font-weight: 600;
  color: var(--dp-text);
  margin-bottom: .35rem;
}
body .form-group { margin-bottom: 1.1rem; }

body .form-control, body .form-select, body .custom-select,
body input[type="text"], body input[type="number"], body input[type="password"],
body input[type="search"], body input[type="email"], body input[type="date"],
body input[type="datetime-local"], body textarea, body select.form-control {
  min-height: 46px;
  padding: .55rem .8rem;
  font-family: var(--dp-font);
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--dp-text);
  background-color: var(--dp-surface);
  border: 2px solid var(--dp-border-strong);
  border-radius: var(--dp-radius);
  box-shadow: none;
  transition: border-color .12s ease;
}
body textarea.form-control, body textarea { min-height: 96px; }

body .form-select, body .custom-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: var(--dp-select-arrow);
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 14px 10px;
  padding-right: 2.5rem;
}

body .form-control::placeholder, body input::placeholder, body textarea::placeholder {
  color: var(--dp-muted);
  opacity: .8;
}

/* Fokus: selalu terlihat, penting untuk scanner barcode & keyboard */
body .form-control:focus, body .form-select:focus, body .custom-select:focus,
body input:focus, body textarea:focus, body select:focus {
  color: var(--dp-text);
  background-color: var(--dp-surface);
  border-color: var(--dp-primary);
  outline: 3px solid var(--dp-focus);
  outline-offset: 1px;
  box-shadow: none;
}

/* Kolom hasil hitung otomatis (readonly): garis putus-putus, tidak bisa diketik */
body .form-control[readonly], body input[readonly] {
  background-color: var(--dp-surface-2);
  border-style: dashed;
  cursor: default;
}
body .form-control:disabled, body input:disabled, body select:disabled, body textarea:disabled {
  background-color: var(--dp-surface-2);
  color: var(--dp-muted);
  cursor: not-allowed;
  opacity: .8;
}

/* Validasi */
body .is-invalid, body .has-error .form-control { border-color: var(--dp-danger); }
body .invalid-feedback, body .help-block.text-danger, body .has-error .help-block {
  color: var(--dp-danger-fg);
  font-weight: 600;
}
body .is-valid, body .has-success .form-control { border-color: var(--dp-success); }
body .form-text, body .help-block { color: var(--dp-muted); }

/* Prefix "Rp" dan sejenisnya */
body .input-group-text, body .input-group-addon {
  background-color: var(--dp-surface-2);
  color: var(--dp-text);
  font-weight: 600;
  border: 2px solid var(--dp-border-strong);
  border-radius: var(--dp-radius);
}

/* Centang & radio lebih besar */
body input[type="checkbox"], body input[type="radio"] {
  width: 1.3rem; height: 1.3rem;
  accent-color: var(--dp-primary);
  cursor: pointer;
}
body .form-check-input { min-height: 0; border: 2px solid var(--dp-border-strong); background-color: var(--dp-surface); }
body .form-check-input:checked { background-color: var(--dp-primary); border-color: var(--dp-primary); }

/* Spinner kecil pada input angka mudah salah klik / salah gulir */
body input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
body input[type="number"]::-webkit-outer-spin-button,
body input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Kolom angka sesuai database: harga_beli, harga_jual, tarif, tarif_service,
   jumlah, stok, subtotal, total */
body input[name*="harga_"], body input[name*="total"], body input[name*="tarif"],
body input[name*="jumlah"], body input[name*="stok"] {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: .01em;
}
/* Total transaksi dibuat paling menonjol di form */
body input[name="total"] { min-height: 56px; font-size: 1.5rem; }

/* Select2 (hanya berpengaruh jika project memakai Select2) */
body .select2-container .select2-selection--single {
  height: 46px;
  background-color: var(--dp-surface);
  border: 2px solid var(--dp-border-strong);
  border-radius: var(--dp-radius);
}
body .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px; padding-left: .8rem; color: var(--dp-text);
}
body .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
body .select2-dropdown {
  background-color: var(--dp-surface); color: var(--dp-text);
  border: 2px solid var(--dp-border-strong); border-radius: var(--dp-radius);
}
body .select2-results__option { padding: .65rem .8rem; }
body .select2-container--default .select2-results__option--highlighted[aria-selected],
body .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: var(--dp-primary); color: var(--dp-on-primary);
}
body .select2-search--dropdown .select2-search__field {
  background-color: var(--dp-surface); color: var(--dp-text);
  border: 2px solid var(--dp-border-strong); border-radius: 6px;
}


/* ---------------------------------------------------------------------
   8. MODAL, DROPDOWN, PAGINASI, TAB
   --------------------------------------------------------------------- */

body .modal-content {
  background-color: var(--dp-surface);
  color: var(--dp-text);
  border: 2px solid var(--dp-border);
  border-radius: var(--dp-radius-lg);
  box-shadow: var(--dp-shadow);
}
body .modal-header { border-bottom: 1px solid var(--dp-border); padding: 1rem 1.25rem; }
body .modal-title { font-weight: 600; }
body .modal-body { padding: 1.25rem; }
body .modal-footer { border-top: 1px solid var(--dp-border); padding: .9rem 1.25rem; gap: .5rem; }
body .modal-backdrop.show, body .modal-backdrop.in { opacity: .55; }
body .btn-close, body button.close {
  min-width: 44px; min-height: 44px; opacity: .85; color: var(--dp-text);
}
:root[data-theme="dark"] body .btn-close { filter: invert(1) grayscale(1) brightness(1.6); }

body .dropdown-menu {
  background-color: var(--dp-surface);
  color: var(--dp-text);
  border: 2px solid var(--dp-border);
  border-radius: 10px;
  padding: .35rem;
  box-shadow: var(--dp-shadow);
}
body .dropdown-item, body .dropdown-menu > li > a {
  display: flex; align-items: center; gap: .6rem;
  min-height: 44px; padding: .6rem .9rem;
  color: var(--dp-text); border-radius: 6px;
}
body .dropdown-item:hover, body .dropdown-item:focus, body .dropdown-menu > li > a:hover {
  background-color: var(--dp-surface-2); color: var(--dp-text);
}
body .dropdown-item.active, body .dropdown-item:active {
  background-color: var(--dp-primary); color: var(--dp-on-primary);
}

body .page-link, body .pagination > li > a, body .pagination > li > span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: .4rem .8rem;
  color: var(--dp-link); font-weight: 600;
  background-color: var(--dp-surface);
  border: 1px solid var(--dp-border-strong);
}
body .page-link:hover, body .pagination > li > a:hover { background-color: var(--dp-hover); color: var(--dp-primary-hover); }
body .page-item.active .page-link, body .pagination > .active > a, body .pagination > .active > span {
  background-color: var(--dp-primary); border-color: var(--dp-primary); color: var(--dp-on-primary);
}
body .page-item.disabled .page-link, body .pagination > .disabled > a {
  color: var(--dp-muted); background-color: var(--dp-surface-2); opacity: .7;
}

body .nav-tabs { border-bottom: 2px solid var(--dp-border); }
body .nav-tabs .nav-link, body .nav-tabs > li > a {
  min-height: 44px; padding: .7rem 1.1rem;
  font-weight: 600; color: var(--dp-muted);
  border: 0; border-bottom: 3px solid transparent; border-radius: 0;
  background: transparent;
}
body .nav-tabs .nav-link:hover { color: var(--dp-text); }
body .nav-tabs .nav-link.active, body .nav-tabs > li.active > a {
  color: var(--dp-primary); border-bottom-color: var(--dp-primary); background: transparent;
}

body .breadcrumb { background: transparent; padding-left: 0; color: var(--dp-muted); }


/* ---------------------------------------------------------------------
   9. PESAN & LENCANA (alert, badge, chip)
   Setiap status punya garis tepi tebal + teks; tidak hanya warna.
   --------------------------------------------------------------------- */

body .alert {
  padding: .85rem 1.1rem;
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid;
  border-left-width: 8px;
  border-radius: var(--dp-radius);
}
body .alert-success { background-color: var(--dp-success-bg); color: var(--dp-success-fg); border-color: var(--dp-success); }
body .alert-danger  { background-color: var(--dp-danger-bg);  color: var(--dp-danger-fg);  border-color: var(--dp-danger); }
body .alert-warning { background-color: var(--dp-warn-bg);    color: var(--dp-warn-fg);    border-color: var(--dp-warn-bd); }
body .alert-info    { background-color: var(--dp-info-bg);    color: var(--dp-info-fg);    border-color: var(--dp-primary); }

body .badge, body .label {
  display: inline-block;
  padding: .3em .7em;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 999px;
}
body .badge-success, body .badge.bg-success, body .label-success { background-color: var(--dp-success-bg) !important; color: var(--dp-success-fg) !important; }
body .badge-danger,  body .badge.bg-danger,  body .label-danger  { background-color: var(--dp-danger-bg)  !important; color: var(--dp-danger-fg)  !important; }
body .badge-warning, body .badge.bg-warning, body .label-warning { background-color: var(--dp-warn-bg)    !important; color: var(--dp-warn-fg)    !important; }
body .badge-info,    body .badge.bg-info,    body .label-info,
body .badge-primary, body .badge.bg-primary, body .label-primary { background-color: var(--dp-info-bg)    !important; color: var(--dp-info-fg)    !important; }

/* Chip untuk status stok & kategori service.
   Isi chip selalu berupa kata (Habis, Menipis, Ringan, ...). */
body .chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .2rem .7rem; border-radius: 999px;
  font-size: .875rem; font-weight: 600; line-height: 1.4;
  border: 2px solid transparent;
}
body .chip-ok,     body .chip-ringan { background: var(--dp-success-bg); color: var(--dp-success-fg); border-color: var(--dp-success); }
body .chip-info,   body .chip-normal { background: var(--dp-info-bg);    color: var(--dp-info-fg);    border-color: var(--dp-primary); }
body .chip-warn,   body .chip-berat  { background: var(--dp-warn-bg);    color: var(--dp-warn-fg);    border-color: var(--dp-warn-bd); }
body .chip-danger, body .chip-habis  { background: var(--dp-danger-bg);  color: var(--dp-danger-fg);  border-color: var(--dp-danger); }


/* ---------------------------------------------------------------------
   10. HALAMAN KASIR (custom page: transaksi penjualan + service)
   Susunan: kiri = cari barang & keranjang, kanan = ringkasan & bayar.
   --------------------------------------------------------------------- */

body .pos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 1rem;
  align-items: start;
}
@media (max-width: 991px) { body .pos-layout { grid-template-columns: 1fr; } }

body .pos-panel {
  background-color: var(--dp-surface);
  border: 1px solid var(--dp-border);
  border-radius: var(--dp-radius-lg);
  padding: 1rem;
}

/* Kolom cari / scan barcode: besar dan selalu jelas */
body .pos-search input, body input.pos-search {
  min-height: 60px;
  font-size: 1.375rem;
  padding: .6rem 1rem;
}

body .pos-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .6rem;
}
body .pos-item {
  display: flex; flex-direction: column; justify-content: space-between; gap: .35rem;
  min-height: 88px;
  padding: .65rem .8rem;
  text-align: left;
  color: var(--dp-text);
  background-color: var(--dp-surface);
  border: 2px solid var(--dp-border);
  border-radius: 10px;
  cursor: pointer;
}
body .pos-item:hover { border-color: var(--dp-primary); background-color: var(--dp-hover); }
body .pos-item:active { transform: translateY(1px); }
body .pos-item .nama  { font-weight: 600; line-height: 1.25; }
body .pos-item .harga { font-variant-numeric: tabular-nums; color: var(--dp-muted); font-weight: 600; }
body .pos-item .stok  { font-size: .85rem; color: var(--dp-muted); }
body .pos-item.stok-habis { opacity: .55; border-style: dashed; cursor: not-allowed; }

/* Ringkasan: subtotal barang, jasa service, sparepart service, total */
body .pos-summary { display: flex; flex-direction: column; gap: .25rem; }
body .pos-summary .baris {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--dp-border);
  font-variant-numeric: tabular-nums;
}
body .pos-summary .baris .label-baris { color: var(--dp-muted); }

/* Panel total: satu-satunya elemen yang sengaja paling mencolok */
body .pos-total {
  margin-top: .5rem;
  padding: 1rem 1.25rem;
  background-color: var(--dp-total-bg);
  color: var(--dp-total-fg);
  border-radius: var(--dp-radius-lg);
}
body .pos-total .keterangan { font-size: .95rem; color: var(--dp-total-muted); font-weight: 600; }
body .pos-total .jumlah {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: right;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
body .pos-total .jumlah .rp { font-size: 1.25rem; font-weight: 600; margin-right: .4rem; color: var(--dp-total-muted); }

/* Pilihan metode pembayaran (tabel metode_pembayaran): tombol segmen besar.
   Markup:  <div class="pos-method-group">
              <div class="pos-method"><input type="radio" name="id_metode" id="m1" value="1">
                                      <label for="m1">Tunai</label></div> ... </div> */
body .pos-method-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: .5rem;
}
body .pos-method { position: relative; }
body .pos-method input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
body .pos-method label {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; margin: 0; padding: .5rem .75rem;
  font-weight: 600; text-align: center;
  color: var(--dp-text);
  background-color: var(--dp-surface);
  border: 2px solid var(--dp-border-strong);
  border-radius: 10px;
}
body .pos-method input:checked + label {
  background-color: var(--dp-primary); border-color: var(--dp-primary); color: var(--dp-on-primary);
}
body .pos-method input:focus-visible + label { outline: 3px solid var(--dp-focus); outline-offset: 2px; }

/* Tombol bayar */
body .pos-pay-btn {
  min-height: 64px; width: 100%;
  font-size: 1.25rem; font-weight: 700;
}


/* ---------------------------------------------------------------------
   11. STRUK (cetak thermal 58mm; tambahkan class "struk-80" untuk 80mm)
   Atur margin = None / Tidak ada di dialog cetak browser.
   --------------------------------------------------------------------- */

body .struk {
  width: 58mm;
  margin: 0 auto;
  padding: 2mm;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  line-height: 1.35;
  color: #000;
  background: #fff;
}
body .struk.struk-80 { width: 80mm; font-size: 12px; }
body .struk hr { border: 0; border-top: 1px dashed #000; margin: 4px 0; }
body .struk .baris { display: flex; justify-content: space-between; gap: 6px; }
body .struk .tengah { text-align: center; }
body .struk .tebal  { font-weight: 700; }

@media print {
  body .no-print, body .navbar, body .sidebar, body .main-sidebar, body .menu-sidebar,
  body .dp-theme-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}


/* ---------------------------------------------------------------------
   12. TOMBOL GANTI TEMA & AKSESIBILITAS
   --------------------------------------------------------------------- */

body .dp-theme-toggle {
  position: fixed; left: 12px; bottom: 12px; z-index: 1030;
  width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; line-height: 1;
  color: var(--dp-text);
  background-color: var(--dp-surface);
  border: 2px solid var(--dp-border-strong);
  border-radius: 50%;
  cursor: pointer;
}

/* Cincin fokus untuk tombol & link (hanya saat memakai keyboard) */
body a:focus-visible, body button:focus-visible, body .btn:focus-visible,
body .page-link:focus-visible, body .nav-link:focus-visible, body .dropdown-item:focus-visible,
body [tabindex]:focus-visible {
  outline: 3px solid var(--dp-focus);
  outline-offset: 2px;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  body *, body *::before, body *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

#service-add-form .service-add-layout {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

#service-add-form .service-add-section {
	padding: 1.25rem;
	background: #fff;
	border: 1px solid #e1e6e9;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(20, 50, 60, .04);
}

#service-add-form .service-add-section-title {
	margin: 0 0 .25rem;
	color: #164e59;
	font-size: 1.1rem;
	font-weight: 600;
}

#service-add-form .service-add-section-description {
	margin: 0 0 1.1rem;
	color: #6c757d;
	font-size: .9rem;
}

#service-add-form .service-add-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.5rem;
	align-items: start;
}

#service-add-form .service-add-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

#service-add-form .service-add-grid--details {
	display: block;
}

#service-add-form .service-add-grid .form-group {
	margin: 0 0 .15rem;
}

#service-add-form .service-add-grid .form-group > .row {
	display: block;
	margin-right: 0;
	margin-left: 0;
}

#service-add-form .service-add-grid .form-group .row > .col-sm-4,
#service-add-form .service-add-grid .form-group .row > .col-sm-8 {
	width: 100%;
	max-width: 100%;
	flex: 0 0 100%;
	padding-right: 0;
	padding-left: 0;
}

#service-add-form .service-add-grid .form-group label {
	display: block;
	margin-bottom: .45rem;
	font-weight: 600;
}

#service-add-form .service-add-grid .form-control,
#service-add-form .service-add-grid .custom-select {
	min-height: 42px;
}

#service-add-form .service-add-field-wide {
	grid-column: 1 / -1;
}

#service-add-form .service-add-field-wide textarea {
	min-height: 100px;
}

#service-add-form .service-add-details-table {
	min-width: 720px;
	margin-bottom: 0;
}

#service-add-form .service-add-section .subform {
	overflow-x: auto;
	border-radius: 6px;
}

#service-add-form .service-add-section .btn-add-table-row {
	min-width: 40px;
	min-height: 38px;
	border: 1px solid #c8d3d7;
	border-radius: 6px;
}

#service-add-form .service-add-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: .25rem;
}

#service-add-form .service-add-actions button {
	min-width: 170px;
	padding: .65rem 1rem;
}

@media (max-width: 767.98px) {
	#service-add-form .service-add-grid,
	#service-add-form .service-add-grid--two {
		grid-template-columns: 1fr;
		gap: .9rem;
	}

	#service-add-form .service-add-field-wide {
		grid-column: auto;
	}

	#service-add-form .service-add-section {
		padding: 1rem;
	}
}
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.ajax-progress-bar{
	display: none;
}
.ajax-page-load-indicator{
	position:absolute;
	z-index:9999;
	display: none;
	text-align: center;
    top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    background-position: center;
	background-repeat: no-repeat;
    content: "";
}
.ajax-page-load-indicator .load-indicator{
	margin: 20% auto;
	width: 150px;
	background-color: #fff;
	padding: 10px;
	border-radius:5px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.page-content.loading, table.loading{
	overflow: hidden;
	position: relative;
}

#page-content {
    min-height: 75vh;
}
.password-strength-msg .chip{
	font-weight: 500;
	background-color: rgba(0, 0, 0, 0.1);
	font-size: x-small;
	padding: 1px 3px;
	border-radius: 3px;

}
td, th{
	position:relative;
}

td .is-editable{
	border-bottom:none;
	border-bottom: 1px dashed #ccc;
}

td .is-editable:hover{
	border-bottom: 1px dashed rgba(40, 120, 50, 0.081);
}

.editable-error-block {
	color:red;
}

td .inline-edit-btn{
	position:absolute;
	right:10px;
	display:none;
	top:5px;
}

td:hover .inline-edit-btn{
	display:block;
}
.search-input{
	position: relative;
}
.search-input .holder{
	position: absolute;
	z-index: 1000;
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
	width: 100%;
	display: none;
}
.search-input .search-result{
	max-height: 300px;
	overflow-y: auto;
}
.search-input .search-result .search-link{
	display: block;
	text-decoration: none;
	padding: 10px;
	border-bottom: 1px solid #eee;
}
.search-input .search-result .search-link:hover{
	background-color: rgba(40, 120, 50, 0.081);
}

.selectize-control{
	min-width: 150px;
}
.was-validated .dropzone.required.dz-started{
	border-color:#55cc55 !important;
}

.was-validated  .selectize-input.full{
	border-color:#55cc55 !important;
}

.was-validated  .selectize-input.invalid{
	border-color:red !important;
}

.export-link-btn img{
	width:24px;
	height:24px;
}

.dropzone-input{
	opacity:0;
	position:fixed;
	width:0;
	height:0;
	left:0;
	top:0;
	display:none;
}
.sm-gutters {
    margin-right: -10px;
    margin-left: -10px;
}

.sm-gutters>[class*=col-] {
    padding-right: 10px;
    padding-left: 10px;
}

.md-gutters {
    margin-right: -20px;
    margin-left: -20px;
}

.md-gutters>[class*=col-] {
    padding-right: 20px;
    padding-left: 20px;
}

.lg-gutters {
    margin-right: -35px;
    margin-left: -35px;
}

.lg-gutters>[class*=col-] {
    padding-right: 35px;
    padding-left: 35px;
}

.pagination .material-icons {
    font-size: 15px;
}

.nav-tabs.flex-column {
    border-bottom: none !important;
}


.custom-file-label {
	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.star-rating .star {
	position: relative;
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: .9em;
	margin-right: .9em;
	margin-bottom: 1.2em;
	border-right: .3em solid transparent;
	border-bottom: .7em  solid #ccc;
	border-left: .3em solid transparent;
	/* Controlls the size of the stars. */
	font-size: 12px;
  }
.star-rating .star:before, .star-rating .star:after {
content: '';
display: block;
width: 0;
height: 0;
position: absolute;
top: .6em;
left: -1em;
border-right: 1em solid transparent;
border-bottom: .7em  solid #ccc;
border-left: 1em solid transparent;
-webkit-transform: rotate(-35deg);
		transform: rotate(-35deg);
}
.star-rating .star:after {
-webkit-transform: rotate(35deg);
		transform: rotate(35deg);
}
.star-rating .star.active{
	border-bottom-color: #fc0;
}
.star-rating .star.active:before, .star-rating .star.active:after{
	border-bottom-color: #fc0;
}

.td-check-button{
	font-size: 28px;
	color:#999;
}
.td-check-button.checked{
	color:#55cc55;
}
.filter-chip{
    display: inline-block;
	margin-right:5px;
	margin-bottom:5px;
	padding:4px 5px;
}


.filter-chip .close-btn{
	text-decoration:none;
}

.accordion-group .accordion-header {
    position: relative;
    cursor: pointer;
    padding: 10px;
}

.accordion-group .accordion-header:hover {
    background: rgba(0, 0, 0, 0.05);
}

.accordion-group .accordion-header .expand {
    position: absolute;
    right: 10px;
    top: 5px;
}

.dropdown-toggle[aria-expanded="true"]:after {
	transform: rotate(180deg);
  }
.dropdown-toggle.inverse:after {
	transform: rotate(180deg);
}
.dropdown-toggle:after {
	transition: 0.5s;
}

.sortedby{
	background: rgba(0, 0, 0, 0.06);
}
.sortedby .sort-icon{
	color: #55cc55;
}
.th-sort-link{
    display: block;
    text-decoration: none !important;
	position: relative;
	color: inherit;
}
.sort-icon{
	position: absolute;
	right: 10px;
	top: 10px;
}
.data-select .load-indicator {
    position: absolute;
    right: 30px;
    top: 7px;
}

.data-select {
    position: relative;
}

.page-footer {
    padding: 10px 0;
}

.page-header {
    padding: 10px 0;
}

.fixed-sticky {
    position: fixed;
}

hr.sm {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.popover.inline-page .popover-header{
	padding: 0;
	background: none;
	border: none;
	position: relative;
}

.popover.inline-page .popover-header .close{
	position: absolute;
	right:10px;
	top:10px;
	width: 30px;
	height: 30px;
	float: none;
	text-align: center;
	z-index: 3000;
}
.close {
	cursor: pointer;
}
.inline-page.popover{
    max-width:100%;
}
.inline-page .popover-body{
    padding: 0px !important; 
}
/* Reset any container in side a column to take the size of the column  */

.comp-grid .container-fluid,
.comp-grid .container {
    padding: 0 !important;
    width: auto !important;
}

.comp-grid .py-2,
.comp-grid .border-bottom {
    padding: 0 !important;
    border: none !important;
}

.reset-grids .container .comp-grid, .reset-grids .container-fluid .comp-grid{
	max-width:100% !important;
	flex:0 0 100% !important;
}
#main-page-modal .card-body{
	padding:0 !Important;
} 
.modal .modal-body.p-0 form{
    padding: 1.4rem;
}
.modal .container,
.modal .container-fluid {
    width: auto;
    padding: 0;
    margin: 0;
}

.page-modal .modal-header {
    display: none;
}

.page-modal .modal-footer {
    display: none;
}

.fixed-alert {
    position: fixed;
    z-index: 2000;
}

.fixed-alert.bottom-left {
    bottom: 10px;
    left: 10px;
}


input[type="radio"],
input[type="checkbox"] {
    vertical-align: middle;
}

@media (min-width: 768px) {
	.collapse.collapse-lg {
		display: block;
		height: auto !important;
		visibility: visible;
	}
}

.menu-profile {
    padding: 0;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
    display: block;
}

.menu-profile a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-fixed-left .navbar-nav > li.menu-profile > a.avatar {
    padding: 0 !important;
}

.menu-profile .user-name {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
}

.menu-profile .avatar-icon .material-icons {
    font-size: 64px;
}

.menu-profile img.user-photo {
    height: 60px;
    width: 60px;
    display: block;
}

.menu-profile .menu-dropdown {
    position: absolute;
    right: 15px;
    top: 15px;
}

.flex-column.nav a.nav-link .badge {
    position: absolute;
    right: 5px;
    top: 30%;
}

.nav a.nav-link {
    position: relative;
}

.jumbotron.mini {
    padding: 20px;
    margin-bottom: 0;
}

.jumbotron.sm {
    padding: 15px;
    margin-bottom: 0;
}

.jumbotron.xs {
    padding: 8px;
    margin-bottom: 0;
}




section.page .page-title {
    margin: 20px auto;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.flash-msg-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999999;
}

.section-title {
    padding: 5px 0;
}

.table tr td {
    vertical-align: middle !important;
}

.bold {
    font-weight: bold;
}

.custom-list {
    position: relative;
}

.custom-list .menu-controls-holder {
    position: absolute;
    right: 10px;
    top: 10px;
}

.detail-list {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-list .title {
    font-weight: bold;
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.option-btn {
    margin: 1px 0 1px;
}

.detail-list .value {
    font-weight: bold;
}

.btn.btn-flat {
    background: none;
}

.btn-group,
.btn-group-vertical {
    margin: 0;
}

.table {
    margin-bottom: 0;
}

.page-list-record-detail input {
    padding: 5px 5px;
    background: #fafafa;
    border: 1px solid #ddd;
    width: 50px;
    text-align: center;
}

.page-list-record-detail .info {
    padding: 5px 5px;
    background: #eee;
    display: inline-block;
}

.table>thead>tr>th {
    vertical-align: middle;
}

.pager {
    margin: 0;
}

.footer {
    margin-top: 30px;
    padding: 20px 0;
}

.footer .copyright {
    text-transform: capitalize;
}

.footer .footer-links a {
    display: inline-block;
    padding: 0 5px;
    text-transform: capitalize;
}

.table-borderless tbody tr td,
.table-borderless tbody tr th,
.table-borderless thead tr th {
    border: none;
}

.radius-5 {
    border-radius: 5px;
}

.pad-10 {
    padding: 10px;
}

.center-block {
    float: none;
}

.gutter-20.row {
    margin-right: -10px;
    margin-left: -10px;
}

.gutter-20>[class^="col-"],
.gutter-20>[class^=" col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

.gutter-10.row {
    margin-right: -5px;
    margin-left: -5px;
}

.gutter-10>[class^="col-"],
.gutter-10>[class^=" col-"] {
    padding-right: 5px;
    padding-left: 5px;
}

.gutter-5.row {
    margin-right: -3px;
    margin-left: -3px;
}

.gutter-5>[class^="col-"],
.gutter-5>[class^=" col-"] {
    padding-right: 3px;
    padding-left: 3px;
}

.gutter-1.row {
    margin-right: -1px;
    margin-left: -1px;
}

.gutter-1>[class^="col-"],
.gutter-1>[class^=" col-"] {
    padding-right: 1px;
    padding-left: 1px;
}

.gutter-0.row {
    margin-right: 0;
    margin-left: 0;
}

.gutter-0>[class^="col-"],
.gutter-0>[class^=" col-"] {
    padding-right: 0;
    padding-left: 0;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 0;
}

.table td.fit,
.table th.fit {
    white-space: nowrap;
    width: 1%;
}

th.td-btn {
    white-space: nowrap;
    width: 1%;
}

table.table tr th.td-sno {
    white-space: nowrap;
    width: 1%;
    vertical-align: middle !important;
}

table.table tr th.td-checkbox {
    white-space: nowrap;
    width: 1%;
    vertical-align: middle !important;
}

.export-container {
    padding: 10px 0;
}

.form-inline .control-label {
    display: block;
}

.profile {
    padding: 20px;
}
a.avatar{
	padding:0 !Important;
}

.profile .avatar img{
   border-radius:50%;
   max-width:100px;
   max-height: 100px;;
}

.profile .title {
    text-transform: capitalize;
    color: #fff;
}

.record-count {
    display: block;
    padding: 10px !important;
    text-decoration: none !important;
    cursor: pointer;
    margin-bottom: 10px;
}

.record-count .material-icons {
    font-size: 32px !important;
}

.record-count.alert .material-icons {
    opacity: 0.3;
}

.record-count:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    border-color: transparent;
}

.record-count .title {
    font-weight: bold;
    margin-bottom: 2px;
}

.record-count .value {
    position: absolute;
    right: 10px;
    top: 6px;
    opacity: 0.8;
}

.record-count .desc {
    display: block;
    margin-top: 4px;
}

.record-count .progress {
    height: 10px;
    margin: 0 0;
    margin-top: 5px;
    border-radius: 0;
}

.record-count .progress-bar {
    line-height: 10px !important;
}

.record-count .progress-label {
    font-size: 8px;
}

.record-progress {
    display: block;
    padding: 10px 15px !important;
    text-decoration: none !important;
    cursor: pointer;
    margin-bottom: 10px;
}

.record-progress .icon {
    position: absolute;
    right: 10px;
    top: 6px;
    opacity: 0.5;
}

.record-progress .icon .material-icons {
    font-size: 36px !important;
}

.record-progress:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    border-color: transparent;
}

.record-progress .title {
    font-weight: bold;
    margin-bottom: 10px;
}

.record-progress .value {
    position: absolute;
    right: 10px;
    top: 6px;
    opacity: 0.8;
}

.record-progress .desc {
    display: block;
    margin-top: 4px;
}

.record-progress .progress {
    height: 15px;
    margin: 5px 0;
    border-radius: 0;
}

.record-progress .progress-bar {
    line-height: 15px !important;
}

.record-progress .progress-label {
    font-weight: bold;
    font-size: 10px;
}

td.page-list-action {
    width: 50px;
}

td.page-list-action .dropdown-menu {
    min-width: auto !Important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #555;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.load-indicator {
    text-align: center;
}

.load-indicator.parallax {
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 100%;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
}

.load-indicator.fullpage-parallax {
    margin: 0;
    position: fixed;
    left: 0;
    top: 0;
    line-height: 100%;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
}

.load-indicator.dark {
    background: rgba(0, 0, 0, 0.2);
}

.load-indicator.white {
    background: rgba(255, 255, 255, 0.9);
}

.load-indicator .loading-text {
    display: inline-block;
    padding: 10px;
    font-size: 15px;
    font-weight: 100;
    vertical-align: middle;
}

.load-indicator .animator {
    font-weight: bold;
    display: inline-block;
    padding: 10px;
    vertical-align: middle;
}

.btn .load-indicator {
    display: inline-block !important;
    margin: 5px;
}

.range-slider {
    position: relative;
}

.range-slider .value {
    position: absolute;
    right: -30px;
    top: 20%;
    padding: 2px;
    min-width: 25px;
    height: 25px;
    vertical-align: middle;
    line-height: 20px;
    border: 1px solid #ccc;
    background: #fafafa;
    color: #888;
    text-align: center;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    margin: 6.5px 0;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 7px;
    cursor: pointer;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
    background: rgba(10, 0, 0, 0.11);
    border-radius: 0.8px;
    border: 0px solid rgba(0, 0, 1, 0);
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 1.9px 1.9px 0px rgba(0, 0, 0, 0.1), 0px 0px 1.9px rgba(13, 13, 13, 0.1);
    border: 0px solid rgba(0, 0, 0, 0);
    height: 20px;
    width: 21px;
    border-radius: 50px;
    background: rgba(42, 42, 252, 0.78);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -6.5px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: rgba(36, 0, 0, 0.11);
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 7px;
    cursor: pointer;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
    background: rgba(10, 0, 0, 0.11);
    border-radius: 0.8px;
    border: 0px solid rgba(0, 0, 1, 0);
}

input[type=range]::-moz-range-thumb {
    box-shadow: 1.9px 1.9px 0px rgba(0, 0, 0, 0.1), 0px 0px 1.9px rgba(13, 13, 13, 0.1);
    border: 0px solid rgba(0, 0, 0, 0);
    height: 20px;
    width: 21px;
    border-radius: 50px;
    background: rgba(42, 42, 252, 0.78);
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 7px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: rgba(0, 0, 0, 0.11);
    border: 0px solid rgba(0, 0, 1, 0);
    border-radius: 1.6px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}

input[type=range]::-ms-fill-upper {
    background: rgba(10, 0, 0, 0.11);
    border: 0px solid rgba(0, 0, 1, 0);
    border-radius: 1.6px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}

input[type=range]::-ms-thumb {
    box-shadow: 1.9px 1.9px 0px rgba(0, 0, 0, 0.1), 0px 0px 1.9px rgba(13, 13, 13, 0.1);
    border: 0px solid rgba(0, 0, 0, 0);
    height: 20px;
    width: 21px;
    border-radius: 50px;
    background: rgba(42, 42, 252, 0.78);
    cursor: pointer;
    height: 7px;
}

input[type=range]:focus::-ms-fill-lower {
    background: rgba(10, 0, 0, 0.11);
}

input[type=range]:focus::-ms-fill-upper {
    background: rgba(36, 0, 0, 0.11);
}

.radial-progress-container {
    position: relative;
    margin: 0 auto;
}

.radial-progress-inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    position: absolute;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.file-list {
    margin-bottom: 10px;
    padding: 5px;
}

.file-uploads {
    overflow: visible !important;
    margin-bottom: 0 !important;
}

label {
    margin-bottom: 0 !important;
}

.ajax-loader{
  color: #808080;
  font-size: 20px;
  margin: 100px auto;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load4 1.3s infinite linear;
  animation: load4 1.3s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.inline-page form{
	position:relative !important;
}
.form-ajax-status{
	position:absolute;
	left:0;
	top: 0;
	width:100%;
	height:100%;
	background:rgba(255,255,255,0.7);
	display:none;
}
@-webkit-keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
@keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}

.lds-dual-ring {
  display: block;
  width: 64px;
  height: 64px;
  margin:auto auto;
}
.lds-dual-ring:after {
  content: " ";
  display:block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #aaa;
  border-color: #aaa transparent #aaa transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


.loader,
.loader:after {
  border-radius: 50%;
  width: 2em;
  height: 2em;
  display:inline-block;
}
.loader {
  position: relative;
  border-top: 0.3em solid rgba(0,0,128, 0.2);
  border-right: 0.3em solid rgba(0,0,128, 0.2);
  border-bottom: 0.3em solid rgba(0,0,128, 0.2);
  border-left: 0.3em solid #999;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#sidebar::-webkit-scrollbar {
    width: 6px;
}

/* Track */
#sidebar::-webkit-scrollbar-track {
    background: #fff;
    border: 4px solid transparent;
    background-clip: content-box;
}

/* Handle */
#sidebar::-webkit-scrollbar-thumb {
    background: #555555;
}

.passtrengthMeter{
  position: relative;
  width: 100%;
}

.passtrengthMeter > input{
  width: 100%;
  display: inline-block;
  padding: 5px;
  box-sizing: border-box;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.passtrengthMeter > input:focus {
    outline-width: 0;
}

.passtrengthMeter::after{
  content: '';
  height: 3px;
  overflow: hidden;
  width: 0%;
  transition: width .5s;
  position: absolute;
  left: 0px;
  bottom: 0px;
}

.passtrengthMeter.weak::after{
  background-color: #EC644B;
  width: 25%;
}

.passtrengthMeter.medium::after{
  content: '';
  background-color: #E87E04;
  width: 50%;
}

.passtrengthMeter.strong::after{
  content: '';
  background-color: #EFBF17;
  width: 75%;
}

.passtrengthMeter.very-strong::after{
  content: '';
  background-color: #42A72A;
  width: 100%;
}

.passtrengthMeter .showPassword{
  position: absolute;
  width: 20px;
  top: calc(50% - 10px);
  right: 10px;
}

.passtrengthMeter .showPassword.active{
  opacity: .5;
}

.passtrengthMeter .showPassword img{
  display: block;
  width: 100%;
  height: auto;
}

.passtrengthMeter .showPassword:hover{
  cursor: pointer;
}

.passtrengthMeter .tooltip {
  background: #000000;
  top: 100%;
  color: #fff;
  font-family:Arial;
  font-size: 12px;
  display: block;
  left: 50%;
  margin-bottom: 15px;
  opacity: 0;
  padding: 5px 10px;
  pointer-events: none;
  position: absolute;
  min-width: 70px;
  box-sizing: border-box;
  text-align: center;
  z-index: 10;
  -webkit-transform: translateY(5px);
     -moz-transform: translateY(5px);
      -ms-transform: translateY(5px);
       -o-transform: translateY(5px);
          transform: translateY(5px);
  -webkit-transition: all .25s ease-out;
     -moz-transition: all .25s ease-out;
      -ms-transition: all .25s ease-out;
       -o-transition: all .25s ease-out;
          transition: all .25s ease-out;
  -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
     -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
      -ms-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
       -o-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
          box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
}

.passtrengthMeter.weak .tooltip{
  background-color: #EC644B;
}
.passtrengthMeter.weak .tooltip:after{
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #EC644B 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
}

.passtrengthMeter.medium .tooltip{
  background-color: #E87E04;
}
.passtrengthMeter.medium .tooltip:after{
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #E87E04 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
}

.passtrengthMeter.strong .tooltip{
  background-color: #EFBF17;
}
.passtrengthMeter.strong .tooltip:after{
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #EFBF17 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
}

.passtrengthMeter.very-strong .tooltip{
  background-color: #42A72A;
}
.passtrengthMeter.very-strong .tooltip:after{
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #42A72A 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
}

.passtrengthMeter.weak .tooltip:before {
  top: -20px;
  content: " ";
  display: block;
  height: 20px;
  left: 0;
  position: absolute;
  width: 100%;
}

.passtrengthMeter .tooltip:after {
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #000000 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
  -webkit-transition: all .25s ease-out;
     -moz-transition: all .25s ease-out;
      -ms-transition: all .25s ease-out;
       -o-transition: all .25s ease-out;
          transition: all .25s ease-out;
}

.passtrengthMeter:hover .tooltip {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translateY(10px);
     -moz-transform: translateY(10px);
      -ms-transform: translateY(10px);
       -o-transform: translateY(10px);
          transform: translateY(10px);
}

.lte8 .passtrengthMeter .tooltip {
  display: none;
}

.lte8 .passtrengthMeter:hover .tooltip {
  display: block;
}
body{
	padding-top:50px;
}
/* Hide sidebar if page with login on index page */
body.with-login.index-index #main-content, body.index-register #main-content {
    padding: 0 !important;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 50px;
    left: -250px;
    height: calc(100vh - 50px);
    z-index: 999;
    background: #7386D5;
    color: #fff;
    transition: all 0.3s;
    overflow-y: auto;
	/* box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2); */
	padding-bottom: 40px;
}

#sidebar.active {
    left: 0;
}

#btn-dismiss-sidebar {
    position: absolute;
    top: 270px;
	right:450px;
	z-index: 2000;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.overlay.active {
    display: block;
    opacity: 1;
}


#sidebar .submenu{
	margin-left: 20px;
}

#sidebar .navbar-nav a.nav-link {
	padding: 8px !important;
	border-bottom: 1px solid rgba(0,0,0,0.06);
}
#sidebar .navbar-nav a.nav-link:hover {
	background: rgba(0,0,0,0.05);
}

#sidebar .navbar-nav a.dropdown-toggle::after {
	float: right;
	margin-right:7px;
	margin-top:7px;
}

#sidebar.navbar-nav > li > a .fa {
	margin-right:10px;
}

#sidebar .menu-profile > a.avatar {
    padding: 0 !important;
}


#main-content {
    transition: all 0.3s;
}

.navbar-brand{
	min-width:15%;
}

.navbar-brand img{
	display:inline;
	max-height:30px;
}