@font-face {
    font-family: "RidgewaySans-Regular"; 
    src: url("../RidgewaySans-Regular.ttf");
}

@font-face {
    font-family: "RidgewaySans-Medium"; 
    src: url("../RidgewaySans-Medium.ttf");
}

@font-face {
    font-family: "RidgewaySans-Bold"; 
    src: url("../RidgewaySans-Bold.ttf");
}

html, body {
    font-family: "RidgewaySans-Regular", Arial, sans-serif !important;
    font-size: 16px; /* Adjust as needed */
    line-height: 1.5;
    color: inherit; /* keep original colors */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: "RidgewaySans-Bold", Arial, sans-serif !important;
    color: inherit;
}

/* Navbar and menu text */
.navbar, 
.navbar a, 
.navbar-brand, 
.navbar-nav > li > a {
    font-family: "RidgewaySans-Medium", Arial, sans-serif !important;
}

/* Footer */
footer, 
footer p, 
footer a, 
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
    font-family: "RidgewaySans-Regular", Arial, sans-serif !important;
}

/* Buttons, labels, and forms */
button, 
.btn, 
label, 
input, 
textarea, 
select {
    font-family: "RidgewaySans-Medium", Arial, sans-serif !important;
    font-size: 1rem;
}

/* Override paragraph font */
p,
.page_section p,
.section-diagonal-left p,
.section-diagonal-right p,
p.form-text span {
  font-family: "RidgewaySans-Regular", Arial, sans-serif !important;
  font-size: 16px; /* or whatever size you prefer */
  line-height: 1.5;
}

/* Override all tab and nav link fonts */
.nav,
.nav-tabs,
.nav-tabs > li > a,
.nav-item > a,
.nav-link,
.navbar,
.navbar a,
.navbar-nav > li > a,
.navbar-dark .navbar-nav > li > a,
.navbar-dark .navbar-nav > li.dropdown > a {
  font-family: "RidgewaySans-Medium", Arial, sans-serif !important;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
}

/* =======================================
   Web form progress bar font adjustments
   ======================================= */

ol.progress.list-group.top,
ol.progress.list-group.top li.list-group-item {
    font-family: "RidgewaySans-Regular", Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.4;
    /*color: inherit; /* keep theme color */
}

/* Optional: make active/completed steps slightly bolder */
ol.progress.list-group.top li.active,
ol.progress.list-group.top li.list-group-item-success {
    font-family: "RidgewaySans-Medium", Arial, sans-serif !important;
    font-weight: 600;
}

/* =======================================
   Headings (H3) Custom Font and Size
   ======================================= */
h3,
.h3,
.page_section h3,
.color-inverse h3,
.sidebar-home h3 {
    font-family: "RidgewaySans-Bold", Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 1.3;
    color: inherit;
}

h2,
.h2,
.page_section h3,
.color-inverse h3,
.sidebar-home h3 {
    font-family: "RidgewaySans-Bold", Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 1.3;
    color: inherit;
}

/* =======================================
   Global rounded button styling (exclude date picker)
   ======================================= */

/* Apply to all buttons except the date picker */
button:not(.input-group-addon),
.btn:not(.input-group-addon),
input[type="button"]:not(.input-group-addon),
input[type="submit"]:not(.input-group-addon),
input[type="reset"]:not(.input-group-addon) {
  border-radius: 3rem !important;   /* ≈ 48px */
  white-space: nowrap !important;   /* prevent text wrapping */
  overflow: hidden;
  text-overflow: ellipsis;
}


.list-group-item.active {
    background-color: black;
    border-color: black;
}

/* Base radio style (no Bootstrap classes needed) */
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  border-radius: 50%;
  background-color: #fff;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin: 0 0.5rem 0 0;   /* space between radio and its text */
  cursor: pointer;
}

/* Checked state: black fill + white dot */
input[type="radio"]:checked {
  background-color: #000;
  border-color: #000;
  /* white inner dot SVG */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

/* Focus ring for accessibility */
input[type="radio"]:focus-visible {
  outline: 3px solid rgba(0,0,0,0.35);
  outline-offset: 2px;
}

/* Disabled state */
input[type="radio"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Optional: make adjacent label align nicely */
input[type="radio"] + label {
  vertical-align: middle;
  cursor: pointer;
  margin-right: 1rem;    /* space to next option */
}

/* =======================================
   Remove borders from all div elements
   ======================================= */
div {
  border: none !important;
  box-shadow: none !important; /* remove subtle border shadows */
}

/* =======================================
   Adjust padding for progress list items
   ======================================= */
ol.progress.list-group.top li.list-group-item {
  padding-left: 12.7px !important;      /* remove extra left space */
  padding-right: 12.7px !important;     /* optional for even spacing */
}