/* LOGIN AND FORGOT PASSWORD FULL PAGE FALLBACK */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html {
  font-size: 100% !important;
}

body {
  font-family: 'Helvetica', sans-serif;
  font-size: 1rem;
  line-height: 1;
  color: #000000;
}

header {
  background: #000000;
  color: #ffffff;
  padding: 2.2rem;
  text-align: center;
  height: 100px;
}

a {
  color: #4895ac;
  font-family: 'BentonSansRegular', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  padding: 0;
  border-bottom: none;
}

h1 {
  font-family: 'Miller Headline Bold', 'Times New Roman', Times, Georgia, serif;
  font-size: 2.625rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: #000000;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #444444 !important;
  font-size: 1rem;
}

h3 {
  font-weight: bold;
}

form,
section {
  margin: 0 auto;
  width: 600px;
}

label {
  font-family: 'BentonSansRegular', Arial, Helvetica, sans-serif !important;
  font-size: .875rem !important;
  color: #444444 !important;
  display: block;
  text-transform: none !important;
}

input[type="email"].login,
input[type="password"].login,
input[type="password"].type-password {
  border: 1px solid #777777;
  border-radius: 3px;
  font-family: 'BentonSansRegular', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  text-indent: 1rem;
  width: 80% !important;
  background-color: #ffffff !important;
  margin: 0 auto;
  padding: .8125rem 0;
  display: block;
  line-height: 1.5rem;
  float: none !important;
  height: auto !important;
}

.forgot-password-lead {
  margin-top: 2rem;
}

.reset-password-lead {
  margin-top: 2rem;
}

.reset-password-lead h1 {
  margin-bottom: 1rem;
}

.errors {
  width: 100%;
  text-align: center;
  background: #e9d2d2;
}

.errors .regi-error {
  margin: 0 auto;
  width: 80%;
  color: #9e1511;
  border-color: unset;
}

.errors .regi-error p {
  font-family: 'BentonSansRegular', Arial, Helvetica, sans-serif;
  font-size: .875rem;
  font-weight: normal;
}

.errors .regi-error p a {
  color: #4895ac;
  font-family: 'BentonSansRegular', Arial, Helvetica, sans-serif;
  font-size: .875rem;
  border-bottom: none;
  text-decoration: underline;
}

.form-fieldset-error label.modal-login {
  color: #9e1511 !important;
}

.form-fieldset-error input.type-password {
  border: 1px solid #9e1511 !important;
  background: url("/rw/SysConfig/WebPortal/BostonGlobe/Framework/images/BG_Error_Icon.svg") no-repeat 95% 50% !important;
}

.regi-error label.modal-login {
  color: #9e1511 !important;
}

.regi-error input.login {
  border: 1px solid #9e1511 !important;
  background: url("/rw/SysConfig/WebPortal/BostonGlobe/Framework/images/BG_Error_Icon.svg") no-repeat 95% 50% !important;
}

input[type="submit"] {
  font-family: 'Benton Sans Bold', Arial, Helvetica, sans-serif;
  background: #0E500A;
  border: 0;
  border-radius: 3px;
  color: #ffffff;
  display: block;
  font-size: 1.125rem;
  font-weight: bold;
  margin: 1.5rem auto;
  width: 80%;
  height: 56px;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
}

.reset-login {
  font-family: 'Benton Sans Bold', Arial, Helvetica, sans-serif;
  background: #0E500A;
  border: 0;
  border-radius: 3px;
  color: #ffffff;
  display: block;
  font-size: 1.125rem;
  font-weight: bold;
  margin: 1.5rem auto;
  width: 80%;
  padding: 1.3rem 0;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
}

input[type="submit"].bg-button:hover,
.reset-login:hover {
  color: #ffffff;
  background: #0E500A;
}

.type-membercenter.pw-reset input.bg-button {
  float: none;
}

.type-membercenter.pw-reset form p {
  margin: 0 0 1.3em 0;
}

main {
  display: block;
  margin: 0 auto;
}

main .errorlist {
  font-family: 'BentonSansRegular', Arial, Helvetica, sans-serif;
  font-size: .875rem;
  display: block;
  position: relative;
  margin: 1rem 0;
  padding: 1rem 0;
  text-align: center;
  width: 100%;
  background: #e9d2d2;
  color: #931511;
}

main label {
  margin: 0 0 .5rem 3.8rem;
}

main span {
  display: block;
}

main span.remember-checkbox {
  float: none;
  clear: none;
}

main span.remember-checkbox .checkbox-label {
  color: inherit;
  font-size: 1rem;
  font-weight: normal;
  font-size: .875rem;
}

main span.remember-checkbox .checkbox-label input[type="checkbox"] {
  display: inline-block;
  margin: 0 .5rem 0 0;
  float: none;
  border: none;
  border-radius: 0;
  clear: none;
}

main span + span {
  margin-top: 1rem;
}

main .help-text + label {
  margin-top: .5rem;
  margin-bottom: 0;
}

.description {
  margin: .625rem 0 .625rem 80%;
  text-align: center;
  font-size: 1.125rem;
}

.description__notice {
  margin-top: .5rem;
  font-weight: bold;
}

.description__notice a {
  color: #4895ac;
  padding: 0;
  border-bottom: none;
  text-decoration: underline;
}

.help-text {
  margin: .5rem 3.8rem;
  display: block;
  text-align: right;
  font-family: 'BentonSansRegular', Arial, Helvetica, sans-serif;
  font-size: .875rem;
  text-decoration: underline;
}

.link-box {
  border-top: 2px solid #eeeeee;
  padding: 1rem 0;
  margin: 0 auto;
  width: 80%;
}

.link-box h3 {
  font-family: 'BentonSansRegular', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  color: #444444;
}

.link-box .help-text {
  font-size: 1.125rem;
  margin: 1rem 0 0 0;
  text-align: left;
}

.terms-box {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .8125rem;
  color: #777777;
  border-top: 2px solid #eeeeee;
  padding: 1rem 0 4.125rem 0;
  margin: 0 auto 3.125rem auto;
  width: 80%;
  line-height: 1.2rem;
}

.terms-box__archive {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .8125rem;
  color: #777777;
  border-top: 2px solid #eeeeee;
  padding: 1rem 0 1rem 0;
  line-height: 1.2rem;
  border-top: none;
}

.archive-header {
  margin-bottom: 1rem;
}

section .link-box h3 {
  font-weight: normal;
  margin-top: 0;
}

footer {
  font-family: 'BentonSansRegular', Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  width: 80%;
  text-align: center;
}

footer .site-footer__list {
  padding-left: 0;
  text-align: left;
  display: inline-block;
  width: 25%;
  list-style: none;
  vertical-align: top;
}

footer .site-footer__list-item {
  padding: .25rem !important;
}

footer .site-footer__list-item a {
  font-size: .875rem;
}

footer .site-footer__heading {
  font-size: .875rem;
  color: #777777;
  font-weight: bold;
  margin: 1rem 0;
}

footer .site-footer__link {
  color: #127694;
  text-decoration: none;
}

footer .site-footer__copyright {
  color: #777777;
  font-size: .875rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/**
 * required_assets.xml overrides
 */
p a {
  color: #4895ac;
  font-family: 'BentonSansRegular', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  padding: 0;
  border-bottom: none;
}

p a:hover {
  color: #4895ac;
  border-bottom: none;
}

label.modal-login {
  line-height: 1rem;
  clear: none;
}

div#form-error.errorlist.js-gen-error {
  float: none;
  margin: 1rem auto;
  padding: 1rem 0;
  font: normal .875rem 'BentonSansRegular', Arial, Helvetica, sans-serif;
}

div#form-error.errorlist.js-gen-error .error-positioning {
  padding-left: 0;
  margin-bottom: .5rem;
}

div#form-error.errorlist.js-gen-error .bossub-text {
  margin-bottom: .5rem;
}

/* End required_assets.xml overrides */
/**
 * Tablet
 */
@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
    font-weight: 100;
  }
  .description {
    margin: .625rem 0 .625rem 60%;
  }
  main form,
  main section {
    margin: 0 auto;
  }
  main label {
    margin: 0 0 .5rem 0;
  }
  .form-required,
  .remember-checkbox {
    margin: 0 auto;
    width: 70%;
  }
  div.form-required {
    width: 100%;
  }
  .forgot-password {
    width: 70%;
    margin: 1rem auto;
  }
  .forgot-password .help-text {
    margin: 0;
  }
  .form-required + .form-required {
    margin-top: 1rem;
  }
  input[type="email"].login,
  input[type="password"].login,
  input[type="password"].type-password {
    width: 100% !important;
  }
  input[type="submit"],
  .reset-login {
    font-family: 'Benton Sans Bold', Arial, Helvetica, sans-serif;
    width: 70%;
  }
  .help-text {
    margin: 1rem 5.7rem;
  }
  .terms-box {
    font-size: 1.125rem;
  }
  .link-box,
  .terms-box {
    width: 70%;
    margin: 0 auto;
  }
  input[type="password"] + a {
    margin-right: 6rem;
  }
  footer .site-footer__list {
    width: 100%;
    display: block;
    margin-left: 0;
    list-style: none;
  }
  footer .site-footer__list:first-child li:nth-child(5) {
    border-top: none;
    padding: 0;
  }
  footer .site-footer__list:first-child li:nth-child(6) {
    border-top: none;
  }
  footer .site-footer__list-item {
    display: block;
    text-align: left;
    padding: 1rem 2rem;
  }
  footer .site-footer__list-item + li {
    border-top: 1px solid #eeeeee;
  }
  footer .site-footer__list-item:nth-child(2) {
    border-top: none;
  }
  footer .site-footer__list-item:last-child {
    border-top: 1px solid #eeeeee;
    border-bottom: none;
  }
  footer .site-footer__list:last-child li:nth-child(3) {
    border-top: 1px solid #eeeeee;
  }
  footer .site-footer__heading {
    background: #eeeeee;
    padding: 1rem 2rem;
    margin: 0;
  }
  footer .site-footer__copyright {
    margin: 0;
  }
}

/**
 * Google Nexus 7 Tablet
 */
@media (max-width: 600px) {
  main {
    width: 100%;
  }
  main form,
  main section {
    width: 100%;
  }
  main .help-text {
    margin: 1rem 3.5rem;
  }
  footer {
    width: 100%;
  }
  footer .site-footer__heading {
    padding: 1rem 5.5rem;
  }
  footer .site-footer__list-item {
    padding: 0;
  }
  footer .site-footer__list-item a {
    display: block;
    padding: 1rem 5.5rem;
  }
  footer .site-footer__list {
    width: 100%;
  }
}

/**
 * Mobile
 */
@media (max-width: 415px) {
  .description {
    margin: .625rem 0 .625rem 50%;
  }
  main .errors {
    margin: 0 auto;
  }
  main label {
    margin: 0 0 .5rem 0;
  }
  main .help-text {
    margin: 1rem;
  }
  main .help-text + label {
    margin-top: 1rem;
  }
  .form-required,
  .forgot-password,
  .remember-checkbox {
    width: 90%;
  }
  input[type="email"].login,
  input[type="password"].login,
  input[type="password"].type-password {
    width: 100% !important;
  }
  input[type="submit"],
  .reset-login {
    width: 90%;
  }
  input[type="password"].login + a {
    margin-right: 1.5rem;
  }
  .link-box, .terms-box {
    width: 90%;
  }
  .link-box:nth-child(1) {
    margin-top: 1rem;
  }
  .terms-box {
    font-size: 1rem;
  }
  footer .site-footer__list-item {
    padding: 1rem 1.5rem;
  }
  footer .site-footer__list-item .site-footer__heading {
    padding: 1rem 1.5rem;
  }
  footer .site-footer__list-item a {
    padding: 0;
  }
}

@media (min-width: 801px) {
  .site-footer__content:before {
    content: "";
    display: block;
    width: 100%;
    height: 9px;
    background: #eeeeee;
  }
}
