#formMessage {
  visibility: hidden;
}
.formrow{
  height:800px;
  position: relative;
}

#registerForm, #loginForm, #resetRequestForm, #resetResponseForm {
	background-color: white;
	position:absolute;
  width:500px;
  height:450px;
  margin: 0;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%) 
}

#modal1{
  max-height: 300px;
  max-width: 500px;
}

#registerForm, #resetResponseForm{
	height:550px;
}

#logo {
	margin-top: 15px;
	max-width: 200px;
	max-height: 200px;
}

.input-div{
  min-width: 100%;
  text-align: center;
}

input {
  max-width: 50%;
}

label{
  margin-left: 24%;
}

.btnDiv {
	text-align: center;
}

.btn {
	min-width: 50%;
	min-height:44px;
	background-color: #39C7F4;	
}

#link{
	text-align: center;
}

#forgot-link{
  width: 100%;
  text-align: right;
}

.forgot{
  margin: 0 auto;
  width: 50%
}

.forgot-text{
  margin-top: 0;
  margin-bottom: 2em;
}

.instruction-text{
  margin-top: 0;
  margin-bottom: 0;
}
.error-block, #formMessage, #userExists{
  display: block;
	text-align: center;
	color: red;
}


@media only screen and (max-width: 550px) {

   #loginForm, #registerForm, #resetRequestForm, #resetResponseForm {
   
    width:300px;
    height:400px;
  }

    #registerForm {
    height:450px;
  }

}

@media only screen and (max-width: 400px) {

   #loginForm, #registerForm, #resetRequestForm, #resetResponseForm {
    width: 250px;
  }

}

@media only screen and (max-width: 300px) {

   #loginForm, #registerForm, #resetRequestForm, #resetResponseForm {
    width: 200px;
  }

}