is-invalid .form-check-input {
  border: 1px solid #dc3545 !important;
}

.is-invalid .form-check-label {
  color: #dc3545 !important;
}

.btn-primary {
    background-color: #286090 !important;
    border-color: #286090 !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #204d74 !important;
    border-color: #204d74 !important;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.slide-in {
  animation: slideInLeft 0.4s ease-out forwards;
}

#spinner {
  position: fixed !important;
  z-index: 9999 !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* This hides the up and down arrows on the item_num box, comment or remove it to add them back  */

input[data-field="itemNum"]::-webkit-outer-spin-button,
input[data-field="itemNum"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[data-field="itemNum"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.tasks-vscroll {
  height: 100%;
  overflow: auto;
}

.tasks-vscroll thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bs-body-bg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tasks-vscroll thead th.th-resize {
  z-index: 3;
}

span.card {
  border: none;
}

.th-resize {
  position: relative;
}

.th-resize-handle {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 100%;
  cursor: col-resize;
  user-select: none;
}

.tasks-table {
  table-layout: fixed;
}

.tasks-table th {
  overflow: hidden;
}

.tasks-table td {
  overflow: visible;
}

.nowrap-cell,
.wrap-cell {
  overflow: visible;
}

.tasks-table .dropdown,
.task-dd-toggle,
.task-dd-label,
.cell-input,
.cell-textarea {
  min-width: 0;
}

.dropdown-menu {
  z-index: 1055;
}

.task-toolbar {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  background: var(--bs-body-bg);
  white-space: nowrap;
}

.task-toolbar-btn {
  min-width: 2rem;
  padding: 0.25rem 0.5rem;
}

#lbl_total_rows {
  white-space: nowrap;
}

.task-rich-editor {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  height: auto;
}

.task-rich-editor:focus {
  outline: 0;
}

.task-color-btn {
  position: relative;
  min-width: 2rem;
  height: 2rem;
  padding: 0.2rem 0.45rem;
}

.task-hidden-color-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  border: 0;
}

.task-color-glyph {
  display: inline-block;
  font-weight: 600;
  line-height: 1;
}

.task-color-swatch {
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  bottom: 0.2rem;
  height: 0.18rem;
  border-radius: 999px;
  background: #000000;
}

.time-vscroll {
  height: 100%;
  overflow: auto;
}

.time-vscroll thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bs-body-bg);
}

.time-vscroll thead th.th-resize {
  z-index: 3;
}

.time-table {
  table-layout: fixed;
}

.time-table th,
.time-table td {
  overflow: hidden;
}

.time-table .dropdown,
.time-dd-toggle,
.time-dd-label,
.cell-input,
.cell-textarea {
  min-width: 0;
}


.task-dd-toggle.status-cannot-duplicate {
  --bs-btn-color: #41464b;
  --bs-btn-bg: #e2e3e5;
  --bs-btn-border-color: #c4c8cb;
  --bs-btn-hover-color: #41464b;
  --bs-btn-hover-bg: #d3d4d5;
  --bs-btn-hover-border-color: #b9bcc0;
  --bs-btn-active-color: #41464b;
  --bs-btn-active-bg: #c6c7c8;
  --bs-btn-active-border-color: #b9bcc0;
}

.task-dd-toggle.status-cannot-test {
  --bs-btn-color: #842029;
  --bs-btn-bg: #f8d7da;
  --bs-btn-border-color: #f1aeb5;
  --bs-btn-hover-color: #842029;
  --bs-btn-hover-bg: #f1c2c7;
  --bs-btn-hover-border-color: #ea9ca6;
  --bs-btn-active-color: #842029;
  --bs-btn-active-bg: #eaadb5;
  --bs-btn-active-border-color: #e68592;
}

.task-dd-toggle.status-future-enhancement {
  --bs-btn-color: #055160;
  --bs-btn-bg: #cff4fc;
  --bs-btn-border-color: #9eeaf9;
  --bs-btn-hover-color: #055160;
  --bs-btn-hover-bg: #b6effb;
  --bs-btn-hover-border-color: #86e5f8;
  --bs-btn-active-color: #055160;
  --bs-btn-active-bg: #9eeaf9;
  --bs-btn-active-border-color: #74dff6;
}

.task-dd-toggle.status-fixed-verified {
  --bs-btn-color: #0f5132;
  --bs-btn-bg: #d1e7dd;
  --bs-btn-border-color: #a3cfbb;
  --bs-btn-hover-color: #0f5132;
  --bs-btn-hover-bg: #badbcc;
  --bs-btn-hover-border-color: #8fc5a9;
  --bs-btn-active-color: #0f5132;
  --bs-btn-active-bg: #a3cfbb;
  --bs-btn-active-border-color: #7db89d;
}

.task-dd-toggle.status-fixed {
  --bs-btn-color: #146c43;
  --bs-btn-bg: #d1e7dd;
  --bs-btn-border-color: #a3cfbb;
  --bs-btn-hover-color: #146c43;
  --bs-btn-hover-bg: #badbcc;
  --bs-btn-hover-border-color: #8fc5a9;
  --bs-btn-active-color: #146c43;
  --bs-btn-active-bg: #a3cfbb;
  --bs-btn-active-border-color: #7db89d;
}

.task-dd-toggle.status-investigating {
  --bs-btn-color: #664d03;
  --bs-btn-bg: #fff3cd;
  --bs-btn-border-color: #ffe69c;
  --bs-btn-hover-color: #664d03;
  --bs-btn-hover-bg: #ffecb5;
  --bs-btn-hover-border-color: #ffdf7e;
  --bs-btn-active-color: #664d03;
  --bs-btn-active-bg: #ffe69c;
  --bs-btn-active-border-color: #ffd966;
}

.task-dd-toggle.status-not-fixed {
  --bs-btn-color: #842029;
  --bs-btn-bg: #f8d7da;
  --bs-btn-border-color: #f1aeb5;
  --bs-btn-hover-color: #842029;
  --bs-btn-hover-bg: #f1c2c7;
  --bs-btn-hover-border-color: #ea9ca6;
  --bs-btn-active-color: #842029;
  --bs-btn-active-bg: #eaadb5;
  --bs-btn-active-border-color: #e68592;
}

.task-dd-toggle.status-non-issue {
  --bs-btn-color: #432874;
  --bs-btn-bg: #e2d9f3;
  --bs-btn-border-color: #cbbbe8;
  --bs-btn-hover-color: #432874;
  --bs-btn-hover-bg: #d6caee;
  --bs-btn-hover-border-color: #bea9e2;
  --bs-btn-active-color: #432874;
  --bs-btn-active-bg: #cbbbe8;
  --bs-btn-active-border-color: #b89ddd;
}

.task-dd-toggle.status-possibly-a-problem {
  --bs-btn-color: #7a3e00;
  --bs-btn-bg: #ffe5d0;
  --bs-btn-border-color: #f7c79d;
  --bs-btn-hover-color: #7a3e00;
  --bs-btn-hover-bg: #ffd7b8;
  --bs-btn-hover-border-color: #f2ba88;
  --bs-btn-active-color: #7a3e00;
  --bs-btn-active-bg: #f7c79d;
  --bs-btn-active-border-color: #eeaf69;
}

.task-dd-toggle.status-default {
  --bs-btn-color: #212529;
  --bs-btn-bg: #f8f9fa;
  --bs-btn-border-color: #dee2e6;
  --bs-btn-hover-color: #212529;
  --bs-btn-hover-bg: #e9ecef;
  --bs-btn-hover-border-color: #ced4da;
  --bs-btn-active-color: #212529;
  --bs-btn-active-bg: #dee2e6;
  --bs-btn-active-border-color: #ced4da;
}


