body{
	background: #EEE;
}

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

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

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{
		position: fixed;
		width: 100%;
		height: 100%;
		margin: 0;
		z-index: 1;
	}
	.login 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;
	}
}