/*初始设置*/
*{
    box-sizing:border-box;
}
h1,h2,h3,h4,h5,h6,button,ul,li,ol,p,div{
    list-style: none;
    margin:0;
    padding: 0;
}
#top,#header,#nav,#section,#footer{
    width:980px;
    margin:0 auto;
    background: #fff;
}
body{
    padding: 0;
    margin: 0;
    color: #333;
    font-size: 12px;
    background-color: #fff;
    font-family: "Helvetica Neue", Helvetica, Microsoft Yahei, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif;
}
a{
    color:#000;
    text-decoration: none;
}
a:link{
    text-decoration: none;
}
a:visited{
    text-decoration: none;
}
a:hover{
    text-decoration: none;
    color:#888;
}
a:active{
    text-decoration: none;
}
.clear{
    clear: both;
}

/*头部logo信息*/
#top{
    height:63px;
}
#top div.logo{
    width:200px;
    height: inherit;
    margin:0 auto;
    padding:5px 0;
}
#top>div.logo img{
    width:190px;
    height:51px;
}
/*头部导航*/
#nav{
    width: 100%;
    height: 40px;
    padding:0 10px;
    background: #fff;
}
#nav>ul.nav-pills{
    width:950px;
    height: inherit;
    background:#fff;
    margin:0 auto;
}
#nav>ul.nav-pills>li{
    width:20%;
    height: inherit;
    margin:0;
}
#nav>ul.nav-pills>li>a{
    font-size:16px;
    text-align: center;
    padding:0;
    line-height: 40px;
}
/*header滚动后变为固定定位*/
#nav.fixed{
    position: fixed;
    left:50%;
    top:0;
    transform: translate(-50%,0);
    z-index: 999;
    background:rgba(255,255,255,.5);
}

#header div.to-top{
    height: 32px;
}
#header div.top>a{
    color:#888;
    line-height: 32px;
}

#section div.left-body{
    width: 670px;
    float: left;
    border-top:1px solid #000;
}


/*主体内容信息*/
#section div.title{
    margin-top:30px;
}
#section div.title h2{
    text-align: center;
    width: 670px;
    overflow: hidden;
    margin:15px 0 15px 0;
    color:#000;
}
#section div.author{
    padding:0 0 0 150px;
}
#section div.author span{
    color:#888;
    text-align: center;
    font-size:14px;
    margin-left:25px;
}
/*内容简介*/
#section div.title-content{
    margin-top:15px;
    border:5px solid #F2F2F2;
}
#section div.title-content p{
    margin:1px ;
    border:1px solid #F2F2F2;
    display: block;
    padding:15px 50px;
    font-size:16px;
    line-height: 34px;
}
/*文章内容*/
#article{
    width: 670px;
    margin-top:30px;
}
#article div.img{
    text-align: center;
    margin:10px 0;
}
#article div.img img{
    width: 600px;
    height: 450px;
}
#article p{
    font-size:16px;
    line-height: 34px;
    text-indent: 2em;
}
#section div.title-author{
    text-align: right;
}
#section div.title-author span{
    color:#888;
}
/*底部信息*/
#section div.title-bottom{
    width: 670px;
    height: 134px;
    border:5px solid #F2F2F2;
    margin-top:30px;
}
#section div.title-bottom>div{
    margin:1px;
    border:1px solid #F2F2F2;
    padding:15px 50px;
    height: 122px;
}
#section div.share{
    text-align: right;
    padding:5px 0;
    height: 44px;
}
#section div.share span{
    display: inline-block;
    height: 34px;
    line-height: 34px;
    vertical-align: top;
}
#section div.share a{
    width: 34px;
    height: 34px;
    display: inline-block;
}
/*精品推荐*/
#section div.recommend{
    width: 670px;
    height: 300px;
    border:1px solid #ECECEC;
    margin-top:50px;
}
#section div.recommend h2{
    width: 130px;
    background: #fff;
    margin:-15px 0 0 270px;
    text-align: center;
}
#section div.recommend ul li{
    float: left;
    width:33.3%;
    height: 140px;
    text-align: center;
    padding-top:10px;
    position: relative;
    overflow: hidden;
}
#section div.recommend ul li img{
    width: 200px;
    height: 120px;
}

#section div.recommend p.title{
    font-size: 14px;
    width: 200px;
    color:#fff;
    background: rgba(0,0,0,.4);
    position: absolute;
    bottom:10px;
    left: 11px;
    overflow: hidden;
}
#section div.recommend ul li:hover{
    -webkit-transition: all 0s linear;
    -moz-transition: all 0s linear;
    -ms-transition: all 0s linear;
    -o-transition: all 0s linear;
    transition: all 0s linear;
    transform: scale(1.05);
}

/*主体右侧信息*/
#section div.right-body{
    width:300px ;
    margin-left: 10px;
    float: right;
}

div.right-body div.pic{
    border:1px solid #E7E7E7;
}
div.right-body div.pic img{
    width: 298px;
    height: 148px;
}
div.hot-article>div.line{
    width: 300px;
    height: 0;
    border-bottom:1px solid #000;
    margin-top:80px;
}
div.hot-article>p{
    font-size:20px;
    color:#000;
    width: 100px;
    height: 30px;
    line-height: 30px;
    font-weight:bold;
    margin:-15px 0 0 100px;
    background: #fff;
    text-align: center;
}

/*热门文章主体信息*/
#hot-article-content{
    width: 300px;
    background: #F2F2F2;
    padding:20px;
}
#hot-article-content>a{
    display: block;
    position: relative;
}
#hot-article-content>a>img{
    width: 260px;
    height: 200px;
}
#hot-article-content>a>p{
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color:#fff;
    font-size:16px;
    background: rgba(0,0,0,.6);
    position: absolute;
    bottom:0;
    left: 0;
}

#hot-article-content ul{
    width: 100%;
    margin-top:10px;
}
#hot-article-content ul li{
    cursor: pointer;

    width: 100%;

}
#hot-article-content ul li i{
    font-size:26px;
    color:red;
}
#hot-article-content ul li a{
    font-size:14px;
    width: 100%;
    height: 40px;
    overflow: hidden;
}
#hot-article-content ul li:hover{
    padding-left:15px;
}
#hot-article-content ul li:hover a{
    color:#888;
}



/*侧边提示*/
#aside{
    position:fixed;
    right:0;
    top:80%;
    cursor: pointer;
}
#aside div.wechat img{
    width: 80px;
    height: 80px;
}
#aside div.to-top span{
    color:red;
}
#aside div.to-top p{
    color:red;
}

/*返回顶部按钮*/
#aside div.to-top a{
    color:#fff;
    text-align: center;
}
#aside div.to-top a span{
    font-size: 20px;
    left: 50%;
    transform: translate(-50%);
}
#bigQR{
    width: 100%;
    height: 100%;
    display: none;
    z-index: 999;
    background-color:rgba(0,0,0,.7);
    position: fixed;
    top:0;
    left: 0;
}
#bigQR>div{
    z-index: 999;
    width: 200px;
    height:250px;
    position: fixed;
    text-align: center;
    background: #fff;
    border-radius: 5px;
    top:50%;
    left:50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    line-height: 50px;
}
#bigQR p{
    color:red;
    font-size:20px;
}
#bigQR img{
    width: 200px;
    height:200px;
}

/*底部信息*/
#footer{
    padding:10px 0;

}
#footer>div.company{
    width: 980px;
}
#footer>div.company p{
    text-align: center;
    width: 980px;
    color:#666;
}

#footer div.copyright{
    text-align: center;
    width: 980px;
}
#footer div a{
    color:#666;
}