.container-fluid {
  padding-right: 20px;
  padding-left: 20px;
}

.badge-outline-success {
  color: #1cbb8c;
  background-color: rgba(28, 187, 140, 0.18);
  border: 1px solid #1cb386;
}

.badge-outline-warning {
  color: #fcb92c;
  background-color: rgba(252, 185, 44, 0.18);
  border: 1px solid #fcb92c;
}

.badge-outline-danger {
  color: #ff3d60;
  background-color: rgba(255, 61, 96, 0.18);
  border: 1px solid #ff3d60;
}

.badge-outline-primary {
  color: #5664d2;
  background-color: rgba(86, 100, 210, 0.18);
  border: 1px solid #5664d2;
}

.badge-outline-secondary {
  color: #74788d;
  background-color: rgba(116, 120, 141, 0.18);
  border: 1px solid #74788d;
}

.badge-outline-dark {
  color: #343a40;
  background-color: rgba(52, 58, 64, 0.18);
  border: 1px solid #343a40;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.hide {
  display: none !important;
}

.pointer {
  cursor: pointer;
}

table.color-hover tr:hover td {
  background: lemonchiffon;
}

.tooltip {
  display: block !important;
  z-index: 10000;
}

.tooltip .tooltip-inner {
  background: black;
  color: white;
  border-radius: 5px;
  padding: 5px 10px 4px;
  font-size: 0.8rem;
}

.tooltip .tooltip-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  margin: 5px;
  border-color: black;
  z-index: 1;
}

.tooltip[x-placement^='top'] {
  margin-bottom: 5px;
}

.tooltip[x-placement^='top'] .tooltip-arrow {
  border-width: 5px 5px 0 5px;
  border-left-color: transparent !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
  bottom: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}

.tooltip[x-placement^='bottom'] {
  margin-top: 5px;
}

.tooltip[x-placement^='bottom'] .tooltip-arrow {
  border-width: 0 5px 5px 5px;
  border-left-color: transparent !important;
  border-right-color: transparent !important;
  border-top-color: transparent !important;
  top: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}

.tooltip[x-placement^='right'] {
  margin-left: 5px;
}

.tooltip[x-placement^='right'] .tooltip-arrow {
  border-width: 5px 5px 5px 0;
  border-left-color: transparent !important;
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
  left: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}

.tooltip[x-placement^='left'] {
  margin-right: 5px;
}

.tooltip[x-placement^='left'] .tooltip-arrow {
  border-width: 5px 0 5px 5px;
  border-top-color: transparent !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
  right: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}

.tooltip.popover .popover-inner {
  background: #f9f9f9;
  color: black;
  padding: 24px;
  border-radius: 5px;
  box-shadow: 0 5px 30px rgba(black, 0.1);
}

.tooltip.popover .popover-arrow {
  border-color: #f9f9f9;
}

.tooltip[aria-hidden='true'] {
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.15s,
    visibility 0.15s;
}

.tooltip[aria-hidden='false'] {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.15s;
}

.form-control:disabled {
  background: #eee !important;
}

.select2-container {
  height: calc(1.5em + 0.94rem + 2px) !important;
}

.select2-selection {
  height: calc(1.5em + 0.94rem + 2px) !important;
  line-height: 1.5 !important;
}

.select2-selection__rendered {
  padding: 0.47rem 0.75rem !important;
  line-height: 1.5 !important;
}

.select2-selection__arrow {
  height: calc(1.5em + 0.94rem + 2px) !important;
  padding: 0.47rem 0.75rem !important;
}

.has-button-panel {
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
  box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.08) !important;
}

.button-panel {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.button-panel .card {
  border-radius: 0.25rem 0.25rem 0px 0px !important;
  margin-bottom: -4px !important;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.pagination-container {
  display: flex;
  column-gap: 10px;
}
.paginate-buttons {
  height: 35px;
  width: 35px;
  border-radius: 5px;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid rgb(217, 217, 217);
  color: black;
}
.paginate-buttons:hover {
  background-color: #d8d8d8;
}
.active-page {
  background-color: var(--primary);
  border: 1px solid var(--primary);
  color: white;
}
.active-page:hover {
  background-color: var(--primary);
}

.height-100dvh {
  height: 100dvh;
}

.width-100dvh {
  width: 100dvh;
}

.btn-primary:hover,
.btn-primary:active {
  background: #043b81 !important;
  border: 1px solid #043b81 !important;
  color: #fff;
}

.btn-outline-primary {
  background: #fff !important;
  border: 1px solid var(--primary) !important;
  color: var(--primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus {
  background: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  color: #fff !important;
}

.btn.disabled {
  filter: saturate(0.5);
  cursor: not-allowed !important;
  pointer-events: none;
}

.btn {
  font-weight: normal !important;
}

.select-wrapper select {
  padding-right: 20px;
}

.select-wrapper i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.6;
  font-size: 80%;
}

@media screen and (max-width: 768px) {
  body {
    background-color: transparent !important;
  }
}
