body {
    background: #F8F9FA;
    font-family: PingFang-SC-Medium;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/*主体部分开始 */

.login-box {
    width: 460px;
    /* height: 284px; */
    background: #FFFFFF;
    box-shadow: 1px 1px 14px 0px rgba(0, 0, 0, .04);
    border-radius: 10px;
    box-sizing: border-box;
}

.login-box .cut-type {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.hover:hover {
    cursor: pointer;
}

.login-box .cut-title {
    height: 34px;
    line-height: 34px;
    text-align: center;
    background: #ECF8F3;
    border-radius: 4px;
    font-size: 14px;
    color: #1CB877;
    padding: 0 10px;
}

.login-box .cut-title::before {
    content: '';
    width: 0;
    height: 0;
    right: 56px;
    top: 28px;
    position: absolute;
    border-top: 4px solid transparent;
    border-left:8px solid #ECF8F3;
    border-bottom: 4px solid transparent;
}
.login-method-qr {
    text-align: center;
    color: #333333;
    font-size: 20px;
    font-weight: bold;
    line-height: 80px;
}
.login-method-qr-title {
    text-align: center;
    font-size: 16px;
    color: #999999;
}
.green {
    color: #1CB877;
}
.login-box .login-method {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    margin-bottom: 20px;
}


.login-box .login-method span {
    width: 2px;
    height: 20px;
    background: #D8D8D8;
}

.login-box .login-method .by-code, .login-box .login-method .by-phone {
    position: relative;
}

/*选中状态*/
.login-box .login-method .active {
    color: #1CB877;
}

.login-box .login-method .active::before {
    content: '';
    display: block;
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 40px;
    height: 3px;
    margin-left: -20px;
    background: #1CB877;
}

.mask p {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.free_reg_div1 {
    display: flex;
    justify-content: center;
    color: #666666;
    text-decoration: none;
}

.free_reg_div1 span {
    margin: 0 8px;
    color: #333333;
}
/*手机登录*/
.phone-way {
    width: 100%;
    padding: 50px 80px;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    color: #333333;
}

.pwd_password {
    max-width: 300px !important;
    overflow: hidden;
}
.phone-way .input-box {
    position: relative;
    border-radius: 2px;
    width: 100%;
    font-size: 16px;
    color: #1CB877;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.phone-way .err-message {
    font-style: normal;
    font-size: 14px;
    position: absolute;
    top: 48px;
    left: 0px;
    color: red;
    display:none;
}

.phone-way > div img {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 13px;
    left: 5px;
}

.phone-way > p {
    margin: 0;
    font-size: 12px;
    color: #666666;
    width: 325px;
    display: flex;
    justify-content: space-between;
}

.phone-way > p span {
    cursor: pointer;
}

.phone-way > p a {
    font-size: 12px;
}

/*二维码*/
.login-box .qr-code {
    text-align: center;
    position: relative;
}

.login-box .qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 14px 0;
}
.login-box .qr-code .pic {
    display: flex;
    justify-content: center;
    align-items: center;
    border:1px solid #EEEEEE;
}


.login-box .qr-code .mask {
    position: absolute;
    width: 164px;
    height: 164px;
    top: 0;
    left: 148px;
    opacity: .9;
    color: #FFFFFF;
    font-size: 14px;
    background: #333333;
    cursor: pointer;
    display:none;
    border-radius: 2px;
}
.mask p {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

input {
    width: 100%;
    height: 46px;
    line-height: 46px;
    box-sizing: border-box;
    text-align: left;
    border: 1px solid #C8CCCF;
    color: #6A6F77;
    -web-kit-appearance: none;
    -moz-appearance: none;
    display: block;
    outline: 0;
    text-decoration: none;
    padding-left: 30px;
}

input:focus {
    border: 1px solid #1CB877;
}

::-webkit-input-placeholder {
    /* WebKit browsers */
    font-family: PingFang-SC-Medium;
    font-size: 14px;
    color: #666666;
    letter-spacing: 1px;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    font-family: PingFang-SC-Medium;
    font-size: 14px;
    color: #666666;
    letter-spacing: 1px;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    font-family: PingFang-SC-Medium;
    font-size: 14px;
    color: #666666;
    letter-spacing: 1px;
}

:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    font-family: PingFang-SC-Medium;
    font-size: 14px;
    color: #666666;
    letter-spacing: 1px;
}

/*手机登录结束*/


.login-box > a {
    text-align: center;
    display: block;
    font-size: 12px;
    color: #666666;
    padding-bottom: 10px;
    text-decoration: none;
}

.login-box a:hover {
    color: #1CB877;
}

.login-box label {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #333333;
}

.login-box label a {
    display: inline-block;
    color: #1CB877;
    text-decoration: none;
}

/*隐藏掉我们模型的checkbox*/
.login-box .input_agreement_protocol {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    display: none;
    cursor: pointer;
}

/*未选中时*/
.login-box .input_agreement_protocol + span {
    width: 13px;
    height: 13px;
    margin-right: 5px;
    background-color: red;
    background: url(/resources/images/pc/uncheck.png) no-repeat;
    display: inline-block;
    position: relative;
    top: 2px;
    border-radius: 2px;
    cursor: pointer;
}

/*选中checkbox时,修改背景图片的位置*/
.login-box .input_agreement_protocol:checked + span {
    /*background-position: 0 0px*/
    background: url(/resources/images/pc/checked.png) no-repeat;
    border-radius: 2px;
    cursor: pointer;
}

/*其他方式*/
.login-box .other-method {
    text-align: center;
    font-size: 14px;
    color: #666666;
    background-color: #F2F2F2;
    padding: 10px 0;
    height: 18px;
    line-height: 18px;
    overflow: hidden;
    transition: all .2s linear;
    cursor: pointer;
}

.login-box .open {
    height: 60px;
    transition: all .2s linear;
}

.login-box .open p img {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transition: transform .5s;
}

.login-box .other-method p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.login-box .other-method p span {
    margin-right: 6px;
}

.login-box .other-method .icon {
    margin-top: 10px;
    cursor: pointer;
}

.login-box .other-method .icon img {
    vertical-align: middle;
}

.phone-way #pwd a {
    font-size: 14px;
    position: absolute;
    top: 48px;
    right: 0;
    text-decoration: none;
}
.input_agreement_error {
    line-height: 26px;
    text-align: center;
}
.input_agreement_error .err-message {
    font-style: normal;
    font-size: 14px;
    color: red;
    display:none;
}


/* QQ不可登录提示 */
.login-box  .qr-code .mask_qq {
    position: absolute;
    width: 280px;
    height: 50px;
    top: 60px;
    opacity: .9;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 22px;
    background: #333333;
    padding: 20px 1px;
    cursor: pointer;
    text-align:center;
    border-radius: 5px;
}


/* 点击登录后 */

.phone-way #submit {
    width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1CB877;
    border-radius: 6px;
    font-size: 16px;
    color: #FFFFFF;
    margin-top: 30px;
}

.phone-way #submit img {
    position: static;
    width: 26px;
    margin-right: 6px;
    vertical-align: middle;
    display:none;
}

.qr-way #auth {
    width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1CB877;
    border-radius: 6px;
    font-size: 16px;
    color: #FFFFFF;
    margin-top: 30px;
}

.qr-way #auth img {
    position: static;
    width: 26px;
    margin-right: 6px;
    vertical-align: middle;
    display:none;
}


.free_reg_div {
    width: 100%;
    font-size: 14px;
    color: #333333;
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.need_line {
    text-decoration: none;
}
.need_line:hover {
    text-decoration:underline !important;
}
/* 大礼包 */

.gift-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 278px;
    height: 42px;
    background: #FFF4EA;
    border-radius: 0px 21px 21px 21px;
    color: #FF7412;
    font-size: 14px;
    margin: 30px auto 15px;
}
.gift-title {
    position: absolute;
    left: 0;
    top: 0px;
    margin-top: -12px;
    color: #FFFFFF;
    font-size: 12px;
    width: 85px;
    height: 21px;
    line-height: 21px;
    text-align: center;
    background: linear-gradient(0deg, #FE6F18 0%, #FF8108 100%);
    border-radius: 0px 10px 10px 12px;
}
.gift-icon {
    width: 52px;
    height: 32px;
    margin-left: 15px;
}
