/***************专题竞赛 start*************/
.subject_box{
    width:100%;
    margin:15px auto 0;
    overflow:hidden;
}
.subject_list{
    float:left;
    width:calc((100% - 45px)/2);
    margin-left:15px;
}
.subject_list li a{
    display:block;
    width:100%;
    border-radius:5px;
    margin-bottom:15px;
    overflow:hidden;
}
.subject_list li img{
    width:100%;
}
/***************专题竞赛 end*************/

/***************每日一题 start*************/
.banner{
    width:calc(100% - 30px);
    margin:15px auto 0;
}
.banner img{
    width:100%;
    border-radius:6px;
}
.daily{
    width:100%;
    overflow:hidden;
}
.daily_up{
    width:100%;
    padding:15px 0;
    border-bottom:10px solid #f4f4f4;
    overflow:hidden;
}
.daily_up a{
    position:relative;
    display:block;
    width:calc(100% - 30px);
    background:url('../images/daily_bg.jpg') no-repeat;
    background-size:100% 100%;
    box-shadow:0 1px 5px rgba(0,0,0,.1);
    border-radius:5px;
    margin:0 auto;
    overflow:hidden;
}
.daily_up a img{
    position:absolute;
    left:0;
    top:0;
    width:40px;
}
.daily_nr{
    position:relative;
    width:100%;
    padding:10px 50px 10px 30px;
    margin:0 auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.daily_nr h3{
    width:100%;
    line-height:30px;
    color:#fcf197;
    overflow:hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.daily_nr span{
    display:inline-block;
    line-height:26px;
    border-radius:5px;
    color:#fff8bf;
    font-size:1.4rem;
    margin-top:5px;
    overflow:hidden;
}
.daily_up a i {
    position:absolute;
    top:50%;
    right:10px;
    height:30px;
    line-height:24px;
    border-radius:30px;
    color:#fcf197;
    font-size:2.2rem;
    margin-top: -15px;
    text-align: center;
}
.daily_down h1{
    position:relative;
    width:calc(100% - 30px);
    line-height:30px;
    font-size:1.65rem;
    color:#ff7628;
    padding-left:18px;
    margin:10px auto 0;
    box-sizing: border-box;
}
.daily_down h1::before{
    content:'';
    position:absolute;
    left:0;
    top:5px;
    width:8px;
    height:20px;
    background:#ff7628;
    border-radius:2px;
}
.daily_down h1::after{
    content:'';
    position:absolute;
    left:10px;
    top:5px;
    width:3px;
    height:20px;
    background:#ff7628;
    border-radius:2px;
}

.subject_test{
    width:100%;
    padding-top:10px;
    margin:0 auto;
    overflow:hidden;
}
.subject_test li{
    position:relative;
    width:calc(100% - 30px);
    background:#fff5f5;
    border-radius:8px;
    padding:10px 0;
    margin:0 auto 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.subject_test li a{
    display:block;
    width:100%;
    overflow:hidden;
}
.subject_test li h2{
    width:100%;
    border-radius:5px 5px 0 0;
    font-size:1.6rem;
    font-weight:normal;
    line-height:30px;
    color:#000;
    padding: 0 45px 0 10px;
    margin:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.subject_test li span.long{
    display:block;
    width:100%;
    line-height:30px;
    color:#666;
    font-size:1.4rem;
    padding: 0 45px 0 10px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.subject_test li i{
    position:absolute;
    top:50%;
    right:10px;
    width:30px;
    height:30px;
    line-height:30px;
    background:#ff7628;
    border-radius:50%;
    color: #fff;
    font-size: 1.8rem;
    margin-top:-15px;
    text-align: center;
}

@media(max-width:350px){
    .daily_nr h3,.subject_test li h2{ font-size:1.4rem;}
    .daily_nr span,.subject_test li span.long{ font-size:1.3rem;}
}
/***************每日一题 end*************/

/***************试卷信息概览页 start*************/
.message{
    position:absolute;
    left:20px;
    top:100px;
    z-index:999;
    width:calc(100% - 40px);
    height:calc(100% - 200px);
}
.message_nav{
    width:100%;
    padding:30px 0 0;
    margin:0 auto;
    overflow:hidden;
}
.message_nav>h1{
    font-size:1.8rem;
    line-height:26px;
    color:#b60100;
    margin-bottom:10px;
    text-align:center;
    overflow:hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp:2;
}
.message_nav>p{
    width:100%;
    font-size:1.5rem;
    color:#fff;
    padding-bottom:10px;
    text-align:center;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.mess_list{
    width:100%;
    padding:10px 0;
    overflow:hidden;
}
.mess_list span{
    display:block;
    width:100%;
    line-height:42px;
    color:#333;
    font-size:1.5rem;
    overflow:hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp:2;
}
.mess_list span i{
    display:inline-block;
    width:24px;
    height:24px;
    background:url("../images/icon_sc1.png") no-repeat center;
    background-size:cover;
    vertical-align: -6px;
    cursor: pointer;
}
.mess_list span i.red{
    background:url("../images/icon_sc2.png") no-repeat center;
    background-size:cover;
    vertical-align: -6px;
}
.mess_list span img{
    float:left;
    width:35px;
    margin-right:5px;
}
.test_link{
    width:100%;
    padding:15px 0 5px;
    margin:0 auto;
    overflow:hidden;
    box-sizing: border-box;
}
.test_link a{
    float:left;
    width:100%;
    background:#d11e01;
    box-shadow:0 2px 5px rgba(209,30,1,.3);
    color:#fff;
    font-size:1.6rem;
    line-height:50px;
    border-radius:8px;
    text-align:center;
}
@media(max-width:350px){
    .message{
        top:50px;
        height:calc(100% - 100px);
    }
    .mess_list span{
        display:block;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
/***************试卷信息概览页 start*************/