@charset "UTF-8";
/**************马工程教学资源 start********/
.material_banner{
    width:100%;
    min-width:1200px;
    height:400px;
    background: url(../images/ma_banner.jpg) no-repeat center;
}
.material{
    width:1270px;
    margin:0 auto 30px;
}
/*左 start*/
.material_left{
    float:left;
    width:330px;
    background:#fff;
    box-shadow:1px 1px 10px rgba(0,0,0,.1);
    border-radius:5px;
    overflow:hidden;
}
.material_left dt{
    width:100%;
    height:50px;
    line-height:50px;
    background:#d1141c;
    color:#fff;
    font-size:16px;
    padding:0 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.material_left dt img{
    float:left;
    margin:10px 10px 0 0;
}
.material_left dd{
    width:100%;
    padding:15px 0 80px;
    overflow:hidden;
}
.material_left dd a{
    position:relative;
    display:block;
    width:100%;
    height:50px; 
    line-height:50px;
    font-size:15px;
    padding:0 15px;
    overflow:hidden;
    cursor:pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.material_left dd a.sel{
    color:#d1141c;
}
.material_left dd a.sel i{
    position:absolute;
    top:13px;
    left:0;
    width:4px;
    height:24px;
    background:#d1141c;
}
/*左 end*/

/*右 start*/
.material_right{
    float:right;
    width:940px;
}
.material_item{
    width:100%;
}
.material_item li{
    position:relative;
    float:left;
    width:450px;
    margin:0 0 20px 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.material_item li a{
    display:block;
}
.material_item li span{
    position:absolute;
    top:0;
    left:0;
    width:180px;
    height:246px;
    padding:5px;
    background:#fff;
    border-radius:5px;
    border:1px solid #e6e6e6;
    overflow:hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.material_item li span img{
    width:100%;
}
.material_item li:hover span{
    animation: wobble 1s linear;
    -webkit-animation: wobble 1s linear;
}
.book_nav{
    width:420px;
    height:240px;
    background:#fff;
    border:1px solid #e6e6e6;
    padding:20px 15px 20px 162px;
    box-shadow: 1px 1px 10px rgba(0,0,0,.1);
    margin:30px 0 0 30px;
    border-radius:5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.book_nav h3{
    width:100%;
    font-size:16px;
    line-height:30px;
    margin-bottom:10px;
    overflow:hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp:1;
}
.book_nav h3:hover{
    text-decoration: underline;
}
.book_nav p{
    width:100%;
    line-height:30px;
    color:#999;
    font-size:14px;
    overflow:hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp:1;
}
/**************马工程教学资源 end********/

/**************教学资源概览页 start********/
.res{
    margin-bottom:30px;
}
.res_left{
    float:left;
    width:400px;
    background:#fff;
    box-shadow:1px 1px 10px rgba(0,0,0,.1);
    border-radius:5px;
    padding:0 0 30px;
    overflow:hidden;
}
.title{
    width:100%;
    height:60px;
    line-height:60px;
    background:#d1141c;
    color:#fff;
    font-size:18px;
    padding:0 25px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.title img{
    float:left;
    margin:15px 5px 0 0;
}
.section1{
    width:100%;
    padding:0 10px 15px;
    height:825px;
    overflow-y:scroll;
    overflow-x:hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.res_right{
    float:right;
    width:780px;
    min-height:915px;
    background:#fff;
    border-radius:5px;
    box-shadow:1px 1px 10px rgba(0,0,0,.1);
    padding:20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.res_img{
    position:relative;
    width:100%;
    border-radius:5px;
    overflow:hidden;
}
.res_img img{
    width:100%;
}
.res_img h1{
    position:absolute;
    bottom:0;
    width:100%;
    font-size:24px;
    line-height:50px;
    padding:15px 30px;
    background:rgba(0,0,0,.6);
    color:#fff;
    overflow:hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.res_detail{
    width:100%;
    margin-top:10px;
    overflow:hidden;
}
.res_detail h2{
    font-size:20px;
    color:#000;
    margin:10px 0;
}
.res_detail p{
    line-height:30px;
    text-indent:30px;
}
/*滚动条样式 start*/
*::-webkit-scrollbar {
    width:10px;
}
*::-webkit-scrollbar-thumb {
    border-radius:5px;
    background:#bbb;
}
*::-webkit-scrollbar-track {
    border-radius:5px;
    background:#eee;
}
/*滚动条样式 end*/
/**************教学资源概览页 end********/
/**************教学资源检索列表页 start********/
.search_box{
    background:#fff;
    border-radius:5px;
    box-shadow:1px 1px 10px rgba(0,0,0,.1);
    padding:10px 25px;
    margin:0 auto 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/**************教学资源检索列表页 end********/

/**************教学资源列表页 start********/
.all_left{
    float:left;
    width:400px;
    background:#fff;
    box-shadow:1px 1px 10px rgba(0,0,0,.1);
    border-radius:5px;
    padding:0 0 30px;
    overflow:hidden;
}
.pic img{
    width:100%;
    background:#fff;
    padding:15px 20px 5px;
    overflow:hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.pic img{
    width:100%;
}
.section2{
    width:100%;
    padding:0 10px 15px;
    height:710px;
    overflow-y:scroll;
    overflow-x:hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.layui-tree-entry{
    padding: 8px 0;
    height:auto;
    white-space: normal;
}
.layui-tree-iconClick{
    position:absolute;
    top:10px;
}
.layui-tree-icon{
    margin-top:3px;
}
.layui-tree-txt{
    padding-left:30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.res_btn{
    display:flex;
    width:100%;
    height:50px;
    line-height:50px;
    background:#f6f6f6;
    border:1px solid #e2e2e2;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.res_btn li{
    flex:1;
    font-size:16px;
    overflow:hidden;
    cursor:pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.res_btn li.sel{
    position:relative;
    z-index:999;
    height:49px;
    line-height:48px;
    background:#fff;
    border-left:1px solid #e2e2e2;
    border-right:1px solid #e2e2e2;
    border-top:2px solid #d1141c;
    margin-left:-1px;
}
.res_btn li:last-child{
    padding:0 10px;
    width:120px;
    margin-right:-1px;
}
.res_nav{
    width:100%;
    overflow:hidden;
}
.res_nav .item{
    width:100%;
    overflow:hidden;
    display:none;
}
.all_right{
    float:right;
    width:780px;
    height:1058px;
    background:#fff;
    border-radius:5px;
    box-shadow:1px 1px 10px rgba(0,0,0,.1);
    padding:20px 20px 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/* 视频案例 start */
.course_list{
    width:100%;
    overflow:hidden;
}
.course_list li{
    position:relative;
    width:100%;
    height:60px;
    line-height:60px;
    border-bottom:1px dashed #ddd;
    font-size:16px;
    padding-right:150px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.course_list li img{
    position:absolute;
    top:15px;
    width:30px;
}
.course_list li p{
    width:100%;
    padding-left:40px;
    overflow:hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.course_list li a{
    position:absolute;
    top:0;
    right:0;
    width:120px;
    height:40px;
    line-height:40px;
    background: #d1141c;
    color: #fff;
    text-align: center;
    margin:10px 0 0 25px;
    overflow:hidden;
}
body .demo-class .layui-layer-title {
    height:50px;
    line-height:50px;
    background-color:transparent!important;
    color: #fff;
    font-size: 16px;
}
.layui-layer{
    background-color:rgba(0,0,0,0.6)!important;
    border-radius: 15px!important;
    overflow: hidden;
}
.video_layer{
    height:500px;
}
.download_video{
    position:absolute;
    bottom:0;
    right:20px;
    line-height:50px;
    color:#fff;
}
.download_video img{
    float:left;
    width:25px;
    margin:12px 5px 0 0;
}
.download_video:hover{
    color:#fff;
}
/* 视频案例 end */

/* 文字案例、教学案例、课程习题弹窗 start */
.wenzi_layer,.teaching_layer,.exam_layer{
    position:fixed;
    z-index:999999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:rgba(0,0,0,.6);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    display:none;
}
.wenzi_nav,.teaching_nav,.exam_nav{
    position:relative;
    width:1000px;
    height:100%;
    background:#fff;
    padding:0;
    margin:0 auto;
    overflow:hidden;  
}
.wenzi_nr,.teaching_nr,.exam_nr{
    width:980px;
    height:calc(100% - 100px);
    padding:0 100px 30px;
    margin:80px auto 0;
    overflow-y:scroll;
    overflow-x:hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.wenzi_nr h1,.teaching_nr h1,.exam_nr h1{
    width:100%;
    font-size:22px;
    font-weight:bold;
    color:#000;
    margin:30px 0 20px;
    text-align: center;
}
.wenzi_nr p,.teaching_nr p,.exam_nr p{
    text-indent:30px;
    line-height:30px;
    font-size:16px;
    color:#555;
    margin:10px 0;
}
.wenzi_download,.teaching_download,.exam_download{
    position:absolute;
    top:0;
    left:0;
    width:1000px;
    height:80px;
    background:#fff;
    border-bottom:1px solid #e6e6e6;
    box-shadow: 1px 1px 10px rgba(0,0,0,.12);
    overflow:hidden;
}
.wenzi_download a,.teaching_download a,.exam_download a{
    display:block;
    width:200px;
    height:50px;
    line-height:50px;
    background:#d1141c;
    border-radius:5px;
    color:#fff;
    font-size:18px;
    text-align: center;
    margin:15px auto;
    overflow:hidden;
}
.wenzi_download a img,.teaching_download a img,.exam_download a img{
    width:30px;
    vertical-align: -8px;
    margin-right:10px;
}
.wenzi_close,.teaching_close,.exam_close{
    position:absolute;
    right:20px;
    top:22px;
    width:36px;
    height:36px;
    background:url("../images/icon_close.png") no-repeat center;
    background-size:cover;
    cursor:pointer;
    overflow:hidden;
}
.teaching_nr h2{
    font-size:18px;
    font-weight:bold;
    color:#000;
}
.topic{
    width:100%;
    margin:15px 0;
}
.topic h3{
    font-size:18px;
    font-weight:bold;
    color:#000;
    line-height:35px;
    text-align: justify;
}
/* 文字案例、教学案例、课程习题弹窗 end */

/* 资源正在更新 start */
.no_nav{
    width:100%;
    margin:90px 0;
    text-align: center;
}
.no_nav h2{
    font-size:24px;
    color:#333;
}
/* 资源正在更新 end */

/* 查看答案 start */
.watch{
    width:100%;
    text-align: right;
}
.watch_btn{
    line-height:30px;
    background:#f1f1f1;
    border:1px solid #ccc;
    border-radius:5px;
    padding:10px 15px 10px 12px;
    cursor: pointer;
}
.watch img{
    width: 18px;
    margin-right: 5px;
    vertical-align: -4px;
}
.answer{
    width:100%;
    background:#f1f1f1;
    border-radius:5px;
    padding:20px;
    overflow:hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display:none;
}
.answer h4{
    line-height:30px;
    border-bottom: 1px dashed #bbb;
    font-size:16px;
    color:#333;
    padding-bottom:10px;
}
.answer p{
    text-indent:0;
    line-height:30px;
    padding-top:10px;
    margin:0;
    color:#333;
}
/* 查看答案 end */
/**************教学资源列表页 end********/