/*
 * Focused layout and utility layer.
 *
 * These are local WordySpot utilities. Their familiar names keep templates
 * readable while the application no longer ships Bootstrap.
 */

.container,
.container-fluid {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.container {
  max-width: var(--content-width);
}

.row {
  --wordy-grid-gap-x: 1rem;
  --wordy-grid-gap-y: 0;
  display: flex;
  margin: calc(var(--wordy-grid-gap-y) * -0.5) calc(var(--wordy-grid-gap-x) * -0.5);
  flex-wrap: wrap;
}

.row > * {
  width: 100%;
  max-width: 100%;
  padding: calc(var(--wordy-grid-gap-y) * 0.5) calc(var(--wordy-grid-gap-x) * 0.5);
}

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

.g-3 {
  --wordy-grid-gap-x: 0.75rem;
  --wordy-grid-gap-y: 0.75rem;
}

.g-4 {
  --wordy-grid-gap-x: 1rem;
  --wordy-grid-gap-y: 1rem;
}

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

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

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

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

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

.d-flex,
.display-flex-align-center {
  display: flex !important;
}

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

.align-items-start {
  align-items: flex-start !important;
}

.align-items-center,
.display-flex-align-center {
  align-items: center !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

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

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

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

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

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

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

.flex-grow-1 {
  flex-grow: 1 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

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

.gap-3 {
  gap: 0.75rem !important;
}

.gap-4 {
  gap: 1rem !important;
}

.m-0 {
  margin: 0 !important;
}

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

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

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

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

.mt-4 {
  margin-top: 1rem !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: 0.75rem !important;
}

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

.my-3 {
  margin-block: 0.75rem !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

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

.me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 0.75rem !important;
}

.p-0 {
  padding: 0 !important;
}

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

.pt-3 {
  padding-top: 0.75rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.px-3 {
  padding-inline: 0.75rem !important;
}

.px-4 {
  padding-inline: 1rem !important;
}

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

.py-3 {
  padding-block: 0.75rem !important;
}

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

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

.width-auto {
  width: auto !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.text-start {
  text-align: left !important;
}

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

.text-end {
  text-align: right !important;
}

.text-primary {
  color: var(--accent) !important;
}

.text-success {
  color: var(--known) !important;
}

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

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

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

.text-muted,
.text-body-secondary {
  color: var(--dim) !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

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

.fs-2 {
  font-size: 1.5rem !important;
}

.fs-4 {
  font-size: 1.15rem !important;
}

.small,
small {
  font-size: 0.75rem;
}

.opacity-75 {
  opacity: 0.75 !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.img-contain {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.img-cover {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.img-auto-height {
  width: auto;
  max-height: 100px;
  object-fit: cover;
}

.container-max-width-600,
.max-width-600 {
  max-width: 600px;
}

.container-max-width-500,
.max-width-500 {
  max-width: 500px;
}

.max-width-200 {
  max-width: 200px;
}

.min-width-150 {
  min-width: 150px;
}

.height-60vh {
  height: 60vh;
}

.height-22px {
  height: 22px;
}

.height-24px {
  height: 24px;
}

.min-height-22px {
  min-height: 22px;
}

.progress-bar-width-0 {
  width: 0;
}

.progress-bar-font-bold,
.font-weight-500 {
  font-weight: 500;
}

.font-size-1em {
  font-size: 1em;
}

.transition-transform-02s {
  transition: transform 0.2s;
}

.scan-params-card {
  background: var(--params-card-bg);
}

.margin-left-05 {
  margin-left: 0.5rem;
}

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

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

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

@media (max-width: 575.98px) {
  .d-sm-inline {
    display: none !important;
  }
}

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

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

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

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

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

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

  .w-md-auto {
    width: auto !important;
  }
}

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

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

  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }

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

  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }
}

@media (max-width: 991.98px) {
  .d-lg-block {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .col-xl-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }

  .col-xl-10 {
    flex: 0 0 auto;
    width: 83.333333%;
  }
}
