/* Minimal Bootstrap-like subset for the homepage */
*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg {
  vertical-align: middle;
}

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

a {
  text-decoration: none;
}

ul,
ol {
  padding-left: 0;
}

.container,
.container-fluid,
.container-xl {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

.container {
  max-width: 1320px;
}

.container-xl {
  max-width: 1140px;
}

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

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

.col {
  flex: 1 0 0%;
}

.col-4 { width: 33.33333333%; }
.col-6 { width: 50%; }
.col-8 { width: 66.66666667%; }
.col-12 { width: 100%; }

.gx-0 { --bs-gutter-x: 0; }
.gy-0 { --bs-gutter-y: 0; }
.gy-3 { --bs-gutter-y: 1rem; }
.gy-4 { --bs-gutter-y: 1.5rem; }

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

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

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

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

.position-relative { position: relative !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }

.h-100 { height: 100% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }

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

.list-inline {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.list-inline-item {
  display: inline-block;
}

.list-inline-item:not(:last-child) {
  margin-right: 0.5rem;
}

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

.text-center { text-align: center !important; }
.text-lg-start { text-align: inherit !important; }
.text-white { color: #fff !important; }
.text-success { color: #198754 !important; }
.text-black-50 { color: rgba(0, 0, 0, 0.5) !important; }
.text-capitalize { text-transform: capitalize !important; }

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

.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
.pt-3 { padding-top: 1rem !important; }
.pb-0 { padding-bottom: 0 !important; }

.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-auto { margin-top: auto !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mx-auto {
  margin-right: auto !important;
  margin-left: auto !important;
}
.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}
.me-0 { margin-right: 0 !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.me-auto { margin-right: auto !important; }
.ms-0 { margin-left: 0 !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }

.order-2 { order: 2 !important; }

.form-control,
.form-select {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  appearance: none;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-control:focus,
.form-select:focus {
  outline: 0;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

@media (min-width: 576px) {
  .col-sm-3 { width: 25%; }
  .col-sm-4 { width: 33.33333333%; }
  .col-sm-6 { width: 50%; }
  .col-sm-8 { width: 66.66666667%; }
  .col-sm-12 { width: 100%; }
  .d-sm-block { display: block !important; }
  .d-sm-none { display: none !important; }
  .mb-sm-3 { margin-bottom: 1rem !important; }
  .me-sm-2 { margin-right: 0.5rem !important; }
  .me-sm-auto { margin-right: auto !important; }
}

@media (min-width: 768px) {
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.33333333%; }
  .col-md-6 { width: 50%; }
  .col-md-12 { width: 100%; }
  .d-md-flex { display: flex !important; }
  .flex-md-row { flex-direction: row !important; }
  .justify-content-md-between { justify-content: space-between !important; }
  .mx-md-0 {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .ms-md-4 { margin-left: 1.5rem !important; }
  .mt-md-0 { margin-top: 0 !important; }
}

@media (min-width: 992px) {
  .col-lg-2 { width: 16.66666667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.33333333%; }
  .col-lg-6 { width: 50%; }
  .col-lg-8 { width: 66.66666667%; }
  .col-lg-10 { width: 83.33333333%; }
  .col-lg-12 { width: 100%; }
  .d-lg-block { display: block !important; }
  .d-lg-inline-flex { display: inline-flex !important; }
  .d-lg-none { display: none !important; }
  .justify-content-lg-start { justify-content: flex-start !important; }
  .order-lg-0 { order: 0 !important; }
  .me-lg-0 { margin-right: 0 !important; }
  .mt-lg-5 { margin-top: 3rem !important; }
  .mb-lg-0 { margin-bottom: 0 !important; }
}

@media (min-width: 1200px) {
  .col-xl-3 { width: 25%; }
  .col-xl-4 { width: 33.33333333%; }
  .col-xl-5 { width: 41.66666667%; }
  .col-xl-6 { width: 50%; }
  .col-xl-12 { width: 100%; }
  .d-xl-none { display: none !important; }
}
