/*通用样式*/
*{
	padding: 0;
	margin: 0;
}
html, body{
    height: 100%;
}

body{
	font:14px/1.5 "Microsoft YaHei","HanHei SC","Helvetica Neue","Open Sans",Arial,"Hiragino Sans GB","微软雅黑","STHeiti","WenQuanYi Micro Hei",SimSun,sans-serif;
	color:#333;
}
ul, li{
	list-style: none;
	margin: 0;
	padding: 0;
}

a{
    color: #333;
    transition-property:all;
	transition-duration:.4s;
}
a:hover{
    text-decoration: none;
    color:#f33;
}
.icon{
    font-size:18px;
}
.oneLine{
    display: inline-block;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow:ellipsis;
}
.twoLine{
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.threeLine{
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}
.foreLine{
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}
.animate{
	transition-property:all;
	transition-duration:.4s;
}
.show-sm{
	display:none;
}
.show-md{
	display: none;
}
.show-lg{
	display: none;
}
.show-xl{
	display: none;
}

/*滚动条美化*/
.scrollGood, html{
	scrollbar-face-color:#ff7575; 
	scrollbar-highlight-color:#fff; 
	scrollbar-shadow-color:#eeeeee; 
	scrollbar-3dlight-color:#eeeeee;
	scrollbar-arrow-color:#000; 
	scrollbar-track-color:#fff; 
	scrollbar-darkshadow-color:#fff; 
}

.scrollGood::-webkit-scrollbar, html::-webkit-scrollbar {
    width : 10px;  
    height: 1px;
}
.scrollGood::-webkit-scrollbar-thumbm, html::-webkit-scrollbar-thumb {
    border-radius   : 10px;
    background-color: #FF5151;
    background-image: -webkit-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
}
.scrollGood::-webkit-scrollbar-track, html::-webkit-scrollbar-track{
     box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2); 
     border-radius: 10px; 
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
    background-color: #fff;
}
/*滚动条美化结束*/

/*顶部导航*/
.logoContent{
    height: 80px;
}
.logoContent .logoBox{
    width: 200px;
    height:50px;
    overflow:hidden;
}
.logoContent .logoBox img{
    width: 100%;
    height:100%;
}
.logoContent .logoText{
    margin-left: 10px;
    font-size: 22px;
    line-height:50px;
    margin:0;
}
.topSearchBox{
    position:relative;
    width:340px;
}
.topSearchBox form{
    display: flex;
    align-items: center;
}
.topSearchBox input{
    border: 1px solid #ddd;
    color: #333;
    font-size: 14px;
    width: 290px;
    height: 40px;
    line-height: 40px;
    padding: 0 12px;
    outline: none;
}
.topSearchBox button{
    font-size: 14px;
    border: 0px;
    height: 40px;
    line-height: 40px;
    padding : 0 12px;
    text-align: center;
    border:1px solid #eee;
    color:#333;
    background-color:#eee;
}
.topSearchBox button:hover{
    background-color: #ddd;
    box-shadow: 0 1px 0 rgb(0 0 0 / 3%);
}
.miniNav{
    background-color: #343a40;
    color:#fff;
    display:flex;
    justify-content: space-between;
    padding: 0 15px;
    height:50px;
    align-items: center;
}
.miniNav .mimilogoBox{
    width:100px;
    height:50px;
    overflow:hidden;
}
.miniNav .mimilogoBox img{
    width: 100%;
    height:100%;
}
.miniNav .mimilogoBox .logoText{
    line-height:50px;
}
.miniNav .minimenuBox .icon{
    font-size:22px;
    color:#fff;
}


/*首页顶部banner*/
.hometopleftbannerBox{
    padding-right: 0;
}
#homeTopLeftBanner{
    height: 238px;
    overflow: hidden;
}
#homeTopLeftBanner .carousel-indicators{
    margin-bottom: 5px;
}
#homeTopLeftBanner .carousel-caption{  
    padding-bottom: 0;
    bottom: 10px;
    text-align:left;
    left: 0px;
    right: 0px;
    padding: 10px 15px 0;
    background-color: rgba(0,0,0, .3);
}
#homeTopLeftBanner .carousel-caption h5{
    font-size:14px;
}
#homeTopLeftBanner .carousel-caption a{
    color:#fff;
}
#homeTopLeftBanner .carousel-caption a:hover{
    text-decoration: underline;
}
#homeTopLeftBanner .carousel-caption p{
    margin-bottom: 0;
    max-height:1px;
    overflow:hidden;
}
#homeTopLeftBanner .carousel-inner{
    height: 238px;
}
#homeTopLeftBanner .carousel-item{
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 首页头条 */
#homeTopTouTiao{
    margin-top: 15px;
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#homeTopTouTiao .homeTopTouTiaoItem{
    width: 48%;
    flex-grow:0;
    flex-shrink: 0;
    margin-bottom:15px;
}
#homeTopTouTiao .imgbox{
    width: 100%;
    height: 110px;
    overflow:hidden;
}
#homeTopTouTiao .imgbox img{
    width: 100%;
    min-height: 100%;
    cursor:pointer;
}
#homeTopTouTiao .imgbox img:hover{
    transform: scale(1.1);
}
#homeTopTouTiao .homeTopTouTiaoItem h5{
    padding-top: 5px;
    font-size:15px;
    line-height:20px;
    height:44px;
}

/* 首页最新文章 */
#homeNews li{
    font-size:15px;
    line-height: 25px;
    padding-left: 14px;
    position: relative;
}
#homeNews li:before{
    background-color: #ccc;
    border-radius: 2px;
    content: " ";
    display: inline-block;
    width: 4px;
    height: 4px;
    position: absolute;
    left: 0;
    top: 10px;
}
#homeNews li:nth-child(6n+1){
    font-weight: bold;
}  
#homeNews li:nth-child(6n){
    margin-bottom: 20px;
}

/* 首页分类文章第一种格式 */
#homeCate .homeCateOneBox{
    height:410px;
    overflow-y:auto;
}
#homeCate .homeCateOneBox .top{
    border-top: 1px solid #e9e9e9;
    position: relative;
    padding: 0;
    display:flex;
    
}
#homeCate .homeCateOneBox .top h3{
    border-top: 2px solid #f33;
    padding:4px 8px;
    font-size:15px;
    font-weight: bold;
}
#homeCate .homeCateOne{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#homeCate .homeCateOne .imgItem{
    width: 48%;
    margin-bottom:15px;
}
#homeCate .homeCateOne .imgItem .imgBox{
    width:100%;
    height:110px;
    overflow:hidden;
}
#homeCate .homeCateOne .imgItem .imgBox img{
    width:100%;
    min-height:100%;
}
#homeCate .homeCateOne .imgItem .imgBox img:hover{
    transform: scale(1.1);
}
#homeCate .homeCateOne .imgItem .title{
    height:44px;
    overflow:hidden;
}
#homeCate .homeCateOne .imgItem h5{
    font-size:15px;
    line-height: 22px;
}
#homeCate .homeCateOne .textItem{
    width: 100%;
    flex-shrink: 0;
    font-size: 15px;
    line-height: 30px;
    padding-left: 14px;
    position: relative;
}
#homeCate .homeCateOne  .textItem:before{
    background-color: #ccc;
    border-radius: 2px;
    content: " ";
    display: inline-block;
    width: 4px;
    height: 4px;
    position: absolute;
    left: 0;
    top: 10px;
}
#homeCate .homeCateOne .textItem2{
    font-weight:bold;
}
/* 首页分类文章第二种格式 */
#homeCate .homeCateTwoBox{
    border-top: 1px solid #e9e9e9;
    position: relative;
    padding: 0;
}
#homeCate .homeCateTwoBox .top{
    display:flex;
}
#homeCate .homeCateTwoBox .top h3{
    border-top: 2px solid #f33;
    padding:4px 8px;
    font-size:15px;
    font-weight: bold;
}

#homeCate .homeCateTwo  .imgItem{
    margin-bottom:15px;
}
#homeCate .homeCateTwo .imgItem .imgBox{
    height:110px;
    overflow:hidden;
}
#homeCate .homeCateTwo .imgItem .imgBox img{
    width:100%;
    min-height:100%;
}
#homeCate .homeCateTwo .imgItem .imgBox img:hover{
    transform: scale(1.1);
}
#homeCate .homeCateTwo .imgItem .title{
    height:44px;
    overflow:hidden;
}
#homeCate .homeCateTwo .imgItem h5{
    font-size:15px;
    line-height: 22px;
}
#homeCate .homeCateTwo .textItem{
    width: 100%;
    font-size: 15px;
    line-height: 25px;
    padding-left: 14px;
    position: relative;
}
#homeCate .homeCateTwo  .textItem:before{
    background-color: #ccc;
    border-radius: 2px;
    content: " ";
    display: inline-block;
    width: 4px;
    height: 4px;
    position: absolute;
    left: 0;
    top: 10px;
}
#homeCate .homeCateTwo .textItem4{
    font-weight:bold;
}
#homeCate .homeCateTwo .textItem9{
    font-weight:bold;
    margin-top:15px;
}


/* 分类页 */
#cateBox{
    margin-top:20px;
}
#cateBox .top {
    border-bottom: 1px solid #e9e9e9;
}
#cateBox .top h1{
    font-size:16px;
    font-weight:bold;
    position: relative;
    padding-left: 14px;
}
#cateBox .top h1:before{
    background-color: #f33;
    border-radius: 1px;
    content: " ";
    display: block;
    width: 4px;
    height: 13px;
    position: absolute;
    top: 2px;
    left: 0;
}
#cateBox .artieclItemBox{
    padding-right: 15px;
}


/*文章页*/
.singleBox{
    padding: 0 15px;
}
.singleBox .title h1{
    font-size: 28px;
    line-height: 1.5;
    color: #333;
    margin-bottom:5px;
}
.singleBox .info{
    margin-bottom: 20px;
    display:flex;
    align-items: center;
}
.singleBox .info .imgBox{
    display:flex;
    align-items: center;
}
.singleBox .info .img{
    display:inline-block;
    width:30px;
    height:30px;
    overflow:hidden;
    border-radius: 15px;
}
.singleBox .info .img img{
    width: 100%;
    height: 100%;
}
.singleBox .content img{
    max-width: 100%;
}
/* 文章页相关文章*/
.moreArticle  {
    margin-top:30px;
    padding-top: 20px;
    border-top: 1px solid #e9e9e9;
}
.moreArticle .more{
    font-weight: bold;;
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: bold;
    position: relative;
    padding-left: 14px;
    padding-bottom:5px;
    border-bottom:1px solid #e9e9e9;
}

.moreArticle  .more:before{
    background-color: #f33;
    border-radius: 1px;
    content: " ";
    display: block;
    width: 4px;
    height: 15px;
    position: absolute;
    top: 2px;
    left: 0;
}

/*评论*/
#postcmt .alert{
    display: none;
}
.comment{
    background-color:#fff;
    border-radius: 6px;
}
.comment .reply{
    cursor: pointer;
}
.comment .reply:hover{
    color:#f33;
}





/* 分类, 搜索  tag 的文章样式 */
.artieclItemBox .articleItem{
    display:flex;
    margin: 30px 0;
    padding-bottom: 30px;
    justify-content:space-between;
    border-bottom:1px solid #e9e9e9;
}

.artieclItemBox .articleItem:hover img{
    transform: scale(1.1);
}
.artieclItemBox .articleItem .imgBox{
    width: 30%;
    flex-grow: 0;
    flex-shrink: 0;
    margin-right:20px;
    height: 150px;
    overflow:hidden;
}
.artieclItemBox .articleItem .imgBox img{
    width: 100%;
    min-height:100%;
}
.artieclItemBox .articleItem .articleBox{
    width:65%;
    flex-grow:1;
    flex-shrink:1;
}
.artieclItemBox .articleItem .articleBox h3{
    font-size: 16px;
    font-weight:bold;
    margin-bottom:2px;
}
.artieclItemBox .articleItem .articleBox  .info{
    margin-bottom: 15px;
}
.artieclItemBox .articleItem2 {
    margin: 30px 0;
    padding-bottom: 30px;
    border-bottom:1px solid #e9e9e9;
}
.artieclItemBox .articleItem2 h3{
    font-size: 16px;
    font-weight:bold;
    margin-bottom:2px;
}
.artieclItemBox .articleItem2 .info{
    margin-bottom:15px;
}
.artieclItemBox .articleItem2  .imgsBox{
    display:flex;
    justify-content: space-between;
}
.artieclItemBox .articleItem2  .imgsBox .imgItem{
    width: 32%;
    flex-grow: 0;
    flex-shrink: 0;
    height: 150px;
    overflow:hidden;
}
.artieclItemBox .articleItem2  .imgsBox .imgItem img{
    width: 100%;
    min-height: 100%;
}
.artieclItemBox .articleItem2  .imgsBox .imgItem img:hover{
    transform: scale(1.1);
}




/*分页*/
.posts_nav_link{
	margin:30px 0;
	display: flex;
	justify-content: flex-end;
}
.posts_nav_link .page{
	display: inline-block;
	margin: 0 4px;
	padding: 2px 8px;
	border:1px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	transition-property:all;
	transition-duration:0.4s;
}
.posts_nav_link .page:hover{
	background-color: #f33;
	color: #fff;
	border:1px solid #f33;
}
.posts_nav_link .now-page{
	border:none;
	color:#f33;
	cursor: auto;
}
.posts_nav_link .now-page:hover{
	border:none;
	color:#f33;
	background-color: transparent;
}




/*侧边栏*/
#sidebarBox{
    padding-left:0;
}
#sidebarBox h4{
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight:bold;
    position: relative;
    padding-left: 14px;
}
#sidebarBox h4:before{
    background-color: #f33;
    border-radius: 1px;
    content: " ";
    display: block;
    width: 4px;
    height: 15px;
    position: absolute;
    top: 0;
    left: 0;
}
#sidebarBox hr{
    margin-top: 10px;
}

/*侧边栏  精选推荐*/
#sideHandpicked li{
    display: flex;
}
#sideHandpicked li .cate{
    width: 35%;
    flex-shrink: 0;
}
#sideHandpicked li .title{
    flex-grow: 1;
    flex-shrink: 1;
}
/*侧边栏  最热图文*/
#sideHotPic .carousel-item{
    height: 150px;
}
#sideHotPic .carousel-item img{
    min-width: 100%;
    min-height: 100%;
}
#sideHotPic .carousel-item .carousel-caption{
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
    background-color:rgba(0,0,0,.3);
}
#sideHotPic .carousel-item .carousel-caption h5{
    color:#fff;
    font-size: 14px;
    margin-bottom: 10px;
    margin-top:10px;
}
/*侧边栏  最新评论*/
#sideComment .commentItem{
    display:flex;
}
#sideComment .commentItem .commentAuthor{
    width: 30%;
    flex-shrink: 0;
    text-align: center;
}
#sideComment .commentItem .commentAuthor .authorImg{
    width: 40%;
    margin: 0 auto;
}
#sideComment .commentItem .commentAuthor .authorImg img{
    width: 100%;
}
#sideComment .commentItem .commentCountent{
    flex-grow: 1;
    flex-shrink: 1;
    line-height: 1.3;
}
#sideComment .commentItem .commentCountent .title{
    font-weight: bold;
}
/*侧边栏 年度爆文*/
#sideHotArticle .articleIntroBox{
    max-height: 0;
    display: flex;
}
#sideHotArticle .active .articleIntroBox{
    max-height: 300px;
}
#sideHotArticle .title{
    display: flex;
}
#sideHotArticle .title .number{
    flex-shrink: 0;
    display: inline-block;
    height: 18px;
    width: 30px;
    text-align: center;
    line-height:18px;
    font-size: 13px;
    background-color: #ccc;
    color:#fff;
    border-radius: 0 15px 10px 10px;
}
#sideHotArticle .title .number0{
    background-color:#ffbe02;
}
#sideHotArticle .title .number1{
    background-color: #007fdb;
}
#sideHotArticle .title .number2{
    background-color:#46b450;
}
#sideHotArticle .title h5{
    margin-bottom: 0;
    font-size:14px;
    color:#333;
}
#sideHotArticle .articleIntroBox .imgBox{
    width: 30%;
    flex-shrink: 0;
    max-height: 60px;
    overflow: hidden;
    border-radius: 8px;
}
#sideHotArticle .articleIntroBox .imgBox img{
    width: 100%;
    min-height: 100%;
}
#sideHotArticle .articleIntroBox .articleIntro{
    flex-grow: 1;
    flex-shrink: 1;
}
/*侧边栏 热门标签*/
#sideHotTag .tagBox span{
    display: inline-block;
    padding: 5px 12px;
    font-size: 14px;
    border-radius: 12px;
    border:1px solid #ddd;
    margin: 5px;
}
#sideHotTag .tagBox span a{
    color:#333;
}
#sideHotTag .tagBox span:hover{
    background-color:#ddd;
}
#sideHotTag .tagBox span:hover a{
    color:#f33;
}
.sideDa img{
    width: 100%;
}
/* 侧边栏 随机文章 */
#sideRandom li{
    font-size:13px;
    line-height: 25px;
    padding-left: 14px;
    position: relative;
}
#sideRandom li:before{
    background-color: #ccc;
    border-radius: 2px;
    content: " ";
    display: inline-block;
    width: 4px;
    height: 4px;
    position: absolute;
    left: 0;
    top: 10px;
}
/* 侧边栏 最新文章 */
#sideNew .imgItem{
    margin-bottom:15px;
}
#sideNew .imgItem .imgBox{
    width:100%;
    height:110px;
    overflow:hidden;
    position:relative;
}
#sideNew .imgItem .imgBox img{
    width:100%;
    min-height:100%;
}
#sideNew .imgItem .imgBox img:hover{
    transform: scale(1.1);
}
#sideNew .imgItem .title{
    position:absolute;
    line-height:30px;
    left:0;
    right:0;
    bottom:0;
    padding: 0 10px;
    background-color:rgba(0,0,0,.3);
}
#sideNew .imgItem .title h5{
    font-size:13px;
    color:#fff;
    margin-bottom: -4px;
}
#sideNew .textItem{
    width: 100%;
    flex-shrink: 0;
    font-size: 13px;
    line-height: 22px;
    padding-left: 12px;
    position: relative;
}
#sideNew  .textItem:before{
    background-color: #ccc;
    border-radius: 2px;
    content: " ";
    display: inline-block;
    width: 4px;
    height: 4px;
    position: absolute;
    left: 0;
    top: 9px;
}


/* 友情链接 */
#friendship{
    margin-top:20px;
    border-top: 1px solid #e9e9e9;
    padding: 20px 0;
}
#friendship h3{
    font-size: 16px;
    line-height: 1;
    margin-bottom: 10px;
    padding-left: 14px;
    position: relative;
}
#friendship h3:before{
    border-radius: 1px;
    content: " ";
    display: block;
    width: 4px;
    height: 15px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #f33;
}
#friendship .friendLink {
    display: flex;
    flex-wrap: wrap;
}
#friendship .friendLink li{
    line-height: 1.5;
    padding: 0 15px;
}

/*页脚*/
.footer{
    border-top: 1px solid #e9e9e9;
    padding-top: 20px;
    padding-bottom:20px;
}
#js-go_top{
	position: fixed;
    right: 20px;
    bottom: 20px;
    cursor:pointer;
}

/* 响应式样式 */
@media screen and (max-width:767px){
	.show-sm{
		display:block;
	}
    .closeMiniNav{
        width: 40px;
        font-size:20px;
        border:1px solid #e9e9e9;
        border-radius: 20px;
        margin: 0 auto 20px auto;
        text-align: center;
        line-height: 38px;
    }
    .topNav .menuBox{
        position:fixed;
        z-index:999999;
        top:0;
        left:0;
        right:0;
        bottom:0;
        overflow: auto;
        background-color:#fff;
    }
    .topNav .menuBox ul{
        background-color:#fff;
        width: 100%;
        padding: 20px 15px;
    }
    .topNav .menuBox ul li{
        line-height: 3;
        font-size:18px;
        border-bottom:1px dotted #e9e9e9;
    }
    .topNav .menuBox ul  li:last-child{
        border-bottom:none;
    }
    .topNav .menuBox ul .subnav, .topNav .menuBox ul ul{
        display: none;
    }
    
    .topSearchBox{
        background-color:#fff;
        width: 100%;
        padding: 30px;
    }


}
@media (min-width:768px){
    .show-sm{
        display:none;
    }
	.show-md{
		display: block;
	}
    .topNav .menuBox{
        border-top:1px solid #f33;
        border-bottom:1px solid #e9e9e9;
    }
    .topNav .menuBox ul{
        margin-bottom: 0;
    }
	.topNav .menuBox ul>.navbar-item, .topNav .menuBox ul>li{
        display:inline-block;
        position:relative;
    
    }
    .topNav .menuBox ul>.navbar-item>a, .topNav .menuBox ul>li>a{
        line-height: 50px;
        padding: 0 20px;
        border-right:1px dotted #e9e9e9;
    }
    .topNav .menuBox ul>.navbar-item:first-child a, .topNav .menuBox ul>li:first-child a{
        padding-left: 0;
    }
    .topNav .menuBox ul>.navbar-item:last-child a, .topNav .menuBox ul>li:last-child a{
        border-right:none;
    }
    .topNav .menuBox ul>.navbar-item .subnav, .topNav .menuBox ul ul{
        display:none;
        position: absolute;
        z-index:99999;
        width: 200px;
        border-left:1px solid #e9e9e9;
        border-right:1px solid #e9e9e9;
        border-bottom:1px solid #e9e9e9;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
        left: -10px;
        top:49px;
        background-color:#fff;
    }
    .topNav .menuBox ul ul .navbar-item a{
        padding:0;
        border:none;
    }
    .topNav .menuBox ul>.navbar-item .subnav a, .topNav .menuBox ul>.navbar-item .navbar-item{
        display:block;
        line-height: 3;
        padding: 0 10px;
        border-bottom: 1px dotted #e9e9e9;
    }
    .topNav .menuBox ul>.navbar-item .subnav a:last-child, .topNav .menuBox ul>.navbar-item .navbar-item{
        border-bottom: none;
    }
    
    .topNav .menuBox ul .subcate:hover .subnav,  .topNav .menuBox ul .navbar-item:hover ul{
        display:block;
    }
    
    .topNav .menuBox ul .subcate>a::after {
        display:inline-block;
        margin-left:5px;
        content:'';
        width: 0;
        height: 0;
        border-left: 3px solid transparent;
        border-right: 3px solid transparent;
        border-top: 6px solid #f33;
        margin-bottom: 2px;
    }
}
@media (min-width:992px){
	.show-lg{
		display: block;
	}
}
@media (min-width:1200px){

	.show-xl{
		display: block;
	}
}