.group {
    position:relative;
    margin: 20px 0;
    height: 60px;
}
.group.error label, .group.error .material-input:focus ~ label, .group.error .material-input:focus ~ label
.group.error .material-input:valid ~ label {
    color: red!important;
}
.group i{
    background: url(/static/images/svg/psw.svg) center center no-repeat;
    width: 24px;
    height: 24px;
    display: inline-block;
    position:absolute;
    margin-top: -30px;
}
.group#user i{
    background: url(/static/images/svg/user.svg) center center no-repeat;
}
.group.error i{
    background: url(/static/images/svg/psw-error.svg) center center no-repeat;
}
.group.error#user i{
    background: url(/static/images/svg/user-error.svg) center center no-repeat;
}
.material-input {
    font-size:16px !important;
    padding:10px 5px 5px 35px!important;
    display:block;
    width:100%;
    border:none!important;
    color: #009933;
    border-bottom:1px solid #ccc!important;
    -webkit-box-shadow: 0 0 0 1000px white inset;
    -webkit-text-fill-color: #009933 !important;
    box-sizing: border-box;
    margin-bottom: 40px !important;
    border-radius: 0;
    -webkit-appearance: none;
}
.material-input:focus {
    outline:none;
}
/* LABEL ======================================= */
.group label 				 {
    color:#666;
    font-weight:normal;
    position:absolute;
    pointer-events:none;
    left:35px;
    top:10px;
    transition:0.2s ease all;
    -moz-transition:0.2s ease all;
    -webkit-transition:0.2s ease all;
    font-size: 16px;
}

/* active state */
.material-input:focus ~ label, .material-input:valid ~ label 		{
    top:-15px;
    font-size:12px;
    color:#666;
    left:0;
}

/* BOTTOM BARS ================================= */
.bar 	{
    position:relative;
    display:block;
    width:100%;
    margin-top: -39px;
}
.bar:before, .bar:after 	{
    content:'';
    height:2px;
    width:0;
    bottom:1px;
    position:absolute;
    background:#5264AE;
    transition:0.2s ease all;
    -moz-transition:0.2s ease all;
    -webkit-transition:0.2s ease all;
}
.bar:before {
    left:50%;
}
.bar:after {
    right:50%;
}

/* active state */
.material-input:focus ~ .bar:before, .material-input:focus ~ .bar:after {
    width:50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
    position:absolute;
    height:60%;
    width:100px;
    visibility: hidden;
    top:25%;
    left:0;
    pointer-events:none;
    opacity:0.5;
}

/* active state */
.material-input:focus ~ .highlight {
    -webkit-animation:inputHighlighter 0.3s ease;
    -moz-animation:inputHighlighter 0.3s ease;
    animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from { background:#5264AE; }
    to 	{ width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
    from { background:#5264AE; }
    to 	{ width:0; background:transparent; }
}
@keyframes inputHighlighter {
    from { background:#5264AE; }
    to 	{ width:0; background:transparent; }
}

/* Remember Me =================== */
#remember-me{
    vertical-align: middle;
    color: #999;
    margin-top: -25px;
}
#remember-me input{
    border: 1px solid #333;
}
#remember-me label{
    vertical-align: 2px;
    font-size: 12px;
}

#login-third-party{
    vertical-align: top;
    margin: 50px 0;
    border-top: 1px solid #e4e4e4;
    position: relative;
    padding-top: 55px;
}

#seperator-or{
    border: 1px solid #e4e4e4;
    width: 56px;
    height: 56px;
    color: #999;
    text-align: center;
    border-radius: 50%;
    line-height: 56px;
    font-weight: bold;
    position: absolute;
    margin-left: 50%;
    margin-top: -83px;
    background-color: #fff;
    transform: translate(-50%, 0);
}

#facebook-login, #google-login, #apple-login {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
    color: #333;
    display: flex;
    font-size: 16px;
    height: 44px;
    letter-spacing: 0;
    line-height: 44px;
    align-items: center;
    margin-bottom: 8px;
    text-decoration: none;
    span {
        background: url(/static/images/svg/fb-profile-icon.svg) 50% 50% no-repeat;
        border-bottom-left-radius: 3px;
        border-right: 1px solid #fff;
        border-top-left-radius: 3px;
        display: inline-block;
        height: 20px;
        margin: 0 10px 0 10px;
        padding-right: 7px;
        vertical-align: -6px;
        width: 20px;
    }
    &:hover {
        box-shadow: 0 3px 6px -3px rgba(0,0,0,0.4), 0 0 0 8px rgba(0,0,0,0.01);
    }
}

#google-login span {
    background: url(/static/images/svg/google-profile-icon.svg) 50% 50% no-repeat;
}

#apple-login span {
    background: url(/static/images/svg/apple-profile-icon.svg) 50% 50% no-repeat;
}

#lost-password {
    color: #999;
    font-size: 10px;
    padding: 5px;
    background-color: #f5f5f5;
    border-radius: 3px;
    right: 2px;
    position: absolute;
    margin-top: -32px;
    margin-right: 0;
    text-decoration: none;
}
#lost-password:hover{
    text-decoration: underline;
}

#login-area {
    display: inline-block;
    padding-right: 78px;
}
#login-container h2{
    margin: 0 0 23px;
    color: #329b01;
    font-size: 18px;
    font-weight: 500;
}
#login-container {
    width: 100%;
    padding: 22px 35px;
    box-sizing: border-box;
}

.button-green{
    background-color: #bed952;
    padding: 14px 27px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    -webkit-appearance: none;
}
#button-area{
    margin-top: 20px;
}

#button-area a{
    color: #999;
    text-decoration: none;
    float: right;
    padding: 14px 27px;
    font-size: 14px;
}

#header-line{
    border-bottom: 1px solid #ccc;
}

#bookmark-note-icon{
    background-image: url(/static/images/svg/favorite-fill.svg);
    width: 55px;
    display: table-cell;
    height: 52px;
}

#bookmark-note-text{
    display: table-cell;
    vertical-align: top;
    padding-top: 7px;
}

#login-top-note{
    background-color: #ffffcc;
    padding: 15px 25px 15px 15px;
    position: relative;
}

#page-error{
    padding: 20px 50px;
    color: #333;
    font-size: 12px;
}
.display-none{
    display: none;
}

#js_password_strength {
    display: block;
    margin-top:-1px;
}

#js_password_strength .password_s_progress_c {
    background: #eee;
}

#js_password_strength .password_s_c_0 .password_s_progress_inner {
    width: 5%;
    background: #b00;
}

#js_password_strength .password_s_progress_inner {
    height: 5px;
    transition: width .1s, background-color .2s;
}

#js_password_strength .password_s_status_text {
    font-size: 12px;
    color: #aaa;
}

.password_s_c_0 .password_s_progress_inner {
    width: 5%;
    background: #b00;
}

.password_s_c_1 .password_s_progress_inner {
    width: 25%;
    background: #b00;
}

.password_s_c_2 .password_s_progress_inner {
    width: 50%;
    background: #ffd800;
}

.password_s_c_3 .password_s_progress_inner {
    width: 75%;
    background: #0b0;
}

.password_s_c_4 .password_s_progress_inner {
    width: 100%;
    background: #0b0;
}
