/* Auth pages logo */

.login-card .logo img {
  max-width: 320px;
}

@media (max-width: 575.98px) {
  .login-card .logo img {
    max-width: 200px;
  }
}

/* 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;
}

/* Fix bug in Select2 Layout Rendering */

.select2 .dropdown-wrapper {
  display: inline !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 {
  position: absolute !important;
  top: 12px !important;
  right: 8px !important;
  display: block !important;
  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;
}

/* DropZone */
.dz-button {
  border: 0;
  background: transparent;
}

.dropzone .dz-preview .dz-details {
  padding: 2.2em 1em;
}

.dropzone .dz-preview .dz-image {
  border-radius: 3px;
}

@media (max-width: 575.98px) {
  .dropzone .dz-message {
    margin: 2em;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .dropzone .dz-message {
    margin: 2.75em;
  }
}

.image-box-100 {
  width: 100px;
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.image-box-100 img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.image-upload-div {
  line-height: 150px;
  vertical-align: middle;
}

.image-upload-div img {
  max-width: 100%;
  vertical-align: middle;
  max-height: 200px;
}

/* Cuba Theme Bug Fixes */

.alert-primary,
body.dark-only .alert-primary,
.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content>li .sidebar-link::after {
  background-color: var(--theme-default) !important;
}