.hidden {
  display: none !important;
}

.flex {
  display: flex;
}

.opacity-50 {
  opacity: 0.5;
}

[role="button"] {
  cursor: pointer;
}

.loading {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.spinner-border-lg {
  width: 5rem;
  height: 5rem;
}

.centered-div {
  text-align: center;
}

select[multiple] {
  width: 100%;
}

@-webkit-keyframes spinner-border {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner-border {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: -0.125em;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: 0.75s linear infinite spinner-border;
  animation: 0.75s linear infinite spinner-border;
}
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.2em;
}
@-webkit-keyframes spinner-grow {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes spinner-grow {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
.spinner-grow {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: -0.125em;
  background-color: currentColor;
  border-radius: 50%;
  opacity: 0;
  -webkit-animation: 0.75s linear infinite spinner-grow;
  animation: 0.75s linear infinite spinner-grow;
}
.spinner-grow-sm {
  width: 1rem;
  height: 1rem;
}
@media (prefers-reduced-motion: reduce) {
  .spinner-border,
  .spinner-grow {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
  }
}

#splash-screen {
  inset: 0;
  z-index: 2000;
  line-height: 1;
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: center;
  color: var(--sd-dark-500, #192334);
  background-color: var(--sd-white, #fff);
  opacity: 1;
  visibility: visible;
  transition: visibility 0s 500ms, opacity 500ms;
}
#splash-screen .spinner {
  display: none;
  font-size: 14px;
  text-align: center;
}
#splash-screen p {
  margin: 12px 0 0;
}
#splash-screen .logo {
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  animation: splash-screen-pulse 3s infinite ease-in-out;
}

@media (max-width: 600px) {
  #splash-screen .spinner {
    display: block;
  }
  #splash-screen .logo {
    display: none;
  }
  .offcanvas {
    width: 100% !important;
  }
}

#splash-screen[aria-busy="false"] {
  opacity: 0;
  visibility: hidden;
  display: none;
}

.float-right {
  float: right;
}

hr {
  opacity: 0.1;
}

.no-shadow {
  box-shadow: none !important;
}

.form-control[readonly] {
  background: #eee;
}

[type="file"] {
  font-size: 13px;
  padding: 0.375rem 0rem;
  padding-left: 0.5rem;
}
::file-selector-button {
  font-size: 0.9rem;
}

.table-no-items td {
  text-align: center;
}

h3 {
  font-size: 1.1rem;
}

span.badge {
  font-weight: 600;
}

tr.tr-default td {
  text-align: center;
}

td {
  vertical-align: middle !important;
}

.select2-selection__choice {
  background: var(--bs-primary) !important;
}
.select2-selection.select2-selection--single {
  padding-top: 0;
}

.sr-only {
  display: none;
}

.btn-icon {
  border: none !important;
  width: 38px;
  opacity: 0.7;
}
.btn-icon:hover,
.btn-icon:focus-visible {
  opacity: 1;
}

.btn-icon:disabled {
  opacity: 0.5;
}
@media (max-width: 600px) {
  .btn-icon {
    width: 2rem !important;
  }
}

td .btn-icon {
  padding: 0.3rem;
  width: 2rem !important;
  height: 2rem !important;
}
