/* 
	Disable bootstrap styles which conflicts with custom styles on Login page 
*/ 
*, ::after, ::before {
    box-sizing: initial;
}
.h1, h1, .h2, h2, .h3, h3, .h4, h4, .h5, h5, .h6, h6 {
	margin-bottom: unset;
    font-size: initial;
    font-weight: revert;
    line-height: normal;
}
button, input, optgroup, select, textarea {
    line-height: normal;
}
body {
	line-height: normal;
}

/*******************
SELECTION STYLING
*******************/

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

/*******************
BODY STYLING
*******************/

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

body {
    background: url(../images/bg.png) repeat;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight:300;
	text-align: left;
	text-decoration: none;
}

a, a:link, a:visited, a:hover, a:active {
    color: #000;
}

#wrapper {
	/* Center wrapper perfectly */
	width: 640px;
	height: 480px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -320px;
	margin-top: -240px;
}

.gradient {
	/* Center Positioning */
	width: 640px;
	height: 480px;
	position: fixed;
	left: 50%;
	top: 50%;
	margin-left: -320px;
	margin-top: -320px;
	
	/* Fallback */ 
	background-image: url(../images/gradient.png); 
	background-repeat: no-repeat; 
	
	/* CSS3 Gradient */
	background-image: -webkit-gradient(radial, 0% 0%, 0% 100%, from(rgba(213,246,255,1)), to(rgba(213,246,255,0)));
	background-image: -webkit-radial-gradient(50% 50%, 40% 40%, rgba(213,246,255,1), rgba(213,246,255,0));
	background-image: -moz-radial-gradient(50% 50%, 50% 50%, rgba(213,246,255,1), rgba(213,246,255,0));
	background-image: -ms-radial-gradient(50% 50%, 50% 50%, rgba(213,246,255,1), rgba(213,246,255,0));
	background-image: -o-radial-gradient(50% 50%, 50% 50%, rgba(213,246,255,1), rgba(213,246,255,0));
}

/*******************
LOGIN FORM
*******************/

.login-form {
	width: 640px;
	margin: 0 auto;
	position: relative;
	z-index:5;

    background: #d4dedf;
	border: 1px solid #fff;
	border-radius: 5px;
	
	box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/*******************
CONTENT
*******************/

.login-form .content h1 {
    font-family: 'Bree Serif', serif;
    font-weight: 300;
    font-size: 28px;
    line-height:34px;
    color: #414848;
    text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
    margin-bottom: 10px;
}

.login-form .content .description, .login-form .content .error {
    font-size: 12px;
    line-height: 16px;
    width: 340px;
    height: 45px;
    display: inline-block;
    color: #678889;
    text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
    margin-bottom: 30px;
}

.login-form .content .help {
	text-align: center;
	font-size: 12px;
    width: 215px;
    height: 70px;
    display: inline-block;
    color: black;
    margin-bottom: 20px;
}

.login-form .content .announce {
	font-size: 12px;
}

.login-form .content .error {
    display: none;
    color: #a22;
}

/* Input field */
.login-form .content .input {
	width: 230px;
	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: #9d9e9e;
	text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
	
	background: #fff;
	border: 1px solid #fff;
	border-radius: 5px;
	
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
	-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
	-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
}

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

.login-form .username, .login-form .password {
    display: block;
}

.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);
}

.forgot-password {
    cursor: pointer;
    position: relative;
    left: 5px;
    padding: 8px 0 8px 0;
}

.forgot-password span, .access-info, .reset-info {
    font-size: 11px;
    line-height: 16px;
    display: block;
    color: #678889;
    text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
}

.access-info {
	font-size: 12px;
}

.back-to-login {
    position: absolute;
    bottom: 20px;
    font-weight: bold;
}

.back-to-login a, .back-to-info a:link, .back-to-info a:visited, .back-to-info a:hover, .back-to-info a:active {
    font-size: 13px;
    line-height: 16px;
    color: #3e8881;
}

.reset-info {
    padding: 10px 0 10px 0;
}

.forgot-password span {
    width: 120px;
}

.content, .left, .right {
    float: left;
}

.content .left {
    padding: 20px;
    height: 440px;
}

.left {
    background-color: #f3f3f3;
    width: 350px;
    text-align: justify;
}

.right {
    width: 250px;
}

.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:141px; /* Positioning fix for slide-in, got lazy to think up of simpler method. */
	background: rgba(65,72,72,0.75) url(../images/user-icon.png) no-repeat center;	
}

.pass-icon {
	top:206px;
	background: rgba(65,72,72,0.75) url(../images/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;
}

/*******************
LOCKED
*******************/

.login-form .status {
    width: 100%;
    height: 160px;
    font-size: 11px;
    color: #222;
    float: left;
    padding-bottom: 20px;
}



.login-form a:visited .status, .login-form a:hover .status, .login-form a:active .status {
    background-color: #f3f3f3;
}

.login-form .status h2 {
    padding: 16px 0 4px 0;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(128,128,128,0.5);    
}

.login-form .locked {
    font-size: 18px;
    border-bottom: 0 !important;
}

.login-form .locked span, .login-form .locked ul {
	font-size: 12px;
    line-height: 16px;
    display: block;
    color: #678889;
    text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
}	

.locked a, .locked a:link, .locked a:visited, .locked a:hover, .locked a:active {
    color: #678889;
}

.login-form .locked li {
    margin-bottom: 20px;
}

.login-form .locked .warning {
    color: #d20 !important;
    text-shadow: 1px 1px 0 rgba(64,0,0,0.8) !important;
}

.login-form .locked .invalid {
    color: #d20 !important;
    font-size: 13px;
    line-height: 18px;
}

.login-form .question {
    padding: 12px 0 12px 0;
    font-size: 18px;
}

.login-form .status .info, .login-form .question {
    color: #222;
}

.login-form .status span, .login-form .status ul {
    display: block;
}

.login-form .status span {
    text-align: justify;
    padding: 8px 16px 8px 16px;
}

.login-form .status ul {
    padding: 8px 32px 8px 32px;
}

/* Login button */
.login-form .content .button {
    margin: 0px 0 20px 200px;
    padding: 7px 21px;

    font-family: 'Bree Serif', serif;
    font-weight: 300;
    font-size: 18px;
    color: #fff;
    text-shadow: 0px 1px 0 rgba(0,0,0,0.25);

    background: #3E8881;
    border: 1px solid #437471;
    border-radius: 5px;
    cursor: pointer;

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

.login-form .content .button:hover {
    background: #5EA8A1;
    border: 1px solid rgba(256,256,256,0.75);

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

.login-form .content .maintenance-view {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.login-form .content .empty {
    padding: 0;
    margin: 0;
    position: relative;
    bottom: 0px;
    width: 250px;
    height: 175px;
    background: none;
}

.login-form .content .logo {
    padding: 0;
    margin: 0;
    position: relative;
    bottom: 0px;
    width: 250px;
    height: 100px;
    background: transparent url(../images/icon-fa-logo-new.png) scroll no-repeat center;
}

/*******************
FOOTER
*******************/

.login-form .footer {
    clear: both;
	padding: 0;
    height: 0;
	overflow: auto;

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