
html{
  --primary: #009688;
  --scrollbar-track-color:#E4E4E4;
  --scrollbar-thumb-color:rgba(0,0,0,0.5);
  --scrollbar-thumb-hover-color:rgba(0,0,0,0.7);
}

html [data-theme="dark"] {
  --primary: #009688;
  --scrollbar-track-color:#111;
  --scrollbar-thumb-color:rgba(70,70,70,0.5);
  --scrollbar-thumb-hover-color:rgba(70,70,70,0.7);
}


[data-theme="dark"] {
  background-color: #1F1F1F !important;
}


[data-theme="dark"] .form-control:focus{
  background-color: #262626;
}
[data-theme="dark"] .form-control:disabled, [data-theme="dark"]  .form-control[readonly] {
  background-color: #423e3e !important;
  color: #c2c2c2;
}

[data-theme="dark"] .form-control.datepicker-here:disabled, [data-theme="dark"] .form-control.datepicker-here[readonly] {
  background-color: #262e33 !important;
  color: #fff;
}

[data-theme="dark"] .form-control.datepicker-here1:disabled, [data-theme="dark"] .form-control.datepicker-here1[readonly] {
  background-color: #262e33 !important;
  color: #fff;
}

[data-theme="dark"] .form-control.datepicker-heres:disabled, [data-theme="dark"] .form-control.datepicker-heres[readonly] {
  background-color: #262e33 !important;
  color: #fff;
}

[data-theme="dark"] .form-control{
  background-color: #262626;
/*  background-color: #1c1b1b;*/
}
[data-theme="dark"] .form-control{
  border: 2px #1c1b1b solid;
}
[data-theme="dark"] .form-control:-webkit-autofill,
[data-theme="dark"] .form-control:-webkit-autofill:hover,
[data-theme="dark"] .form-control:-webkit-autofill:focus,
[data-theme="dark"] .form-control:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
}

[data-theme="dark"] .form-control:-webkit-autofill{
    -webkit-text-fill-color: #fff !important;
}

[data-theme="dark"] .input-group-text {
  border: 2px #1c1b1b solid;
}

[data-theme="dark"] .select2-selection__rendered, 
[data-theme="dark"] .select2-selection, 
[data-theme="dark"] .select2-selection--single, 
[data-theme="dark"] .select2, 
[data-theme="dark"] .select2-container, 
[data-theme="dark"] .select2-container--default{
  color: #fff;
}

[data-theme="dark"] .table-info,
[data-theme="dark"] .table-info > th,
[data-theme="dark"] .table-info > td {
  background-color: #80e0ed;
}

[data-theme="dark"] .table-primary,
[data-theme="dark"] .table-primary > th,
[data-theme="dark"] .table-primary > td {
  color: black;
}

[data-theme="dark"] .table-secondary,
[data-theme="dark"] .table-secondary > th,
[data-theme="dark"] .table-secondary > td {
  color: white;
}

[data-theme="dark"] .table-info,
[data-theme="dark"] .table-info > th,
[data-theme="dark"] .table-info > td {
  color: black;
}

[data-theme="dark"] .table-success,
[data-theme="dark"] .table-success > th,
[data-theme="dark"] .table-success > td {
  color: black;
}

[data-theme="dark"] .table-warning,
[data-theme="dark"] .table-warning > th,
[data-theme="dark"] .table-warning > td {
  color: black;
}

[data-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: #423e3e !important;
}
[data-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--multiple {
  background-color: #423e3e !important;
}
[data-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--multiple:hover {
  border-color: var(--input-disable);
}
[data-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--multiple .select2-search--inline,
[data-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--multiple .select2-search__field{
  background-color: #423e3e !important;
}
[data-theme="dark"] .select2-search--inline,
[data-theme="dark"] .select2-search__field,
[data-theme="dark"] .select2-search,

[data-theme="dark"] .select2-choice,
[data-theme="dark"] .select2-results, 
[data-theme="dark"] .select2-results__options, 
[data-theme="dark"] .selection .select2-selection .select2-selection--single, 
[data-theme="dark"] .select2 .select2-container .select2-container--default, 
[data-theme="dark"] .select2-container, 
[data-theme="dark"] .select2-container--default, 
[data-theme="dark"] .select2-container--below, 
[data-theme="dark"] .select2-container--open,
[data-theme="dark"] .select2-hidden-accessible,
[data-theme="dark"] .select2-container,
[data-theme="dark"] .select2-container--default,
[data-theme="dark"] .selection,
[data-theme="dark"] .select2-selection,
[data-theme="dark"] .select2-selection--multiple {
  background-color: #262626 !important;
  border-radius: 5px;
  color: #fff;
}
[data-theme="dark"] span.select2-selection--multiple , [data-theme="dark"] span.select2-selection--single {
  border: 2px #1c1b1b solid;
  color: #fff;
  border-radius: 5px;
}
[data-theme="dark"] .select2-selection__rendered {
  color: #fff !important;
}

[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #918e8e !important;
}

[data-theme="dark"] .select2-dropdown, [data-theme="dark"] .select2-dropdown--above {
  border: 2px #009688 solid;
  background-color: #009688 !important;
}

[data-theme="dark"] .note-editor.note-frame .note-editing-area .note-editable div {
  color:black;
}

[data-theme="dark"] div {
  color: #fff;
}

[data-theme="dark"] .summernote{
  /*background-color: red;*/
}

[data-theme="dark"] .alert-info {
  color: var(--black);
}

[data-theme="dark"] a {
  color: #02b3a2;
}
[data-theme="dark"] a.app-nav__change_log {
  color: var(--label-warning);
}
[data-theme="dark"] a:hover {
  color: #02d9c4;
}

[data-theme="dark"] .badge  {
  color: #fff;
}
[data-theme="dark"] .alert-warning {
  color: #856404;
}

[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-info,
[data-theme="dark"] .btn-warning,
[data-theme="dark"] .btn-success,
[data-theme="dark"] .btn-danger{
  color: #fff;
}
[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .btn-secondary:hover,
[data-theme="dark"] .btn-info:hover,
[data-theme="dark"] .btn-warning:hover,
[data-theme="dark"] .btn-success:hover,
[data-theme="dark"] .btn-danger:hover{
  color: #fff;
}

[data-theme="dark"] .btn-light , [data-theme="dark"] .btn-light:hover {
  color: #333;
}

[data-theme="dark"] .btn-default {
  color: #333;
}

[data-theme="dark"] .btn-default:hover {
  color: #000;
}

[data-theme="dark"] .app-notification {
  background-color: #333;
}

[data-theme="dark"] .dropdown-item_footer {
  background-color: #444;
}

[data-theme="dark"] .btn-warning {
  color: #111;
}

[data-theme="dark"] .page-item, [data-theme="dark"] .page-link {
  color: #009688;
  background-color: #333;
  border-color: #222;
}

[data-theme="dark"] .page-item.disabled .page-link {
  background-color: #333;
  border-color: #222;
}

[data-theme="dark"] main {
  background-color: #1F1F1F !important;
}
/**/


[data-theme="dark"] .treeview-menu{
  background-color: #2c3033 !important;
}

[data-theme="dark"] .treeview-item, [data-theme="dark"] .treeview-item:hover  {
  color: #fff;
}

[data-theme="dark"] .app-menu__item, [data-theme="dark"] .app-menu__item:hover  {
  color: #fff;
}

[data-theme="dark"] .table-bordered, [data-theme="dark"] .table-bordered td, [data-theme="dark"] .table-bordered th {
  border-color: #444;
}

[data-theme="dark"] .table td {
 border-top: 1px solid #222;
}

[data-theme="dark"] .card {
 background-color: #333;
}

[data-theme="dark"] .border{
  border-color: #444 !important;
}

[data-theme="dark"] .border-light{
  border-color: #444 !important;
}

[data-theme="dark"] .app-header__logo, [data-theme="dark"] .app-header__logo:hover, [data-theme="dark"] .app-nav__item , [data-theme="dark"] .app-nav__item:hover, [data-theme="dark"] .app-sidebar__toggle, [data-theme="dark"] .app-sidebar__toggle:hover {
  color: #fff;
}

[data-theme="dark"] .app-sidebar, [data-theme="dark"] .app-sidebar1 {
  background-color: #1f2224 !important;
}

[data-theme="dark"] .nav-link.active {
  border-color: #444 #444 #333;
  background-color: #333 !important;
  color: #fff;
}

[data-theme="dark"] hr {
  border: 1px solid #222;
}

[data-theme="dark"] .nav-tabs {
  border-bottom: 1px solid #444;
}

[data-theme="dark"] .app-title {
  background-color: #333 !important;
}

[data-theme="dark"] .widget-small {
  color: #fff;
  background-color: #333 !important;
}

[data-theme="dark"] .tile {
  background-color: #333 !important;
}
[data-theme="dark"] .wrap-login100 {
  background-color: #333 !important;
}
[data-theme="dark"] .container-login100::before {
  background-color: rgba(0,0,0,0.97);
}
[data-theme="dark"] .modal-content, [data-theme="dark"] .swal2-popup, [data-theme="dark"] .dropdown-menu {
  background-color: #333 !important;
}
[data-theme="dark"] .progress {
  background-color: #1C1C1C !important;
}
[data-theme="dark"] .dropdown-item, [data-theme="dark"] .button-indecator {
  color: #fff;
}
[data-theme="dark"] .dropdown-item:hover {
  background-color: #444 !important;
  color: #fff;
}
[data-theme="dark"] .dropdown-item.active:hover {
  background-color: #009688 !important;
}

[data-theme="dark"] .toggle input[type="checkbox"]  {
  background-color: white !important;
}


[data-theme="dark"] .bg-light {
  background-color: #444 !important;
}

[data-theme="dark"] .bg-white {
  background-color: #000 !important;
}

[data-theme="dark"] .bg-black {
  background-color: #eee !important;
}

[data-theme="dark"] .fc-mon,
[data-theme="dark"] .fc-tue,
[data-theme="dark"] .fc-wed,
[data-theme="dark"] .fc-thu,
[data-theme="dark"] .fc-fri,
[data-theme="dark"] .fc-sun,
[data-theme="dark"] .fc-sat
{ background-color:#1E1E1E; }

[data-theme="dark"] .fc-today { 
    background: #27736a !important;
     }
[data-theme="dark"] .fc-day-number{ color: #fff; }

[data-theme="dark"] .datepicker,[data-theme="dark"] .datepicker--pointer{
    background: #333 !important;
}

[data-theme="dark"] .datepicker--cell.-selected-, [data-theme="dark"] .datepicker--cell.-selected-.-current-
{
background:#5cc4ef;
color:#fff;
}


[data-theme="dark"] .datepicker, [data-theme="dark"] .datepicker-inline .datepicker
{
  border:1px solid #1c1b1b;
}
[data-theme="dark"] .datepicker--cell.-in-range-
{
  color:#bfbfbf;
}
[data-theme="dark"] .datepicker--pointer
{
  background:#1c1b1b;
  border-top:1px solid #1c1b1b;
  border-right:1px solid #1c1b1b;
}
[data-theme="dark"] .datepicker--nav
{
  border-bottom:1px solid #1c1b1b;
}
[data-theme="dark"] .datepicker--buttons, [data-theme="dark"] .datepicker--time
{
  border-top:1px solid #1c1b1b;
}

[data-theme="dark"] .datepicker--nav-action:hover,[data-theme="dark"] .datepicker--nav-title:hover,[data-theme="dark"] .datepicker--button:hover,
[data-theme="dark"] .datepicker--cell-day.-other-month-:hover,[data-theme="dark"] .datepicker--cell-year.-other-decade-:hover, 
[data-theme="dark"] .datepicker--cell.-focus-
{
background:#777
}

[data-theme="dark"] .datepicker--time-current-hours,[data-theme="dark"] .datepicker--time-current-minutes, [data-theme="dark"] .datepicker--time-current-ampm
{
color:#fff !important;
}

[data-theme="dark"] .fc-center h2 {
color:#fff !important;
}

[data-theme="dark"] .table-danger,
[data-theme="dark"] .table-danger > th,
[data-theme="dark"] .table-danger > td {
  background-color: #823c42;
}
[data-theme="dark"] .table-hover .table-danger:hover > td,
[data-theme="dark"] .table-hover .table-danger:hover > th {
  background-color: #7d5256;
}

[data-theme="dark"] .swal2-title, [data-theme="dark"] .text-dark{
color:#fff !important;
}

/* Login Page */

[data-theme="dark"] .login100-form-btn{
  color:#fff;
}
[data-theme="dark"] .login100-form-btn::before {
  background-color: #28a745;
}

[data-theme="dark"] .input100 {
  background: #262626;
}

[data-theme="dark"] .input100:-webkit-autofill,
[data-theme="dark"] .input100:-webkit-autofill:hover,
[data-theme="dark"] .input100:-webkit-autofill:focus,
[data-theme="dark"] .input100:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
}

[data-theme="dark"] .input100:-webkit-autofill{
    -webkit-text-fill-color: #fff !important;
}


@media print {

  [data-theme="dark"] .form-control:focus{
    background-color: white;
    color: black;
  }
  [data-theme="dark"] .form-control:disabled, [data-theme="dark"]  .form-control[readonly] {
    background-color: #eeeeee !important;
    color: #263331;
  }

  [data-theme="dark"] .form-control.datepicker-here:disabled, [data-theme="dark"] .form-control.datepicker-here[readonly] {
    background-color: #e6f7f4 !important;
    color: black !important;
  }

  [data-theme="dark"] .form-control.datepicker-here1:disabled, [data-theme="dark"] .form-control.datepicker-here1[readonly] {
    background-color: #e6f7f4 !important;
    color: black !important;
  }

  [data-theme="dark"] .form-control.datepicker-heres:disabled, [data-theme="dark"] .form-control.datepicker-heres[readonly] {
    background-color: #e6f7f4 !important;
    color: black !important;
  }

  [data-theme="dark"] .form-control{
    background-color: white;
  }
  [data-theme="dark"] .form-control{
    border: 2px #ced4da solid;
  }

[data-theme="dark"] .select2-selection__rendered, 
[data-theme="dark"] .select2-selection, 
[data-theme="dark"] .select2-selection--single, 
[data-theme="dark"] .select2, 
[data-theme="dark"] .select2-container, 
[data-theme="dark"] .select2-container--default{
  color: black !important;
}

[data-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: #e6f7f4 !important;
}
[data-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--multiple {
  background-color: #e6f7f4 !important;
}
[data-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--multiple:hover {
  border-color: var(--input-disable);
}
[data-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--multiple .select2-search--inline,
[data-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--multiple .select2-search__field{
  background-color: #e6f7f4 !important;
}
[data-theme="dark"] .select2-search--inline,
[data-theme="dark"] .select2-search__field,
[data-theme="dark"] .select2-search,

[data-theme="dark"] .select2-choice,
[data-theme="dark"] .select2-results, 
[data-theme="dark"] .select2-results__options, 
[data-theme="dark"] .selection .select2-selection .select2-selection--single, 
[data-theme="dark"] .select2 .select2-container .select2-container--default, 
[data-theme="dark"] .select2-container, 
[data-theme="dark"] .select2-container--default, 
[data-theme="dark"] .select2-container--below, 
[data-theme="dark"] .select2-container--open,
[data-theme="dark"] .select2-hidden-accessible,
[data-theme="dark"] .select2-container,
[data-theme="dark"] .select2-container--default,
[data-theme="dark"] .selection,
[data-theme="dark"] .select2-selection,
[data-theme="dark"] .select2-selection--multiple {
  background-color: white !important;
  color: black !important;
}
[data-theme="dark"] span.select2-selection--multiple , [data-theme="dark"] span.select2-selection--single {
  color: black !important;
  border: 2px #ced4da solid;
}
[data-theme="dark"] .select2-selection__rendered {
  color: black !important;
}

[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #918e8e !important;
  color: black !important;
}

[data-theme="dark"] .select2-dropdown, [data-theme="dark"] .select2-dropdown--above {
  border: 2px #009688 solid;
  background-color: #009688 !important;
  color: black !important;
}

[data-theme="dark"] .note-editor.note-frame .note-editing-area .note-editable div {
  color: black !important;
}


  [data-theme="dark"] a {
    color: black;
  }

  [data-theme="dark"] hr {
    border: .8px solid rgba(0, 0, 0, 0.1);
  }

  [data-theme="dark"] main {
    background-color: #fff !important;
  }

  [data-theme="dark"] body {
    background-color: #fff !important;
    color:black;
  }

  [data-theme="dark"] .row {
    background-color: #fff !important;
    color:black;
  }

  [data-theme="dark"] .tile {
    background-color: #fff !important;
    color:black;
  }

  [data-theme="dark"] {
    background-color: #fff !important;
  }

  [data-theme="dark"] div {
    /*background-color: #fff !important;*/
    color: #000;
  }
  [data-theme="dark"] .card {
    background-color: #fff !important;
  }
  [data-theme="dark"] .border {
    border: 1px solid var(--table-line) !important;
  }
  [data-theme="dark"] .table td {
   border-top: 1px solid var(--table-line);
  }

}