body {
    background-color: #777;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
html {
	    height: 100%;
    margin: 0;
    padding: 0;
}


::selection {
	color: #fff;
	background: #444; /* Safari */
}
::-moz-selection {
	color: #fff;
	background: #444; /* Firefox */
}


* {
	margin: 0;
	padding: 0;
	border: 0;
}

#wrapper {
   height: 100% !important;
   display: block;
}
#wrapper .loginarea {
	width: 300px;
	height: 400px;
   position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%) ;
    -webkit-transform: translate(-50%, -50%) ;
    -moz-transform: translate(-50%, -50%) ;
	text-align: center;
}

.login-form {
	width: 300px;
	margin: 0 auto;
	position: relative;
	z-index:5;
	background: #ffffff;
	border-radius: 5px;
	box-shadow: 0 0px 13px rgba(0,0,0,0.1);
}


.login-form .header {
	padding: 30px 20px 20px 20px;
}

.login-form .header h1 {
	font-size: 26px;
	line-height:34px;
	color: #444;
	margin-bottom: 10px;
}

.login-form .header span {
	font-size: 13px;
	line-height: 16px;
	color: #555;
}

.login-form .content {
	padding: 0 30px 25px 30px;
}

/* Input field */
.login-form .content .input {
	width: 100%;
	padding: 15px 25px;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #555;
	background: #eee;
	border: 1px solid #fff;
	border-radius: 5px;

}

/* Second input field */
.login-form .content .password, .login-form .content .pass-icon {
	margin-top: 25px;
}

.login-form .content .input:hover {
	background: #dfe9ec;
	color: #414848;
}

.login-form .content .input:focus {
	background: #dfe9ec;
	color: #414848;

	box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
}

.user-icon, .pass-icon {
	width: 46px;
	height: 47px;
	display: block;
	position: absolute;
	left: 0px;
	padding-right: 2px;
	z-index: 3;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
}

.user-icon {
	top:147px; /* Positioning fix for slide-in, got lazy to think up of simpler method. */
	background: rgba(65,72,72,0.75) url(../image/user-icon.png) no-repeat center;
}

.pass-icon {
	top:221px;
	background: rgba(65,72,72,0.75) url(../image/pass-icon.png) no-repeat center;
}

/* Animation */
.input, .user-icon, .pass-icon, .button, .register {
	transition: all 0.5s;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	-ms-transition: all 0.5s;
}

.login-form .footer {
	padding: 25px 30px 40px 30px;
	overflow: hidden;
	background: #eee;
	border-radius: 0 0 8px 8px;
}

/* Login button */
.login-form .footer .button {
	float:right;
	padding: 11px 25px;
	font-weight: 300;
	font-size: 18px;
	color: #fff;
	width: 100%;
	background: #555;
	border-radius: 5px;
	cursor: pointer;
}
