html,
body {
  height: 100%;
}

body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
  background-image: url("../imagens/paletes-fundo.jpg");
  /*background-position: -50px -50px;*/
  background-position: center;
  background-repeat: no-repeat;
}

img.logo{
	 alt: "Agena";
	 width: 90;
}

.texto1{
	
}

.texto2{
	
}

div.corpo-form{
	width: 400px;
	margin: auto auto auto auto;
	background-color: white; /*#f5f5f5;*/
	padding: 35px;
	border-radius: 10px;
}

p#p-sub{
	font-size: 10pt;
}

.form-signin {
  width: 100%;
  max-width: 100%;
  padding: 15px;
  margin: auto;
}

.form-signin .checkbox {
  font-weight: 400;
}

.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 4px;
}

.form-signin .form-control:focus {
  z-index: 0;
}

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

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

div.sucesso{
	width: 100%;
	margin: 10px auto;
	padding: 10px;
	background-color: rgba(50,205,50,.3);
}

div.erro{
	width: 100%;
	margin: 10px auto;
	padding: 10px;
	background-color: rgba(250,128,114,.3);
}

/* Mobile */
@media (max-width: 991px) {
	.form-signin .form-control {
	  	box-sizing: initial;
	}
	
	img.logo{
		 width: 35%;/*240;*/
	}
	
	.texto1{
		font-size: 4rem; /*50px;*/
	}
	
	.texto2{
		font-size: 2.5em;
	}
	
	div.corpo-form{
		width: 100%;
		height: 78%;
		margin: auto 10% auto 10%;
		background-color: white; /*#f5f5f5;*/
		padding: 45px;
		border-radius: 30px;
	}
	
	p#p-sub{
		font-size: 2em;
	}
	
	.form-signin {
	  width: 100%;
	  max-width: 100%;
	  padding: 15px;
	  margin: auto;
	}
	
	.form-signin .checkbox {
	  font-weight: 400;
	}
	
	.form-signin .form-control {
	  position: relative;
	  box-sizing: border-box;
	  height: auto;
	  padding: 10px;
	  font-size: 2.8em;
	}
}