/*重置样式*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video,input {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "Microsoft Yahei";
    vertical-align: baseline;
    box-sizing: border-box;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
    content: none;
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    /*vertical-align: middle;*/
    outline: none;
    border: 0;
}

ul,li {
    list-style: none;
}
.fl{
    float: left;
}
.fr{
    float: right;
}
.clear {
    clear: both;
}

a {
    text-decoration: none;
    color: #000;
}

/*重置结束*/

/*大容器*/
.wrapper{
    max-width: 640px;
    margin: 0 auto;
    background: #e8e8e8;
    position: relative;
    overflow: hidden;
}

.wrapper a{
    display: block;
    width: 100%;
    height: 100%;
}

/*header*/
header{
    width: 100%;
    height: .67rem;
    background: #1d2025;
    display: flex;
    justify-content: left;
    align-items: center;
}
header .logo{
    margin-left: .2rem;
    width: 3.63rem;
    height: .45rem;
    background: url("../../img/courses/logo.png") no-repeat;
    background-size: 100% 100%;
}

/*nav*/
nav{
    width: 100%;
    height: .46rem;
    display: flex;
    align-items: center;
}
nav .nav-bar{
    width: 5.2rem;
    height: .25rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
nav .nav-bar li{
    color: #000;
    font-size: 25px;
}
.act{
    color: #357dcf;
}

/*banner*/
.banner{
    width: 100%;
}
.banner img{
    width: 100%;
    text-align: center;
    font-size: 20px;
}

/*title*/
.title{
    width: 3.66rem;
    height: .95rem;
    margin: .48rem auto 0;
    background: url("../../img/courses/title.png") no-repeat;
    background-size: 100% 100%;
}

/*btn*/
.btn{
    width: 6.04rem;
    height: .51rem;
    background: url("../../img/courses/btn.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: .39rem;
    left: .08rem;
}

.p1,.p2,.p3,.p4{
    width: 6.2rem;
    position: relative;
    margin: .32rem auto;
}
/*各P*/
.p1{
    height: 9rem;
    background: url("../../img/courses/p1-content.png") no-repeat;
    background-size: 100% 100%;
}
.p2{
    height: 7.63rem;
    background: url("../../img/courses/p2-content.png") no-repeat;
    background-size: 100% 100%;
}
.p3{
    height: 5.61rem;
    background: url("../../img/courses/p3-content.png") no-repeat;
    background-size: 100% 100%;
}
.p4{
    height: 7.77rem;
    background: url("../../img/courses/p4-content.png") no-repeat;
    background-size: 100% 100%;
}

/*p6*/
.p5{
    width: 100%;
    position: relative;
    margin-bottom: .6rem;
}
.p5 img{
    width: 100%;
    text-align: center;
    font-size: 20px;
}
.p5-form{
    width: 3.94rem;
    height: 2.03rem;
    position: absolute;
    left: 50%;
    bottom: .51rem;
    margin-left: -1.97rem;
    z-index: 9;
}
.p5-form input{
    width: 100%;
    height: .57rem;
    border-radius: 5px;
    margin-bottom: .16rem;
    padding: 0 .38rem;
}
.p5-form button{
    width: 100%;
    height: .57rem;
    background: url("../../img/p6-btn.png") no-repeat;
    background-size: 100% 100%;
    border: 0;
}

/*响应式字体*/
@media screen and (min-width: 650px){
    .p6-form input{
        font-size: 20px;
    }
    .teacher-mask h3{
        font-size: 20px;
    }
}
@media screen and (max-width: 414px) and (min-width: 376px){
    nav .nav-bar li{
        font-size: 18px;
    }
    .p5-form input{
        font-size: 14px;
    }
}
@media screen and (max-width: 375px){
    nav .nav-bar li{
        font-size: 14px;
    }
    .p5-form input{
        font-size: 12px;
    }
}