/**!
 * 奉贤圆梦行动-注册1
 * author: lucw;
 * date:2017-05-23
 */

/* main */
.ewb-main {
    margin-top: 20px;
    background-color: #fff;
}
.ewb-degree {
    margin: 0 112px;
    /* margin-top: 70px; */
    position: relative;
    /* 0603 */
    padding-top: 70px;
}

.ewb-degree-bot {
    position: relative;
}

.ewb-gray-line {
    position: absolute;
    top: 39px;
    left: 14px;
    right: 14px;
    display: block;
    height: 2px;
    background-color: #e2e2e2;
}

.ewb-color-line {
    position: absolute;
    z-index: 1;
    left: 14px;
    top: 39px;
    width: 0;
    height: 2px;
    background-color: #ff9425;
}

.ewb-ball {
    position: absolute;
    top: 33px;
}

.ewb-ball.start {
    left: 0;
}

.ewb-ball.end {
    right: 0;
}

.ewb-color-line.w01 {
    width: 190px;
}

/* 主体内容 */

.ewb-gbox {
    position: relative;
    z-index: 10;
    padding: 0 14px;
}

.ewb-gbox.gbox01 {
    background: url('../images/line_color.png') 39px repeat-y;
}

.ewb-gbox-ul {
    margin: 0 auto;
    width: 80%;
}

.ewb-gbox-num {
    width: 33.3%;
}

.ewb-box-main {
    margin: 0 auto;
    display: block;
    width: 79px;
    height: 79px;
    line-height: 79px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.ewb-box-main.gbox-red {
    background-image: url('../images/l_ball.png');
}

.ewb-box-main.gbox-gray {
    color: #ff9425;
    background-image: url('../images/lg_ball.png');
}

/* 文字 */
.ewb-degree-para {
    margin-top: 16px;
    text-align: center;
}

.ewb-degree-para > span {
    font-size: 17px;
    color: #666;
}

.ewb-gbox-num > p > span.cur {
    color: #ff9425;
    font-weight: bold;
}

/* 横向放置的手机和竖向放置的平板之间的分辨率 */

@media (max-width: 767px) {
    .ewb-main{
        margin-top: 16px;
    }
    .ewb-degree {
        margin: 0 50px;
        /* margin-top: 70px; */
    }

    .ewb-gbox-ul {
        width: 100%;
    }
    .ewb-color-line.w01 {
        width: 16.6%;
    }
    .ewb-box-main {
        width: 60px;
        height: 60px;
        line-height: 60px;
    }

    .ewb-ball {
        top: 24px;
    }

    .ewb-gray-line {
        top: 30px;
    }

    .ewb-color-line {
        top: 30px;
    }

    .ewb-degree-para > span {
        font-size: 16px;
    }
}

/* 横向放置的手机及分辨率更小的设备 */
@media (max-width: 480px) {
    .ewb-degree {
        margin: 0;
        /* margin-top: 30px; */
    }

    .ewb-box-main {
        width: 48px;
        height: 48px;
        line-height: 48px;
    }

    .ewb-ball {
        top: 18px;
    }

    .ewb-gray-line {
        top: 24px;
    }

    .ewb-color-line {
        top: 24px;
    }

    .ewb-degree-para > span {
        font-size: 13px;
    }
}

/* 选择 */
.ewb-choose-wrap {
    margin-top: 96px;
    text-align: center;
}

.ewb-choose {
    display: inline-block;
    font-size: 17px;
    color: #666;
}

.ewb-choose {
    *display: inline;
}

.ewb-choose-name {
    margin-right: 5px;
}

.ewb-choose > label {
    position: relative;
    padding-left: 20px;
    display: inline-block;
    /* width: 47px; */
    cursor: pointer;
    /* 0603 */
    width: 67px;
}

.ewb-choose > label > input {
    width: 0;
    height: 0;
}

.ewb-mod-check {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    background: url(../images/check.png);
}

.ewb-mod-check.cur {
    background: url(../images/checked.png);
}

/* 横向放置的手机及分辨率更小的设备 */
@media (max-width: 480px) {
    .ewb-choose-wrap {
        margin-top: 56px;
    }

    .ewb-choose {
        font-size: 15px;
    }
}

/* 按钮 */
.ewb-okay-btnwrap {
    padding-bottom: 134px;
}

.ewb-okay-btn {
    margin: 0 auto;
    margin-top: 60px;
    display: block;
    width: 358px;
    height: 50px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    border: 0;
    outline: 0;
    border-radius: 5px;
    background-color: #ff9425;
}

.ewb-okay-btn:hover {
    background-color: #ef8415;
}

/* 横向放置的手机及分辨率更小的设备 */
@media (max-width: 480px) {
    .ewb-okay-btnwrap {
        padding-bottom: 80px;
    }

    .ewb-okay-btn {
        margin-top: 50px;
        width: 80%;
        height: 40px;
        font-size: 16px;
    }
}
