/*
   apply.css
   IOT报名页样式文件

   Created by lc on 2016-06-02.
   Copyright 2016 lc. All rights reserved.
*/
/*banner*/
.banner_img{
    background-position: top center;
    height:300px ;
    display: block;
    position: relative;
    background-size: auto 100%;
}
#apply_form{
    width: 930px;
    margin: 80px auto;

}
#apply_form legend{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;

}
.apply_form_section{
    border: 1px solid #ddd;
    margin-bottom: 40px;
}
.section_title{
    background: #F2F2F2;
    font-weight: normal;
    line-height:45px ;
    border-bottom: 1px solid #ddd;
    padding:0 20px;
}

.section_content{
    padding: 20px;
}
/*表单项*/
.apply_form_dl{
    display: block;
    margin-bottom: 40px;
}
.apply_form_dt{
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
    float: left;
    text-align: right;
    padding-top: 8px;
    width: 100px;

}
.apply_for_dd{
    float: left;
    width: 760px;
}
.apply_form_dd input{

    border: 1px solid #ddd;
    padding: 0 10px;
    line-height: 35px;
    height: 35px;

    width: 350px;

}
.apply_form_dd .select_box{
    width: 345px;
}
/*支付详情*/
.apply_type{
    width: 100%;
}
.apply_type th{
    font-weight: normal;
}
.apply_type td{
    line-height: 45px;
    text-align: center;
}
.apply_type.for_touch{
    display: none;
}
/*支付方式*/
.apply_pay input{
    border: none;
    width: auto;
    height: auto;
    vertical-align: middle;
    margin-right: 20px;
    float: left;
    margin-top: 25px;
}
.apply_pay .img_box{

    width: 120px;
    float: left;
    margin-right: 20px;
    padding: 10px 30px;
    vertical-align: middle;
    border: 1px solid #ddd;
}
/*底部按钮*/
.bottom_btns{
    text-align: center;
}
.bottom_btns .btn{
    margin: 0 10px;
    width: 150px;
    line-height: 25px;
    font-size: 16px;
}
.bottom_btns .btn_back{
    background: #999999;
    color: #fff;
}
.bottom_btns .btn_back:hover{
    background: #666666;
}
/* ============================================================ */
/* = 响应式样式 = */
/* ============================================================ */

/* 平板电脑和小屏电脑之间的分辨率 */
@media (max-width: 979px) {
    /*banner*/
    #page_banner{
        height: 200px;
    }
    #apply_form{
        width: auto;
        padding: 30px 0;
        margin: 0 10px;
        box-sizing: border-box;
    }
    /*表单选项*/
    .apply_form_dl{
        margin-bottom: 20px;
    }
    .apply_form_dt{
        text-align: left;
        float: none;
        width: auto;

    }
    .apply_for_dd{
        float: none;
        width: auto;
    }

}

/* 横向放置的手机和竖向放置的平板之间的分辨率 */
@media (max-width: 767px) {
    /*支付详情*/
    .apply_type.for_pc{
        display: none;
    }
    .apply_type.for_touch{
        display: block;
        margin-bottom: 40px;
    }
    .apply_type dl{
        border: 1px solid #ddd;
        border-top: none;
        background: #FFF;
        line-height: 50px;
        font-size: 16px;
        padding: 0 20px;

    }
    .apply_type dl:first-child{
        border-top: 1px solid #ddd;
    }
    .apply_type dt{
        float: left;
    }
    .apply_type dd{
        float: left;
        color: #999;
        padding-left: 20px;
    }
    /*支付方式*/
    .apply_pay input{
        margin-right: 10px;
        margin-top: 20px;
    }
    .apply_pay .img_box{
        padding: 10px 20px;
        height: 30px;
    }


}


/* 横向放置的手机及分辨率更小的设备 */
@media (max-width: 480px) {
    #page_border{
        background: #F2F2F2;
    }
    #apply_form{
        padding: 20px 0;
    }
    #apply_form legend{
        font-size: 16px;
        margin-bottom: 10px;
    }
    .apply_form_section {
        border: none;
        margin-bottom: 10px;
    }
    .section_title{
        border-bottom: none;
        padding: 0;
        font-size: 16px;
    }
    .section_content{
        padding: 10px;
        background: #fff;
    }
    .apply_form_dl{
        margin-bottom: 15px;
    }
    .apply_form_dd input{
        width: 100%;
        box-sizing: border-box;
    }
    .apply_form_dd .select_box{
        width: 100%;
        box-sizing: border-box;
    }
    /*支付信息*/
    .apply_type.for_touch{
        margin-bottom: 10px;
    }
    .apply_type dl{
        border: none;
        border-bottom: 1px dotted #ddd;
    }
    .apply_type dl:first-child{
        border-top: none;
    }
    /*支付方式*/
    .apply_pay input{
        display: none;
    }
    .apply_pay .img_box{
        box-sizing: border-box;
        display: inline-block;
        padding:5px;
        height: 50px;
        width: 100%;
    }
    .apply_pay label img{
        width: auto;
        max-height: 100%;
        box-sizing: border-box;
    }
    .apply_pay .img_box:first-of-type{
        margin-bottom: 10px;
    }
    .apply_pay input:checked + label{
        border: 1px solid #D22222;
        position: relative;
        overflow: hidden;
    }
    .apply_pay input:checked + label:after{
        content: "√";
        font-family:symbol;
        font-weight:bolder;
        line-height: 20px;
        font-size: 10px;
        width: 20px;
        text-align: center;
        color: #fff;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }
    .apply_pay input:checked + label:before{
        content: "";
        display: block;
        position: absolute;
        right: -20px;
        top: -20px;
        background: #D22222;
        width: 40px;
        height: 40px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    /*底部按钮*/
    .bottom_btns .btn_pay{
        margin: 0 auto;
        width: 100%;
        border-radius: 40px;
    }
    .bottom_btns .btn_back{
        display: none;
    }






}
/* ==================================================================== */
/* = 报名成功,失败页 = */
/* ===================================================================== */
#success_tips,#failed_tips{
    padding: 50px 0;

}
#failed_tips strong{
    color: #999;
    display: block;
    text-align: right;
    font-weight: 100;
    font-size: 16px;
}
.success_title,.failed_title{
    text-align: center;
    font-size: 18px;
    padding: 60px 0;
}
.success_title big,.failed_title big{
    position: relative;
    line-height: 45px;

    padding-left: 60px;
    font-size: 28px;
    font-weight:400;
}
.success_title .icon_success,.failed_title .icon_failed{
    display: block;
    position: absolute;
    left: 0;
    top: 50%;

    margin-top: -22px;
    width: 45px;
    height: 45px;
    background: url(../images/success_ico.png) no-repeat center center;
}
.failed_title .icon_failed{
    background: url(../images/fail_ico.png) no-repeat center center;
}
.success_title p,.failed_title p{
    padding-top: 20px;
    color: #666666;
}
.time_place{
    width: 310px;
    margin:20px auto 0 auto;
    text-align: left;
    color: #666666;
    font-size: 14px;
}
/* ============================================================ */
/* = 响应式样式 = */
/* ============================================================ */
/* 平板电脑和小屏电脑之间的分辨率 */
@media (max-width: 979px) {

}

/* 横向放置的手机和竖向放置的平板之间的分辨率 */
@media (max-width: 767px) {

    .apply_success_li{
        width: auto;
        padding: 25px 15%;
    }
}

/* 横向放置的手机及分辨率更小的设备 */
@media (max-width: 480px) {
    #failed_tips strong{
        text-align: center;
    }


    .success_title,.failed_title{
        margin-bottom: 25px;
        font-size: 16px;
        padding:10px 0;
    }
    .time_place{
        width: auto;
    }

}