* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* REM sizing is based off a 10px font size */
html {
  font-size: 10px;
  min-width: 320px;
}
@media only screen and (max-width: 980px) {
  html {
    font-size: 9px;
  }
}
@media only screen and (max-width: 768px) {
  html {
    font-size: 8px;
  }
}
@media only screen and (max-width: 340px) {
  html {
    font-size: 45%;
  }
}

/* END */
body {
  font-size: 1.6rem;
  font-family: Calibri, Arial, sans-serif;
  font-weight: normal;
  touch-action: manipulation;
  color: #000;
  border: none;
  position: relative;
  min-height: 100vh;
  margin: 0;
}
body.bg-img {
  background-image: url("../resources/images/home-hero.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
}
body.bg-img main {
  min-height: 565px;
}
body main {
  position: relative;
  padding-bottom: 20.5rem;
}
@media only screen and (max-width: 640px) {
  body main {
    padding-bottom: 34rem;
  }
}
body main section {
  padding: 1.5rem 2rem 2rem;
}
body main h1 {
  font-family: Calibri, Arial, sans-serif;
  font-size: 3.8rem;
}
@media only screen and (max-width: 640px) {
  body main h1 {
    font-size: 3.4rem;
  }
}
body main h2 {
  font-size: 3.4rem;
}
@media only screen and (max-width: 640px) {
  body main h2 {
    font-size: 3.2rem;
  }
}
body main h3 {
  font-size: 2.2rem;
}
body main p, body main button, body main input, body main select {
  font-size: 1.6rem;
  font-family: Calibri, Arial, sans-serif;
  font-weight: normal;
  touch-action: manipulation;
  color: #000;
  border: none;
}
body main a, body main a:link, body main a:visited, body main a:hover, body main a:active {
  color: #003366;
}
body main hr {
  margin: 0 auto;
  width: 98%;
  height: 2px;
  background: #003366;
  border: none;
}

footer {
  position: absolute;
  bottom: 0;
  border-top: 10px solid #0d4f8e;
  border-bottom: 10px solid #0d4f8e;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  height: 20.5rem;
  padding: 1rem 2rem 0.3rem;
  background: #fff;
}
@media only screen and (max-width: 640px) {
  footer {
    height: 34rem;
  }
}
footer > .flex {
  display: flex;
  align-items: flex-start;
}
@media only screen and (max-width: 640px) {
  footer > .flex {
    justify-content: space-between;
    width: 100%;
  }
}
footer > .flex ul {
  padding-right: 4rem;
  list-style-type: none;
}
@media only screen and (max-width: 768px) {
  footer > .flex ul {
    padding-right: 2rem;
  }
}
@media only screen and (max-width: 640px) {
  footer > .flex ul {
    width: 50%;
  }
}
@media only screen and (max-width: 640px) {
  footer > .flex ul:last-of-type {
    padding-right: 0;
  }
}
footer > .flex ul li {
  margin: 0 0 1.5rem;
  padding: 0;
}
footer > .flex ul li .ftr-lnk {
  font-size: 1.4rem;
  font-weight: bold;
  color: #003366;
  text-decoration: none;
}
footer > .flex-col {
  justify-content: space-between;
}
@media only screen and (max-width: 640px) {
  footer > .flex-col {
    margin-top: 2rem;
    margin: 0 auto;
  }
}
footer > .flex-col .ftr-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media only screen and (max-width: 640px) {
  footer > .flex-col .ftr-icons {
    display: flex;
    align-items: center;
  }
}
footer > .flex-col .ftr-icons img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}
footer > .flex-col .ftr-icons .icon-icon {
  font-size: 3.2rem;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}
footer .copyright {
  align-self: flex-end;
  font-size: 1.2rem;
  font-weight: bold;
  color: #0d4f8e;
  width: 100%;
  padding: 2rem 0 0;
  text-align: center;
}

header {
  background: #fff;
}
header #topHeader {
  justify-content: space-between;
  padding: 1.5rem;
}
header #topHeader picture {
  display: flex;
}
header #topHeader picture img {
  width: 15rem;
  height: auto;
}
header #nav {
  border-top: 30px solid #0d4f8e;
  background: #fff;
}
header #nav ul li,
header #nav > ul > li > a {
  font-size: 2rem;
  font-weight: bold;
  color: #f3f5f4;
  text-align: center;
  width: 100%;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
@media only screen and (max-width: 640px) {
  header #nav ul li,
  header #nav > ul > li > a {
    font-size: 1.6rem;
  }
}
header #nav > ul {
  position: relative;
  justify-content: space-evenly;
  height: 70px;
  background: rgba(112, 193, 122, 0.8);
  list-style-type: none;
}
@media only screen and (max-width: 640px) {
  header #nav > ul {
    height: 50px;
  }
}
header #nav > ul > li > a {
  cursor: pointer;
}
header #nav > ul > li > a:hover {
  color: #0d4f8e;
}

#home {
  /* homepage alerts */
}
#home:first-of-type {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
#home #alerts {
  position: absolute;
  top: 2rem;
  left: 0rem;
  width: 75%;
}
@media only screen and (max-width: 640px) {
  #home #alerts {
    width: 90%;
  }
}
#home #alerts .alert {
  display: flex;
  flex-direction: column;
  margin: 1rem 0;
  padding: 1rem 1.5rem;
  background: rgba(109, 118, 128, 0.8);
  color: #fff;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
#home #alerts .alert * {
  color: #f3f5f4;
}
#home #alerts .alert p {
  font-size: 2.2rem;
}

#ombudsman h2:not(:first-of-type) {
  margin-top: 3rem;
}
#ombudsman p {
  word-break: break-word;
}
#ombudsman .info-grp {
  margin: 2rem 0;
}
#ombudsman .info-grp p {
  margin: 0;
  text-indent: 2rem;
}
@media only screen and (max-width: 640px) {
  #ombudsman .info-grp p {
    text-indent: 0;
  }
}
#ombudsman .info-grp #address p {
  font-size: 1.6rem;
  color: #000;
}
#ombudsman .info-grp #address p.addr-title-st {
  font-style: normal;
}
#ombudsman .info-grp.fsa #address p {
  font-weight: bold;
}

.tab-pg {
  margin: 0;
}
.tab-pg .tab {
  margin: 0.25rem 0;
}
.tab-pg .tab .tab-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 75, 141, 0.25);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.tab-pg .tab .tab-title.closed {
  border-radius: 5px;
}
.tab-pg .tab .tab-title h2 {
  font-size: 2.2rem;
  color: #003366;
  margin: 0;
}
.tab-pg .tab .tab-title .arrow {
  border: solid #003366;
  border-width: 0 0.4rem 0.4rem 0;
  display: inline-block;
  margin-left: 1rem;
  padding: 0.4rem;
}
.tab-pg .tab .tab-title .arrow.down {
  transform: rotate(45deg);
}
.tab-pg .tab .tab-title .arrow.up {
  transform: rotate(-135deg);
}
.tab-pg .tab .tab-info {
  background: rgba(0, 75, 141, 0.25);
  border-top: 1px solid #003366;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 1rem;
}
.tab-pg .tab .tab-info.closed {
  display: none;
}
.tab-pg .tab .tab-info .tab-subsection {
  margin: 0 0 1rem;
}
.tab-pg .tab .tab-info .tab-subsection:last-of-type {
  margin: 0;
}
.tab-pg .tab .tab-info .tab-subsection.flex {
  align-items: flex-start;
  justify-content: space-between;
  margin: 2rem 0 4rem;
}
.tab-pg .tab .tab-info .tab-subsection.flex .flex-col {
  width: 65%;
}
.tab-pg .tab .tab-info .tab-subsection h3 {
  font-size: 2rem;
  margin: 0;
}
.tab-pg .tab .tab-info .tab-subsection p {
  margin: 1rem 0;
}
.tab-pg .tab .tab-info .tab-subsection > p:first-of-type {
  margin: 0 0 1rem;
}

h1, h2, h3 {
  color: #003366;
}

h1 {
  margin: 2rem 0 1rem;
  text-align: center;
}

main section.terminal-pg {
  margin: 0 0 4rem;
  padding: 0 2rem;
}
main section.terminal-pg:last-of-type {
  margin-bottom: 2rem;
}
main section.terminal-pg h2 {
  font-size: 2.2rem;
  margin: 2rem 0 1rem;
}
main section.terminal-pg h3 {
  font-size: 2rem;
  margin: 2rem 0 0;
}
main section.terminal-pg p {
  margin: 1rem 0;
}
main section.terminal-pg ul {
  list-style: disc;
}
main section.terminal-pg ul li {
  margin-left: 3rem;
}
main section.terminal-pg ul li:first-of-type {
  margin-top: 1rem;
}
main section.terminal-pg ul ul {
  list-style: circle;
}
main section.terminal-pg#contactUs .tab-subsection .col {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
main section.terminal-pg#contactUs .tab-subsection .col p:first-of-type {
  width: 35%;
  margin-right: 2%;
}
@media only screen and (max-width: 980px) {
  main section.terminal-pg#contactUs .tab-subsection .col p:first-of-type {
    width: 45%;
  }
}
main section.terminal-pg#contactUs .tab-subsection .col > div {
  width: 63%;
}
@media only screen and (max-width: 980px) {
  main section.terminal-pg#contactUs .tab-subsection .col > div {
    width: 53%;
  }
}
main section.terminal-pg#contactUs .tab-subsection .col .address p:first-of-type {
  width: 100%;
}
main section.terminal-pg#contactUs .adv-lns .col,
main section.terminal-pg#contactUs .loan-servicing .col,
main section.terminal-pg#contactUs .debt-recovery .col {
  margin: 1.5rem 0;
}
main section.terminal-pg#contactUs .adv-lns .col:last-of-type,
main section.terminal-pg#contactUs .loan-servicing .col:last-of-type,
main section.terminal-pg#contactUs .debt-recovery .col:last-of-type {
  margin-bottom: 0;
}
main section.terminal-pg#contactUs .adv-lns .col p,
main section.terminal-pg#contactUs .loan-servicing .col p,
main section.terminal-pg#contactUs .debt-recovery .col p {
  margin: 0;
}
main section.terminal-pg#contactUs .records .tab-subsection p {
  margin: 0;
}
main section.terminal-pg#contactUs .records .tab-subsection .col:first-of-type {
  margin: 3rem 0 2rem;
}
main section.terminal-pg#contactUs .debt-recovery .col:first-of-type {
  margin: 3rem 0 1.5rem;
}
main section.terminal-pg#contactUs .holidays .col p {
  margin: 0;
}
main section.terminal-pg#licenses {
  width: 90%;
  margin: 0 auto;
}
@media only screen and (max-width: 640px) {
  main section.terminal-pg#licenses {
    width: 100%;
  }
}
main section.terminal-pg#licenses > .flex a,
main section.terminal-pg#licenses .nmls a {
  color: #0000cc;
}
main section.terminal-pg#licenses > .flex {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #003366;
}
main section.terminal-pg#licenses > .flex .hdr {
  font-size: 2.2rem;
  color: #0d4f8e;
}
@media only screen and (max-width: 480px) {
  main section.terminal-pg#licenses > .flex .hdr {
    font-size: 1.8rem;
  }
}
main section.terminal-pg#licenses > .flex p,
main section.terminal-pg#licenses > .flex a {
  width: 30%;
  margin: 0.5rem 0;
  padding: 0 1.5%;
  text-align: left;
}
@media only screen and (max-width: 480px) {
  main section.terminal-pg#licenses > .flex p,
  main section.terminal-pg#licenses > .flex a {
    font-size: 1.2rem;
  }
}
main section.terminal-pg#licenses > .flex p:nth-child(2),
main section.terminal-pg#licenses > .flex a:nth-child(2) {
  width: 40%;
}
main section.terminal-pg#licenses .nmls {
  display: block;
  margin: 0.5rem 0 5rem;
}
main section.terminal-pg#terms aside, main section.terminal-pg#privacy aside {
  display: flex;
  justify-content: flex-end;
}
main section.terminal-pg#terms aside p, main section.terminal-pg#privacy aside p {
  margin: 4rem 0 0;
}

body.err-bg {
  background: #2eace6;
}
body #errorPage {
  justify-content: space-between;
  align-items: flex-start;
  margin: 0;
  padding: 3rem 2rem 0;
  min-height: 455px;
  background: #2eace6;
}
@media only screen and (max-width: 768px) {
  body #errorPage {
    flex-direction: column;
    padding: 0 2rem;
  }
}
body #errorPage h1 {
  margin: 0;
  padding: 2rem 0 1rem;
  text-align: left;
  color: #FEC631;
}
body #errorPage p {
  font-size: 2.4rem;
  color: #fff;
}
body #errorPage p:first-of-type {
  font-size: 3rem;
  font-weight: bold;
}
body #errorPage picture {
  align-self: flex-end;
  margin: 0 0 0 2rem;
}
@media only screen and (max-width: 768px) {
  body #errorPage picture {
    margin: 2rem 0 0 0;
  }
}

span.bold,
.bold {
  font-weight: bold;
}

span.italic,
.italic {
  font-style: italic;
}

.flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

#address p {
  font-size: 1.4rem;
  font-style: italic;
  margin: 0;
  color: #003366;
}
#address .addr-title {
  font-weight: bold;
  font-style: normal;
}