body{
	background: #eeeeee;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
}

.login-align{
	width: 390px;
}

.login{
	width: 100%;
	background: #FFF;
	padding-bottom: 20px;
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
	display: table;
}
.login img.logo{
	max-width: 222px;
	display: table;
	margin: 15px auto;
	max-height: 200px;
}
.login input[type="text"],
.login input[type="password"]{
	width: calc(88% - 20px);
	margin-left: 6%;
	padding: 13px 10px;
	font-size: 14px;
	outline: none;
	margin-top: 25px;
	border: solid 1px #cdcdcd;
	webkit-transition: border .5s, box-shadow .5s;
	transition: border .5s, box-shadow .5s;
}
.login input[type="text"]:focus,
.login input[type="password"]:focus{
	border: solid 1px #ff1a1a;
	box-shadow: 0px 0px 10px rgba(255, 26, 26, .4);

}
.login input[type="submit"]{
	margin-right: 5%;
	padding: 10px 15px;
	background: #ff1a1a;
	color: #fff;
	border: none;
	margin-top: 20px;
	transition: background .5s, color .5s, outline .5s;
	display: table;
	margin-left: auto;
}
.login input[type="submit"]:hover{
	color: #ff1a1a;
	background: #fff;
	outline: solid 1px #ff1a1a;
}
.login-align span{
	float: left;
	width: 100%;
	text-align: right;
	font-size: 11px;
	color: #999;
	margin-top: 7px;
}

p.error-message{
	position: fixed;
	width: 350px;
	background: #ff1a1a;
	color: #FFF;
	left: calc(50% - 185px);
	padding: 15px 10px;
	top: 40px;
	border-radius: 8px;
	text-align: center;
}

@media screen and (max-width: 700px){
	.login-align,
	.login{
		position: fixed;
		width: 100%;
		height: 100%;
		margin: 0;
		z-index: 1;
	}
	.login-align span{
		position: fixed;
		z-index: 9999;
		left: 0;
		bottom: 10px;
		text-align: center;
	}
	p.error-message{
		z-index: 9999;
		width: calc(90% - 20px);
		left: 5%;
		top: 5px;
	}
}