/* Reset / base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px; /* text-xs */
  color: #333;
  text-align: center;
  background-color: #fff;
  overflow-x: clip;
  display: block;
  place-items: center;
  line-height: 115%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.clearfix {
  clear: both;
  height: 0.1px;
  font-size: 0;
  line-height: 0;
  display: block;
}

/* Page wrapper */
.page-wrap {
  display: block;
  place-items: center;
  max-width: 68%;
  min-width: 40%;
  margin-left: auto;
  margin-right: auto;
}

.relative {
  position: relative;
  width: 100%;
}

.top-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.content-row {
  text-align: left;
  min-width: 40.4%;
}

/* Side nav column */
.side-nav-col {
  float: left;
  width: 24%;
  display: block;
}

.side-nav-inner {
  padding: 15px 15px 15px 0;
  display: block;
  font-size: 95%;
}

.side-nav-list {
  list-style: none;
  line-height: 110%;
  margin: 0 0 20px 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  display: block;
}

.side-nav-item {
  display: block;
  margin: 0;
  padding-left: 15px;
  border-top: 1px solid #fff;
}

.side-nav-link {
  display: block;
  color: #112f61;
  text-decoration: none;
  background: url(img/navblueArr.gif) 15px 6px no-repeat;
  padding: 3px 15px 3px 30px;
}

.side-nav-link:hover {
  color: purple;
}

/* Main column (login + see also) */
.main-col {
  float: left;
  width: 75%;
}

.login-col {
  float: left;
  width: 66%;
  padding-top: 15px;
  display: block;
  text-align: left;
}

.page-title {
  margin: 0 0 0 4px;
  padding: 4px;
  display: block;
  font-size: 125%;
  font-weight: bold;
  color: #112f61;
  font-family: Arial, Helvetica, sans-serif;
}

.intro-text {
  padding: 0 8px;
  margin: 0;
}

.intro-text p {
  margin: 8px;
  padding: 0;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
}

.text-link {
  color: #112f61;
  text-decoration: underline;
  cursor: pointer;
}

.text-link:hover {
  color: purple;
}

.must-text {
  color: #112f61;
  font-style: normal;
  font-weight: bolder;
}

.forgot-pw-row {
  text-align: left;
}

.forgot-pw-link {
  float: left;
  display: inline;
  width: 40%;
  text-align: left;
  font-weight: normal;
  text-decoration: underline;
  color: #112f61;
  padding: 4px 0 4px 8px;
  vertical-align: middle;
}

.forgot-pw-link:hover {
  text-decoration: none;
}

/* Login form box */
.login-form {
  display: block;
}

.login-box {
  padding: 0;
  margin: 0;
  background-color: #eee;
}

.login-box-header {
  background-color: #ddd;
  float: left;
  font-weight: bold;
  text-align: left;
  width: 100%;
  padding: 4px 0;
}

.login-box-header-text {
  float: left;
  font-weight: bold;
  text-align: left;
  padding: 0 0 0 8px;
}

.hr-row {
  text-align: left;
  padding: 0 0 0 8px;
  border: none;
}

.field-row {
  text-align: left;
}

.field-label {
  float: left;
  font-weight: normal;
  text-align: left;
  width: 40%;
  padding: 4px 0 4px 8px;
  vertical-align: middle;
}

.field-input-wrap {
  padding: 2px 0 2px 0 !important;
  vertical-align: middle;
}

.field-input {
  width: 35%;
  font-size: 100%;
  line-height: normal;
  text-rendering: auto;
  color: fieldtext;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  display: inline-block;
  text-align: start;
  appearance: auto;
  cursor: text;
  background-color: field;
  border-width: 2px;
  border-style: inset;
  border-color: rgb(118, 118, 118);
  padding-block: 1px;
  padding-inline: 2px;
}

.submit-row {
  clear: both;
  background-color: #ffffff;
  float: right;
}

.submit {
  border: 1px double infobackground;
  min-height: 25px;
  color: #fff;
  font-weight: bold;
  font-size: 85%;
  padding: 3px 3px 2px 3px;
  background: #10254e url(img/butBg.gif) repeat-x scroll 0 0;
  appearance: auto;
  user-select: none;
  text-align: center;
  cursor: default;
  box-sizing: border-box;
  white-space: pre;
  padding-block: 1px;
  padding-inline: 6px;
  text-rendering: auto;
  letter-spacing: normal;
  word-spacing: normal;
  line-height: normal;
  text-transform: none;
  text-indent: 0px;
  display: inline-block;
}

.spacer {
  display: inline-block;
}

/* See also column */
.see-also-col {
  float: left;
  width: 33%;
  display: block;
  padding-top: 10px;
}

.see-also-inner {
  padding: 0 0 0 15px;
}

.see-also-box {
  background-color: #edf8fc;
  margin: 0;
  display: block;
  padding: 0 0 5px 0;
}

.see-also-title-wrap {
  border-bottom: 1px solid #b1dff3;
  padding: 0 4px 0 10px;
  margin: 0 0 10px 0;
  background: #fff url(img/fbTitleBg.gif) 100% 3px repeat-x;
}

.see-also-title {
  font-size: 95%;
  line-height: 110%;
  padding: 4px 20px 4px 0;
  margin: 0;
  text-transform: uppercase;
  color: #112f61;
  display: block;
  font-weight: bold;
  background: url(img/icon_appForms.gif) 100% 3px no-repeat;
}

.see-also-list {
  list-style: none;
  line-height: 100%;
  margin: 0 0 20px 0;
  display: block;
}

.see-also-item {
  display: list-item;
  border-bottom: 1px solid #e1f2fa;
  padding: 4px 0 5px 10px;
}

.see-also-link {
  display: block;
  cursor: pointer;
  background: url(img/blueArr.gif) 0 5px no-repeat;
  padding: 0 0 0 10px;
  color: #112f61;
  text-decoration: none;
}

.see-also-link:hover {
  text-decoration: underline;
  color: purple;
}

.hidden-hr {
  display: none;
  margin: 0.5em auto;
  overflow: hidden;
  border-style: inset;
  border-width: 1px;
}

.bottom-list {
  list-style: none;
  font-size: 85%;
  text-align: right;
  padding: 0 20px 10px 0;
  margin-left: 18px;
  margin-bottom: 1.3em;
}

.bottom-list-item {
  display: inline;
  border: 0;
  margin: 0;
  padding: 0;
}

.back-to-top {
  position: absolute;
  top: -3000px;
  left: 0;
  display: none;
  width: 100px;
  height: 100px;
  overflow: hidden;
  padding: 0 0 1em 0;
  margin: 1em 0;
}

.back-to-top-link {
  cursor: pointer;
  text-decoration: underline;
  color: #112f61;
}

/* ===========================================================
   Responsive overrides (desktop styles above are unchanged)
   =========================================================== */

/* Large tablets / small laptops */
@media (max-width: 1024px) {
  .page-wrap {
    max-width: 90%;
  }

  .top-img img {
    max-width: 100%;
    height: auto;
  }
}

/* Tablets */
@media (max-width: 768px) {
  body {
    font-size: 13px;
  }

  .page-wrap {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }

  .relative,
  .content-row {
    width: 100%;
    min-width: 0;
  }

  .top-img {
    padding: 10px;
  }

  /* Stack side nav above the main content */
  .side-nav-col,
  .main-col {
    float: none;
    width: 100%;
  }

  .side-nav-inner {
    padding: 0 10px 10px 0;
  }

  .side-nav-list {
    margin-bottom: 10px;
  }

  /* Stack login and "See also" */
  .login-col,
  .see-also-col {
    float: none;
    width: 100%;
  }

  .login-col {
    padding: 10px 10px 0 10px;
  }

  .see-also-col {
    clear: both;
    padding: 20px 10px 0 10px;
  }

  .see-also-inner {
    padding: 0;
  }

  .forgot-pw-link {
    width: auto;
  }

  .field-label {
    width: 30%;
  }

  .field-input {
    width: 60%;
  }

  .bottom-list {
    padding-right: 10px;
    margin-left: 10px;
  }
}

/* Phones */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  /* Label above input, input full width */
  .field-label {
    float: none;
    display: block;
    width: 100%;
    padding: 6px 8px 2px 8px;
  }

  .field-input-wrap {
    display: block;
    padding: 2px 8px 6px 8px !important;
  }

  .field-input {
    width: 100%;
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 4px 6px;
  }

  .submit-row {
    float: none;
    display: flex;
    gap: 8px;
    margin-top: 4px;
  }

  .submit {
    flex: 1;
    min-height: 36px;
    font-size: 100%;
  }

  .spacer {
    display: none;
  }

  .side-nav-link,
  .see-also-link {
    padding-top: 6px;
    padding-bottom: 6px;
    background-position-y: 9px;
  }

  .see-also-link {
    background-position-y: 11px;
  }
}

/* Very small phones */
@media (max-width: 320px) {
  .top-img,
  .login-col,
  .see-also-col {
    padding-left: 6px;
    padding-right: 6px;
  }

  .submit-row {
    flex-direction: column;
  }
}
