/* Fix sidebar logo */

.logo-wrapper img {
  height: 36px;
}

.logo-icon-wrapper img {
  max-width: 35px;
}

/* Bug Fixes */

.page-wrapper .page-header .header-wrapper .nav-right.right-header ul li .mode svg {
  fill: rgba(47, 47, 59, 0.9);
}

body.dark-only .page-wrapper .page-header .header-wrapper .nav-right>ul>li .mode svg {
  fill: #fff;
}

.login-card {
  background-repeat: no-repeat;
  background-size: cover;
}

body.dark-only .modal-body .form-control {
  color: rgba(255, 255, 255, 0.6);
}

body.dark-only .toast-body {
  color: #2b2b2b !important;
}

.form-main-wrapper form .form-block-wrapper .card-wrapper.overlay-bg .form-control {
  background-color: transparent !important;
  border-color: var(--view-grid-bg) !important;
}

/* Fixed Sorting Icons Bug in Datatables */

table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc_disabled:before {
  right: 0 !important;
  content: "" !important;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
  right: 0 !important;
  content: "" !important;
}

table.dataTable thead th {
  position: relative;
  background-image: none !important;
}

table.dataTable thead th.sorting:after,
table.dataTable thead th.sorting_asc:after,
table.dataTable thead th.sorting_desc:after {
  font-family: FontAwesome !important;
}

table.dataTable thead th.sorting:after {
  content: "\f0dc" !important;
  color: #686868 !important;
  font-size: 0.8em !important;
  padding-top: 0.12em !important;
}

table.dataTable thead th.sorting_asc:after {
  content: "\f0de" !important;
}

table.dataTable thead th.sorting_desc:after {
  content: "\f0dd" !important;
}

/* Form Validation */
.invalid-feedback {
  display: none;
}

.was-validated .form-control:invalid~.invalid-feedback,
.was-validated .form-select:invalid~.invalid-feedback {
  display: block;
}