@font-face {
  font-family: Univers;
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers.eot);
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers.eot?#iefix)
      format('embedded-opentype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers.woff)
      format('woff'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers.ttf)
      format('truetype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers.svg#Univers)
      format('svg');
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: Univers;
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers-Bold.eot);
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers-Bold.eot?#iefix)
      format('embedded-opentype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers-Bold.woff)
      format('woff'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers-Bold.ttf)
      format('truetype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers-Bold.svg#Univers)
      format('svg');
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: Univers;
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers-Light.eot);
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers-Light.eot?#iefix)
      format('embedded-opentype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers-Light.woff)
      format('woff'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers-Light.ttf)
      format('truetype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/Univers/Univers-Light.svg#Univers)
      format('svg');
  font-style: normal;
  font-weight: lighter;
}

@font-face {
  font-family: UniversCn;
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-Cn.eot);
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-Cn.eot?#iefix)
      format('embedded-opentype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-Cn.woff)
      format('woff'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-Cn.ttf)
      format('truetype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-Cn.svg#UniversCn)
      format('svg');
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: UniversCn;
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-CnObl.eot);
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-CnObl.eot?#iefix)
      format('embedded-opentype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-CnObl.woff)
      format('woff'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-CnObl.ttf)
      format('truetype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-CnObl.svg#UniversCn)
      format('svg');
  font-style: italic;
  font-weight: 400;
}

@font-face {
  font-family: UniversCn;
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-BoldCn.eot);
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-BoldCn.eot?#iefix)
      format('embedded-opentype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-BoldCn.woff)
      format('woff'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-BoldCn.ttf)
      format('truetype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-BoldCn.svg#UniversCn)
      format('svg');
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: UniversCn;
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-LightCn.eot);
  src: url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-LightCn.eot?#iefix)
      format('embedded-opentype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-LightCn.woff)
      format('woff'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-LightCn.ttf)
      format('truetype'),
    url(https://www.aha.org/themes/custom/aha/assets/fonts/UniversLTStd/UniversLTStd-LightCn.svg#UniversCn)
      format('svg');
  font-style: normal;
  font-weight: lighter;
}

body {
  font-family: Univers, arial, sans-serif;
  margin: 0;
  background-color: #f6f6f6;
}

a {
  color: #307fe2;
  text-decoration: none;
  font-size: 12px;
}

#blueBox {
  width: 50%;
  height: 100%;
  background-color: #307fe2;
  float: left;
  display: flex;
  flex-direction: column;
}

#blueBoxTablet {
  display: none;
}

.blueBoxItem:nth-of-type(1) {
  flex: 5;
}

.blueBoxItem:nth-of-type(2) {
  flex: 0 1 auto;
}

.introWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.intro {
  text-align: center;
  margin: auto;
}

.intro img {
  width: 50%;
  max-width: 500px;
  min-width: 280px;
}

.intro ul {
  margin: 40px auto;
  padding-top: 40px;
}

.intro li {
  font-size: 1.4em;
  color: #fff;
  line-height: 1.1em;
  margin-bottom: 20px;
  text-align: left;
}

.introLogos {
  opacity: 0.6;
  margin: 0 auto 3px -2px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.logo {
  float: left;
  margin-left: auto;
  margin-right: auto;
  display: inline;
}

.logo img {
  max-height: 50px;
  padding: 10px;
  text-align: center;
}

.confirmation-code,
.confirmation-link,
.password-reset {
  visibility: hidden;
  display: none;
}

#greyBox {
  width: 50%;
  height: 100%;
  background-color: #f6f6f6;
  float: left;
  display: flex;
  align-items: center;
}

#login_page {
  float: left;
  width: 100%;
  height: 100vh;
}

.loginWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loginForm {
  width: 50%;
  margin: auto;
}

.loginForm h3 {
  color: #003087;
  margin-bottom: 0;
  line-height: 1em;
  font-weight: bold;
}

.loginForm p {
  color: #333;
  font-size: 1.2em;
  font-weight: 100;
}

.loginForm span a,
.loginForm span#resend_code {
  color: #9d2235;
  font-size: 1.2em;
  font-size: 14px;
}

.loginForm span#resend_code:hover {
  text-decoration: underline;
  cursor: pointer;
}

.error-link {
  font-size: 16px;
  color: blue;
  text-decoration: underline;
}

.helpLink {
  float: left;
}

.password,
.confirm-password {
  position: relative;
}

.password .fa,
.confirm-password .fa {
  position: absolute;
  right: 5px;
  top: 5%;
  margin: 30px 0;
}

form input {
  width: 100%;
  margin: 20px 0;
  padding: 10px;
  font-size: 1.1em;
  box-sizing: border-box;
}

button {
  background-color: #9d2235;
  border-radius: 2px;
  color: white;
  font-size: 1.1em;
  text-transform: uppercase;
  border: none;
}

form button:hover {
  background-color: #651d32;
}

form .btn {
  background-color: #9d2235;
  border-radius: 2px;
  color: white;
  font-size: 1.1em;
  text-transform: uppercase;
  border: none;
}

form input.btn:hover {
  background-color: #651d32;
}

input[type='button'].btn-block,
input[type='reset'].btn-block,
input[type='submit'].btn-block {
  padding: 6px 0px 6px 0px;
  margin-top: 10px;
}

.loginForm span a:hover {
  color: #651d32;
}

p.indicia {
  font-size: 0.8em;
  color: #333;
}

@media only screen and (max-width: 1200px) {
  .logo img {
    max-height: 35px;
  }

  .loginForm {
    width: 80%;
  }
}

@media only screen and (max-width: 800px) {
  body {
    background-color: #307fe2;
  }

  #blueBox {
    width: 100%;
    height: auto;
    display: block;
  }

  .introWrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    /* height: 150px; */
  }

  .intro img {
    width: 50%;
    min-width: 200px;
  }

  #blueBoxTablet {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #blueBox .introLogos,
  #blueBox ul {
    display: none;
  }

  #blueBoxTablet .introLogos {
    display: block;
    margin: 20px;
  }

  #blueBoxTablet {
    display: block;
  }

  .intro ul {
    display: block;
    margin-top: 0;
    padding: 10px 0 0 0;
    margin-bottom: 0;
  }

  .intro li {
    font-size: 1.1em;
    margin: 20px;
  }

  #greyBox {
    clear: both;
    width: 100%;
    padding: 40px 0;
    height: auto;
    margin-bottom: 40px;
  }

  .loginWrap {
    width: 80%;
    margin: auto;
  }

  .loginForm h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
    margin-top: 0;
  }

  .loginForm p {
    font-size: 0.9em;
  }

  form input {
    padding: 6px;
    font-size: 1em;
    margin: 5px 0;
  }

  .password .fa,
  .confirm-password .fa {
    top: 20%;
    margin: 5px 0;
  }

  p.indicia {
    font-size: 0.7em;
  }

  button {
    font-size: 0.9em;
  }

  form .btn {
    font-size: 0.9em;
    margin-right: 10px;
  }

  .loginForm span {
    font-size: 0.9em;
  }
}

@media only screen and (max-width: 500px) {
  body {
    background-color: #f6f6f6;
  }

  .loginWrap {
    min-width: 100%;
  }

  #blueBoxTablet {
    display: none;
  }

  #blueBoxTablet .introLogos {
    dispaly: none;
  }

  .intro ul {
    display: none;
  }

  button {
    font-size: 0.9em;
  }
}

#messages {
  position: absolute;
  top: 50%;
  left: 50%;
}

.alert-system.alert-message.alert-danger {
  background-color: #fff;
  border: 1px solid lightgrey;
  padding: 20px;
  width: 30%;
  text-align: center !important;
  padding-bottom: 20px;
  box-shadow: #333 0.5 0.5;
}

.ui-widget,
.ui-widget-reset-error,
.ui-widget-reset-success,
.ui-widget-match-error,
.ui-widget-match-success {
  display: none;
}

.ui-state-error {
  background: #f59999;
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}

.ui-state-highlight {
  background: #acdf87;
  font-size: 12px;
  padding: 0px 15px 0 15px;
  margin-top: 10px;
}

.alert-system {
  position: fixed;
  margin: 5px auto 0;
  z-index: 10000;
  left: 0;
  right: 0;
  width: 400px;
  min-height: 50px;
  background-image: none;
}