body {
  overflow-x: hidden;
}

[data-color-scheme="dark"] {
  color-scheme: dark;
}

[data-color-scheme="light"] {
  color-scheme: light;
}

.dropify-wrapper {
  border-radius: 0.25rem;
  border-style: dashed;
  background-color: #f8f9fa;
}

.dark-mode .form-control:disabled,
.dark-mode .form-control[readonly] {
  color: rgba(255, 255, 255, 0.65) !important;
  background-color: #454d55;
}

.dark-mode .dropify-wrapper {
  border-color: #6c757d;
  background-color: #343a40;
}

.upload-modal .dropify-wrapper {
  border-color: transparent;
  background-color: transparent;
}

.btn-upload {
  position: relative;
  overflow: hidden;
}

.btn-upload input {
  cursor: pointer;
  position: absolute;
  font-size: 50px;
  opacity: 0;
  right: 0;
  top: 0;
}

.dark-mode .dropify-wrapper .dropify-message span.file-icon {
  font-size: 14px;
  color: #ffffff;
  opacity: 0.65;
}

.dark-mode .nav-treeview .nav-link.active {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.25) !important;
}

.search-title .text-light {
  color: #000000 !important;
}

.dark-mode .search-title .text-light {
  color: #ffffff !important;
}

.dark-mode .search-title {
  color: #c2c7d0 !important;
}

.os-theme-light > .os-scrollbar > .os-scrollbar-track > .os-scrollbar-handle {
  background: rgba(0, 0, 0, 0.4);
}

.dark-mode
  .os-theme-light
  > .os-scrollbar
  > .os-scrollbar-track
  > .os-scrollbar-handle {
  background: rgba(255, 255, 255, 0.4);
}

.dark-mode
  .select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background: #3f6791 !important;
}

.dark-mode a:not(.btn):hover {
  color: #fff;
}

.dark-mode blockquote.quote-danger {
  border-color: #e74c3c !important;
}

.dark-mode blockquote.quote-success {
  border-color: #00bc8c !important;
}

.dark-mode .badge-primary {
  background-color: #3f6791 !important;
}

.dark-mode .badge-light {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.25);
}

.dark-mode .border {
  border: 1px solid #727b84 !important;
}

.dark-mode .border-top {
  border-top: 1px solid #727b84 !important;
}

.dark-mode .border-right {
  border-right: 1px solid #727b84 !important;
}

.dark-mode .border-bottom {
  border-bottom: 1px solid #727b84 !important;
}

.dark-mode .border-left {
  border-left: 1px solid #727b84 !important;
}

.dark-mode .brand-link {
  color: rgba(255, 255, 255, 0.75) !important;
}

.dark-mode .brand-link:focus,
.dark-mode .brand-link:hover {
  color: rgba(255, 255, 255, 1) !important;
}

.dark-mode #sct-form .card-header {
  border-bottom: 1px solid #727b84 !important;
}

.dark-mode table.dataTable tfoot tr {
  background-color: #3a4047;
}

.dark-mode table.dataTable thead tr {
  background-color: #3a4047;
}
.dark-mode .bg-danger {
  background-color: #e74c3c !important;
}
.dark-mode .bg-success {
  background-color: #00bc8c !important;
}
.dark-mode .bg-secondary {
  background-color: #6c757d !important;
}
.dark-mode .bg-info {
  background-color: #3498db !important;
}
.dark-mode .bg-primary {
  background-color: #3f6791 !important;
}

.dark-mode .nav-tabs .nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
}

.dark-mode .nav-tabs .nav-link:hover {
  color: rgba(255, 255, 255, 1) !important;
}

.dark-mode .nav-tabs .nav-link.active {
  color: rgba(255, 255, 255, 1) !important;
}

.dark-mode .swal2-popup.swal2-toast.swal2-icon-error {
  background-color: #e74c3c !important;
}

.dark-mode .swal2-popup.swal2-toast.swal2-icon-success {
  background-color: #00bc8c !important;
}

.dark-mode .dropdown-item.active {
  background-color: #3f6791;
}

.dark-mode .custom-control-input:checked ~ .custom-control-label::before {
  border-color: #3f6791;
  background-color: #3f6791;
}

.croppie-container .cr-viewport,
.croppie-container .cr-resizer {
  border: 1px solid #e9ecef !important;
}

.dark-mode .croppie-container .cr-viewport,
.dark-mode .croppie-container .cr-resizer {
  border: 1px solid #6c757d !important;
}

.edit-item .dropify-wrapper {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1/1;
}

.dropify-wrapper:hover {
  background-image: none;
}

.dropify-wrapper .dropify-message span.file-icon {
  font-size: 14px;
  color: #343a40;
  opacity: 0.65;
}

.dropify-wrapper:hover .dropify-message span.file-icon {
  opacity: 1;
}

.dropify-wrapper .dropify-message span.file-icon {
  font-size: 14px;
  color: #343a40;
}

.dropify-wrapper .dropify-message span.file-icon:before {
  font-size: 50px;
}

.dark-mode .dropify-wrapper .dropify-preview .dropify-render i {
  color: #ffffff !important;
  opacity: 0.65 !important;
}

.dark-mode
  .dropify-wrapper
  .dropify-preview
  .dropify-render
  .dropify-extension {
  color: #ffffff !important;
  opacity: 0.65 !important;
}

.dropify-wrapper .dropify-preview {
  background-color: #f8f9fa !important;
}
.dark-mode .dropify-wrapper .dropify-preview {
  background-color: #454d55 !important;
}

.table-sm td {
  padding: 0.1rem 0.3rem;
}

table thead th {
  white-space: nowrap;
}

.border-danger-dark {
  border-color: #c82333 !important;
}

.bg-01 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),
    url(../img/bg01.jpg);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.bg-02 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),
    url(../img/bg02.jpg);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.bg-03 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),
    url(../img/bg03.jpg);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.was-validated
  select.select2:invalid
  + .select2.select2-container.select2-container--default
  span.select2-selection,
select.select2.is-invalid
  + .select2.select2-container.select2-container--default
  span.select2-selection {
  border-color: #dc3545;
  padding-right: 2.25rem !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated
  select.select2:invalid
  + .select2.select2-container.select2-container--default
  .select2-selection__arrow,
select.select2.is-invalid
  + .select2.select2-container.select2-container--default
  .select2-selection__arrow {
  right: 25px !important;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-default {
  cursor: default;
}

.no-select {
  user-select: none;
}

table.dataTable tbody td {
  vertical-align: middle;
}

table.dataTable.table-sm > thead > tr > th:not(.sorting_disabled) {
  padding-right: 25px;
}

.table-striped tbody tr.bg-deleted td {
  background-color: #fcf0f1 !important;
}

.table-striped tbody tr.bg-deleted:nth-of-type(odd) td {
  background-color: #f0dbdd !important;
}

.table-hover tbody tr.bg-deleted:hover td {
  background-color: #ead1d3 !important;
}

.table-hover tbody tr:hover td {
  background-color: #ececec !important;
}

.dark-mode .table-striped tbody tr.bg-deleted td {
  background-color: #403a40 !important;
}

.dark-mode .table-striped tbody tr.bg-deleted:nth-of-type(odd) td {
  background-color: #47373e !important;
}

.dark-mode .table-hover tbody tr.bg-deleted:hover td {
  background-color: #523e46 !important;
}

.dark-mode .table-hover tbody tr:hover td {
  background-color: #3a4047 !important;
}

.table-striped tbody tr.bg-mismatch td {
  background-color: rgba(255, 193, 7, 0.075) !important;
}

.table-striped tbody tr.bg-mismatch:nth-of-type(odd) td {
  background-color: rgba(255, 193, 7, 0.125) !important;
}

.table-hover tbody tr.bg-mismatch:hover td {
  background-color: rgba(255, 193, 7, 0.15) !important;
}

.login-box,
.register-box {
  min-width: 360px;
  width: auto !important;
}

#table-data ul.list-inline {
  margin-bottom: 0 !important;
}

#table-data ul.list-inline .list-inline-item {
  margin-right: 0 !important;
}

#table-data .table-avatar img,
#table-data img.table-avatar {
  border-radius: 50%;
  display: inline;
  height: 1.5rem;
}

#table-data td {
  vertical-align: middle;
}

#user-avatar ul.list-inline {
  margin-bottom: 0 !important;
}

#user-avatar ul.list-inline .list-inline-item {
  margin-right: 0 !important;
}

#user-avatar .table-avatar img,
#user-avatar img.table-avatar {
  border-radius: 50%;
  display: inline;
  height: 2rem;
}

#table-data td {
  vertical-align: middle;
}

.img-grayscale {
  filter: grayscale(100%);
}

.modal-custom-scroll {
  max-height: calc(100vh - 140px - 60px);
  overflow-y: auto;
}

.dataTables_filter {
  display: none;
}

.dataTables_scrollHeadInner table {
  margin-top: 0 !important;
}

.dataTables_scrollHeadInner .table thead th {
  border-top-width: 1px !important;
  border-bottom-width: 1px !important;
  margin-top: 0 !important;
}

.dataTables_scrollFootInner table {
  margin-bottom: 0 !important;
  border-bottom-width: 0px !important;
}

.dataTables_scrollBody .table thead th {
  border-top-width: 1px !important;
}

.btn-dt-filter {
  height: calc(1.8125rem + 2px);
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
  box-shadow: none;
  font-family: "Font Awesome 5 Free" !important;
  content: "\f107";
  font-weight: 900;
  background-color: #0275d8;
  border: 0.15em solid #0275d8;
}

table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.parent
  > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.parent
  > th.dtr-control:before {
  content: "\f106";
  background-color: #d33333;
  border: 0.15em solid #d33333;
}

table.dataTable > tbody > tr.child ul.dtr-details > li {
  padding: 0;
}

table.dataTable > tbody > tr.child ul.dtr-details {
  display: block;
}

table.dataTable tfoot tr {
  background-color: #f9f9f9;
}

table.dataTable thead tr {
  background-color: #f9f9f9;
}

.select2-container {
  width: 100% !important;
}

.btn-rounded-bottom {
  border-top-right-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-right-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
}

.swal2-toast-shown .swal2-container {
  width: 300px !important;
}

.swal2-popup.swal2-toast .swal2-title {
  color: #fff !important;
  margin: 0.5em 1em 0em 1em !important;
}

.swal2-popup.swal2-toast.swal2-icon-info {
  background-color: #6c757d !important;
}

.swal2-popup.swal2-toast.swal2-icon-success {
  background-color: #28a745 !important;
}

.swal2-popup.swal2-toast.swal2-icon-error {
  background-color: #dc3545 !important;
}

.swal2-popup.swal2-toast .swal2-html-container {
  color: #fff !important;
  margin: 0em 1em 0.5em 1em !important;
}

.swal2-close {
  color: rgba(255, 255, 255, 0.5) !important;
}

/*! HSI logo */

.hsi-logo {
  text-align: center;
}

.hsi-logo img {
  height: 50px;
  vertical-align: middle;
}

.hsi-logo h1 {
  font-size: 65px;
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}

.hsi-logo p {
  margin-top: -15px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}

.toggleWrapper {
  margin-top: -1px;
  overflow: hidden;
  height: 25px;
  width: 50px;
}

.toggleWrapper input {
  display: none;
}

.toggle {
  margin-left: -20px;
  margin-top: -13px;
  transform: scale(0.5);
  cursor: pointer;
  display: inline-block;
  position: relative;
  width: 90px;
  height: 50px;
  background-color: #83d8ff;
  border-radius: 84px;
  transition: background-color 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.toggle__handler {
  display: inline-block;
  position: relative;
  z-index: 1;
  top: 3px;
  left: 3px;
  width: 44px;
  height: 44px;
  background-color: #ffcf96;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: rotate(-45deg);
}
.toggle__handler .crater {
  position: absolute;
  background-color: #ddd;
  opacity: 0;
  transition: opacity 200ms ease-in-out;
  border-radius: 100%;
}
.toggle__handler .crater--1 {
  top: 18px;
  left: 10px;
  width: 4px;
  height: 4px;
}
.toggle__handler .crater--2 {
  top: 28px;
  left: 22px;
  width: 6px;
  height: 6px;
}
.toggle__handler .crater--3 {
  top: 10px;
  left: 25px;
  width: 8px;
  height: 8px;
}

.star {
  position: absolute;
  background-color: #ffffff;
  transition: all 300ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
  border-radius: 50%;
}

.star--1 {
  top: 10px;
  left: 35px;
  z-index: 0;
  width: 30px;
  height: 3px;
}

.star--2 {
  top: 18px;
  left: 28px;
  z-index: 1;
  width: 30px;
  height: 3px;
}

.star--3 {
  top: 27px;
  left: 40px;
  z-index: 0;
  width: 30px;
  height: 3px;
}

.star--4,
.star--5,
.star--6 {
  opacity: 0;
  transition: all 300ms 0 cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.star--4 {
  top: 16px;
  left: 11px;
  z-index: 0;
  width: 2px;
  height: 2px;
  transform: translate3d(3px, 0, 0);
}

.star--5 {
  top: 32px;
  left: 17px;
  z-index: 0;
  width: 3px;
  height: 3px;
  transform: translate3d(3px, 0, 0);
}

.star--6 {
  top: 36px;
  left: 28px;
  z-index: 0;
  width: 2px;
  height: 2px;
  transform: translate3d(3px, 0, 0);
}

input:checked + .toggle {
  background-color: #3f6791;
}
input:checked + .toggle .toggle__handler {
  background-color: #eee;
  transform: translate3d(40px, 0, 0) rotate(0);
}
input:checked + .toggle .toggle__handler .crater {
  opacity: 1;
}
input:checked + .toggle .star--1 {
  width: 2px;
  height: 2px;
}
input:checked + .toggle .star--2 {
  width: 4px;
  height: 4px;
  transform: translate3d(-5px, 0, 0);
}
input:checked + .toggle .star--3 {
  width: 2px;
  height: 2px;
  transform: translate3d(-7px, 0, 0);
}
input:checked + .toggle .star--4,
input:checked + .toggle .star--5,
input:checked + .toggle .star--6 {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
input:checked + .toggle .star--4 {
  transition: all 300ms 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
input:checked + .toggle .star--5 {
  transition: all 300ms 300ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
input:checked + .toggle .star--6 {
  transition: all 300ms 400ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.custom-switch-child {
  margin-left: 35px;
}

.dropdown-menu-xl {
  max-width: 400px;
  min-width: 350px;
  padding: 0;
}

.app-link {
  display: block;
  padding: 0.5rem 0rem;
  position: relative;
  color: rgba(0, 0, 0, 0.5);
}

.app-link:focus,
.app-link:hover {
  color: rgba(0, 0, 0, 0.7);
}

.dark-mode .app-link {
  color: rgba(255, 255, 255, 0.75);
}

.dark-mode .app-link:focus,
.dark-mode .app-link:hover {
  color: rgba(255, 255, 255, 1) !important;
}

.table-bordered.card-view {
  border: 0 !important;
}

.card-view thead {
  display: none;
}

.card-view tfoot {
  display: none;
}

.card-view tbody tr {
  float: left;
  width: 24%;
  min-height: 20rem;
  padding: 0.5%;
  margin: 0.5%;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  background-color: #f8f9fa !important;
  color: #1f2d3d !important;
}

.dark-mode .card-view tbody tr {
  background-color: #454d55 !important;
  border-color: #727b84 !important;
  color: #fff !important;
}

.card-view tbody tr td {
  display: block;
  border: 0;
}

.card-view td.text-center {
  text-align: left !important;
}

label:not(.form-check-label):not(.custom-file-label) {
  font-weight: normal !important;
}

.home-brand {
  font-size: 1.6rem;
}

.home-logo {
  margin-top: -0.2rem;
  height: 2rem;
}

.home-footer {
  background-color: #fff;
  border-top: 1px solid #dee2e6;
  color: #869099;
  margin-top: 2rem;
  padding: 1rem;
}

.form-control-initial {
  flex: 0 auto !important;
  min-width: 65px !important;
}

.sticky-top {
  top: 65px;
}

img {
  pointer-events: none;
  user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.img-zoom {
  background-color: #cecece;
  cursor: crosshair;
}

.img-square {
  position: relative;
  overflow: hidden;
  padding-bottom: 100%;
}

.img-square img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: absolute;
}

.img-contain {
  background-position: center;
  background-size: fill;
  position: relative;
  overflow: hidden;
  padding-bottom: 100%;
}

.img-contain img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  position: absolute;
}

.card-img,
.card-img-top {
  border-top-left-radius: 0.25rem !important;
  border-top-right-radius: 0.25rem !important;
}

.table-img {
  width: 2rem;
}

.selectable {
  min-width: 175px;
}

.editable-wide {
  min-width: 175px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.dark-mode
  .select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  background-color: #3f6791;
  border-color: #3f6791;
}

.callout {
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.ribbon-wrapper .ribbon::after,
.ribbon-wrapper .ribbon::before {
  border: none !important;
}

.col-img {
  width: 8.7rem;
  padding-right: 7.5px;
  padding-left: 7.5px;
}

.btn-loading {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
  -webkit-animation: progress-bar-stripes 0.5s linear infinite;
  -o-animation: progress-bar-stripes 0.5s linear infinite;
  animation: progress-bar-stripes 0.5s linear infinite;
}

.dark-mode
  .custom-control-input-danger:checked
  ~ .custom-control-label::before {
  border-color: #e74c3c !important;
  background-color: #e74c3c !important;
}

.dark-mode
  .custom-control-input-success:checked
  ~ .custom-control-label::before {
  border-color: #00bc8c !important;
  background-color: #00bc8c !important;
}

.dark-mode
  .custom-control-input-warning:checked
  ~ .custom-control-label::before {
  border-color: #f39c12 !important;
  background-color: #f39c12 !important;
}

.dark-mode
  .custom-control-input-orange:checked
  ~ .custom-control-label::before {
  border-color: #fd7e14 !important;
  background-color: #fd7e14 !important;
}

.dark-mode .custom-control-input-info:checked ~ .custom-control-label::before {
  border-color: #3498db !important;
  background-color: #3498db !important;
}

.dark-mode .table-striped tbody tr td.bg-untested {
  background-color: #403a40 !important;
}

.dark-mode .table-striped tbody tr:nth-of-type(odd) td.bg-untested {
  background-color: #47373e !important;
}

.dark-mode .table-hover tbody tr:hover td.bg-untested {
  background-color: #523e46 !important;
}

.table-striped tbody tr td.bg-untested {
  background-color: #fcf0f1 !important;
}

.table-striped tbody tr:nth-of-type(odd) td.bg-untested {
  background-color: #f0dbdd !important;
}

.table-hover tbody tr:hover td.bg-untested {
  background-color: #ead1d3 !important;
}

.form-textview {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  background-color: #fff;
  color: #495057;
}

.dark-mode .form-textview {
  border: 1px solid #6c757d;
  border-radius: 0.25rem;
  background-color: #343a40;
  color: #fff;
}

.widget-user .widget-user-image > img {
  border-width: 6px !important;
  border-color: #f7f7f7 !important;
}

.dark-mode .widget-user .widget-user-image > img {
  border-color: #2f3439 !important;
}

.btn-group-xs > .btn,
.btn-xs {
  padding: 0.25rem 0.4rem;
  font-size: 0.875rem;
  line-height: 0.5;
  border-radius: 0.2rem;
}

.hoverable:hover {
  transform: scale(1.02) translateY(-1px);
  transition: 0.05s;
}

.hoverable {
  transition: 0.2s;
}

button.html5-qrcode-element {
  display: inline-block;
  font-weight: 400;
  color: #fff !important;
  background-color: #007bff !important;
  border-color: #007bff !important;
  box-shadow: none;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dark-mode button.html5-qrcode-element {
  color: #fff !important;
  background-color: #3f6791 !important;
  border-color: #3f6791 !important;
  box-shadow: none !important;
}

.fi {
  min-width: 1.33333333em !important;
  max-width: 1.33333333em !important;
}

.modal-footer .btn {
  height: 100%;
}

.modal-xxl {
  padding: 0 !important;
}
.modal-xxl .modal-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}
.modal-xxl .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}
.modal-xxl .modal-body {
  overflow-y: auto;
}

.modal-dialog .overlay {
  margin: 0 !important;
  background-color: #fff;
}

.dark-mode .modal-dialog .overlay {
  background-color: #343a40;
}

.rounded-bottom-only {
  border-top-right-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-right-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
}

.bg-rainbow {
  color: #fff !important;
  background: linear-gradient(
    124deg,
    #e83e8c,
    #dc3545,
    #fd7e14,
    #28a745,
    #17a2b8,
    #007bff,
    #6f42c1,
    #6610f2
  );
  background-size: 20000% 20000%;

  -webkit-animation: rainbow 18s ease infinite;
  -z-animation: rainbow 18s ease infinite;
  -o-animation: rainbow 18s ease infinite;
  animation: rainbow 18s ease infinite;
}

td.row-reorder {
  cursor: ns-resize;
}

@-webkit-keyframes rainbow {
  0% {
    background-position: 0% 82%;
  }
  50% {
    background-position: 100% 19%;
  }
  100% {
    background-position: 0% 82%;
  }
}
@-moz-keyframes rainbow {
  0% {
    background-position: 0% 82%;
  }
  50% {
    background-position: 100% 19%;
  }
  100% {
    background-position: 0% 82%;
  }
}
@-o-keyframes rainbow {
  0% {
    background-position: 0% 82%;
  }
  50% {
    background-position: 100% 19%;
  }
  100% {
    background-position: 0% 82%;
  }
}
@keyframes rainbow {
  0% {
    background-position: 0% 82%;
  }
  50% {
    background-position: 100% 19%;
  }
  100% {
    background-position: 0% 82%;
  }
}

.loader {
  width: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 0 #0004;
  animation: l2 1.5s infinite linear;
  position: relative;
}
.loader:before,
.loader:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 #0004;
  animation: inherit;
  animation-delay: -0.5s;
}
.loader:after {
  animation-delay: -1s;
}
@keyframes l2 {
  100% {
    box-shadow: 0 0 0 40px #0000;
  }
}

.dark-mode .loader {
  width: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 #fff4;
  animation: d2 1.5s infinite linear;
  position: relative;
}

.dark-mode .loader:before,
.dark-mode .loader:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 #fff4;
  animation: inherit;
  animation-delay: -0.5s;
}
.dark-mode .loader:after {
  animation-delay: -1s;
}
@keyframes d2 {
  100% {
    box-shadow: 0 0 0 40px #fff0;
  }
}

.leaflet-control-attribution {
  display: none;
}

.rounded-bottom-only {
  border-top-right-radius: 0rem !important;
  border-top-left-radius: 0rem !important;
  border-bottom-right-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
}

#filter.sticky-top {
  top: 57px !important;
  background-color: #fff;
  color: #1f2d3d !important;
}

.dark-mode #filter.sticky-top {
  background-color: #343a40 !important;
  color: #fff !important;
}

.dark-mode .leaflet-layer {
  filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
  border: 0 !important;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out,
.leaflet-control-button,
.leaflet-bar a {
  color: #fff !important;
  border: 1px solid;
  border-color: #007bff !important;
  background-color: #007bff !important;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.leaflet-control-button {
  cursor: pointer;
}

.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover,
.leaflet-control-button:hover,
.leaflet-bar a:hover {
  color: #fff !important;
  background-color: #0069d9 !important;
  border-color: #0062cc !important;
}

.leaflet-touch .leaflet-bar a:first-child {
  border-top-left-radius: 0.25rem !important;
  border-top-right-radius: 0.25rem !important;
}

.leaflet-touch .leaflet-bar a:last-child {
  border-bottom-left-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
}
.dark-mode .leaflet-touch .leaflet-control-layers,
.dark-mode .leaflet-touch .leaflet-bar {
  border-color: #3f6791 !important;
}

.dark-mode .leaflet-control-zoom-in,
.dark-mode .leaflet-control-zoom-out,
.dark-mode .leaflet-control-button,
.dark-mode .leaflet-bar a {
  background-color: #3f6791 !important;
  border-color: #3f6791 !important;
}

.dark-mode .leaflet-control-zoom-in:hover,
.dark-mode .leaflet-control-zoom-out:hover,
.dark-mode .leaflet-control-button:hover,
.dark-mode .leaflet-bar a:hover {
  background-color: #335476 !important;
  border-color: #304e6d !important;
}

.dark-mode .leaflet-popup-content-wrapper,
.dark-mode .leaflet-popup-tip {
  background-color: #343a40 !important;
  color: #fff !important;
}

.leaflet-marker-icon-user {
  border: 3px solid;
  border-color: #007bff !important;
  border-radius: 50%;
  box-shadow: 0 0.1rem 0.3rem 0.2rem rgba(0, 0, 0, 0.2) !important;
}

.dark-mode .leaflet-marker-icon-user {
  border-color: #3f6791 !important;
  box-shadow: 0 0.1rem 0.3rem 0.2rem rgba(0, 0, 0, 0.2) !important;
}

.leaflet-marker-icon-inside {
  border-color: #28a745 !important;
}

.leaflet-marker-icon-outside {
  border-color: #dc3545 !important;
}

.leaflet-marker-task {
  border: 0px !important;
  border-radius: 0% !important;
  box-shadow: 0 0 0 0 !important;
}

.leaflet-marker-icon::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  display: block;
  content: "";
  background-image: url("../img/user_default.png");
  background-size: 34px 34px;
}

.select2-container {
  min-width: 250px;
}

.dark-mode .bg-white {
  background-color: #343a40 !important;
  color: #fff !important;
}

.dark-mode .bootstrap-datetimepicker-widget table td.active {
  background-color: #3f6791 !important;
}

.dark-mode .bootstrap-datetimepicker-widget table td.active.today:before {
  border-bottom-color: #fff !important;
}

.dark-mode .bootstrap-datetimepicker-widget table td.today:before {
  border-bottom-color: #3f6791 !important;
}

.dark-mode .bootstrap-datetimepicker-widget table td:hover,
.dark-mode .bootstrap-datetimepicker-widget table th:hover {
  background: #e9ecef !important;
  color: #343a40 !important;
  cursor: pointer;
}

.timeline-body {
  line-height: 90% !important;
}

.timeline > div > .timeline-item > .timeline-header {
  font-size: 14px !important;
  line-height: 1 !important;
}

.leaflet-bar a.leaflet-pelias-search-icon {
  border-color: white !important;
  background-color: white !important;
}

.leaflet-control-geocoder a {
  color: #000 !important;
  border: none !important;
  background-color: transparent !important;
}

.leaflet-control-geocoder a:hover {
  color: #000 !important;
  border: none !important;
  background-color: transparent !important;
}
 