/* loginBox styles */

.form-signin {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
}

.register-state .form-signin {
}
.consent-state .form-signin {
  visibility: hidden;
  height: 0px;
  opacity: 0;
}

.checkbox {
  font-weight: 400;
}

.form-control {
  position: relative;
  /* box-sizing: border-box; */
  height: auto;
  padding: 10px;
  font-size: 16px;
  color: #777777;
  background-color: transparent;
  border-color: transparent;
  border-bottom-color: #c7c7c7;
  border-radius: 0;
}


.form-control:focus {
  z-index: 2;
  color: #7777777;
  box-shadow: none;
  border-color: transparent;
  border-bottom-color: #3AA5D1;
}

input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#loginBox {
  /* background: #cef1f1; */
  height: 100%;
  width: 100%;
  text-align: center;
}

.forgot-state #loginBox {
  height: 0px;
  overflow: hidden;
}

#loginBox * {
  transition: all 0.4s ease-in-out;
}

#forgotBox * {
  transition: all 0.4s ease-in-out;
}
#consentBox {
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
}
.login-state #consentBox {
  visibility: hidden;
  height: 0px;
}
.register-state #consentBox {
  visibility: hidden;
  height: 0px;
}
.consent-state #consentBox {
  visibility: visible;
  height: auto;
  opacity: 1;
}
.forgot-state #consentBox {
  height: 0px;
}

#forgotBox {
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  max-width: 380px;
  margin: auto;
  text-align: center;
}
.login-state #forgotBox {
  visibility: hidden;
  height: 0px;
}
.register-state #forgotBox {
  visibility: hidden;
  height: 0px;
}
.consent-state #forgotBox {
  visibility: hidden;
  height: 0px;
}
.forgot-state #forgotBox {
  visibility: visible;
  height: 280px;
  opacity: 1;
}


#loginBoxHeader {
  overflow: hidden;
  width: 100%;
  margin: auto;
  text-align: center;
  font-size: 28px;
  visibility: hidden;
}
.login-state #loginBoxHeader {
  height: 0px;
  visibility: visible;
}
.register-state #loginBoxHeader {
  height: 36px;
  visibility: visible;
  /* this is extending out of the div and thus not actually working -Mich */
  margin-top: 15px;
}
.consent-state #loginBoxHeader {
  height: 36px;
  visibility: visible;
}

#registerEmail {
  height: 0px;
  padding: 0px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
}
.login-state #registerEmail {
  height: 0px;
  padding: 0px;
  visibility: hidden;
}
.register-state #registerEmail {
  height: 46px;
  padding: 10px;
  visibility: visible;
  opacity: 1;
}

#forgotPassword {
  font-size: 14px;
  text-align: center;
  overflow: hidden;
  display: block;
  opacity: 1;
  height: 2em;
  margin: auto;
}
.register-state #forgotPassword {
  visibility: hidden;
  opacity: 0;
  height: 0em;
}

.forgot-state #nextButton {
  visibility: hidden;
  height: 0px;
}

#passwordHelp {
  visibility: hidden;
  display: block;
  text-align: center;
  width: 305px;
  overflow: hidden;
  opacity: 0;
  height: 0em;
  color: black;
}
.register-state #passwordHelp {
  visibility: visible;
  opacity: 1;
  height: 2em;
}


#backToRegister {
  float: left;
  overflow: hidden;
  height: 0px;
  visibility: hidden;
  opacity: 0;
}
.consent-state #backToRegister {
  height: 24px;
  visibility: visible;
  opacity: 1;
}

.loginBoxButton {
  margin: 12px auto;
  background: #3AA5D1;
  border: none;
  width: 240px;
}
.loginBoxButton:focus {
  box-shadow: none;
}
.loginBoxButton:disabled {
  background: #527280;
}

#loginRegisterError {
  color: #fa3b3b;
  font-style: italic;
  height: 24px;
  font-weight: 500;
  margin-bottom: -6px;
}

#dividerBox {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 auto;
}
.consent-state #dividerBox {
  height: 0px;
  visibility: hidden;
}


.greyLine {
  width: 25%;
  height: 1px;
  background-color: #dadada;
  flex-grow: 1;
  flex-shrink: 1;
  position: relative;
}

.tiny-text {
  font-size: 14px;
  width: 100%;
  display: -webkit-box;
  margin-top: -6px;
  font-style: italic;
  color: #bb1b1b;
}

.greyTxt {
  color: #999;
  margin: 0 5%;
  flex-grow: 0;
  flex-shrink: 0;
  font-size: 75%;
  font-weight: 600;
  line-height: 15px;
  text-transform: uppercase;
}

#oauthBox {
  width: 242px;
  margin: auto;
  height: 125px;
  visibility: visible;
}
.consent-state #oauthBox {
  height: 0px;
  visibility: hidden;
}

.oauthIcon {
  width: 100%;
  max-width: 32px;
  margin-right: 10px;
}

#googleSignin {
  width: 100%;
  margin: 12px auto;
  height: 42px;
}

#googleSignin a {
  color: #737373;
}

#facebookSignin {
  background-color: #4267b2;
  border-width: 0;
  border-radius: 5px;
  padding: 6px 12px;
  width: 100%;
}

#facebookSignin a {
  color: #fff;
}

#createAcctBox {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  font-size: 18px;
}
.consent-state #createAcctBox {
  visibility: hidden;
}

#createAcctBox p {
  margin: 0;
  color: #65666b;
}

#informationSheet {
  padding: 10px 20px;
  text-align: left;
  font-size: 15px;
}

#informationSheet h6 {
  font-size: 16px;
  text-align: center;
  width: 80%;
  margin: auto;
  padding: 20px;
}

#informationSheet h4 {
  font-size: 18px;
  margin-left: 32px;
}

#understandBox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#understandCheck {
  margin-right: 16px;
  width: 32px;
  height: 32px;
}

#understandButton div {
  display: inline-block;
  font-size: 24px;
  vertical-align: super;
}

#closedBetaBox {
  width: 80%;
  margin: 6px;
}

#closedBetaBox .right-box {
  width: 340px;
  display: inline-block;
}

#closedBetaBox .left-box {
  width: 250px;
  display: inline-block;
  vertical-align: bottom;
}

#closedBetaBox p {
  margin-bottom: 0;
}

#accessCodeError {
  color: #fa3b3b;
  font-style: italic;
  height: 24px;
  font-weight: 500;
  margin-bottom: -6px;
  width: 320px;
  text-align: left;
}

#accessCodeInput {
  width: 250px;
  margin: 10px auto;
}

#loginModal {
  display: none;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

#loginModal.closed-state {
}

#loginModal.open-state {
  display: block;
}

#loginContainer {
  background: white;
  width: 600px;
  margin: auto;
  margin-top: 80px;
  box-shadow: 0px 0px 8px 0px grey;
}

#forgotHeader {
  overflow: hidden;
  width: 100%;
  margin: auto;
  text-align: center;
  font-size: 28px;
  margin-bottom: 12px;
}

#forgotBox form {
  margin: 4px 24px 12px;
}

#closeLoginModal {
  position: absolute;
  top: 0px;
  right: 0px;
  margin: 12px;
  border: none;
}
