body {
	/*background: #eee url(/i/bg-off.jpg) no-repeat center center; */
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	color:#444;
	background-color:#f5f5f5;
	overflow:hidden;
}
.login-container {
	position: relative;
	width:100%;
	color:#222;
	background: #fff;
	margin: 50vh auto;
	transform: translateY(-50%);
	padding: 50px 40px 40px;
	padding-bottom:70px;
	border: 1px solid #ccc;
	-webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,.5);
	-moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,.5);
	box-shadow: 0px 0px 15px 0px rgba(0,0,0,.5);
}

#output {
	position: absolute;
	width: 30vw;
	width:100%;
	top: -75px;
	left: 0;
	color: #fff;
	text-align:center;
}

#output.alert-success {
	background: rgba(25, 204, 25,.95);
}

#output.alert-danger {
	background: rgba(228, 105, 105,.95);
}

.avatar {
	width: 100px;
	height: 100px;
	margin: 5px auto 30px;
	background-repeat: no-repeat;
	background-size: auto;
	background-position: center;
	//border-radius: 100%;
	-webkit-transition: -webkit-transform .8s ease-in-out;
	transition: transform .8s ease-in-out;
}
.avatar:hover {
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
}

.animated  {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
	0% {
		opacity: 0;
		-webkit-transform: translateY(20px);
		transform: translateY(20px);
	}

	100% {
		opacity: 1;
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		-webkit-transform: translateY(20px);
		-ms-transform: translateY(20px);
		transform: translateY(20px);
	}

	100% {
		opacity: 1;
		-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0);
	}
}

.fadeInUp {
	-webkit-animation-name: fadeInUp;
	animation-name: fadeInUp;
}

.form-box input {
	margin-bottom:10px;
	border-bottom:1px solid #efefef;
}
.form-box input:focus {
	margin-bottom:9px;
	border-bottom:2px solid #fa6705;
}
.form-box input + span {
	color:#999;
	position:relative;
	top:-35px;
	left:10px;
	-webkit-transition: all 0.3s ease-in-out;
	z-index:-1;
}
.form-box input:focus + span {
	color:#fa6705;
	top:-60px;
	left:0px;
	font-size:.7em;
}
.form-box input:valid + span {
	color:transparent;
}
.input-form {
	color:red;
	background:red;
	border:1px solid red;
}

@media only screen and (max-device-height:480px) {
	.avatar {
		max-width:80px;
		max-height:80px;
		margin:0 auto;
		margin-bottom:20px;
	}
	.login-container {
		padding:20px;
		padding-bottom:40px;
	}
	.form-box input {
		margin-bottom:1px;
	}
	.form-box input:focus {
		margin-bottom:0px;
	}
	.form-box input + span {
		top:-30px;
	}
	.form-box input:focus + span {
		top:-50px;
	}
}

@media only screen and (max-device-width:480px) {
	.avatar {
		max-width:80px;
		max-height:80px;
		margin:0 auto;
		margin-bottom:20px;
	}
	.login-container {
		padding:15px;
		padding-bottom:30px;
	}
}

@media only screen and (min-device-width:481px) {
	.login-container {
		max-width:50vw;
	}
}

@media only screen and (min-device-width:1025px) {
	.login-container {
		max-width:480px;
	}
}


/*Mobile Device*/
@media only screen and (max-device-width:768px) {
	body {
		background:#cfcfcf;
	}
	.login-container {
		max-width:100vw;
		max-height:100vh;
		margin: 80px 0 30px 0;
		padding: 20px;
		padding-bottom:30px;
		transform: none;
	}
}