﻿/*
    STYLES FOR  AGENT WEB  LOGIN ONLY
*/
/*general*/

*{box-sizing: border-box;}

body {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    font-size: 14px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/*the background*/
.bg-pattern{
    margin:0;
    width: 100%;
    height: 100%;
    position:absolute;
    top:0;
    left:0;
    overflow:hidden;
}
.bg-pattern-line1, .bg-pattern-line2 {
    display: block;
    height: 200rem;
    width: 48rem;
    border-radius: 200rem;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    background: #e7e7e7;
}
.bg-pattern-line1 {
    top: -112rem;
    left: 70rem;
}
.bg-pattern-line2 {
    top: -26rem;
    left: 70rem;
}
/*the card*/
.card-login {
    position: relative;
    background: #fff;
    padding: 20px 20px 40px 20px;
    height: auto;
    width: 25rem;
    border-radius: 60px 20px 60px 20px;
    -webkit-box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.25);
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.25);
}
/*logo, the header and the subheader*/
.login-logo-n-heading{
    text-align:center;
    width:100%;
    height:auto;
}
#login-ms-logo-wrap{
    padding-top:30px;
}
#login-ms-logo{
    height:120px;
    width:120px;
}

h1.login-title {
    font-weight: 900;
    text-transform: lowercase;
    font-size: 2rem;
    line-height:1;
    margin:0;

}
h2.login-subtitle {
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.4rem;
    line-height: 10px;
    margin-bottom: 30px;
    color: #484848;
}
.grey-text{
    color: #acacac;
}



/*form*/
.form {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    width: 80%;
    height: auto;
    margin: 0 auto;
    padding-top: 20px;
    flex-direction: column;
}
.text-input {
    position: relative;
    margin-bottom: 36px;
    float: left;
}

.input, .forgotpass input {
    font-size: 18px;
    padding: 10px 10px 10px 10px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid #9DBBC7;
    background: rgba(0,0,0,0.1);
    border-radius: 4px 4px 0 0;
    caret-color: #0087DE; /*only works in some browsers*/
}
.txt-input-label, .forgotpass label {
    color: #666666;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 10px;
    top: 10px;
    transition: 0.1s ease all;
    -moz-transition: 0.1s ease all;
    -webkit-transition: 0.1s ease all;
    flex: 1;
}

/*placeholders before focus*/
.input::-webkit-input-placeholder {
    color: rgba(0,0,0,0.0) /* Chrome/Opera/Safari */
}
.input::-moz-placeholder {
    color: rgba(0,0,0,0.0) /* Firefox 19+ */
}
.input:-ms-input-placeholder {
    color: rgba(0,0,0,0.0) /* IE 10+ */
}
.input:-moz-placeholder {
    color: rgba(0,0,0,0.0) /* Firefox 18- */
}
/*placeholder after focus*/
.input:focus::-webkit-input-placeholder {
    color: rgba(0,0,0,0.5) /* Chrome/Opera/Safari */
}
.input:focus::-moz-placeholder {
    color: rgba(0,0,0,0.5) /* Firefox 19+ */
}
.input:focus:-ms-input-placeholder {
    color: rgba(0,0,0,0.5) /* IE 10+ */
}
.input:focus:-moz-placeholder {
    color: rgba(0,0,0,0.5) /* Firefox 18- */
}

.helpertext { /*and error messages*/
    font-size: 0.8em;
    color: rgba(0,0,0,0.0);
    padding-left: 10px;
    position: absolute;
    max-height: 12px;
    line-height: 12px;
    bottom: 0;
    overflow: hidden;
}
/* state: active, general input */
.input:focus ~ .helpertext, .input:valid ~ .helpertext {
    bottom: -14px;
    max-height: 12px;
    color: #666666;
}

.input:focus ~ .txt-input-label, .input:valid ~ .txt-input-label {
    top: -16px;
    font-size: 14px;
    color: #0087DE;
}
/*  bottom bars  */
.bar {
    position: relative;
    display: block;
    width: 100%;
}

.bar:before, .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0px;
    position: absolute;
    background: #0087DE;
    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%;
}

input:focus ~ .bar:before, input:focus ~ .bar:after {
    width: 50%;
}

textarea:focus ~ .bar:before, textarea:focus ~ .bar:after {
    width: 50%;
}
/*! removes default webkit styles !*/
input:focus, button:focus, textarea:focus {
    outline: none;
}
/*login checkbox*/
.chbx-wrap {
    height: 20px;
    flex: 1;
    margin-bottom: 20px;
}
.chbx {
    display: block;
    flex: 1;
    height: 18px;
    padding: 0 0 18px 0;
    width: auto;
    position: relative;
    width: 126px;
    margin: 0 auto;
}
.chbx input{
    position:relative;
    display:block;
    cursor:pointer;
    height: 18px;
    width: 18px;
    float:left;
    margin: 0px;
}
.chbx label{
    display:block;
    height: 18px;
    line-height: 18px;
    float:left;
    margin-left:10px;
}
/*login buttons*/
.button-wrap {
    /*flex: 1;*/
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin: 20px 0 20px 0;
    height:36px;
}
#restetButton{background: transparent;}
.button, .forgotpass input#SendUserInfo {
    flex: 1;
    height: 36px;
    line-height: 36px;
    padding: 0 20px 0 20px;
    border-radius: 200px;
    border: 0px;
    text-transform: uppercase;
    font-weight: 700;
    margin-right: 10px;
    color: #0087DE;
    cursor: pointer;
}
.button:last-child{
    margin-right:0px;
}
#cmdLogin, .forgotpass input#SendUserInfo {
    background: #0087DE;
    color: #fff;
}
/*login buttons hover and focus*/
#cmdLogin:hover, #cmdLogin:focus{
    background-color:#01619e;
}
#restetButton:hover, #restetButton:focus {
    background-color: #d6d6d6;
}
.img-link:hover, .img-link:focus {
    -webkit-box-shadow: 0 0 0 2px #0087de;
    box-shadow: 0 0 0 2px #0087de;
}
#forgot-usr-n-pswrd:hover, #forgot-usr-n-pswrd:focus {
    text-decoration: underline;
    text-underline-position: under;
}
/*form bottom*/
#forgot-usr-n-pswrd, #status-msg, .WarningTestOnlylogin {
    /*flex: 1;*/
    text-align: center;
}
#status-msg {
    display: block;
    margin-bottom: 20px;
    margin-top: -10px;
}
#Status {
    text-align: center;
    color: red;
}
#pick-language {
    /*flex: 1;*/
    height: 32px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0px 20px 0px;
}
.img-link {
    display: block;
    height: 24px;
    width: 24px;
    margin: 4px;
    border-radius: 50%;
    float: left;
    overflow: hidden;
    outline:none;
}
.img-link img{
    height:25px;
    margin-left:-4px;
}

#forgot-usr-n-pswrd{
    cursor:pointer;
    color: #0087DE;
    height:18px;
}
.forgotpass {
    display: none;
    width: 320px;
    position: absolute;
    background: #fff;
    top: 364px;
    height: 420px;
    left: 40px;
    border-radius: 20px;
    padding: 110px 40px 40px 40px;
    -webkit-box-shadow: 20px 20px 46px 0 rgba(0,0,0,0.25);
    box-shadow: 20px 20px 46px 0 rgba(0,0,0,0.25);
}
.forgotpass input{
    margin-bottom:20px;
}
.forgotpass input:focus {
    border-bottom: 2px solid #0087DE;
}
/*button*/
.forgotpass input#SendUserInfo {
    margin-top:20px;
    font-size:14px;
    width: 100px;
}


/*Old styling*/
.WarningTestOnlylogin {
    margin-top: 2px;
    color: black;
    border: 1px solid black;
    background-color: yellow;
    width: 250px;
    font-size: 13px;
    padding: 1px
}

#LoginInfo {
    cursor: pointer
}

.close-mark {
    position: absolute;
    right: 10px;
    top: 10px;
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
}

.icon32-close {
    width: 30px;
    height: 30px;
    background: transparent url("/Img/icons/sprites/fancybox.png") -40px 0px;
    cursor: pointer;
}

.passsentfail {
    color: red;
}

.passsent {
    color: green !important;
}

