/* 公共样式 */
body{
    padding-top:50px;
}
.globalBg{
	background-color: #eee;
}
.width-fluid{
    width:100%;
    overflow: hidden;
}
.mt-20{
    margin-top:20px;
}
.dafluid img{
    width:100%;
}
/* 公共样式 */


/* 公共样式 页码 */
.pagebar{
    margin: 0 20px 20px;
}
.pagebar a, .pagebar .now-page{
    text-decoration: none;
    display: inline-block;
    padding: 10px 14px;
    font-size: 16px;
    cursor: pointer;
    line-height: 1.2;
}
.pagebar a:hover{
    background-color:#eee;

} 

/* header样式*/

.top-nav .navbar-item{
    position: relative;
}
.top-nav .subnav{
    display: none;
    position: absolute;
    z-index:1000;
    width:220px;
    top:50px;
    left:-10px;
    border:1px solid #ddd;
    background-color:#fff;
    border-top:none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.top-nav .navbar-item .subnav a{
    display: block;
    padding: 5px 40px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}
.top-nav .navbar-item .subnav a:hover{
    text-decoration: none;
    background-color:#eee;
}


/* footer样式*/
.back{
    background-color: #222;
    color: #9d9d9d;
    padding-bottom: 5px;
    padding-top: 10px;
}
.back p{
    text-align: left;
}
.back span{
    margin-right: 15px;
}
.back a{
    color: #9d9d9d;
}

/* 评论框样式 */
.comment-tit{
    display: flex;
    justify-content: space-between;
}
.reply{
    color:#337ab7;
    cursor: pointer;
}

/* 侧边栏 */
/* 侧边栏  搜索 */
#divSearchPanel input[type=text]{
    width:150px;
}
/* 侧边栏 友情链接  标签 网站收藏  网站分类 站点信息 导航 文章归档 作者列表 */
#divLinkage ul, #divTags ul, #divFavorites ul, #divCatalog ul, #divStatistics ul, #divNavBar ul, #divArchives ul, #divAuthors ul{
    display: flex;
    flex-wrap:wrap;
    margin: 0;
    padding: 0;
}
#divLinkage ul li, #divTags ul li, #divFavorites ul li, #divCatalog ul li, #divStatistics ul li, #divNavBar ul li, #divArchives ul li, #divAuthors ul li{
    margin: 0;
    padding: 0;
    list-style: none;
    width:50%;
    text-indent: 20px;
}
#divNavBar .subnav{
    display: none;
}
/* 侧边栏 评论  最近发表*/
#divComments ul, #divPrevious ul{
    margin: 0;
    padding: 0;
}
#divComments ul li, #divPrevious ul li{ 
    margin: 0;
    padding: 0;
    list-style: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 10px;
}
#divComments ul li:last-child, #divPrevious ul li:last-child{
    margin-bottom:0;
}

/* 首页样式 */
.articleListBox{
    max-height: 200px;
    margin-bottom: 30px;
    overflow: hidden;
}
.articleListBox h3{
    margin: 0;
}
.articleListBox a{
    text-decoration: none;
}
.articleListImgBox{
    height:100%;
    max-height: 180px;
    overflow: hidden;
    border-radius: 8px;
}
.articleListImgBox img{
    border-radius: 8px;
}
.articleListBox .articleListTitle{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.articleListBox  .articleListInfo span{
    margin-left: 12px;
}
.articleListBox  .articleListInfo span:first-child{
    margin-left: 0;
}
.articleListBox .articleListTags a{
    margin-left:5px;
}
/* 栏目页样式 */

/* 文章页样式 */
.breadcrumb{
    border-radius: 6px;
    background-color:#fff;
    color:#666;
    line-height: 1.8;
}
.articleBox{
    background-color:#fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}
.articleBox .articleInfo{
    padding: 10px 0;
    margin-bottom: 5px;
}
.articleBox .articleInfo span{
    margin-right: 15px;
}
.articleBox .articleTags a{
    margin-left: 10px;
}
.nextArticle div{
    margin-top: 12px;
    line-height: 1.5;
}
.moreArticle li{
    margin-bottom: 8px;
}
.moreArticle li:last-child{
    margin-bottom: 0;
}
.articleBox img{
    max-width: 100%;
}
.articleContent{
    overflow: hidden;
}
.articleContent p{
    text-indent: 2em;;
}


/* 独立文章页样式 */

/* 搜索页样式 */

/* 404 样式*/



/* 响应式样式 */
@media screen and (max-width:767px){
    h1{
        font-size:24px;
        margin-bottom:15px;
    }
    h3{
        font-size: 20px;
    }
    .showMini{
        display: block;
        line-height: 50px;
        display: flex;
        justify-content: space-between;
        color:#9d9d9d;
        cursor:pointer;
    }
    .hidesm{
        display:none;
    }
    .hidexs{
        display:none;
    }
    .nav .active{
        display: none;
    }
    .navCss{
        display: none;
    }
    .articleListDetail{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

}
@media (min-width:768px){
    .showMini{
        display: none;
    }
    .hidesm{
        display:none;
    }
    .hidexs{
        display:block;
    }
}
@media (min-width:992px){
    .showMini{
        display: none;
    }
    .hidesm{
        display:block;
    }
    .hidexs{
        display:block;
    }
}
@media (min-width:1200px){
    .showMini{
        display: none;
    }
    .hidesm{
        display:block;
    }
    .hidexs{
        display:block;
    }
}
