body,
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 14px;
  scroll-behavior: smooth;
  position: relative;
}
.imgw {
  display: block;
  width: 100%;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
  outline: 0 !important;
  outline-color: transparent !important;
  outline-width: 0 !important;
  outline-style: none !important;
  box-shadow: 0 0 0 0 rgba(0, 123, 255, 0) !important;
}
.alert ul {
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
}

.topnav .navbar-brand img {
  /* height: 6rem !important; */
  /* margin-top: 5px; */
}

.icon-list {
  font-size: 14px;
}

/* replace main button color */
/* .btn-primary {
  color: #fff;
  background-color: #993399;
  border-color: #993399;
}
.btn-primary:hover {
  color: #fff;
  background-color: #663366;
  border-color: #663366;
}
.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: #663366;
  border-color: #663366;
  box-shadow: 0 0 0 0.2rem rgba(38, 121, 244, 0.5);
}
.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff;
  background-color: #993399;
  border-color: #993399;
}
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #663366;
  border-color: #663366;
} */

.datatable {
  font-size: 14px;
}
.card-hover-pop {
  transform: scale(1);
  transition: 0.3s ease-in-out;
}
.card-hover-pop:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
}

@media only screen and (max-width: 380px) {
}

.select {
  padding: 0.5rem 0.5rem;
}
.page-item.disabled .page-link {
  background-color: #f2f2f2;
}

.dtfc-fixed-right:has(.dropdown.show) {
  z-index: 10 !important;
}

.mask {
  height: 100vh;
  width: 100vw;
  top: 0;
  position: absolute;
  opacity: 0.2;
  background-color: black;
}

.bg-mask {
  background-color: rgba(0, 0, 0, 0.2);
}
.mask-within {
  height: 100%;
  width: 100%;
  top: 0;
  position: absolute;
  opacity: 0.2;
  background-color: black;
}

.ellipsis {
  text-overflow: ellipsis;
}

.no-scroll {
  overflow: hidden !important;
}

#global-loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 100svh;
  width: 100svw;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.list-group-item.active {
  color: #485260;
  background-color: rgb(13 97 242 / 25%);
  border-color: rgb(13 97 242 / 35%);
}

.datatable .dataTables_scrollHead table,
.datatable .dataTables_scrollBody table {
  border-right: 1px solid #dee2e6;
}

.datatable .dataTables_scrollHead table thead th:last-child,
.datatable .dataTables_scrollBody table tbody td:last-child {
  border-right: 1px solid #dee2e6;
}

/*
 * dataTables.bootstrap4 (CDN) strips most borders on .table-bordered.dataTable to avoid
 * double lines with scrollX/fixedColumns; restore a normal grid for app tables in .datatable.
 */
.datatable table.table-bordered.dataTable > thead > tr > th,
.datatable table.table-bordered.dataTable > thead > tr > td {
  border-top: 1px solid #e3e6ec !important;
  border-bottom: 1px solid #f1f3f5 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

.datatable table.table-bordered.dataTable > thead > tr > th:first-child,
.datatable table.table-bordered.dataTable > thead > tr > td:first-child {
  border-left: 1px solid #e3e6ec !important;
}

.datatable table.table-bordered.dataTable > thead > tr > th:last-child,
.datatable table.table-bordered.dataTable > thead > tr > td:last-child {
  border-right: 1px solid #e3e6ec !important;
}

.datatable table.table-bordered.dataTable > tbody > tr > th,
.datatable table.table-bordered.dataTable > tbody > tr > td {
  /* No top border: avoids double line with thead border-bottom */
  border-top: 0 !important;
  border-bottom: 1px solid #e3e6ec !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

.datatable table.table-bordered.dataTable > tbody > tr > th:first-child,
.datatable table.table-bordered.dataTable > tbody > tr > td:first-child {
  border-left: 1px solid #e3e6ec !important;
}

.datatable table.table-bordered.dataTable > tbody > tr > th:last-child,
.datatable table.table-bordered.dataTable > tbody > tr > td:last-child {
  border-right: 1px solid #e3e6ec !important;
}

.datatable > table.table-bordered.dataTable {
  border: 1px solid #e3e6ec !important;
}

.datatable div.dataTables_scrollHead table.table-bordered {
  border-bottom-width: 1px !important;
}

/* Unify empty-state presentation for both table implementations */
.datatable table.table-bordered.dataTable td.dataTables_empty {
  border-top: 0 !important;
  border-left: 1px solid #e3e6ec !important;
  border-right: 1px solid #e3e6ec !important;
  border-bottom: 1px solid #e3e6ec !important;
  padding: 12px !important;
  color: #8d96a5 !important;
  text-align: center !important;
}

.datatable table.table-bordered.dataTable td.dataTables_empty .bi {
  display: none !important;
}

.datatable table.table-bordered.dataTable td.dataTables_empty .text-center.p-4 {
  padding: 0 !important;
}

.datatable table.table-bordered.dataTable td.dataTables_empty .text-muted {
  color: #8d96a5 !important;
}
