/*
 * Fairdeal native foundation
 * Replaces the small framework surface this static site uses: reset, grid,
 * spacing/display utilities, buttons, badges, forms, and simple cards.
 */
:root {
  --fd-font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --fd-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --fd-ink: #182436;
  --fd-muted: #6b7280;
  --fd-primary: #003366;
  --fd-primary-hover: #08284e;
  --fd-accent: #d4af37;
  --fd-light: #f6f8fb;
  --fd-border: #e5e7eb;
  --fd-white: #fff;
  --fd-radius: 10px;
  --fd-shadow-sm: 0 8px 20px rgba(15, 23, 42, .08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--fd-font-sans);
  color: var(--fd-ink);
  background: var(--fd-white);
}

article,
aside,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

figure {
  margin: 0 0 1rem;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

textarea {
  overflow: auto;
  resize: vertical;
}

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

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-family: var(--fd-font-display);
  font-weight: 700;
  line-height: 1.18;
}

.h2,
h2 {
  font-size: 2rem;
}

.h3,
h3 {
  font-size: 1.45rem;
}

.h4,
h4 {
  font-size: 1.25rem;
}

.h5,
h5 {
  font-size: 1.05rem;
}

.h6,
h6 {
  font-size: 1rem;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

@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: -15px;
  margin-left: -15px;
}

.col-6,
.col-12,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-12,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-xl-2 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

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

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

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

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

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

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

  .col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

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

  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-md-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

@media (min-width: 768px) {
  .order-md-1 {
    order: 1;
  }

  .order-md-2 {
    order: 2;
  }
}

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

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

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

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

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

.mr-2 {
  margin-right: .5rem !important;
}

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

.mr-4 {
  margin-right: 1.5rem !important;
}

.mr-auto {
  margin-right: auto !important;
}

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

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

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

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

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

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

.mx-3 {
  margin-right: 1rem !important;
  margin-left: 1rem !important;
}

@media (min-width: 768px) {
  .mb-md-0 {
    margin-bottom: 0 !important;
  }

  .ml-md-0 {
    margin-left: 0 !important;
  }
}

@media (min-width: 992px) {
  .mt-lg-0 {
    margin-top: 0 !important;
  }

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

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

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

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

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

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

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

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

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

.pr-5 {
  padding-right: 3rem !important;
}

.pl-0 {
  padding-left: 0 !important;
}

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

.px-3 {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}

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

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

.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

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

@media (min-width: 992px) {
  .pl-lg-5 {
    padding-left: 3rem !important;
  }
}

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

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

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

@media (min-width: 768px) {
  .text-md-right {
    text-align: right !important;
  }
}

@media (min-width: 992px) {
  .text-lg-right {
    text-align: right !important;
  }
}

.text-uppercase {
  text-transform: uppercase !important;
}

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

.text-black {
  color: #000 !important;
}

.text-dark {
  color: #111827 !important;
}

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

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

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

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

.bg-transparent {
  background-color: transparent !important;
}

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

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

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

.border-primary {
  border-color: var(--fd-primary) !important;
}

.border-secondary {
  border-color: #d1d5db !important;
}

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

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

.float-right {
  float: right !important;
}

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

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

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

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

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

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

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

.lead {
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.75;
}

.small,
small {
  font-size: 80%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .68rem 1.35rem;
  font-family: var(--fd-font-sans);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
}

.btn:focus-visible,
.form-control:focus-visible {
  outline: 3px solid rgba(212, 175, 55, .35);
  outline-offset: 2px;
}

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

.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  background-color: var(--fd-primary-hover);
  border-color: var(--fd-primary-hover);
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff;
  background-color: var(--fd-primary);
  border-color: var(--fd-primary);
}

.btn-outline-secondary {
  color: #4b5563;
  background-color: transparent;
  border-color: #cbd5e1;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  color: #111827;
  background-color: #f8fafc;
  border-color: #94a3b8;
}

.btn-lg {
  padding: .82rem 1.65rem;
  font-size: 1.05rem;
}

.btn-md {
  padding: .7rem 1.4rem;
}

.btn-sm {
  padding: .35rem .75rem;
  font-size: .875rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .28rem .62rem;
  font-size: 75%;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.badge-primary {
  color: #fff;
  background-color: var(--fd-primary);
}

.badge-success {
  color: #08331c;
  background-color: #bbf7d0;
}

.badge-light {
  color: #1f2937;
  background-color: #f8fafc;
}

.form-group {
  margin-bottom: 1rem;
}

.form-control {
  display: block;
  width: 100%;
  min-height: 43px;
  padding: .58rem .95rem;
  font-family: var(--fd-font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #1f2937;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

textarea.form-control {
  height: auto;
  border-radius: 18px;
}

.form-control:focus {
  border-color: var(--fd-accent);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .14);
}

.form-control::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.form-text {
  display: block;
  margin-top: .25rem;
}

.input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

.input-group > .form-control {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.input-group-append {
  display: flex;
  margin-left: .5rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  border: 1px solid var(--fd-border);
  border-radius: var(--fd-radius);
}

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

.collapse {
  display: none;
}

.collapse.show {
  display: block;
}

@media (max-width: 575.98px) {
  .p-5 {
    padding: 1.5rem !important;
  }

  .pr-5 {
    padding-right: 1rem !important;
  }

  .lead {
    font-size: 1rem;
  }
}
