@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

*, *::before, *::after{
	padding: 0;
	margin: 0;
	outline: 0;
	box-sizing: border-box;
}

html,body {
width:100%;
height:100%;
background: #ebeef1;
color: #1a1630;
-webkit-text-size-adjust: 100%;
font-family: 'Roboto', sans-serif;
font-size:13px;
box-sizing: border-box;
}

#contenedor{
	float: left;
	width: 100%;
	height: calc(100vh - 84px);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.login{
	width: 90%;
	min-width: 300px;
	max-width: 380px;
	height: auto;
	padding: 40px 30px;
	margin-bottom: 20px;
	background: #FFF;
	background-clip: border-box;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-ms-border-radius: 8px;
	-o-border-radius: 8px;
	border: 1px solid #dbe2eb;
	box-shadow: 0px 6px 8px rgba(4, 4, 7, 0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}

.logo{
	display: block;
	position: relative;
	text-align: center;
	border-bottom: solid 1px #f2f2f2;
	width: 100%;
	margin-bottom: 40px;
	padding-bottom: 20px;
	font-weight: 600;
	font-size: 1.5rem;
}


.campos{
	float: left;
	width: 100%;
	margin-bottom: 12px;
}

.campos label{
	float: left;
	width: 100%;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.icono{
	float: left;
	width: 40px;
	height: 45px;
	padding: 10px;
	text-align: center;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	border-right: none;
	color:#495057;
	background-color: #f0f0f2;
	border: 1px solid #e3e4e9;
	border-right: none;
}

.icono i{
	margin-top: 5px;
}

input[type="text"], input[type="password"]{
	border: 1px solid #e3e4e9;
	width: calc(100% - 40px);
	padding: 5px 10px;
	height: 45px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	font-size: 1.1rem;
}

::placeholder{
	font-weight: 500;
}

button{
	background: #2A438C;
	padding: 0 10px;
	border: none;
	text-align: center;
	color: #FFF;
    width: 100%;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	display: inline-block;
	font-size: 1.1rem;
	letter-spacing: 1px;
	height: 45px;
	font-weight: 500;
}

#enviar:hover{
 cursor: pointer;
 background: #077340;
 transition: ease-in .30s;
 -webkit-transition: ease-in .30s;
 -moz-transition: ease-in .30s;
 -ms-transition: ease-in .30s;
 -o-transition: ease-in .30s;
}

.recuperar-contrasena{
	width: 100%;
	text-align: center;
	display: inline-block;
	margin-top: 15px;
	height: 18px;
	font-weight: 500;
}

.recuperar-contrasena a{
	color: #2A438C;
	text-decoration: none;
}



.errores{
	width: auto;
	height: 30px;
	display: block;
}

.error{
	display: block;
	background: #ff0000;
	color: #FFF;
	padding: 8px 16px;
	width: auto;
	font-size: 14px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
}


.derechos{
	font-size: 14px;
	text-align: center;
	float: left;
	width: 100%;
	padding: 35px 0;
}


@media screen and (min-width: 400px){
	.login{padding: 40px;}
}