@font-face {
  font-family: "Lato";
  src: url(fonts/Lato-Regular.ttf);
}
body {
  font-family: "Lato", "sans-serif";
  color: #090602;
}

[x-cloak] {
  display: none !important;
}

nav.navbar {
  font-weight: bold;
  background-color: #55002F !important;
}
nav.navbar .nav-link {
  color: #B5B4B3;
}
nav.navbar img.nav-logo {
  max-height: 48px;
}
nav.navbar li.nav-item {
  margin-bottom: 5px;
}

nav.navbar-dev {
  background-color: #6E0200 !important;
}

div.pseudo-container-fluid {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

div.breadcrumbs {
  background-color: white;
}
div.breadcrumbs .breadcrumb {
  margin-bottom: 0;
}
div.breadcrumbs .breadcrumb a {
  text-decoration: underline;
}

div.headerbar {
  min-height: 54px;
}
div.headerbar ul.nav-tabs {
  position: absolute;
  bottom: -10px;
}

p.copyright {
  margin-top: 10px;
  font-size: 12px;
  color: grey;
}

/* Fix the modal dialog width for larger screens .*/
@media (min-width: 1400px) {
  .modal-xl {
    width: 1400px;
    max-width: 1400px;
  }
}
ul.nav-tabs {
  margin-bottom: 10px;
}
ul.nav-tabs li .nav-link {
  color: var(--bs-primary-text-emphasis);
  background-color: var(--bs-primary-bg-subtle);
  margin-left: 1px;
  margin-right: 1px;
}
ul.nav-tabs li .nav-link:not(.active):hover {
  background-color: var(--bs-primary-border-subtle);
}
ul.nav-tabs li .nav-link.active {
  font-weight: bold;
  background-color: white;
  text-decoration: underline;
}
ul.nav-tabs li .nav-link.has-error {
  background-color: var(--bs-danger-bg-subtle);
}
ul.nav-tabs li .nav-link.has-error:not(.active):hover {
  background-color: #EBA5D8;
}

div.input-group {
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
}
div.input-group input:not([type=checkbox]) {
  min-width: 70px !important;
}

label.form-label {
  font-size: 14px;
}

div.tox-tinymce {
  width: 100%;
}

span.core-select2 li.select2-selection__choice {
  font-size: 12px !important;
}

span.core-select2.select2-selection--single.select2-selection--clearable {
  padding-right: 50px;
}

span.core-select2.select2-selection--multiple.select2-selection--clearable button.select2-selection__clear {
  right: 4px;
}

span.core-select2.select2-selection--multiple.select2-selection {
  display: flex;
  flex-direction: row;
}
span.core-select2.select2-selection--multiple.select2-selection ul.select2-selection__rendered li span.select2-selection__choice__display {
  white-space: nowrap;
}
span.core-select2.select2-selection--multiple.select2-selection span.select2-search.select2-search--inline {
  width: auto !important;
}

/* Only show increase/decrease buttons on numerical input fields when hovering */
input[type=number]:not(:hover)::-webkit-outer-spin-button,
input[type=number]:not(:hover)::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number]:not(:hover) {
  -moz-appearance: textfield;
}

input[type=checkbox]:checked {
  background-color: var(--bs-success);
}

div.formset-container {
  overflow-x: scroll;
}

table.table-formset th {
  white-space: nowrap;
}
table.table-formset td {
  vertical-align: middle;
}
table.table-formset td input[type=checkbox] {
  margin: 0;
}
table.table-formset td .input-group {
  flex-wrap: nowrap;
}
table.table-formset td .input-group button.formset-delete {
  border-radius: 4px !important;
}
table.table-formset th[id$=-colour], table.table-formset td[id$=-colour] {
  width: 1%;
}
table.table-formset tr.error-row td {
  background-color: var(--bs-danger-bg-subtle);
}
table.table-formset tr.error-row td ul.errorlist {
  margin-bottom: 2px;
  margin-top: 2px;
}

p a {
  text-decoration: underline;
}

div.well {
  background-color: var(--bs-light);
  border-radius: var(--bs-border-radius-lg);
  padding: 0.5rem;
  margin-bottom: 10px;
}
div.well .well-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3px;
}
div.well .well-header {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
  margin-bottom: 5px;
}
div.well a {
  text-decoration: underline;
}
div.well table a, div.well a.btn {
  text-decoration: none;
}
div.well span.layout-value {
  word-break: break-word;
}

div.card {
  margin-bottom: 8px;
}
div.card div.card-header {
  width: 100%;
}
div.card .card-header {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
div.card .card-header .card-title {
  font-size: 1.5rem;
  margin-bottom: 0;
}

div.card-primary .card-header {
  color: var(--bs-primary-text-emphasis);
  background-color: var(--bs-primary-bg-subtle);
}

div.card-info .card-header {
  color: var(--bs-info-text-emphasis);
  background-color: var(--bs-info-bg-subtle);
}

i.bi {
  padding-right: 5px;
}

.cursor-grab {
  cursor: grab;
}

@media (max-width: 576px) {
  .btn {
    font-size: 0.9rem;
  }
}
.btn {
  white-space: nowrap;
  padding: 6px 8px;
}

.badge[disabled] {
  pointer-events: none;
  opacity: 0.65;
}

.btn-outline-primary {
  border-color: transparent;
}

.btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary:focus-visible {
  color: #157B94 !important;
  border-color: #157B94 !important;
  background-color: transparent !important;
}

.bs-tooltip-auto {
  --bs-tooltip-bg: #004655;
  --bs-tooltip-color: white;
}

.alert ul {
  margin-bottom: 0;
}

div.table-container {
  overflow-x: scroll;
  overflow-y: visible;
}

table.table thead {
  color: #FDFCF9;
  background-color: #004655;
}
table.table thead * {
  background-color: inherit;
  color: inherit;
}
table.table th {
  vertical-align: top;
}
table.table th a {
  background: inherit;
}
table.table tr.bg-primary-subtle td {
  background-color: var(--bs-primary-bg-subtle);
}
table.table tr.bg-info-subtle td {
  background-color: var(--bs-info-bg-subtle);
}
table.table tr.bg-warning-subtle td {
  background-color: var(--bs-warning-bg-subtle);
}
table.table tr.bg-danger-subtle td {
  background-color: var(--bs-danger-bg-subtle);
}
table.table td.min-width, table.table th.min-width {
  white-space: nowrap;
  width: 1%;
}
table.table td span.neg-red {
  color: red;
}

/* Colour box used to display small boxes of colour */
.color-box {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: inline-block;
}

a[hx-get], a[hx-post] {
  cursor: pointer;
}

.htmx-indicator-display {
  display: none;
}

.htmx-request .htmx-indicator-display {
  display: inline-block;
}

.htmx-request.htmx-indicator-display {
  display: inline-block;
}

.htmx-request .hide-htmx-indicator-display {
  display: none;
}

.htmx-request.hide-htmx-indicator-display {
  display: none;
}

/*# sourceMappingURL=core_style.css.map */
