/* myRA common styles */

/* Fonts (Source Sans Pro) */

@font-face {
  font-family: "Source Sans Pro";
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  src: url("/fonts/SourceSansPro-Light.woff") format("woff"),
       url("/fonts/SourceSansPro-Light.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans Pro";
  font-weight: 300;
  font-style: italic;
  font-stretch: normal;
  src: url("/fonts/SourceSansPro-LightItalic.woff") format("woff"),
       url("/fonts/SourceSansPro-LightItalic.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans Pro";
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
  src: url("/fonts/SourceSansPro-Regular.woff") format("woff"),
       url("/fonts/SourceSansPro-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans Pro";
  font-weight: 400;
  font-style: italic;
  font-stretch: normal;
  src: url("/fonts/SourceSansPro-Italic.woff") format("woff"),
       url("/fonts/SourceSansPro-Italic.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans Pro";
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  src: url("/fonts/SourceSansPro-Semibold.woff") format("woff"),
       url("/fonts/SourceSansPro-Semibold.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans Pro";
  font-weight: 600;
  font-style: italic;
  font-stretch: normal;
  src: url("/fonts/SourceSansPro-SemiboldItalic.woff") format("woff"),
       url("/fonts/SourceSansPro-SemiboldItalic.ttf") format("truetype");
}

/* Reset, based on https://github.com/necolas/normalize.css */

html {
  -ms-text-size-adjust: none;
  -webkit-text-size-adjust: none;
}

body {
  margin: 0;
}

article,
aside,
footer,
header,
main,
nav,
section {
  display: block;
}

address {
  font-style: normal;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

abbr[title] {
  border-bottom: none;
  text-decoration: none;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

audio,
video {
  display: inline-block;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="text"],
[type="search"] {
  padding: 0;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

details,
menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

[hidden] {
  display: none;
}

/* Document */

html {
  box-sizing: border-box;
  min-width: 320px;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #2e2e2e;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background-color: #eaeaea;
}

/* Font classes and default fonts */

.light-x-large,
h1 {
  font-weight: 300;
  font-size: 26px;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .light-x-large,
  h1 {
    font-size: 48px;
    letter-spacing: -0.02em;
  }
}

.light-large {
  font-weight: 300;
  font-size: 24px;
  line-height: 1.2em;
}

@media (min-width: 640px) {
  .light-large {
    font-size: 45px;
  }
}

.light-medium,
h3 {
  font-weight: 300;
  font-size: 20px;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .light-medium,
  h3 {
    font-size: 24px;
  }
}

.light-small,
html {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
}

.light-x-small {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .light-x-small {
    font-size: 16px;
  }
}

.regular-x-large {
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .regular-x-large {
    font-size: 30px;
  }
}

.regular-large {
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .regular-large {
    font-size: 26px;
  }
}

.regular-medium {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .regular-medium {
    font-size: 20px;
  }
}

.regular-small {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
}

.regular-x-small {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
}

.bold-x-large {
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .bold-x-large {
    font-size: 40px;
    letter-spacing: -0.01em;
  }
}

.bold-large,
h2 {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .bold-large,
  h2 {
    font-size: 28px;
    line-height: 1.1em;
  }
}

.bold-medium {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3em;
}

@media (min-width: 640px) {
  .bold-medium {
    font-size: 22px;
  }
}

.bold-small,
h4 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3em;
}

@media (min-width: 640px) {
  .bold-small,
  h4 {
    font-size: 20px;
  }
}

.bold-x-small {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4em;
}

@media (min-width: 640px) {
  .bold-x-small {
    font-size: 16px;
  }
}

/* Common elements */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem;
  color: #043252;
}

p, ul, ol, dl {
  margin: 0 0 1rem;
}

div:last-child,
p:last-child,
ul:last-child,
ol:last-child,
dl:last-child,
li:last-child,
dt:last-child {
  margin-bottom: 0;
}

ul {
  list-style: none;
  padding: 0;
}

ol {
  padding-left: 1rem;
}

main ul > li,
main ol > li {
  position: relative;
  margin-bottom: 1rem;
}

main ul > li {
  padding-left: 20px;
}

main ul > li:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  left: 10px;
  top: 0.65em;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background-color: #139edb;
}

dd {
  margin-left: 0;
}

strong, b {
  font-weight: 600;
}

a {
  color: #139edb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main a:visited {
  color: #93c;
}

button:active,
input[type="button"]:active,
input[type="submit"]:active {
  color: inherit;
}

/* Used for highlighting search terms. */
mark {
  background-color: #ff0;
}

/* External links */

main a:not(.action)[href*="://"]:after {
  content: "";
  margin-left: 0.33em;
  padding-right: 1em;
  background-image: url(/images/icons/fa-external-link-gray-medium.svg);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.pdf-link:after {
  content: "";
  margin-left: 0.33em;
  padding-right: 1em;
  background-image: url(/images/icons/fa-file-pdf-o-red-medium.svg);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Common classes */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

.disclaimer {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
}

.lock {
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
}

.lock.padded {
  padding: 30px 15px;
}

@media (min-width: 640px) {
  .lock.padded {
    padding: 60px 40px;
  }
}

@media (min-width: 960px) {
  .lock.padded {
    padding: 60px 110px;
  }
}

@media (min-width: 640px) {
  .lock.padded.narrow {
    padding: 60px 80px;
  }
}

@media (min-width: 960px) {
  .lock.padded.narrow {
    padding: 60px 160px;
  }
}

@media (min-width: 1200px) {
  .lock.padded.narrow {
    padding: 60px 200px;
  }
}

@media (min-width: 640px) {
  main > section:first-child .lock {
    padding-top: 60px;
  }
}

@media (min-width: 960px) {
  main > section:first-child .lock {
    padding-top: 85px;
  }
}

section.gray > .lock {
  background-color: #f4f4f4;
}

section.gray > .lock a:not(.action) {
  color: #575757;
  font-weight: 600;
  text-decoration: underline;
}

section.gray > .lock a:not(.action):hover {
  color: #9c9ea2;
}

section:not(.gray) + section:not(.gray) > .lock.padded {
  padding-top: 0;
}

.browser-warning > .lock {
  border: 2px solid #cd2c21;
}

.browser-warning p:before {
  content: "";
  margin-right: 0.33em;
  padding-left: 1.25em;
  background-image: url(/images/icons/exclamation-blue-dark.svg);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Stage */

.stage > .lock {
  overflow: hidden;
  padding: 20px 15px;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 480px;
}

@media (min-width: 480px) {
  .stage > .lock {
    background-size: 640px;
  }
}

@media (min-width: 640px) {
  .stage > .lock {
    padding: 0;
    background-size: cover;
  }
}

.stage .content {
  margin-top: 85px;
  background-color: white;
}

@media (min-width: 480px) {
  .stage .content {
    margin-top: 120px;
  }
}

@media (min-width: 640px) {
  .stage .content {
    margin-top: 0;
    background-color: transparent;
  }
}

/* Stage with bottom navigation */

.stage.bottom-nav > .lock {
  overflow: visible;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -ms-flex-align: center;
  align-items: center;
  height: 85px;
  padding: 0 15px;
  text-align: center;
}

@media (min-width: 480px) {
  .stage.bottom-nav > .lock {
    height: 120px;
  }
}

@media (min-width: 640px) {
  .stage.bottom-nav > .lock {
    height: 180px;
    padding: 0 40px;
  }
}

@media (min-width: 960px) {
  .stage.bottom-nav > .lock {
    padding: 0 110px;
    height: 300px;
  }
}

.stage.bottom-nav nav {
  display: table;
  width: 100%;
  max-width: 740px;
  margin: 0;
  border-spacing: 4px;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  background-color: white;
  transform: translateY(50%);
}

@media (min-width: 480px) {
  .stage.bottom-nav nav {
    font-size: 20px;
  }
}

.stage.bottom-nav nav > span,
.stage.bottom-nav nav > a {
  display: table-cell;
  width: 33.33%;
  padding: 10px;
  vertical-align: middle;
  color: #043252;
}

@media (min-width: 640px) {
  .stage.bottom-nav nav > span,
  .stage.bottom-nav nav > a {
    padding: 15px;
  }
}

.stage.bottom-nav nav > span {
  font-weight: 600;
}

.stage.bottom-nav nav > a {
  background-color: #eaeaea;
  transition: background-color 0.15s ease;
}

.stage.bottom-nav nav > a:hover {
  text-decoration: none;
  background-color: #d3d3d3;
}

/* The section below stages with nav needs some extra padding to avoid the nav */

.stage.bottom-nav + section > .lock {
  padding-top: 60px;
}

@media (min-width: 640px) {
  .stage.bottom-nav + section > .lock {
    padding-top: 85px;
  }
}

/* Actions (buttons) */

.action {
  border: 0;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

@media (min-width: 640px) {
  .action {
    font-weight: 400;
    font-size: 20px;
  }
}

.action.primary:after,
.action.secondary:after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-left: 0.33em;
  margin-bottom: -0.125em;
}

.action.primary {
  padding: 11px;
  color: white;
  background-color: #0e3253;
}

@media (min-width: 640px) {
  .action.primary {
    padding: 20px;
  }
}

.action.primary:hover {
  background-color: #0e3253;
  text-decoration: none;
}

.action.primary:visited {
  color: white;
}

.action.primary:after {
  background-image: url(/images/icons/fa-arrow-circle-o-right-white.svg);
}

.action.secondary {
  padding: 11px;
  border: 1px solid #575757;
  color: #575757;
  background-color: #f4f4f4;
}

.action.secondary:hover {
  background-color: white;
  text-decoration: none;
}

.action.secondary:visited {
  color: #575757;
}

.action.secondary.white {
  background-color: white;
}

.action.secondary.white:hover {
  background-color: #eaeaea;
}

.action.secondary:after {
  background-image: url(/images/icons/fa-arrow-circle-o-right-gray-dark.svg);
}

.action.tertiary {
  padding: 11px 0;
  font-style: italic;
}

.action.tertiary:visited {
  color: #139edb;
}

/* Actions container */

.actions {
  text-align: center;
}

/* Multi-column panels */

.multi-column {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .multi-column {
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

.multi-column > .panel {
  position: relative;
}

@media (max-width: 639px) {
  .multi-column > .panel {
    margin-bottom: 1rem;
  }

  .multi-column > .panel:last-child {
    margin-bottom: 0;
  }
}

@media (min-width: 640px) {
  .multi-column > .panel {
    -ms-flex: 1 1 0px;
    flex-grow: 1;
    flex-basis: 0;
    padding-left: 20px;
    padding-right: 20px;
  }

  .multi-column > .panel:first-child {
    padding-left: 0;
  }

  .multi-column > .panel:last-child {
    padding-right: 0;
  }
}

@media (min-width: 960px) {
  .multi-column > .panel {
    padding-left: 70px;
    padding-right: 70px;
  }
}

.multi-column.bordered > .panel {
  margin: 0;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (max-width: 639px) {
  .multi-column.bordered > .panel + .panel {
    border-top: 1px solid #9c9ea2;
  }
}

@media (min-width: 640px) {
  .multi-column.bordered > .panel + .panel:before {
    content: "";
    position: absolute;
    top: 2rem;
    left: 0;
    bottom: 0;
    border-left: 1px solid #9c9ea2;
  }
}

.multi-column.with-icons > .panel .icon {
  display: block;
  width: 80px;
  height: 80px;
  text-align: center;
  margin: 0 auto 2rem;
}

@media (min-width: 640px) {
  .multi-column.bordered.with-icons > .panel + .panel:before {
    top: calc(80px + 2rem);
  }
}

/* Resources (circled icon and link) */

.resource {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.resource img {
  display: block;
  width: 80px;
  height: 80px;
  margin-right: 1em;
}

/* Breadcrumb */

.breadcrumb {
  font-weight: 400;
}

.breadcrumb a:before {
  content: "";
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin-bottom: -0.25em;
  background-image: url(/images/icons/fa-angle-left-gray-medium.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.breadcrumb a:first-of-type:before {
  background-image: url(/images/icons/fa-angle-double-left-gray-medium.svg);
}

/* The registered mark is much larger in Helvetica / Arial than Source Sans.
   This makes it appear more consistent. */
.registered {
  position: relative;
  top: -0.5em;
  vertical-align: baseline;
  line-height: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 65%;
}

/* Contact us */

.contact-us li {
  padding: 0;
}

.contact-us li:before {
  display: none;
}

.contact-us a.phone:before,
.contact-us a.email:before,
.contact-us a.globe:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 2em;
  height: 2em;
  margin-right: 0.5em;
  background-size: auto 2em;
  background-repeat: no-repeat;
}

.contact-us a.phone:before {
  background-image: url(/images/icons/fa-phone-blue-light.svg);
}

.contact-us a.email:before {
  background-image: url(/images/icons/fa-envelope-o.svg);
}

.contact-us a.globe:before {
  background-image: url(/images/icons/fa-globe.svg);
}

/* Site header */

#header-site > .lock {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid #9c9ea2;
}

/* Skip navigation link */

#header-site .skip-navigation {
  position: absolute;
  top: -40px;
  z-index: 2;
  height: 40px;
  padding: 0 1em;
  border: 1px solid #139edb;
  font-weight: 400;
  line-height: 40px;
  background-color: white;
  transition: top 0.25s ease-out;
}

#header-site .skip-navigation:focus {
  top: 0;
}

/* Treasury link */

#header-site .treasury-link {
  padding: 7px 0 8px;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  background-color: #eaeaea;
}

@media (min-width: 640px) {
  #header-site .treasury-link {
    font-size: 12px;
  }
}

@media (min-width: 960px) {
  #header-site .treasury-link {
    position: absolute;
    top: 0;
    left: 0;
    padding: 18px 10px;
    font-size: 14px;
    background-color: transparent;
  }
}

#header-site .treasury-link a:before {
  content: "";
  display: inline-block;
  width: 1.6em;
  height: 1em;
  margin-right: 0.5em;
  vertical-align: middle;
  background-image: url(/images/icons/us-flag.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

#header-site .treasury-link a {
  color: #575757;
}

#header-site .treasury-link i {
  text-transform: none;
}

/* Logo */

#header-site .logo {
  display: block;
  position: relative;
  overflow: hidden;
}

#header-site .logo:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #139edb;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
  -ms-transform: skewX(-14deg);
  transform: skewX(-14deg);
}

#header-site .logo:after {
  content: "";
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url(/images/myra-logo-white.svg);
  background-size: 100%;
  background-repeat: no-repeat;
}

#header-site .nav-basic .logo {
  width: 139px;
  height: 50px;
  padding: 8px 27px 3px 12px;
}

@media (min-width: 640px) {
  #header-site .nav-basic .logo {
    display: none;
  }
}

#header-site .nav-main .logo {
  display: none;
}

@media (min-width: 640px) {
  #header-site .nav-main .logo {
    display: block;
    position: absolute;
    width: 280px;
    height: 82px;
    padding: 14px 30px 16px 18px;
  }
}

@media (min-width: 960px) {
  #header-site .nav-main .logo {
    width: 406px;
    height: 115px;
    padding: 22px 45px 19px 34px;
  }
}

@media (min-width: 640px) {
  #header-site .nav-main .logo:after {
    background-image: url(/images/myra-logo-with-seal-white.svg);
  }
}

/* Nav rows */

#header-site nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  font-weight: 400;
}


@media (max-width: 639px) {
  #header-site nav {
    overflow: hidden;
    height: 0;
  }
}

@media (max-width: 639px) {
  #header-site nav[aria-expanded="false"] {
    visibility: hidden;
  }
}

@media (max-width: 639px) {
  #header-site .nav-basic {
    display: -ms-flexbox;
    display: flex;
  }
}

@media (min-width: 640px) {
  #header-site .nav-main {
    -ms-flex-order: 1;
    order: 1;
    position: relative;
  }
}

@media (min-width: 640px) {
  #header-site .nav-main,
  #header-site .nav-utility {
    display: -ms-flexbox;
    display: flex;
  }
}

@media (min-width: 640px) {
  #header-site .nav-utility {
    background-color: #eaeaea;
  }
}

#header-site .menu-button {
  position: relative;
  width: 50px;
  height: 50px;
  margin-left: auto;
  padding: 0;
  border: 0;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  color: #575757;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

#header-site .menu-button:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

#header-site .menu-button[aria-expanded="true"] {
  background-color: #eaeaea;
}

#header-site .menu-button:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(/images/icons/fa-bars-gray-dark.svg);
  background-size: 18px;
  background-position: center 7px;
  background-repeat: no-repeat;
}

#header-site .menu-button[aria-expanded="true"]:before {
  background-image: url(/images/icons/fa-times-gray-dark.svg);
}

#header-site .menu-button:after {
  content: "Menu";
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  text-align: center;
}

#header-site .menu-button[aria-expanded="true"]:after {
  content: "Close";
}

@media (min-width: 640px) {
  #header-site .menu-button {
    display: none;
  }
}

/* Nav menus */

#header-site .nav-main-links,
#header-site .nav-utility-links {
  margin: 0;
}

@media (min-width: 640px) {
  #header-site .nav-main-links,
  #header-site .nav-utility-links {
    display: -ms-flexbox;
    display: flex;
    margin-left: auto;
  }
}

#header-site .nav-main-links li,
#header-site .nav-utility-links li {
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  #header-site .nav-main-links li,
  #header-site .nav-utility-links li {
    position: relative;
  }
}

#header-site .nav-main-links a + ul {
  overflow: hidden;
  height: 0;
  background-color: #eaeaea;
}

#header-site .nav-main-links a + ul[aria-expanded="false"] {
  visibility: hidden;
}

@media (min-width: 640px) {
  #header-site .nav-main-links a + ul {
    position: absolute;
    right: 0;
    min-width: 100%;
    white-space: nowrap;
    text-align: center;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, .25);
  }
}

@media (max-width: 639px) {
  #header-site .nav-main-links li,
  #header-site .nav-main-links [data-submenu] li {
    border-top: 1px solid #9c9ea2;
  }
}

@media (min-width: 640px) {
  #header-site .nav-main-links > li + li:before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    border-left: 1px solid #9c9ea2;
  }
}

@media (min-width: 640px) {
  #header-site .nav-main-links [data-submenu] li + li:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 5px;
    right: 5px;
    border-top: 1px solid #9c9ea2;
  }
}

@media (max-width: 639px) {
  #header-site .nav-utility-links li,
  #header-site .nav-utility form,
  #header-site .nav-utility .my-account {
    border-top: 1px solid #9c9ea2;
  }
}

/* Nav links */

#header-site .nav-main-links a,
#header-site .nav-utility-links a,
#header-site .nav-utility .my-account {
  display: block;
  position: relative;
  color: #575757;
  transition: background-color 0.15s ease;
}

#header-site .nav-main-links a:hover,
#header-site .nav-utility-links a:hover,
#header-site .nav-utility .my-account:hover {
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  #header-site .nav-main-links a[data-current-section]:before,
  #header-site .nav-utility-links a[data-current-section]:before {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: 16.67%;
    left: 0;
    width: 100%;
    height: 0.25em;
    padding-left: inherit;
    padding-right: inherit;
    background-color: #139edb;
    background-clip: content-box;
  }
}

@media (min-width: 640px) {
  #header-site .nav-main-links [data-submenu] > a[data-current-section]:before {
    width: calc(100% - 0.93em); /* Subtract the width of the arrow icon */
  }
}

/* Main nav links */

#header-site .nav-main-links a {
  line-height: 1;
  font-size: 22px;
  padding: 19px 15px;
}

@media (min-width: 640px) {
  #header-site .nav-main-links a {
    font-size: 16px;
    padding: 22px 10px;
  }
}

@media (min-width: 960px) {
  #header-site .nav-main-links a {
    font-size: 22px;
    padding: 24px 20px;
  }
}

#header-site .nav-main-links [data-submenu] > [role="button"]:after {
  content: "";
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  width: 0.6em;
  height: 0.6em;
  background-image: url(/images/icons/fa-caret-down-gray-dark.svg);
  background-size: 100% auto;
  margin-left: 0.33em;
  margin-bottom: 0.1em;
}

#header-site .nav-main-links [data-submenu] > [role="button"][aria-expanded="true"] {
  color: white;
  background-color: #139edb;
}

@media (min-width: 640px) {
  #header-site .nav-main-links [data-submenu] > [role="button"][aria-expanded="true"] {
    box-shadow: 0 0 5px rgba(0, 0, 0, .25);
  }
}

#header-site .nav-main-links [data-submenu] > [role="button"][aria-expanded="true"]:after {
  background-image: url(/images/icons/fa-caret-up-white.svg);
}

#header-site .nav-main-links a + ul a {
  line-height: 26px;
  padding: 17px 40px;
}

@media (min-width: 640px) {
  #header-site .nav-main-links a + ul a {
    font-size: 14px;
    line-height: 18px;
    padding: 16px 15px;
  }
}

@media (min-width: 960px) {
  #header-site .nav-main-links a + ul a {
    font-size: 18px;
    line-height: 22px;
    padding: 18px 15px;
  }
}

/* Utility nav links */

#header-site .nav-utility-links a,
#header-site .nav-utility .my-account {
  font-size: 16px;
  line-height: 1;
  padding: 12px 15px;
}

@media (min-width: 640px) {
  #header-site .nav-utility-links a,
  #header-site .nav-utility .my-account {
    font-size: 15px;
    padding: 15px 7px;
  }
}

@media (min-width: 960px) {
  #header-site .nav-utility-links a,
  #header-site .nav-utility .my-account {
    font-size: 16px;
    padding: 17px 10px;
  }
}

#header-site .nav-utility form {
  padding: 7px 15px 8px;
  background-color: #eaeaea;
}

@media (min-width: 640px) {
  #header-site .nav-utility form {
    padding: 7px;
    background-color: transparent;
  }
}

@media (min-width: 960px) {
  #header-site .nav-utility form {
    padding: 7px 10px;
    background-color: transparent;
  }
}

#header-site .nav-utility form > [type="search"] {
  width: 100%;
  height: 45px;
  padding: 7px 7px 7px 36px;
  border: 1px solid #bbb;
  border-radius: 3px;
  font-size: 20px;
  background-image: url(/images/icons/fa-search-gray-dark.svg);
  background-size: 20px;
  background-position: 7px center;
  background-repeat: no-repeat;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none
}

@media (min-width: 640px) {
  #header-site .nav-utility form > [type="search"] {
    width: 180px;
    height: 31px;
    padding-left: 28px;
    font-size: 15px;
    background-size: 14px;
  }
}

@media (min-width: 960px) {
  #header-site .nav-utility form > [type="search"] {
    width: 210px;
    height: 36px;
    padding-left: 32px;
    font-size: 16px;
    background-size: 16px;
  }
}

#header-site .nav-utility .my-account {
  font-weight: 600;
}

@media (max-width: 639px) {
  #header-site .nav-utility .my-account {
    text-align: center;
    color: white;
    background-color: #64a50e;
  }
}

@media (max-width: 639px) {
  #header-site .nav-utility .my-account:hover {
    background-color: #8cc63f;
  }
}

#header-site .nav-utility .my-account:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url(/images/icons/fa-lock-white.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 0.33em;
  margin-bottom: -0.167em;
}

@media (min-width: 640px) {
  #header-site .nav-utility .my-account:before {
    background-image: url(/images/icons/fa-lock-gray-dark.svg);
  }
}

/* Site footer */

#footer-site > .lock {
  overflow: hidden;
  padding: 20px 15px;
  font-size: 16px;
  color: white;
  background-color: #043252;
}

@media (min-width: 960px) {
  #footer-site > .lock {
    padding: 40px 30px;
  }
}

#footer-site a,
#footer-site a:visited {
  color: white;
}

@media (min-width: 640px) {
  #footer-site .logo,
  #footer-site p {
    float: left;
    clear: left;
    width: 50%;
    padding-right: 20px;
  }
}

#footer-site .logo {
  display: block;
  width: 280px;
  height: 64px;
  margin-bottom: 1rem;
  background-image: url('/images/myra-logo-with-seal-white.svg');
  background-size: 100%;
  background-repeat: no-repeat;
}

#footer-site nav {
  margin-bottom: 1rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  #footer-site nav {
    float: right;
    width: 50%;
    padding-right: 20px;
  }
}

#footer-site nav li {
  margin-bottom: 1em;
}

@media (min-width: 640px) {
  #footer-site nav ul {
    column-count: 3;
    column-gap: 1em;
  }
}

#footer-site .trademark {
  font-size: 14px;
}

/* Print */

@media print {
  html {
    font-size: 12pt;
    font-color: black;
  }
  
  h1 {
    font-size: 1.5rem !important;
  }
  
  h2 {
    font-size: 1.33rem !important;
  }
  
  h3 {
    font-size: 1.25rem !important;
  }
  
  h4 {
    font-size: 1.1rem !important;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
  }
  
  #header-site .treasury-link {
    position: absolute !important;
    left: auto !important;
    right: 0 !important;
  }
  
  #header-site .nav-main,
  #header-site .nav-utility {
    display: none !important;
  }
  
  #header-site .nav-basic {
    display: flex !important;
  }
  
  #header-site .nav-basic .logo {
    display: block !important;
  }
  
  #header-site .nav-basic .menu-button {
    display: none !important;
  }
  
  .lock {
    padding: 1.5em !important;
  }
  
  .accordion > dd {
    visibility: visible !important;
    height: auto !important;
    margin: 0 0 1rem !important;
  }
}

.footnote {font-size: .8em;}

/* Deposits ending */

#deposits-ending .alert {
  background-color: #fffddd;
  padding: 10px 20px;
}

@media (min-width: 640px) {
  #deposits-ending .alert {
    margin: 0 -20px;
  }
}

#deposits-ending .alert h1:before {
  content: url(/images/icons/blue_triangle.gif);
  display: inline-block;
  width: 1.25em;
  margin-right: 0.5em;
  vertical-align: middle;
}

.spacing {padding-bottom:1em;}

/* Actions espanol (buttons) */

.action {
  border: 0;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

@media (min-width: 640px) {
  .action {
    font-weight: 400;
    font-size: 20px;
  }
}

.action.espanol:after {
  content: "";
  display: inline-block;
  width: .2em;
  height: .2em;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.action.espanol {
  padding: 3px;
  border: 1px solid #575757;
  color: #575757;
  background-color: #f4f4f4;
}

.action.espanol:hover {
  background-color: white;
  text-decoration: none;
}

.action.espanol:visited {
  color: #575757;
}

.action.espanol.white {
  background-color: white;
}

.action.espanol.white:hover {
  background-color: #eaeaea;
}

#header-site .nav-utility-links a.esbox {
			font-size: 16px;
			padding: 10px 5px;
			margin-top:5px;
			border-radius: 5px;
		}

