﻿body {
    background-image: url('/static/images/BackGround1.jpg');
    margin: 0;
    padding: 0;
    line-height: 1;
}

body > .page {
    height: 100%;
    min-height: 100%;
    margin: -18px auto 0;
    padding: 10px;
    max-width: none;
    min-width: 0;
    display: table;
}

#login-wrapper {
    vertical-align: middle;
    display: table-cell;
    height: 100%;
    padding: 0;
    padding-top: 36px;
}

.auth-box {
    background: white url('/static/images/accountsLogo1.jpg') center 20px no-repeat;
    font-family: Helvetica, Arial, sans-serif;
    position: relative;
    min-height: 20px;
    overflow: hidden;
    padding: 110px 30px 0;
    width: 360px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.auth-box input[type = text], .auth-box input[type = password] {
    display: block;
    font: inherit;
    font-size: 16px;
    height: 40px;
    margin-bottom: 15px;
    padding: 0 10px;
    width: 338px;
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    background: #fff;
}

.auth-box input[type = text]#password, .auth-box input#password[type = password] {
    padding-right: 70px;
    width: 278px;
}

.auth-box input[type = text].error::-webkit-input-placeholder, .auth-box input.error[type = password]::-webkit-input-placeholder {
    color: #cf7666;
}

.auth-box input[type = text].error:-moz-placeholder, .auth-box input.error[type = password]:-moz-placeholder {
    color: #cf7666;
}

.auth-box span.fake-placeholder {
    padding-top: 13px;
}

.auth-box div#submit {
    clear: both;
    display: block;
    overflow: visible;
    padding-bottom: 20px;
    margin-top: 5px;
}

.auth-box div.hs-error {
    background: #cf7666;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

.auth-box div.hs-error.visible {
    opacity: 1;
    -webkit-transition: opacity .25s linear;
    -moz-transition: opacity .25s linear;
    -ms-transition: opacity .25s linear;
    -o-transition: opacity .25s linear;
    transition: opacity .25s linear;
    padding: 5px 10px 10px;
    margin-bottom: 10px;
}

.auth-box div.hs-error.valid {
    background: #8ac38a;
}

.auth-box div.hs-error.valid p {
    color: #fff;
    line-height: 17px;
}

.auth-box div.hs-error > p {
    margin: 5px 0 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #c15d4d;
    width: 340px;
}

.auth-box div.hs-error > p.last {
    border-bottom: 0;
    padding-bottom: 0;
}

form#hs-login {
    padding-top: 120px;
}

form#hs-login a#forgot-password {
    cursor: pointer;
    display: block;
    color: #888;
    font-size: 12px;
    font-weight: 700;
    height: 38px;
    line-height: 40px;
    padding: 0 10px;
    position: absolute;
    right: 31px;
    top: 180px;
    z-index: 50;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

form#hs-login div#submit {
    position: relative;
}

form#hs-login div#submit > span {
    display: block;
    height: 23px;
    line-height: 30px;
    padding-right: 10px;
    position: absolute;
    left: 80px;
}

form#hs-login div#submit > span > label {
    color: #888;
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
    position: relative;
    top: -2px;
}

form#hs-login div#submit > a#loginBtn {
    display: block;
    float: left;
}

form#forgotPwdForm div#submit {
    margin-top: 20px;
    text-align: center;
}

body.loading .auth-box {
    -webkit-transition: margin .15s none, opacity 1s linear;
    -moz-transition: margin .15s none, opacity 1s linear;
    -ms-transition: margin .15s none, opacity 1s linear;
    -o-transition: margin .15s none, opacity 1s linear;
    transition: margin .15s none, opacity 1s linear;
    filter: alpha(opacity = 75);
    opacity: .75;
}

body.loading .auth-box * {
    visibility: hidden;
}

#password-changed h2, #login-error h2 {
    font-size: 20px;
    line-height: 36px;
    font-weight: bold;
    color: #444;
}

#password-changed .actions, #login-error .actions {
    text-align: center;
}

#password-changed .actions a.login, #login-error .actions a.login {
    display: block;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    padding: 18px 0 28px;
}

#login-error h2, #login-error p {
    color: #900;
}

span.fake-placeholder {
    position: absolute;
    padding: 8px 0 0 6px;
    color: #aaa;
    z-index: 1;
    cursor: text;
    -moz-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none;
}

span.fake-placeholder.faded-placeholder {
    color: #ccc;
}

input.has-fake-placeholder, textarea.has-fake-placeholder, select.has-fake-placeholder {
    z-index: 0;
    margin: 0;
    font: inherit;
}

.hs-button.primary:hover, .hs-button.primary:focus {
    color: white;
    text-decoration: none;
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 5px #3574e3;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 5px #3574E3;
    -o-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 5px #3574e3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 5px #3574E3;
    border-top: 1px solid #4DB0EE;
    border-bottom: 1px solid #1946BE;
    border-right: 1px solid #3080E3;
    border-left: 1px solid #3080E3;
}

.hs-button.primary {
    color: white;
    text-shadow: 0 -1px 0 #3574E3;
    background-color: #3574E3;
    background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#7EC8F4),color-stop(100%,#3574E3));
	background-image: -webkit-linear-gradient(top,#7EC8F4,#3574E3);
	background-image: -moz-linear-gradient(top,#7EC8F4,#3574E3);
	background-image: -o-linear-gradient(top,#7EC8F4,#3574E3);
	background-image: -ms-linear-gradient(top,#7EC8F4,#3574E3);
	background-image: linear-gradient(top,#7EC8F4,#3574E3);
	border-top: 1px solid #64BAF0;
	border-bottom: 1px solid #1C4ED5;
	border-right: 1px solid #468EE6;
	border-left: 1px solid #468EE6;
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
	-o-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-o-border-radius: 4px;
	-ms-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
	-moz-transition-property: opacity;
	-webkit-transition-property: opacity;
	-o-transition-property: opacity;
	transition-property: opacity;
	-moz-transition-duration: .15s;
	-webkit-transition-duration: .15s;
	-o-transition-duration: .15s;
	transition-duration: .15s;
	-moz-transition-timing-function: linear;
	-webkit-transition-timing-function: linear;
	-o-transition-timing-function: linear;
	transition-timing-function: linear;
	-moz-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
	user-select: none;
}
