/* Averitt look and feel on top of Bootstrap 5.3. Colors and type match tools.averitt.com. */
:root {
  --ae-red: #c2202e;
  --ae-grey: #e7e8e9;
  --ae-label: #9d9fa2;
  --ae-ink: #231f20;
  --bs-body-bg: var(--ae-grey);
  --bs-body-color: #444;
  --bs-body-font-family: Roboto, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-link-color-rgb: 12, 131, 194;
  --bs-link-hover-color-rgb: 9, 105, 155;
}

@media (min-width: 40rem) {
  :root { --bs-body-font-size: 1.125rem; }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1 0 auto; }

.ae-brand-text { color: var(--ae-red); }

/* Page heading with lock icon */
.ae-page-heading {
  margin: 24px 0;
  color: var(--ae-red);
  font-family: Abel, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
}

@media (min-width: 40rem) {
  .ae-page-heading { font-size: 3rem; line-height: 1; }
}

.ae-secure-heading {
  padding-left: 2rem;
  background: transparent url(../assets/img/large-lock.svg) no-repeat 0 50%;
}

/* Form controls */
.ae-form .form-label {
  display: block;
  margin: 0;
  color: var(--ae-label);
  font-size: 1rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.ae-form .form-control {
  padding: .1rem .5rem;
  border: 2px solid var(--ae-label);
  border-radius: 0;
  background-color: #fff;
  box-shadow: none;
  font-size: 1rem;
  line-height: 1.5;
}

.ae-form .form-control:hover,
.ae-form .form-control:focus {
  border-color: #444;
  box-shadow: none;
}

.btn-averitt {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ae-red);
  --bs-btn-border-color: var(--ae-red);
  --bs-btn-hover-color: var(--ae-red);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: var(--ae-red);
  --bs-btn-active-color: var(--ae-red);
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: var(--ae-red);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--ae-red);
  --bs-btn-disabled-border-color: var(--ae-red);
  --bs-btn-focus-shadow-rgb: 194, 32, 46;
  --bs-btn-border-width: 2px;
  --bs-btn-border-radius: 2px;
  --bs-btn-padding-x: .75rem;
  --bs-btn-padding-y: .25rem;
  --bs-btn-font-size: 1rem;
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .1);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition-duration: .25s;
}

/* Footer */
.ae-contact-callout {
  margin: 24px 0;
  padding: .75rem;
  background-color: var(--ae-red);
  color: #fff;
  text-align: center;
}

.ae-contact-callout a { color: #fff; text-decoration: none; }

.ae-footer-logo { margin-bottom: 1.5rem; padding: 0 1.5rem; text-align: center; }

.ae-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 0;
  justify-content: center;
  margin: 0 0 1.5rem;
  padding: 0 1.5rem;
  list-style: none;
}

.ae-footer-nav a {
  display: inline-block;
  padding: 0 1rem;
  color: var(--ae-ink);
  font-family: Abel, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
}

.ae-footer-nav a:hover,
.ae-footer-nav a:focus { text-decoration: underline; }

.ae-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 0 1.5rem;
}

.ae-footer-social img { display: block; max-width: 30px; max-height: 30px; }

.ae-footer-sub {
  margin: 0;
  padding: .75rem 1.5rem;
  background-color: #111;
  color: #9d9d9d;
  font-size: .875rem;
  text-align: center;
}

.ae-footer-sub a { color: #9d9d9d; }
