/* Local Bootstrap-compatible subset used by the Arrearage Calculator. */
:root {
  --bs-dark: #212529;
  --bs-primary: #0d6efd;
  --bs-danger: #dc3545;
  --bs-warning: #ffc107;
  --bs-info: #0dcaf0;
  --bs-light: #f8f9fa;
}

body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.5;
}

.container,
.container-fluid {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.row > * {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.col-2 {
  flex: 0 0 auto;
  width: 16.666667%;
}

.col-4 {
  flex: 0 0 auto;
  width: 33.333333%;
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-8 {
  flex: 0 0 auto;
  width: 66.666667%;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-end {
  justify-content: flex-end;
}

.form-group {
  align-items: center;
}

.form-control-plaintext,
.form-control-plaintext-lg {
  display: block;
  width: 100%;
  border: 0;
  outline: 0;
}

.form-check {
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5em;
  margin-bottom: 0.125rem;
}

.form-check-input {
  float: left;
  margin-left: -1.5em;
  width: 1em;
  height: 1em;
  margin-top: 0.25em;
}

.form-check-label {
  display: inline-block;
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  color: #fff;
  cursor: pointer;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-danger {
  background-color: var(--bs-danger);
  border-color: var(--bs-danger);
}

.btn-warning {
  background-color: var(--bs-warning);
  border-color: var(--bs-warning);
  color: #000;
}

.navbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
  position: relative;
}

.navbar > .container-fluid {
  align-items: center;
  display: flex;
  flex-wrap: inherit;
  justify-content: space-between;
}

.navbar-brand {
  color: #fff;
  font-size: 1.25rem;
  margin-right: 1rem;
  padding-bottom: 0.3125rem;
  padding-top: 0.3125rem;
  text-decoration: none;
  white-space: nowrap;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus {
  color: #fff;
}

.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  border-left: 0.3em solid transparent;
  border-right: 0.3em solid transparent;
  border-top: 0.3em solid;
  content: "";
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
}

.dropdown-menu {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  display: none;
  left: 0;
  list-style: none;
  margin: 0.125rem 0 0;
  min-width: 10rem;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu-dark {
  background-color: #343a40;
}

.dropdown-item {
  color: #212529;
  display: block;
  padding: 0.25rem 1rem;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu-dark .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.15);
}

.bg-dark {
  background-color: var(--bs-dark) !important;
}

.bg-gradient {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

.d-none {
  display: none !important;
}

.border-bottom {
  border-bottom: 1px solid #dee2e6 !important;
}

.border-top {
  border-top: 1px solid #dee2e6 !important;
}

.border-info {
  border-color: var(--bs-info) !important;
}

.border-5 {
  border-width: 5px !important;
}

.m-3 {
  margin: 1rem !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

hr {
  border: 0;
  border-top: 1px solid;
  opacity: 0.25;
}
