.layui-layer-shade, .layui-layer {
    position: fixed;
    _position: absolute;
    pointer-events: auto;
}
.layui-layer-shade {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    background-color: #000;
    opacity: 0.6;
    filter: alpha(opacity = 60);
}
.layui-layer {
    top: 50%;
    left: 50%;
    margin-left: -180px;
    margin-top: -250px;
    padding: 0;
    box-shadow: 1px 1px 50px rgba(0,0,0,.3);
    z-index:100001;
}
.login_dialog_close{
    width: 44px;
    height: 44px;
    background: url(../img/config/dialog_close.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    right: -50px;
    top: 0px;
    color: #fff;
    -webkit-transition: transform .3s ease-in-out;
    -moz-transition: transform .3s ease-in-out;
    -ms-transition: transform .3s ease-in-out;
    -o-transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out
}
.login_dialog_close:hover {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg)
}

#login_dialog,#reg_dialog{
    box-sizing: border-box;
    font-family: 'MicrosoftYaHei';
    width: 360px;
    height: 500px;
    /* border-radius: 12px; */
    background-color: #fff;
    box-shadow: -8px 2px 10px 0 rgba(0,0,0,0.2);
    display: flex;
}
#reg_dialog{
    display: none;
}

.login-container,.reg-container {
    box-sizing: border-box;
    font-family: 'MicrosoftYaHei';
    width: 100%;
    height: 100%;
    background-color: #fff;
    box-shadow: -8px 2px 10px 0 rgba(112, 112, 112, 0.2);
    overflow: hidden;
    padding: 0 24px;
}
.log-tabs,.reg-tabs {
    height: 40px;
    line-height: 40px;
    margin-top: 30px; 
    text-align: center;
    font-size: 16px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}

.log-tabs a,.reg-tabs a {
    width: 138px;
    color: #c2c2c2;
    float: left;
    position: relative;
}
.log-tabs a.active,.reg-tabs a.active {
    color: #565656;
}


.log-tabs a i,.reg-tabs a i {
    width: 48px;
    height: 4px;    
    background: #ffbb51;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: none;
}
.log-tabs a.active i,.reg-tabs a.active i {
    display: block;
}

.login-choice,.reg-choice{
    height:220px;
    position: relative;
    margin: 0 auto;
    text-align: left;
}
.reg-choice{
    height:280px;
}

.form-login,.form-reg{
    color: #c2c2c2;
}
.form-li{
    margin-top:8px;
    height: 60px; 
    position: relative;  
}
.form-li h5{
    font-weight: normal; 
    font-size: 16px; 
    height: 20px; 
    position: absolute; 
    bottom: 7px; left: 0;
    color: #ffbb51;
}
.form-li h5 {
    position: static;
}
.form-li p{
    width: 100%; 
    height: 32px; 
    line-height: 32px; 
    border-bottom: 1px solid #efefef; 
    position: relative; 
    position: absolute; 
    bottom: 0; left: 0; z-index: 2;      
    box-sizing:content-box;
}
.form-li p input.btn-yzm {
    width: 80px;
    position: absolute;
    top: 0;
    right: 0;
    color: #ffa008;
    font-size: 14px;
    cursor: pointer;
    z-index: 2;
    text-align: right;
}
.form-li p input.btn-gray{
	color: #c2c2c2;
}
.form-li.focus p {
    border-color: #ffbb51;
}
.form-li.error p {
    border-color: #ff7c6a;
}
.form-li p input{
    width: 100%; height: 100%; 
    font-size: 16px; 
    color: #565656;
}
.form-li p input::placeholder {
    color: #c2c2c2;
    font-size: 14px;
    padding-left: 4px;
}
.form-li input::-webkit-input-placeholder{
    color: #c2c2c2;
    font-size: 14px; 
    padding-left: 4px;
}
.form-li input::-moz-placeholder{
    color: #c2c2c2;
    font-size: 14px; 
    padding-left: 4px;
}
.form-li input:-moz-placeholder{
    color: #c2c2c2;
    font-size: 14px; 
    padding-left: 4px;
}
.form-li input:-ms-input-placeholder {
    color: #c2c2c2;
    font-size: 14px; 
    padding-left: 4px;
}

.warm {
    position: absolute;
    top: 0px;
    right: 0;
    font-size: 14px;
    color: #ff7c6a;
    display: none;
}
.form-li.error .warm {
    display: block;
}
.fn-login {
    height: 30px;
    margin: 15px 0;
    line-height: 30px;
    font-size: 14px;
}
.fn-login span {
    float: left;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
}

.ico {
    background: url(../img/config/icon.svg) no-repeat;
    background-size: 240px 192px;
}
.fn-login span .ico {
    width: 14px;
    height: 14px;
    background-position: -20px 0;
    position: absolute;
    top: 50%;
    left: 6px;
    margin-top: -7px;
}
.fn-login span .ico.current {
    background-position: -37px 0;
}
.form-pas p .iconfont {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}
.fn-login a {
    float: right;
    font-size: 14px;
}
.fn-login a:hover, .btn-reg a:hover {
    text-decoration: underline;
}
.btn-login {
    width: 240px;
    height: 46px;
    line-height: 46px;
    border-radius: 46px;
    text-align: center;
    background: #ffae46;
    background-image: -webkit-linear-gradient(-45deg, #ff9f05, #ffbe3e);
    background-image: linear-gradient(135deg, #ff9f05, #ffbe3e);
    display: block;
    margin: 0 auto;
    font-size: 16px;
    color: #fff;
}
.btn-login:hover {
    background-image: -webkit-linear-gradient(-45deg, #ffbe3e, #ff9f05);
    background-image: linear-gradient(135deg, #ffbe3e, #ff9f05);
}




.login-other {
    margin: 26px auto 16px;
    text-align: center;
}
.login-other .sns-title {
    position: relative;
    line-height: 14px;
    font-size: 14px;
    color: #c2c2c2;
}
.login-other .sns-title .sns-title-line-left, .login-other .sns-title .sns-title-line-right {
    position: absolute;
    width: 60px;
    height: 1px;
    background-color: #ddd;
}
.login-other .sns-title .sns-title-line-left {
    left: 16px;
    top: 8px;
}
.login-other .sns-title .sns-title-line-right {
    right: 16px;
    top: 8px;
}

.login-other .sns-list {
    font-size: 0;
    margin-top: 16px;
}
.login-other .ico {
    width: 32px;
    height: 32px;
    display: inline-block;
    margin: 0 11px;
}
.login-other .ico.ico_weixin {
    background-position: -88px -24px;
}
.login-other .ico.ico_weixin:hover {
    background-position: -88px -59px;
}
.login-other .ico.ico_qq {
    background-position: -56px -24px;
}
.login-other .ico.ico_qq:hover {
    background-position: -56px -59px;
}

.btn-reg {
    text-align: center;
    font-size: 16px;
}
.btn-reg a {
    color: #ffa008;
}

.to_login{
    height: 56px;
    line-height: 56px;
}
.reg-agreement {
    text-align: center;
    font-size: 12px;
    color: #c2c2c2;
}
.reg-agreement a {
    color: #7d7d7d;
}
.reg-agreement a:hover{text-decoration: underline;}
em, i {font-style: normal;}


.form-captcha .captcha {
    height: 40px;
    position: absolute;
    bottom: 0;
    right: 0;
    cursor: pointer;
    z-index: 2;
    border: 1px solid #ddd;
}
.form-captcha p{
    width: 180px;
    height: 40px;
    line-height: 40px;
}