/*定义公共样式区域*/
*{
    margin: 0;
    padding: 0;
    color: #333;
}
html,body{
    width: 100%;
    height: auto;
    overflow-x: hidden;
    position: relative;
    background-color: #f2f2f2;
}
a{
    text-decoration: none;
    color: #333;
}
ul{
    list-style-type: none;
}
::-webkit-scrollbar{
    width: 6px;
    height: 6px;
    background-color: #f2f2f2;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .1);
  border-radius: 3px;
}
.warp{
    width: 1240px;
    height: auto;
    margin: 50px auto;
    position: relative;
}
.clear{
    clear: both;
}
#wp{
    width: auto;
    margin-top: 0;
}
.wrapper{
    margin: 0 auto;
    width: 1240px;
}
.main{
    position: relative;
}
.flex{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.flex_center {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}


/*首页区域*/
.home{
    width: 100%;
    height: auto;
}
/*首页banner部分区域*/
.banner{
    width: 100%;
    min-width: 1240px;
    box-sizing: border-box;
    position: relative;
}
.banner>img{
    width: 100%;
}
.banner_text{
    width: 1240px;
    position: absolute;
    top: calc(50% - 83px);
    left: 0;
    right: 0;
    margin: auto;
}
.banner_text>h1{
    font-size: 40px;
}
.banner_text>p{
    font-size: 26px;
    line-height: 42px;
    margin-top: 30px;
}
/*定义右侧边栏区域样式*/
.nav{
    width: 230px;
    height: auto;
    overflow: auto;
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: 0px 1px 16px 0px rgba(0,0,0,0.04);
    padding: 30px 20px;
    padding-right: 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    font-size: 14px;
    transition: .5s;
}
.nav_ul{
    width: auto;
    height: auto;
}
.nav_ul_li{
    display: block;
    width: auto;
    height: 28px;
}
.nav_ul_li>a{
    display: block;
    width: auto;
    height: 100%;
    line-height: 28px;
    font-size: 14px;
    white-space:nowrap;
    cursor: pointer;
    user-select: none;
}
.nav_ul_li>a:hover{
    color: #d22222;
}
.nav_ul_li>a:active{
    color: #333;
}
.nav_ul_li.item1{
    font-weight: 700;
}
.nav_ul_li.item2{
    text-indent: 1.5em;
}
.nav_ul_li.item3{
    text-indent: 3em;
}
.nav_controller{
    display: block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    font-size: 16px;
    font-family: serif;
    font-weight: 500;
    border: 1px #d22222 solid;
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    user-select: none;
    transition: .5s;
}
.nav_controller:hover{
    transform: rotate(360deg);
}

/*内容部分区域样式*/
.content{
    width: 100%;
    background-color: #fff;
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;
}
.context{
    padding: 40px;
    box-shadow: 0px 1px 16px 0px rgba(0,0,0,0.1);
}
.context a{
    text-decoration: none;
    color: #0b65a1;/*#d22222*/
    word-wrap: break-word;
}
.context a:hover{
    text-decoration: none;
    color: #17bebb;
}
.context>h1{
    width: 100%;
    height: auto;
    text-align: center;
    padding-bottom: 20px;
    font-size:3.5em;
}
.context>h2{
    width: 100%;
    height: auto;
    padding-top: 20px;
    padding-bottom: 30px;
}
.context>h3{
    width: 100%;
    height: auto;
    padding-top: 30px;
    padding-bottom: 30px;
}
.context>img{
    width: auto;
    max-width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
}
.context>p{
    text-indent: 2em;
    font-size: 16px;
    line-height: 24px;
}

/*直播区域样式*/
.live{
    width: 100%;
    height: auto;
    background-color: #f2f2f2;
}
.live_p{
    width: 100%;
    height: 30px;
    line-height: 30px;
    position: relative;
}
.live_p>img{
    width: 20px;
    height: 20px;
}
.live_p>b{
    font-size: 20px;
    font-weight: 700;
    color: #333;
    padding-left: 15px;
    padding-right: 15px;
}
.live_p>span{
    font-size: 16px;
    font-weight: 700;
    color: #ccc;
}
.live_p>a{
    display: block;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    color: #999;
    position: absolute;
    right: 0;
    top: 5px;
}
.live_p>a::after{
    content: '>';
    font-family: serif;
    padding-left: 15px;
}
.live_p>a:hover{
    color:  #d22222;
}
.live_temp{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: 264px;
    grid-column-gap: 20px;
    width: 100%;
    height: auto;
    position: relative;
    margin-top: 34px;
}
.live_temp_item{
    background-color: #fff;
}
.live_temp_item_top{
    width: 100%;
    height: 160px;
}
.live_temp_item_top>img{
    width: 100%;
    height: 100%;
}
.live_temp_item_bottom{
    width: 100%;
    height: 104px;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}
.live_temp_item_bottom>p{
    width: 100%;
    height: 36px;
    font-size: 14px;
    line-height: 18px;
    color: #333;
    margin-bottom: 10px;
}
.live_temp_item_bottom>span{
    font-size: 12px;
    color: #999;
}
.live_temp_item_bottom>a{
    font-size: 14px;
    color: #d22222;
    position: absolute;
    right: 10px;
    transition: .2s;
    padding: 2px 5px;
    border-radius: 5px;
    border: 1px #d22222 solid;
}
.live_temp_item_bottom>a:hover{
    background-color: #d22222;
    color: #fff;
}

/*开发板试用&众筹区域样式*/
.development{
    width: 100%;
    height: auto;
    background-color: #ffffff;
    padding-top: 1px;
    padding-bottom: 1px;
}
.development_temp{
    width: 600px;
    float: left;
}
.development_left{
    margin-right: 40px;
}
.development_item{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: 362px;
    grid-column-gap: 20px;
    margin-top: 34px;
}
.development_item_son{
    background-color: #ffffff;
    box-shadow: 0px 11px 16px 0px rgba(0,0,0,0.1);
}
.development_item_son>img{
    width: 100%;
    height: 230px;
}
.development_item_son>p{
    width: 100%;
    padding: 20px;
    font-size: 14px;
    box-sizing: border-box;
}
.development_item_sons{
    background-color: #ffffff;
    box-shadow: 0px 11px 16px 0px rgba(0,0,0,0.1);
}
.development_item_sons>img{
    width: 100%;
    height: 184px;
}
.development_item_sons>p{
    width: 100%;
    padding: 20px 20px 43px 20px;
    font-size: 14px;
    box-sizing: border-box;
}
.development_item_son_btn{
    display: block;
    width: 120px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    background-color: #d22222;
    color: #fff;
    user-select: none;
    border-radius: 4px;
    margin-left: auto;
    margin-right: auto;
}
.development_item_son_btn:active{
    background-color: #e89090;
}
.development_item_sons_btn{
    display: block;
    width: 120px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    background-color: #22a2d2;
    color: #fff;
    user-select: none;
    border-radius: 4px;
    margin-left: auto;
    margin-right: auto;
}
.development_item_sons_btn:active{
    background-color: #90d0e8;
}

/*课程区域样式*/
.course{
    width: 100%;
    height: auto;
    background-color: #f2f2f2;
}
.course_p{
    width: 100%;
    height: 30px;
    line-height: 30px;
    position: relative;
}
.course_p>img{
    width: 20px;
    height: 20px;
}
.course_p>b{
    font-size: 20px;
    font-weight: 700;
    color: #333;
    padding-left: 15px;
    padding-right: 15px;
}
.course_p>span{
    font-size: 16px;
    font-weight: 700;
    color: #ccc;
}
.course_p>a{
    display: block;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    color: #999;
    position: absolute;
    right: 0;
    top: 5px;
}
.course_p>a::after{
    content: '>';
    font-family: serif;
    padding-left: 15px;
}
.course_p>a:hover{
    color:  #d22222;
}
.course_temp{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: 244px;
    grid-column-gap: 20px;
    width: 100%;
    height: auto;
    position: relative;
    margin-top: 34px;
}
.course_temp_item{
    background-color: #fff;
}
.course_temp_item_top{
    width: 100%;
    height: 140px;
}
.course_temp_item_top>img{
    width: 100%;
    height: 100%;
}
.course_temp_item_bottom{
    width: 100%;
    height: 104px;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}
.course_temp_item_bottom>p{
    width: 100%;
    height: 36px;
    font-size: 14px;
    line-height: 18px;
    color: #333;
    margin-bottom: 10px;
}
.course_temp_item_bottom>span{
    font-size: 12px;
    color: #999;
}
.course_temp_item_bottom>a{
    font-size: 14px;
    color: #d22222;
    position: absolute;
    right: 10px;
    transition: .2s;
    padding: 2px 5px;
    border-radius: 5px;
    border: 1px #d22222 solid;
}
.course_temp_item_bottom>a:hover{
    background-color: #d22222;
    color: #fff;
}

/*相关资讯内容区域样式*/
.information{
    width: 100%;
    height: auto;
    background-color: #ffffff;
    padding-top: 1px;
    padding-bottom: 1px;
}
.information_temp{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: repeat(2,580px);
    grid-row-gap: 40px;
    grid-column-gap: 40px;
}
.information_temp_item{
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0px 11px 16px 0px rgba(0,0,0,0.04); 
}
.information_temp_item_p{
    width: 100%;
    height: 20px;
    line-height: 20px;
    border-left: 4px #d22222 solid;
    padding-left: 10px;
    font-size: 20px;
    font-weight: 700;
    position: relative;
}
.information_temp_item_p>a{
    display: block;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #999;
    position: absolute;
    right: 0;
    top: 5px;
}
.information_temp_item_p>a::after{
    content: '>';
    font-family: serif;
    padding-left: 15px;
}
.information_temp_item_p>a:hover{
    color:  #d22222;
}
.information_temp_item>ul{
    width: 100%;
    height: auto;
    margin-top: 30px;
}
.information_temp_item>ul>li{
    font-size: 14px;
    height: 47px;
}
.information_temp_item>ul>li>a{
    display: inline-block;
    width: 100%;
    height: 100%;
    line-height: 47px;
}
.information_temp_item>ul>li>a:hover{
    color: #d22222;
}

/*footer内容样式*/
footer{
    background: #333333;
}
.footer{
    padding: 36px 0;
    box-sizing: border-box;
}
.footer h6{
    color: #fff;
}
.footer,
.footer a{
    font-size: 12px;
    line-height: 30px;
    color: #ccc;
}
.footer a:hover{
    color: #fff;
}
.footer p{
    margin-bottom: 5px;
}
.last_footer{
    background: #2B2B2B;
    color: #666;
    height: 60px;
    line-height: 60px;
    font-size: 14px;
}
.last_footer>div{
    color: #666;
}
.number-info{
    display: inline-block;
    margin: 0 0px 0 50px;
    color: #666;
}
.number-info>img{
    width: 13px;
    height: 13px;
    vertical-align: middle;
}
.flex{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.flex_space_between{
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.flex_space_between>div>p{
    color: #ccc;
}

/*移动端适配*/
@media screen and (max-width: 800px) {
    html,body{
        font-size: 62.5%;
    }
    .nav,footer{
        display: none;
    }
    .warp{
        width: 90%;
        margin: 5% auto;
    }

    /*首页banner部分区域*/
    .banner{
        width: 100%;
        min-width: 100%;
        height: 18rem;
        box-sizing: border-box;
        position: relative;
    }
    .banner>img{
        width: auto;
        height: 100%;
        position: relative;
        left: -47rem;
        opacity: 0.5;
    }
    .banner_text{
        width: 100%;
        text-align: center;
    }
    .banner_text>h1{
        font-size: 2.5rem;
    }
    .banner_text>p{
        font-size: 2rem;
        line-height: 3.5rem;
        margin-top: 1rem;/*margin-top: 3rem;*/
    }
    /*内容部分区域样式*/
    .content{
        width: 100%;
        padding-top: 1rem;
    }
    .context{
        padding: 2rem;
        box-sizing: border-box;
        margin-top: 0;
    }
    .context>span{
        font-size: 3rem;
        padding-bottom: 2rem;
    }
    .context>h2{
        font-size: 2rem;
        padding-top: 2rem;
        padding-bottom: 3rem;
    }
    .context>h3{
        font-size: 1.8rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .context>img{
        margin-top: 5rem;
        margin-bottom: 5rem;
    }
    .context>p{
        text-indent: 2em;
        font-size: 1.6rem;
        line-height: 2.4rem;
    }

    /*直播区域样式*/
    .live_p{
        width: 100%;
        height: 3rem;
        line-height: 3rem;
        position: relative;
    }
    .live_p>img{
        width: 20px;
        height: 20px;
    }
    .live_p>b{
        font-size: 2rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .live_p>span{
        font-size: 1.6rem;
    }
    .live_p>a{
        height: 2rem;
        line-height: 2rem;
        font-size: 1.4rem;
        top: .5rem;
    }
    .live_p>a::after{
        padding-left: 1.5rem;
    }
    .live_temp{
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(2,20.5rem);
        grid-column-gap: 2rem;
        grid-row-gap: 2rem;
        margin-top: 3.4rem;
    }
    .live_temp_item_top{
        height: 9rem;
    }
    .live_temp_item_bottom{
        height: 11.5rem;
        padding: 1rem;
    }
    .live_temp_item_bottom>p{
        height: auto;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    .live_temp_item_bottom>span{
        font-size: 1.2rem;
    }
    .live_temp_item_bottom>a{
        font-size: 1.4rem;
        right: 1rem;
        bottom: 1rem;
        transition: .2s;
        padding: .2rem .5rem;
        border-radius: .5rem;
    }

    /*开发板试用&众筹区域样式*/
    .development_temp{
        width: 100%;
    }
    .development_left{
        margin-right: 4rem;
        margin-bottom: 4rem;
    }
    .development_item{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: repeat(2,41.2rem);
        grid-row-gap: 2rem;
        margin-top: 3.4rem;
    }
    .development_item_son>img{
        height: 28rem;
    }
    .development_item_son>p{
        padding: 2rem;
        font-size: 1.4rem;
    }
    .development_item_sons>img{
        width: 100%;
        height: 28rem;
    }
    .development_item_sons>p{
        width: 100%;
        padding-bottom: 2rem;
        font-size: 1.4rem;
    }
    .development_item_son_btn{
        width: 12rem;
        height: 4rem;
        line-height: 4rem;
    }
    .development_item_sons_btn{
        width: 12rem;
        height: 4rem;
        line-height: 4rem;
    }
    /*课程区域样式*/
    .course_p{
        width: 100%;
        height: 3rem;
        line-height: 3rem;
        position: relative;
    }
    .course_p>img{
        width: 20px;
        height: 20px;
    }
    .course_p>b{
        font-size: 2rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .course_p>span{
        font-size: 1.6rem;
    }
    .course_p>a{
        height: 2rem;
        line-height: 2rem;
        font-size: 1.4rem;
        top: .5rem;
    }
    .course_p>a::after{
        padding-left: 1.5rem;
    }
    .course_temp{
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(2,20rem);
        grid-column-gap: 2rem;
        grid-row-gap: 2rem;
        margin-top: 3.4rem;
    }
    .course_temp_item_top{
        height: 9rem;
    }
    .course_temp_item_bottom{
        height: 11rem;
        padding: 1rem;
    }
    .course_temp_item_bottom>p{
        height: auto;
        font-size: 1.4rem;
        line-height: 1.8rem;
        margin-bottom: 1rem;
    }
    .course_temp_item_bottom>span{
        font-size: 1.2rem;
    }
    .course_temp_item_bottom>a{
        font-size: 1.4rem;
        right: 1rem;
        bottom: 2rem;
        transition: .2s;
        padding: .2rem .5rem;
        border-radius: .5rem;
    }
    /*相关资讯内容区域样式*/
    .information_temp{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: repeat(4,58rem);
        grid-row-gap: 4rem;
    }
    .information_temp_item{
        padding: 3rem;
    }
    .information_temp_item_p{
        height: 2rem;
        line-height: 2rem;
        border-left: .4rem #d22222 solid;
        padding-left: 1rem;
        font-size: 2rem;
    }
    .information_temp_item_p>a{
        height: 2rem;
        line-height: 2rem;
        font-size: 1.4rem;
        top: .5rem;
    }
    .information_temp_item_p>a::after{
        padding-left: 1.5rem;
    }
    .information_temp_item>ul{
        width: 100%;
        height: auto;
        margin-top: 3rem;
    }
    .information_temp_item>ul>li{
        font-size: 1.4rem;
        height: 4.7rem;
    }
    .information_temp_item>ul>li>a{
        line-height: 1.8rem;
    }
    .pc_show{
        display: none;
    }
    .m_show{
        display: block;
    }
}