:root {
  --uams-primary-red: #9d2235;
  --uams-primary-red-rgb: 157,34,53;
  --uams-primary-red-hover: #5e1420;
  --uams-primary-red-hover-rgb: 94,20,32;
  --bs-primary: var(--uams-primary-red);
  --bs-primary-rgb: var(--uams-primary-red-rgb);
  --bs-primary-bg-subtle: #fbe1e4;
  --bs-body-font-family: "Fira Sans", system-ui, -apple-system, sans-serif;
  --bs-body-font-weight: 300;
  --bs-link-color: var(--uams-primary-red);
  --bs-link-color-rgb: var(--uams-primary-red-rgb);
  --bs-link-hover-color-rgb: var(--uams-primary-red-hover-rgb);
  --bs-body-font-size: 18px;
}

.btn-primary {
  --bs-btn-bg: var(--uams-primary-red);
  --bs-btn-border-color: var(--uams-primary-red);
  --bs-btn-hover-bg: var(--uams-primary-red-hover);
  --bs-btn-hover-border-color: var(--uams-primary-red-hover);
  --bs-btn-active-bg: var(--uams-primary-red-hover);
  --bs-btn-active-border-color: var(--uams-primary-red-hover);
  --bs-btn-disabled-bg: var(--uams-primary-red);
  --bs-btn-disabled-border-color: var(--uams-primary-red);
}

.btn-outline-primary {
  --bs-btn-color: var(--uams-primary-red);
  --bs-btn-border-color: var(--uams-primary-red);
  --bs-btn-hover-bg: var(--uams-primary-red);
  --bs-btn-hover-border-color: var(--uams-primary-red-hover);
  --bs-btn-focus-shadow-rgb: var(--uams-primary-red-rgb);
  --bs-btn-active-bg: var(--uams-primary-red);
  --bs-btn-active-border-color: var(--uams-primary-red);
  --bs-btn-disabled-color: var(--uams-primary-red);
  --bs-btn-disabled-border-color: var(--uams-primary-red);
}

.badge {
  --bs-badge-font-weight: 400;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

body > main {
  flex-grow: 1;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.skip-link {
  position: absolute;
  top: -100%; /* Hidden off-screen by default */
  left: 1rem;
  background-color: white;
  color: black;
  border-style: solid;
  border-color: black;
  border-width: 0 1px 1px 1px;
  border-bottom-right-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: bold;
  z-index: 1000; /* Ensure it appears above other content */
}

.skip-link:focus {
  top: 0; /* Move to the top of the screen when focused */
}



@media (min-width: 768px) {
  /* normalize telephone links on mobile */
  a[href^="tel:"], a[href^="tel:"]:active,
  a[href^="tel:"]:focus, a[href^="tel:"]:hover,
  a[href^="tel:"]:link, a[href^="tel:"]:visited {
    color: inherit;
  }
}

.login-container {
  max-width: 400px;
  margin: 3rem auto;
}

.content-container {
  max-width: 1000px;
  margin: auto;
}

/* FORM ELEMENTS */

.form-label {
  font-weight: 600;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-control:focus, .form-check-input:focus, .form-select:focus {
  box-shadow: 0 0 0 .25rem rgba(var(--uams-primary-red-rgb),.25);
  border-color: var(--uams-primary-red);
}

.form-control::placeholder {
  color: rgba(var(--bs-secondary-color-rgb), 0.4);
  font-weight: 300;
}

.form-label.is-required::after {
  content: '*' / ''; /* the empty string after slash is alternative text and because it's empty it is ignored by screen readers */
  color: var(--bs-danger);
  padding-left: 0.10rem;
}

.form-check-input:checked {
  background-color: var(--uams-primary-red);
  border-color: var(--uams-primary-red);
}

.breadcrumb {
  --bs-breadcrumb-padding-x: 2rem;
  --bs-breadcrumb-padding-y: 0.75rem;
  --bs-breadcrumb-margin-bottom: 0;
  --bs-breadcrumb-bg: #f5f3f4;
}

/* GRAPHIC TITLE */

.graphic-title {
  background-color: var(--uams-primary-red);
  text-align: center;
  padding: 2rem;
  position: relative;
  color: white;
}

.graphic-title:after {
  background: transparent url(../img/triangles_seamless_white.svg) 50%;
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  opacity: .1;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
  pointer-events: none; /* so the image doesn't block mouse events */
}

.graphic-title h1 {
  margin: 0 auto 2rem;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
  width: 19.6875em;
  max-width: 100%;
  font-size: calc(1.40625rem + 1.875vw);
}

.graphic-title p {
   margin: 0 auto;
   font-size: calc(1.26563rem + .1875vw);
   width: 35em;
   max-width: 100%;
 }

@media (min-width: 576px) {
  .graphic-title {
    padding: 6rem 3rem;
  }
}

@media (min-width: 768px) {
  .graphic-title h1 {
    font-size: calc(1.4625rem + 2.55vw);
  }
}

@media (min-width: 1200px) {
  .graphic-title h1 {
    font-size: 3.375rem;
  }
}