/* Local resilience layer for environments where CDN Bootstrap is blocked. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-info: #0dcaf0;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-border: #dee2e6;
  --bs-text-muted: #6c757d;
}

img,
svg {
  vertical-align: middle;
}

a {
  color: inherit;
}

.container {
  width: min(100%, 1140px);
  margin-right: auto;
  margin-left: auto;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--g-y, 0));
  margin-right: calc(-0.5 * var(--g-x, 0));
  margin-left: calc(-0.5 * var(--g-x, 0));
}

.row > * {
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--g-x, 0) * 0.5);
  padding-left: calc(var(--g-x, 0) * 0.5);
  margin-top: var(--g-y, 0);
}

.g-2 {
  --g-x: 0.5rem;
  --g-y: 0.5rem;
}

.g-3 {
  --g-x: 1rem;
  --g-y: 1rem;
}

.g-4 {
  --g-x: 1.5rem;
  --g-y: 1.5rem;
}

.col,
.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

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

.col-auto {
  flex: 0 0 auto;
  width: auto;
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

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

  .flex-md-row {
    flex-direction: row !important;
  }

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

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }

  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }

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

  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
}

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

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

@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }

  .d-sm-block {
    display: block !important;
  }
}

.flex-column {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

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

.align-items-center {
  align-items: center !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

.text-center {
  text-align: center !important;
}

.text-white {
  color: #fff !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.text-muted {
  color: var(--bs-text-muted) !important;
}

.h1,
.h2,
.h3,
.h4,
.h5 {
  margin-top: 0;
}

.h4 {
  font-size: 1.5rem;
}

.h5 {
  font-size: 1.25rem;
}

.display-5 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.lead {
  font-size: 1.1rem;
  font-weight: 300;
}

.small,
small {
  font-size: 0.875em;
}

.fw-bold {
  font-weight: 700 !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: 0.375rem !important;
}

.rounded-4 {
  border-radius: 1rem !important;
}

.border {
  border: 1px solid var(--bs-border) !important;
}

.border-0 {
  border: 0 !important;
}

.border-top {
  border-top: 1px solid var(--bs-border) !important;
}

.border-secondary-subtle {
  border-color: rgba(108, 117, 125, 0.35) !important;
}

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

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

.bg-opacity-75 {
  --bg-opacity: 0.75;
  background-color: rgba(33, 37, 41, var(--bg-opacity)) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.fixed-bottom {
  position: fixed !important;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
}

.top-50 {
  top: 50% !important;
}

.start-50 {
  left: 50% !important;
}

.translate-middle {
  transform: translate(-50%, -50%) !important;
}

.collapse {
  display: none;
}

.collapse.show {
  display: block;
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.navbar-brand {
  text-decoration: none;
  font-size: 1.25rem;
  margin-right: 1rem;
}

.navbar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin: 0;
  gap: 0.5rem;
}

.nav-link {
  text-decoration: none;
}

.navbar-toggler {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.375rem;
  background: transparent;
  color: #fff;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  background-size: 100% 2px;
  background-position: center 20%, center 50%, center 80%;
  background-repeat: no-repeat;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    gap: 1rem;
  }
}

.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
  color: #fff;
}

.ms-auto {
  margin-left: auto !important;
}

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

.p-4 {
  padding: 1.5rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

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

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

.mb-0 {
  margin-bottom: 0 !important;
}

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

.mb-2 {
  margin-bottom: 0.5rem !important;
}

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

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

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

.mt-4 {
  margin-top: 1.5rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  padding: 0.5rem 0.9rem;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-sm {
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
}

.btn-lg {
  padding: 0.7rem 1.2rem;
  font-size: 1.125rem;
}

.w-100.btn {
  display: block;
}

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

.btn-secondary {
  background: var(--bs-secondary);
  color: #fff;
}

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

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

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

.btn-outline-light {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.btn-outline-dark {
  border-color: #212529;
  color: #212529;
  background: transparent;
}

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

.btn-outline-secondary {
  border-color: var(--bs-secondary);
  color: var(--bs-secondary);
  background: transparent;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--bs-border);
  border-radius: 0.375rem;
}

.card-body {
  flex: 1 1 auto;
  padding: 1rem;
}

.card-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card-text:last-child {
  margin-bottom: 0;
}

.form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  font-size: 1rem;
}

.form-range {
  width: 100%;
}
