:root {
    --white-color: #ffffff;
    --main-color: #0099FF;
    --text-color: #999999;
    --subText-color: #666666;
}
body {
    background: url("/static/img/login_bg.png") 0 0 no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}
ul {
    margin: 0;
}
/* 去除自动填充样式 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-transition-delay: 99999s;
    -webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
}
::-webkit-scrollbar {
    width: 5px;
    height: 8px;
}
::-webkit-scrollbar-thumb {
    background-color: #a1a3a9;
    border-radius: 3px;
}
.position--relative {
    position: relative;
}

.login {
    position: relative;
    min-width: 435px;
    min-height: 300px;
    margin: 0 auto;
    padding: 30px 60px;
    border-radius: 8px;
    border: 1px solid var(--white-color);
    background-color: rgba(255, 255, 255, .9);
    box-shadow: 0px 2px 25px 1px #0089D7;
}
.forgot-container {
    /*width: 520px;*/
}
.login__logo {
    width: 230px;
    height: 35px;
    margin: 0 auto 20px;
}
.login-tab {
    display: -webkit-flex;
    display: flex;
    width: 100%;
    margin-bottom: 5px;
}
.login-tab-item {
    flex: 1;
    position: relative;
    padding-bottom: 4px;
    text-align: center;
    cursor: pointer;
    font-family: Source Han Sans CN-Regular, Source Han Sans CN;
    font-size: 16px;
    color: var(--text-color);
}
.login-tab-item div {
    position: absolute;
    bottom: 0px;
    left: 50%;
    margin-left: -35px;
    display: none;
    width: 70px;
    height: 2px;
    background-color: var(--main-color);
}
.login-tab .active span {
    font-family: Source Han Sans CN-Medium, Source Han Sans CN;
    font-weight: 600;
    color: var(--main-color);
}
.login-tab .active div {
    display: block;
}

/* 登录表单 */
.forgot-container .login-tab {
    margin-bottom: 20px;
}
#login-form.account-form {
    display: none;
}
#login-form .form-group {
    position: relative;
    margin-bottom: 0;
}
#resetPasswordForm .form-group {
    margin-bottom: 15px;
}
#login-form .form-control {
    font-size: 16px;
    color: var(--subText-color);
    border-radius: 4px;
    padding-left: 32px;
    background-color: #FFF;
    box-shadow: inset 0px 2px 3px 1px rgb(204 204 204 / 50%);
    border: none;
}
#login-form .login__phoneCode {
    position: relative;
    display: flex;
    align-items: center;
    line-height: normal;
}
#login-form .login__phoneCode input{
   border: none;
   outline: 0;
   flex: 1;
}
#login-form .icon {
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -8px;
    width: 16px;
    height: 16px;
}
#login-form .user-icon {
    background: url("/static/img/icon/user_blocked.png") 0 0 no-repeat;
    background-size: cover;
}
#login-form .password-icon {
    background: url("/static/img/icon/pwd_blocked.png") 0 0 no-repeat;
    background-size: cover;
}
#login-form .country-icon {
    width: 18px;
    height: 18px;
    background: url("/static/img/icon/country.png") 0 0 no-repeat;
    background-size: cover;
}
#login-form .login__callingCode {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--main-color);
    cursor: pointer;
}
#login-form .login__callingCode:after {
    content: '';
    display: inline-block;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--main-color);
    margin-left: 5px;
}
#login-form .login__phone-container {
    display: none;
}
#login-form .login-form-inputs {
    display: none;
}
#login-form .control-error {
    /*display: none;*/
    min-height: 28px;
    margin-bottom: 6px;
    margin-left: 12px;
}
#login-form .login-button,
#login-form .reset-btn {
    width: 80%;
    height: 54px;
    background-color: var(--main-color);
    border: none;
    margin: 0 auto;
    outline: 0;
}
#login-form .link-tag{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    text-align: right;
    color: var(--text-color);
}
#login-form .link-tag a {
    font-size: 16px;
    color: var(--text-color);
}
#login-form .login-button:hover,
#login-form .captcha-button input:hover,
#login-form .reset-btn:hover {
    opacity: .8;
}
#login-form .link-tag a:hover {
    color: var(--main-color);
}
#login-form .reset-btn:hover {
    background-color: var(--main-color);
}
#login-form .form-control:focus,
#login-form .login__phoneCode.active {
    /*border-color: #66afe9;*/
    box-shadow: inset 0 0 8px 1px rgba(0, 153, 255, .4);
}
.form-group.submit-button {
    margin-top: 25px;
}
#resetPasswordForm .form-group.submit-button {
    margin-top: 55px;
}

/* 发送验证码 */
#login-form input[name=captcha]{
    padding-left: 10px;
}
.captcha-button {
    padding-left: 0;
}
.captcha-button input[type=button] {
    min-width: 111px;
    height: 46px;
    background-color: rgba(0,153,255,.1);
    border-radius: 4px;
    font-size: 16px;
    color: #2FA6E0;
}

/* toast提示 */
.toast {
    display: none;
    position: absolute;
    left: 50%;
    top: -45px;
    transform: translateX(-50%);
    z-index: 9999;
}
.toast__content {
    display: inline-block;
    padding: 6px 30px;
    background-color: rgba(51, 51, 51, .8);
    box-shadow: 0 2px 3px 1px rgba(153,153,153,0.64);
    border-radius: 3px;
    font-size: 14px;
    color: var(--white-color);
    white-space: nowrap;
}
#notice-container-topcenter {
    display: none;
}
.search-callCode {
    z-index: 10;
}
.search-callCode .input-lg {
    padding-left: 15px !important;
}
/* 国家呼叫号 */
.countryList {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 310px;
    height: 260px;
    background-color: var(--white-color);
    box-shadow: 0px 0px 7px 1px rgba(153,153,153,0.35);
    border-radius: 4px;
    /*padding: 11px 0 10px 0;*/
    visibility: hidden;
    opacity: 0;
    transition: all .5s ease;
}
.countryList .mask {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.countryList ul {
    position: absolute;
    left: 0;
    top: 50px;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 200px;
    overflow-y: auto;
}
.countryList .list-item {
    font-size: 14px;
    color: var(--subText-color);
    height: 26px;
    line-height: 26px;
    padding-left: 15px;
    white-space: nowrap;
    word-break: break-word;
}
.countryList .list-item:hover,
.list-item.active {
    background-color: #EFF2F7;
    border-radius: 4px;
}
.countryList .list-item:hover {
    cursor: pointer;
}
.countryList:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 30px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent var(--white-color) transparent;
}
.countryList ul::-webkit-scrollbar {
    display: none;
}
.countryList.login-countryList {
    top: 85px;
}
.countryList.forgot-countryList {
    top: 50px;
}
.countryList.active {
    opacity: 1;
    visibility: visible;
}
.list-item.none {
    height: 100px;
    line-height: 100px;
    text-align: center;
}

/*图形验证码*/
.captcha-image {
    width: 170px;
    /*height: 70px;*/
    margin: 0 auto;
}
.update-captcha {
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
}
.update-captcha:hover {
    color: var(--main-color);
}

/* 第三方登录 */
#login-3rd {
    display: none;
    margin-top: 30px;
}
#login-3rd p {
    font-size: 14px;
    text-align: center;
    color: #888888;
}
.login-3rd-container {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    margin-top: 15px;
}
.login-3rd-container div {
    width: 42px;
    margin-right: 24px;
}
.weixin {
    background: url("/static/img/icon/weixin-1.png") no-repeat;
}
.weibo {
    background: url("/static/img/icon/weibo-1.png") no-repeat;
}
.qq {
    background: url("/static/img/icon/qq-1.png") no-repeat;
}

/* footer */
.copyright__text {
    width: 100%;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}
.copyright__text p {
    color: var(--white-color);
    font-size: 14px;
    text-align: center;
}
