@font-face {
    font-family: "echat";
    src: url("./echatlogin.eot");
    /* IE9 */
    src: url("./echatlogin.eot#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("./echatlogin.woff") format("woff"), url("./echatlogin.ttf") format("truetype");
    /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
  }

html,body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}
.align-center{
    text-align: center;
}
.reg-header{
    height: 100px;
    box-shadow: 0px 0px 6px 0px #ccc;
    background-color: #fff;
    position: relative;
}
.reg-header i{
    cursor: pointer;
    background: url(../imgs/echat.png)no-repeat center;
    width: 200px;
    height: 46px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.reg-main{
    color: #444;
    position: relative;
    height: calc(100% - 160px);
}
.reg-center{
    top: 50%;
    left: 50%;
    height: 480px;
    font-size: 0;
    width: 500px;
    position: absolute;
    transform: translate(-50%, -50%);
}
.reg-points{
    width: 24px;
    height: 100%;
    font-size: 14px;
    text-align: center;
    vertical-align: top;
    display: inline-block;
}

.reg-points i{
    width: calc(25% - 60px);
    display: inline-block;
    background-color: #ffa726;
}

.reg-point{
    margin: 9px 0;
    padding: 2px;
    border-radius: 50%;
}

.reg-point.active{
    color: #fff;
    background-color: #ffa726;
}
.reg-content{
    /* height: 100%; */
    padding: 42px;
    border-radius: 9px;
    vertical-align: top;
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 0px 3px 0px #eee;
}
.reg-title{
    font-size: 18px;
    text-align: center;
    margin-bottom: 42px;
    min-width: 300px;
}
.reg-title i{
    width: 50px;
    height: 1px;
    display: inline-block;
    vertical-align: middle;
 }
 .reg-title i:first-child{
    margin-right: 9px;
    background-image: linear-gradient(to left,#444, #fff);
 }
 .reg-title i:last-child{
    margin-left: 9px;
    background-image: linear-gradient(to right,#444, #fff);
 }
 .reg-form{
     display: none;
    text-align: center;
    height: calc(100% - 90px);
 }
 #step1{
     display: block;
 }
 #toStep2{
     visibility: hidden;
 }
.reg-input{
    border: 1px solid #ddd;
    border-radius: 18px;
    font-size: 14px;
    padding: 9px 18px;
    display: block;
    width: 240px;
    margin: 0 auto;
    outline: none;
    margin-bottom: 24px;
}
.reg-input:disabled,
.reg-input:disabled::placeholder{
    color: #ddd;
    background-color: #fff;
}
.reg-verfcode-block{
    width: 276px;
    margin: 0 auto;
    margin-bottom: 18px;
    visibility: hidden;
    cursor: pointer;
}
.reg-input-verfcode{
    width: 150px;
    margin: 0;
    border-color: #ffa726;
    display: inline-block;
    box-sizing: border-box;
}
input.error{
    color: #fb4c4c;
    font-weight: bold;
    border-color: #fb4c4c;
    background-color: #fff;
}
.reg-verfcode{
    width: 126px;
    text-align: right;
    color: #ffa726;
    font-size: 14px;
    font-family: echat;
    display: inline-block;
}
.reg-verfcode::after{
    content: '\e633';
    font-size: 15px;
    margin-left: 6px;
    vertical-align: baseline;
}
.reg-button{
    color: #fff;
    box-sizing: content-box;
    width: 240px;
    border: 0;
    outline: none;
    padding: 9px 18px;
    margin-bottom: 24px;
    border-radius: 18px;
    background-color: #ffa726;
}
.reg-button:disabled{
    background-color: #ffe4bd;
}
.reg-button-big{
    padding: 12px 18px;
}
.reg-tip{
    color: #222;
    font-size: 14px;
    text-align: center;
}
.reg-tip i {
    font-style: normal;
    color: #ffa726;
    cursor: default;
}
.reg-footer{
    line-height: 60px;
    height: 60px;
    color: #666;
    font-size: 14px;
    text-align: center;
    background-color: #fff;
}

/* 验证框 */
.reg-verfblock{
    top: 80px;
    left: 100px;
    width: 300px;
    height: 173px;
    display: none;
    font-size: 14px;
    padding: 15px 24px;
    border-radius: 9px;
    box-sizing: border-box;
    position: absolute;
    background-color: #fff;
    box-shadow: 0px 0px 12px 2px #eee;
}
.registered-validation{
    width: 100%;
    padding: 27px 0;
    position: relative;
}
.input-code{
    margin: 0;
    width: 140px;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #eee;
    height: 33px;
    padding: 0;
    border-right: 0;
    outline: none;
    padding-left: 6px;
}
.img-code{
    position: absolute;
    height: 35px;
    width: 104px;
    display: inline-block;
    vertical-align: middle;
    border: 0;
    padding: 0;
    margin: 0;
}
.confirm_btn{
    border: 0;
    background-color: #ffa726;
    color: #fff;
    padding: 6px 12px;
    border-radius: 3px;
}
.cancel_btn{
    border: 0;
    background-color: #eee;
    padding: 6px 12px;
    border-radius: 3px;
    margin-right: 24px;
}

.icon-ok{
    font-family: "echat";
    display: block;
    width: 100%;
    height: 120px;
    font-size: 103px;
    font-style: normal;
    color: #f68021;
    margin-top: 50px;
}
.icon-ok::before{
    content: "\e65a";
}
.tip-success {
    font-size: 17px!important;
}
.font-important{
    font-size: 15px;;
    color: #ffa726;
}
.tip-content{
    width: 310px;
    color: #999;
    font-size: 13px;
    text-align: center;
    margin: 18px auto 36px auto;
}
.tip-content i {
    font-style: normal;
}

.mb-tip{
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(51, 51, 51, 0.85);
    color: #fff;
    padding: 9px 18px;
    max-width: 70%;
    display: none;
    z-index: 9999999;
    border-radius: 30px;
}

/* 手机 */
.mobile-style .reg-header{
    height: 60px;
    background: url(../imgs/echat.png)no-repeat center;
    background-size: 140px;
    background-color: #fff;
}

.reg-points{
    width: 100%;
    height: 24px;
    font-size: 14px;
    text-align: center;
    padding-bottom: 21px;
}
.reg-points i{
    width: calc(25% - 40px);
    height: 1px;
    display: inline-block;
    vertical-align: middle;
    background-color: #ffa726;
}
.reg-point{
    margin: 0px 3px;
    width: 15px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
}
.mobile-style .reg-main {
    height: calc(100% - 120px);
}
.mobile-style .reg-footer{
    color: #666;
    font-size: 11px;
    text-align: center;
}
.mobile-style .reg-content{
    padding: 36px 18px;
    height: auto;
}
.mobile-style .reg-center{
    top: 21px;
    left: 50%;
    width: auto;
    font-size: 0;
    position: absolute;
    transform: translate(-50%, 0%);
}
.mobile-style .reg-title{
    font-size: 15px;
    margin-bottom: 27px;
}
.mobile-style .reg-title i{
    width: 40px;
}
.mobile-style .reg-tip{
    font-size: 13px;
}

.mobile-style .reg-verfblock{
    top: 110px;
    left: 50%;
    transform: translate(-50%, 0%);
}