@charset "utf-8";
/* CSS Document */
/* Drop Satoshi-Variable.ttf next to this file to match exactly.
   Until then it falls back to Jost, which is close enough to lay out against. */
@font-face {
  font-family: "Satoshi";
  src: url("./assets/Satoshi-Variable.woff2") format("woff2-variations"),
       url("./assets/Satoshi-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

/* ============================================================
   TOKENS — lifted verbatim from apiascholars.org (Blocksy theme).
   Names mirror --theme-palette-color-N so you can diff against
   their stylesheet directly.
   ============================================================ */
:root {
  --palette-1: #0f9fda;   /* blue */
  --palette-2: #00b18a;   /* green — FOOTER BACKGROUND */
  --palette-3: #33c1a1;   /* teal */
  --palette-4: #ccdf59;   /* yellow-green — Donate CTA */
  --palette-5: #91d3ee;   /* light blue — Scholarships CTA */
  --palette-6: #b0e7db;   /* light green — dropdown background */
  --palette-7: #e2eda0;   /* light yellow-green — text selection */
  --palette-8: #e7f5fb;   /* light — footer link hover */
  --ink:       #072a3a;   /* ALL text, headings, borders, icons */

  --font-display: "Jost", Sans-Serif;
  --font-body:    "Satoshi", "Jost", Sans-Serif;

  --container-max: 1290px;
  --container-narrow: 750px;
  --container-edge: 96vw;

  /* WP spacing scale, as configured on their site */
  --space-20: 0.44rem;  --space-30: 0.67rem;  --space-40: 1rem;
  --space-50: 1.5rem;   --space-60: 2.25rem;  --space-70: 3.38rem;
  --space-80: 5.06rem;

  --row-top-h:    40px;
  --row-middle-h: 140px;
  --row-bottom-h: 20px;
  --logo-max-h:   94px;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }
html { -webkit-text-size-adjust: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; }

a { color: var(--ink); }
::selection { background: var(--palette-7); color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--palette-1);
  outline-offset: 3px;
}

.container {
  width: var(--container-edge);
  max-width: var(--container-max);
  margin-inline: auto;
}
.container--narrow { max-width: var(--container-narrow); }

.skip {
  position: absolute; left: -9999px;
  background: #fff; color: var(--ink); padding: .75rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ============================================================
   BUTTONS — radius 0 0 8px 8px is their signature
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 22.4px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 25px;
  min-height: 40px;
  border: none;
  border-radius: 0 0 8px 8px;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.btnapia {
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 8px;
    color: #072A3A;
    padding: 8px 22px;
    background-color: #CCDF59;
    display: block;	
	
}

.btnapia:hover {  color: #CCDF59;
    background-color: #072A3A; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

.btn--scholarships { background: var(--palette-5); }
.btn--scholarships:hover { background: var(--ink); color: var(--palette-5); }

.btn--donate { background: var(--palette-4); }
.btn--donate:hover { background: var(--ink); color: var(--palette-4); }

/* Form submit / main action (Create Your Account, Continue, ...). Ink with
   white text for contrast; the :focus and :active lines hold that against
   Bootstrap 3's .btn, which some pages still load and which greys the text. */
.btn--primary,
.btn--primary:focus { background: var(--ink); color: #fff; }
.btn--primary:hover,
.btn--primary:active { background: var(--palette-4); color: var(--ink); }

/* Footer "Support Our Work" */
.btn--support {
  background: var(--palette-4);
  border-radius: 0 0 8px 8px;
  padding: 1.25rem var(--space-60);
}
.btn--support:hover { background: var(--ink); color: var(--palette-4); }

/* Footer newsletter — .is-style-secondary-button on their site */
.btn--subscribe {
  background: var(--palette-5);
  border: 2px solid var(--ink);
  border-radius: 0 0 8px 8px;
  padding: 20px 45px;
  font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.469), 20px);
  text-transform: uppercase;
}
.btn--subscribe code {
  font-family: var(--font-body);
  font-size: .75em; text-transform: none; background: none;
}
.btn--subscribe:hover { background: var(--ink); color: var(--palette-5); }

/* ============================================================
   HEADER — three rows: top 40px / middle 140px / bottom 20px
   ============================================================ */
.header { position: relative; z-index: 20; }

.header__top {
  min-height: var(--row-top-h);
  background: #fff;
  display: flex; align-items: center;
}
.header__top .container {
  display: flex; justify-content: flex-end; align-items: center; gap: 20px;
}

.header__search {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; text-transform: uppercase; letter-spacing: .25px;
  color: var(--ink); padding: 0;
}
.header__search svg { width: 18px; height: 18px; }

.header__ctas { display: flex; gap: 10px; }

.header__middle {
  min-height: var(--row-middle-h);
  background: #fff;
  display: flex; align-items: center;
  box-shadow: 0 12px 15px -5px rgba(43,61,79,.1);
}
.header__middle .container {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

.branding { margin: 20px 0; }
.branding img { max-height: var(--logo-max-h); width: auto; }
.branding__fallback {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.75rem; letter-spacing: .01em;
  text-decoration: none; line-height: 1.1;
}
.branding__fallback span {
  display: block; font-size: .65rem; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 500; margin-top: .25rem;
}

/* Primary nav */
.nav > ul { display: flex; gap: 20px; align-items: center; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px; line-height: 1.3;
  letter-spacing: .25px; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: .5rem 0;
}
.nav > ul > li > a .caret {
  width: 8px; height: 8px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
}

.nav .sub-menu {
  position: absolute; top: calc(100% - 15px); left: 0;
  min-width: 240px;
  background: var(--palette-6);
  border-radius: 0 0 2px 2px;
  box-shadow: 0 10px 20px rgba(41,51,61,.1);
  padding: .75rem 0;
  opacity: 0; visibility: hidden;
  transition: opacity .15s ease;
}
.nav > ul > li:hover .sub-menu,
.nav > ul > li:focus-within .sub-menu { opacity: 1; visibility: visible; }
.nav .sub-menu a {
  display: block; padding: .5rem 1.25rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; line-height: 20px;
  color: var(--ink); text-decoration: none;
}
.nav .sub-menu a:hover { text-decoration: underline; }

.header__bottom { min-height: var(--row-bottom-h); background: #fff; }

.nav-toggle { display: none; }

@media (max-width: 999px) {
  :root { --row-middle-h: auto; --logo-max-h: 50px; }
  .header__top { display: none; }
  .header__middle .container { flex-wrap: wrap; padding-block: 1rem; }
  .nav { flex-basis: 100%; display: none; }
  .nav[data-open="true"] { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-top: 1px solid rgba(7,42,58,.15); }
  .nav .sub-menu {
    position: static; opacity: 1; visibility: visible;
    box-shadow: none; background: transparent; padding: 0 0 .5rem 1rem;
  }
  .nav-toggle {
    display: inline-block;
    font-family: var(--font-display); font-weight: 700;
    font-size: 18px; text-transform: uppercase; letter-spacing: .25px;
    background: var(--palette-5); color: var(--ink);
    border: none; border-radius: 0 0 8px 8px;
    padding: 12px 25px; cursor: pointer;
  }
}

/* ============================================================
   BODY REGION — empty. Sections drop in here.
   ============================================================ */
.content { flex: 1 0 auto; }
.section { padding-block: var(--space-80); }
.section--tint { background: var(--palette-8); }

/* Page copy: inside .single_post .text, or anywhere marked .prose (the home
   page sections). The reset above strips every margin and bullet; this puts
   heading and paragraph spacing and list markers back for running text.
   :where() keeps each selector at plain-element weight, so it beats the reset
   but any class rule still wins (.field-error-list, .checklist, ...). */
:where(.single_post .text, .prose) h2          { margin-bottom: var(--space-50); }
:where(.single_post .text, .prose) h3          { margin-bottom: var(--space-40); }
:where(.single_post .text, .prose) p           { margin-bottom: var(--space-40); }
:where(.single_post .text, .prose) ul          { list-style: disc;    margin: 0 0 var(--space-40); padding-left: var(--space-50); }
:where(.single_post .text, .prose) ol          { list-style: decimal; margin: 0 0 var(--space-40); padding-left: var(--space-50); }
:where(.single_post .text, .prose) li          { margin-bottom: var(--space-30); }
:where(.single_post .text, .prose) li > ul,
:where(.single_post .text, .prose) li > ol     { margin-top: var(--space-20); margin-bottom: 0; }
:where(.single_post .text, .prose) li::marker  { color: var(--palette-1); }
:where(.single_post .text, .prose) > :last-child { margin-bottom: 0; }

/* A short aside inside prose -- e.g. the degree note under Eligibility. */
.prose .note {
  border-left: 4px solid var(--palette-1);
  padding: var(--space-30) var(--space-40);
  background: #fff;
}

/* ============================================================
   FOOTER — background is --palette-2 (#00b18a)
   ============================================================ */
.footer {
  flex-shrink: 0;
  background: var(--palette-2);
  color: var(--ink);
}
.footer a { color: var(--ink); }

.footer__middle { padding-block: 50px; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 999px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 689px) {
  .footer__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* Socials — 15px icons, white circles, hover to yellow-green */
.socials { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: var(--space-50); }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  transition: background-color .2s ease;
}
.socials a:hover { background: var(--palette-4); }
.socials svg { width: 15px; height: 15px; fill: currentColor; }

/* Contact list */
.contacts li {
  display: flex; gap: .6rem; align-items: flex-start;
  font-family: var(--font-body); font-size: 16px; line-height: 1.3;
  margin-bottom: var(--space-40);
}
.contacts .icon {
  flex: 0 0 auto; width: 20px; height: 20px;
  display: grid; place-items: center;
  background: rgba(218,222,228,.5); border-radius: 50%;
}
.contacts .icon svg { width: 11px; height: 11px; fill: var(--ink); }
.contacts a { text-decoration: none; }
.contacts a:hover { text-decoration: underline; }
@media (max-width: 689px) { .contacts li { justify-content: center; text-align: left; } }

/* Footer menu — Satoshi 900, 12px, underlined */
.footer__menu li { margin-bottom: .6rem; }
.footer__menu a {
  font-family: var(--font-body);
  font-weight: 900; font-size: 12px; line-height: 1.3;
  letter-spacing: .5px; text-transform: capitalize;
  text-decoration: underline;
}
.footer__menu a:hover { color: var(--palette-8); }

.footer__bottom { padding-bottom: 50px; }
.footer__bottom p { font-family: var(--font-body); font-size: 14px; }


/* cyrillic */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/jost/v20/92zatBhPNqw73oDd4iYl.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/jost/v20/92zatBhPNqw73ord4iYl.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/jost/v20/92zatBhPNqw73oTd4g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/jost/v20/92zatBhPNqw73oDd4iYl.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/jost/v20/92zatBhPNqw73ord4iYl.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/jost/v20/92zatBhPNqw73oTd4g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/jost/v20/92zatBhPNqw73oDd4iYl.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/jost/v20/92zatBhPNqw73ord4iYl.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/jost/v20/92zatBhPNqw73oTd4g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============================================================
   APPLICATION FORM — ported from mcsf_public.css, recoloured
   to the APIA palette. Used by app_ad / app_ai / app_fi /
   app_act / app_essay / myapp.
   ============================================================ */

/* ---------- Inline per-field error flags (apia_field_issues) ---------- */
.field-error-label { color: #c0392b; font-weight: bold; }

.field-error-icon {
  position: relative;
  display: inline-block;
  margin-left: 6px;
  color: #c0392b;
  cursor: help;
  outline: none;
}
.field-error-icon .field-error-msg {
  display: none;
  position: absolute;
  left: 22px;
  top: -6px;
  z-index: 1000;
  width: 260px;
  padding: 8px 10px;
  background: #c0392b;
  color: #fff;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.35;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  text-align: left;
  white-space: normal;
}
.field-error-icon:hover .field-error-msg,
.field-error-icon:focus .field-error-msg { display: block; }
.field-error-icon .field-error-list { margin: 0; padding-left: 16px; list-style: disc; }
.field-error-icon .field-error-list li { margin-bottom: 4px; }

/* Ring the offending input itself, not just its label. */
.form-control.field-error-input { border: 2px solid #c0392b; }

/* ---------- Section status bar (_inc_statusbar.cfm) ---------- */
/* A centred row above the "Application for ..." title. Flex, not floats, so
   the home icon, the percentage and the five rings sit together in the middle
   at any width, and wrap onto a second line on a narrow phone. */
.navbaricons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  width: 95%;
  padding-bottom: var(--space-50);
  background-color: #fff;
}

/* inline-flex rather than table-cell: the ring keeps its own 32px circle
   wherever it sits. As a table-cell it stretched to the height of whatever
   contained it, which squashed it into a tall sliver on the myapp.cfm list. */
.glyphicon-ringgreen,
.glyphicon-ringblue,
.glyphicon-ringred {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 4px solid;
  font-size: 12px;
  line-height: 1;
}
.glyphicon-ringgreen .glyphicon,
.glyphicon-ringblue  .glyphicon,
.glyphicon-ringred   .glyphicon { top: 0; }
.glyphicon-ringgreen { border-color: #00b18a; color: #00b18a; }  /* complete  */
.glyphicon-ringblue  { border-color: #91d3ee; color: #91d3ee; }  /* untouched */
.glyphicon-ringred   { border-color: #c0392b; color: #c0392b; }  /* has issues */

.glyphicon-green { background: #00b18a; color: #fff; }
.glyphicon-blue  { background: #0f9fda; color: #fff; }
.glyphicon-red   { background: #9f0000; color: #fff; }

/* Spacing comes from the row's gap. */
#parent_div_1, #parent_div_2, #parent_div_3,
#parent_div_4, #parent_div_5 {
  width: 35px;
  height: 35px;
}
#parent_div_pct {
  width: 45px;
  text-align: center;
  line-height: 1.1;
}
#parent_div_home {
  width: 25px;
  text-align: center;
}

/* ---------- Section nav buttons ---------- */
.app_nav {
  margin: 10px 5% 20px 5%;
  padding: 10px;
  text-align: center;
  color: var(--ink);
  border-top: 1px solid #58595b;
  border-bottom: 1px solid #58595b;
}

.bluebtnnav,
.darkbluebtn {
  border: 1px solid #555;
  color: #fff;
  text-align: center;
  padding: 1%;
  width: 115px;
  -ms-flex: 1;
  flex: 1;
}
.bluebtnnav       { background: #0f9fda; }
.bluebtnnav:hover { background: #0b86ba; }
.darkbluebtn      { background: var(--ink); }
.darkbluebtn:hover{ background: #0b4055; }

/* ---------- Form scaffolding (Bootstrap 3 grid is what the app pages use) ---------- */
.app-form label { font-weight: 600; display: block; }
.app-form .helptext {
  font-weight: 400;
  font-size: 0.9em;
  display: block;
  margin: 2px 0 6px 0;
  color: #40606f;
}
.app-form .row { margin-bottom: 4px; }
/* Radio and checkbox options: the input sits inside its label (see
   apiaRadios / apiaChecks), so the label is a row of button + text rather
   than the block every other form label is. A long option wraps under its
   own text, not under the button. */
.radiolist,
.checklist { margin-left: 35px; }
.radiolist label,
.checklist label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 4px;
  font-weight: 400;
  cursor: pointer;
}
.radiolist input,
.checklist input { margin: 0.25em 0 0; flex-shrink: 0; }

/* Yes / No and other short sets: side by side on one line. */
.radiolist--inline {
  display: flex;
  flex-wrap: wrap;
  column-gap: 32px;
}

.required-note { padding-top: 2%; }

/* Word counter on the essay page */
.wordcount        { font-size: 0.9em; color: #40606f; }
.wordcount.under  { color: #c0392b; font-weight: 600; }
.wordcount.over   { color: #c0392b; font-weight: 600; }
.wordcount.ok     { color: #00b18a; font-weight: 600; }

/* Placeholder banner on unbuilt sections / unpopulated selects */
.placeholder-note {
  border-left: 4px solid #ccdf59;
  background: #fbfdf0;
  padding: 10px 14px;
  margin: 12px 0;
}

/* "Does not apply" checkbox sitting under its paired field
   (No Middle Name / Not currently enrolled). */
.notapplicable { margin-top: 6px; }
.notapplicable input { margin-right: 6px; }
.notapplicable label {
  font-weight: 400;
  font-size: 0.9em;
  display: inline;
  color: #40606f;
}
.form-control:disabled,
.form-control[disabled] { background: #eef2f4; color: #8a9ba3; }

/* Google address suggestions under Street Name of Permanent Address
   (app_ad.cfm), and the "could not verify" note beneath it. */
.addr-suggest {
  position: absolute;
  z-index: 1000;
  left: 15px;
  right: 15px;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  border-top: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.addr-suggest-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}
.addr-suggest-item span { display: block; font-size: 0.9em; color: #666; }
.addr-suggest-item.active { background: #f5f5f5; }
.addr-warning { color: #c0392b; font-style: italic; margin-top: -8px; }
