body {
  background: #EEEEEE;
}
body p {
  margin: 0px;
  padding: 0px;
}
.border-box {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
#referral_information {
  width: 380px;
  max-width: 100%;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  padding: 20px 0px 0px 0px;
  margin-bottom: 0px;
}
#referral_information p {
  line-height: 20px;
}
#referral_information p a {
  color: #0D67A3;
  text-decoration: none;
}
#referral_information p.heading {
  font-weight: bold;
  margin-bottom: 10px;
}
#user_form,
#forgot_password {
  padding: 40px;
  width: 500px;
  max-width: 90%;
  margin: 0 auto;
  margin-top: 60px;
  background: #fff;
  border-radius: 3px;
  border: 1px solid #ccc;
  margin-bottom: 60px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
#user_form.with_referral,
#forgot_password.with_referral {
  margin-top: 20px;
}
#user_form p,
#forgot_password p {
  text-align: center;
  color: #4D4D4D;
}
#user_form p.title,
#forgot_password p.title {
  margin-bottom: 40px;
  font-size: 20px;
}
#user_form p.text_break,
#forgot_password p.text_break {
  color: #555;
  margin: 10px 0px;
}
#user_form a,
#forgot_password a {
  text-decoration: none;
  color: #2D77B1;
}
#user_form a:hover,
#forgot_password a:hover {
  text-decoration: underline;
}
#user_form a.forgot,
#forgot_password a.forgot {
  display: block;
  margin-top: 20px;
  text-align: center;
}
#user_form a.fb,
#forgot_password a.fb {
  display: block;
  width: 100%;
  text-align: center;
  background: #2D77B0;
  color: #fff;
  padding: 15px;
  margin-bottom: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 3px;
}
#user_form a.fb:hover,
#forgot_password a.fb:hover {
  background: #235c87;
  text-decoration: none;
}
#user_form form,
#forgot_password form {
  overflow: hidden;
  margin-bottom: 10px;
  margin-top: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #ccc;
  padding: 10px;
}
#user_form form input,
#forgot_password form input {
  border-radius: 3px;
}
#user_form form input[type="text"],
#forgot_password form input[type="text"],
#user_form form input[type="password"],
#forgot_password form input[type="password"] {
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  padding: 15px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}
#user_form form input[type="submit"],
#forgot_password form input[type="submit"] {
  display: block;
  clear: both;
  float: right;
  border: 0px;
  padding: 15px;
  color: #fff;
  background: #2D77B0;
}
#user_form form input[type="submit"]:hover,
#forgot_password form input[type="submit"]:hover {
  background: #235c87;
}
@-webkit-keyframes fade_error {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade_error {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
div.error_bar {
  color: red;
  background: rgba(255, 255, 0, 0.6);
  border-bottom: 1px solid #aaa;
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  -webkit-animation: fade_error 1s;
}
.reset form {
  margin-bottom: 0px;
}
#forgot_password {
  width: 500px;
}
#forgot_password p {
  font-size: 18px;
  margin-bottom: 20px;
}
#forgot_password form {
  margin-bottom: 0px;
}
#forgot_password form input[type="text"] {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  background: #fff;
  border: 1px solid #aaa;
  padding: 15px;
}
#forgot_password_success,
#forgot_password_error {
  width: 600px;
  margin: 0 auto;
  text-align: center;
  margin-top: 60px;
  padding: 20px;
}
#forgot_password_success p,
#forgot_password_error p {
  margin: 0px;
  padding: 0px;
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 35px;
  font-weight: 100;
}
#forgot_password_success p:first-child,
#forgot_password_error p:first-child {
  font-weight: 400;
}
.error {
  color: red;
  margin-bottom: 10px;
  text-align: center;
}
@media screen and (max-width: 500px) {
  #user_form,
  #forgot_password {
    padding: 20px 10px;
  }
  #user_form form,
  #forgot_password form {
    padding: 0px;
    border: 0px;
  }
  #user_form form input[type="submit"],
  #forgot_password form input[type="submit"] {
    float: none;
    width: 100%;
  }
}
