﻿/**!
 * 中国许昌-注册
 * author: wangkai;
 */

body {
    background: url(../images/reg_bg.jpg) center top no-repeat #eee;
}


/* main */

.ewb-main-part {
    padding-top: 70px;
    padding-bottom: 40px;
    min-height: 594px;
}


/* header*/

.ewb-reg-header {
    height: 146px;
}

.ewb-logo {
    float: left;
    margin: 0;
    margin-top: 32px;
}

.ewb-reg-logo {
    float: left;
    margin: 49px 0 0 32px;
    width: 137px;
    height: 35px;
}

.ewb-login-btn {
    float: right;
    margin-top: 62px;
    padding-left: 27px;
    height: 18px;
    line-height: 18px;
    font-size: 15px;
    color: #444;
    background: url(../images/login_ico.png) left no-repeat;
}

.ewb-login-btn:hover {
    color: #f00;
}

@media (min-width: 768px) and (max-width: 979px) {
    .ewb-logo {
        margin-left: 10px;
    }
    .ewb-login-btn {
        margin-right: 10px;
    }
}

@media (max-width: 767px) {
    .ewb-logo {
        float: none;
        display: block;
        margin: 10px auto 0;
    }
    .ewb-reg-logo {
        margin: 15px 0 0 10px;
    }
    .ewb-login-btn {
        margin: 25px 10px 0 0;
        font-size: 12px;
    }
}


/* main */

.ewb-reg-list {
    width: 100%;
}

.ewb-reg-node {
    padding: 10px 0;
    vertical-align: top;
    position: relative;
}

.ewb-reg-tt {
    float: left;
    width: 30%;
    height: 34px;
    line-height: 34px;
    text-align: right;
    margin-right: 14px;
    font-size: 15px;
    color: #444;
}

.ewb-reg-tt span {
    margin-right: 8px;
    color: #f00;
}

.ewb-reg-input {
    float: left;
    padding-left: 10px;
    width: 29%;
    height: 32px;
    line-height: 32px;
    border: 1px solid #ddd;
}

.ewb-reg-input.short {
    width: 14%;
}

.ewb-form-safe {
    float: left;
    padding: 5px 0 0 15px;
}

.ewb-form-safe li {
    float: left;
    width: 50px;
    vertical-align: top;
}

.ewb-safe-ico {
    margin-left: -1px;
    height: 6px;
    border: 1px solid #dddddd;
    background: url(../images/safe_bg.jpg) repeat-x;
}

.ewb-sefe-name {
    display: block;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    color: #444;
}

.ewb-weak.cur .ewb-safe-ico, .ewb-medium.cur .ewb-safe-ico, .ewb-strong.cur .ewb-safe-ico {
    border: 1px solid #006bc5;
    background: none;
    background-color: #006bc5;
}

.ewb-get-code {
    float: left;
    margin-left: 15px;
    width: 13.5%;
    height: 34px;
    line-height: 34px;
    text-align: center;
    font-size: 15px;
    color: #fff;
    background-color: #97c9eb;
}

.ewb-gender {
    padding-left: 10px;
}

.ewb-gender input {
    float: left;
    margin-top: 11.5px;
    width: 11px;
    height: 11px;
}

.ewb-gender span {
    float: left;
    margin: 0 10px;
    line-height: 34px;
    font-size: 15px;
    color: #444;
}

.ewb-reg-node.h22 .ewb-reg-tt {
    height: 22px;
    line-height: 22px;
}

.ewb-reg-chk {
    float: left;
    margin-top: 5px;
    width: 13px;
    height: 13px;
}

.ewb-reg-remind {
    float: left;
    line-height: 22px;
    margin-left: 8px;
    font-size: 14px;
    color: #0086e4;
}

.ewb-reg-node.last {
    padding: 0;
    padding-top: 16px;
}

.ewb-reg-btn, .ewb-cancel {
    float: left;
    margin-right: 4%;
    width: 12%;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.ewb-reg-btn {
    color: #fff;
    border: 0;
    background-color: #00b67c;
}

.ewb-reg-btn:hover {
    background-color: #00a26f;
}

.ewb-cancel {
    color: #0a79bf;
    border: 1px solid #c8ddf4;
    background-color: #eaf2fa;
}

.ewb-cancel:hover {
    background-color: #dce9f7;
}

label.error {
    float: left;
    color: #f00;
    margin-left: 15px;
    padding-left: 24px;
    height: 34px;
    line-height: 34px;
    background: url(../images/wrong.png) left center no-repeat;
}

label.error.valid {
    float: left;
    width: 34px;
    height: 34px;
    background: url(../images/valid.png) left center no-repeat;
}

.ewb-reg-input.error {
    border: 1px solid #f00;
}

#agree-error {
    position: absolute;
    left: 53%;
    height: 22px;
    line-height: 22px;
}

#password-error {
    position: absolute;
    left: 78%;
}

#vCode-error {
    position: absolute;
    left: 61.5%;
}

@media (min-width: 768px) and (max-width: 979px) {

}

@media (min-width: 768px) and (max-width: 979px) {
    #password-error {
        left: 84%;
    }
    #vCode-error {
        left: 62.4%;
    }
    #agree-error {
        left: 62.4%;
    }
}

@media (max-width: 767px) {
    .ewb-main-part {
        padding-top: 10px;
        padding-bottom: 10px;
        min-height: auto;
    }
    .ewb-reg-node {
        padding: 0;
        padding-left: 10px;
    }
    .ewb-reg-tt {
        width: 87%;
        text-align: left;
        height: 30px;
        line-height: 30px;
        font-size: 12px;
    }
    .ewb-reg-tt.short {
        width: 55px;
        margin-right: 0;
    }
    .ewb-reg-node.h22 .ewb-reg-tt, .ewb-reg-node.last .ewb-reg-tt {
        display: none;
    }
    .ewb-gender span {
        line-height: 30px;
    }
    .ewb-gender input {
        margin-top: 9.5px;
    }
    .ewb-reg-node.last {
        padding-top: 10px;
    }
    .ewb-reg-input {
        width: 87%;
        height: 28px;
        line-height: 28px;
        font-size: 12px;
    }
    .ewb-reg-input.short {
        width: 47%;
    }
    .ewb-get-code {
        width: 35%;
        margin-left: 5%;
        height: 30px;
        line-height: 30px;
    }
    .ewb-reg-btn, .ewb-cancel {
        margin-left: 10px;
        width: 40%;
    }
    label.error {
        width: 80%;
        margin-left: 5px;
        height: 20px;
        line-height: 20px;
        font-size: 12px;
    }
    label.error.valid {
        width: 16px;
        height: 30px;
        margin-left: 5px;
        padding: 0;
        font-size: 12px;
    }
    #agree-error {
        position: absolute;
        left: 10px;
        top: 22px;
        height: 22px;
        line-height: 22px;
    }
    #agree-error.valid {
        left: 240px;
        top: 0;
    }
    .ewb-reg-chk.error {
        margin-bottom: 22px;
    }
    #password-error {
        position: absolute;
        left: 10px;
        top: 60px;
    }
    #password.error {
        margin-bottom: 22px;
    }
    #password-error.valid {
        position: relative;
        top: 0;
        left: 0;
    }
    #vCode-error {
        position: absolute;
        left: 10px;
        top: 60px;
    }
    .ewb-reg-input.short.error {
        margin-bottom: 22px;
    }
    #vCode-error.valid {
        position: absolute;
        top: 30px;
        left: 87%;
        padding-left: 15px;
        background: url(../images/valid.png) 15px center no-repeat;
    }
    
}

.form-row {
    margin: 15px 20px;
}
