/**
    Login
    
    Stylesheet for the login page.
    
    @issues
    -   Title font not loaded properly in IE.
        
    @notes
    -   Overrides layout.css.
        
    @author     sungchul.lee@primoris.co.nz
    @signature  p#10ns2&*1:sha256:43:557e13c7fe79ad1b23a4e1137a5cbee6fd205efd1db
**/
@font-face {
    font-family: 'HMR';
    src: local('e'), url('../../../shared/fonts/housemvmt-runway.otf') format('opentype');
}

body {
    overflow-y: auto;
}

div#entrance {
    /* background: url(../../../shared/images/title_bg.png); */
    background-color: #FA9C19;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    width: 100%;
    min-height: 750px;
}

span#login-footer {
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 50px;
    background-color: rgba(0,0,0,0.75);
    display: block;
}
div#login-panel {
    background-color: #FAA31F;
    position: relative;
    /* left: 0px; */
    /* bottom: 50px; */
    width: 500px;
    margin: 0 auto;
    height: 100%;
    padding: 0 200px;
    /* overflow: visible; */
    /*
    -webkit-box-shadow: 0px 0px 8px 0px #eee;
    -moz-box-shadow: 0px 0px 8px 0px #eee;
    box-shadow: 0px 0px 8px 0px #eee;
    */
    overflow: visible;
}

span#app-logo {
    display: block;
    position: relative;
    top: 50px;
    margin: 0px auto;
    margin-bottom: 30px;
    width: 500px;
    height: 200px;
    /* background: url(../../../shared/images/SIL001_logo_white.png); */
    background: url(../../../shared/images/sitelantern-logo-black-simple.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

form {
    position: relative;
    margin: 0 auto;
    height: 400px;
    top: 50px;
}

div#app-title {
    font-family: 'HMR';
    font-size: 4em;
    position: absolute;
    top: -59px;
    left: 20px;
    color: #fff;
    text-shadow: 0 0 30px #fff;
    display: none;
}

div#warning {
    position: absolute;
    right: 30px;
    bottom: 10px;
    min-width: 540px;
    color: #f00;
    font-size: 0.9em;
    white-space: nowrap;
}

div#message {
    position: relative;
    float: left;
    margin-top: 10px;
    font-size: 0.9em;
    font-weight: bold;
    color: red;
}

div#details {
    position: relative;
    /*width: 500px;*/
    height: auto;
    border: 0;
    margin-bottom: 50px;
}

/* login input field styles */
input:not([type="submit"]) {
        position: relative;
    /* color: #777; */
    width: 100%;
    height: 25px;
    /* padding-top: 4px; */
    /* padding-left: 24px; */
    /* padding-right: 8px; */
    /* padding-bottom: 20px; */
    /* font-size: 0.9em; */
    /* font-weight: bold; */
    text-decoration: none;
    outline: none;
    display: block;
    /* float: right; */
    border: 0;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #fff;
    background-color: transparent !important;
}
input:not([type="submit"]):hover {
/*    background-color: #eee;
    border-top-color: #ccc;
    color: #333;*/
}

input:not([type="submit"]):focus {
}

/* login input field sizes */
/*input[name="domain_name"] {
    width: 300px;
}
input[name="group_name"] {
    width: 270px;
}
input[name="user_name"] {
    width: 230px;
}
*/
input[name="user_password"],
input[name="user_new_password"],
input[name="user_new_password_repeat"] {
    width: 100%;
}
input[name="user_email"] {
    width: 100%;
}

/* login button style */
input[type="submit"] {
    border: solid 2px #fff;
    border-radius: 5px;
    color: #fff;
    background-color: transparent;
    width: 120px;
    height: 40px;
    text-align: center;
    line-height: 1em;
    cursor: pointer;
}
input[type="submit"]:hover {
    /*background-color: #333;*/
    color: #fff;
    /*text-shadow: 0 0 1px #fff;*/
    cursor: pointer;
}

div#forgot_password:hover {
    cursor: pointer;
}
div#forgot_password {
    margin-top: 10px;
    margin-bottom: 50px;
    font-size: 0.8em;
    clear: left;
}
div.help-msg {
    font-size: 0.8em;
}
input#submit-reset-password {
    margin-top: 10px;
    width: 200px;
}

/* login method selector styles */
div#login-method {
    position: relative;
    text-align: center;
    /* right: 270px; */
    /* bottom: 30px; */
    width: 200px;
    height: 20px;
    color: #1d1613;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 auto;
    /* text-align: right; */
    /* padding-right: 40px; */
    /* padding-bottom: 3px; */
    /* border: 0; */
    /* border-bottom-width: 4px; */
    /* border-bottom-style: solid; */
    /* border-bottom-color: #ccc; */
}
div#login-method strong {
 /*   margin-left: 10px;
    margin-right: 10px;
    
    color: #777;*/
    font-size: 0.6em;
}
div#login-method strong:hover {
    /*color: #333;*/
    /*opacity: 0.9;*/
    cursor: pointer;
    /*text-shadow: 0 0 1px #414042;*/
}

div#by-name {
    display: none;
}

/* signature */
p#app-signature {
    position: relative;
    color: #000;
    font-size: 0.8em;
    margin: 0 auto;
    margin-top: 50px;
    text-align: center;
}

/* Start of password reset feature css, request_pw_reset.php, do_pw_reset.php */
div#forgot-password-wrap {
        position: relative;
    /* color: #1d1613; */
    width: 200px;
    height: 40px;
    /* padding-top: 4px; */
    /* padding-left: 24px; */
    /* padding-right: 8px; */
    /* padding-bottom: 20px; */
    vertical-align: middle;
    font-size: 0.7em;
    text-decoration: none;
    outline: none;
    text-align: right;
    display: block;
    float: right;
    border: 0;
    background-color: transparent;
    width: 330px;
    line-height: 3.5em;
}

div#forgot-password-wrap a {
    color: #1d1613;
    font-weight: bold;
}
/*
div#forgot-password-wrap a:hover {
    color: red;
    text-shadow: 0 0 1px #1d1613;
}*/

#img_ver_code {
    position: relative;
    color: #777;
    width: 200px;
    height: 40px;
    margin: 0 auto;
    margin-top: 20px;
    outline: none;
    text-align: right;
    display: block;
    border: 0;
    background-color: rgba(255,255,255,0.5);

}

div#message_center {
    position: absolute;
    right: 30px;
    bottom: 380px;
    
    font-size: 0.9em;
    font-weight: bold;
    color: #fa9c19;    
    -moz-user-select: text; 
    -khtml-user-select: text; 
    -webkit-user-select: text; 
    -o-user-select: text;
}
/* end of password reset feature css, request_pw_reset.php, do_pw_reset.php */

#user_new_password:hover::after,
#user_new_password.focused::after {
    content: attr(data-passwd-guide);
    top: inherit;
    right: inherit;
    width: 300px;
    top: 165px;
    left: 520px;
}

form.by-name #user_new_password:hover::after,
form.by-name #user_new_password.focused::after {
    top: 188px;
}

.input_label {
    margin-top: 30px; 
    font-size: 0.8em;
}

