/*
* @description:Common usage Styles
* @author:xiaobai
* @update:xiaobai (2016-05-01 8:30)
*/
@-webkit-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-ms-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

body {
    font-family: "Microsoft Yahei", Helvetica, Arial, sans-serif;
    color: #3b3d3e;
    font-size:12px;
}

a {
    color: #666;
}

a:hover, a:focus {
    color: #666;
    text-decoration: none;
}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}
.block {
    display: block;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.float-none {
    float: none;
}

.margin-center {
    margin-left: auto;
    margin-right: auto;
    display: table;
    width: auto;
}

.text-justify {
    text-align: justify;
}

.text-underline {
    text-decoration: underline;
}

.text-top {
    vertical-align: top;
}

.text-middle {
    vertical-align: middle;
}

.text-bottom {
    vertical-align: bottom;
}

.text-nobr {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-nowrap {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.f0 {
    font-size: 0;
}

.f9 {
    font-size: .09rem;
}

.f10 {
    font-size: .1rem;
}

.f12 {
    font-size: .12rem;
}

.f14 {
    font-size: .14rem;
}

.f16 {
    font-size: .16rem;
}

.f18 {
    font-size: .18rem;
}

.f20 {
    font-size: .2rem;
}

.f24 {
    font-size: .24rem;
}

.f26 {
    font-size: .26rem;
}

.f32 {
    font-size: .32rem;
}

.f36 {
    font-size: .36rem;
}

.pos-relative {
    position: relative;
}

.pos-absolute {
    position: absolute;
}

.pos-static {
    position: static;
}

.text-dark {
    color: #000;
}

.text-light-dark {
    color: #666;
}

.text-jet-dark {
    color: #333;
}

.text-white, a.text-white {
    color: #fff;
}

.text-red, a.text-red {
    color: #ff4136;
}

.text-light-red, a.text-light-red {
    color: #f74d4d;
}

.text-blue, a.text-blue {
    color: #006666;
}

.text-highlight-blue, a.text-highlight-blue {
    color: #5badab;
}

.text-high-blue, a.text-high-blue {
    color: #4c6aae;
}

a.text-light-blue, .text-light-blue {
    color: #89afc3;
}

.text-orange, a.text-orange {
    color: #fa8100;
}

.text-dark-orange {
    color: #ff7200;
}

.text-gray, a.text-gray {
    color: #454545;
}

.text-light-gray {
    color: #a3a3a3;
}

.txt-idt1 {
    text-indent: 1rem;
}

.txt-idt2 {
    text-indent: 2rem;
}

.n {
    font-weight: normal;
    font-style: normal;
}

.b {
    font-weight: bold;
}

.i {
    font-style: italic;
}

.wf {
    width: 100%;
}

.hf {
    height: 100%;
}

.nowrap {
    white-space: nowrap;
}

.bk {
    word-wrap: break-word;
}

.rel {
    position: relative;
}
.m5 {
    margin: 0 5%;
}
.abs {
    position: absolute;
}
.pt13{
    padding-top: .13rem;
}
.p14{
    padding: .13rem 0 .14rem 0;
}
.p10 {
    padding: 10px;
}
.mt14{
    margin-top: .14rem;
}
.mb16{
    margin-bottom: .16rem;
}
.m16{
    margin: .16rem .15rem;
}
.m15{
    margin: 0 .15rem;    
}
.brb{
    border-bottom: 1px solid #eaeaea;
    padding-bottom: .13rem;
}
.inline-block{
    display: inline-block;
}
.mb14{
    margin-bottom:.14rem; 
}
.mt14{
    margin-top:.14rem; 
}
.mt06{
   margin-top: .06rem; 
}
.mt09{
    margin-top: .09rem;
}
.mr08{
    margin-right: .08rem;
}
.swiper-pagination-bullet-active {
    background-color: #666;
}
.header{
    width: 100%;
    height: 45px;
    text-align: center;
    position: relative;
}
.header h1,.header>div{
    color: #fff;
    line-height: 45px;
}
.header>div{
    font-size: 14px;
    position: absolute;
    top: 0;
}
.header>.header-left{
    left:10px;
}
.header>.header-left>i.fa{
    font-size:22px;
    vertical-align: sub;
}
.header>.header-right{
    right:10px;
}
.header h1{
    font-size:20px;
    margin-top: 0;
}
.footer{
    width: 100%;
    height: 49px;
}

.modal-dialog{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 90%;
    /*max-width: 500px;*/
    min-height: 260px;
    height: 25px;
}
.line{
    width: 100%;
    height: 0;
    border-top: 1px solid#eee;
}
.line-gary{
    width: 100%;
    height: .1rem;
    background-color: #f8f8f8;
    /* margin: .14rem 0; */
}
.hide{
    display: none;
}
.show{
    display: block;
}
.ellipsis3{
    -webkit-line-clamp: 4;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}
.ellipsis2{
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}
.ellipsis1{
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box; 
}
@media only screen and (max-width: 320px) {
   .ellipsis3{
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    }
}
.content{
    line-height: .19rem;
    font-size: .13rem;
    overflow: hidden;
}
.state{
    margin: .08rem 0;
}
.state span.wj{
    color: #8C8C8C;
    border: 1px solid #8C8C8C;
}
.cl{
    color: #68AA6E;
}
.cl8{
    color: #8C8C8C;
}
.bgcl8{
    background-color: #F8F8F8;
}
.bgcl6{
    background-color: #6666cc;
}
.bgc37{
    background-color: #3778FF;
}
.line-gary2{
    background-color: #F8F8F8;
    height: .1rem;
}
h5{
    font-size: .15rem;
    line-height: .21rem;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}
.tag{
    padding: 0 .06rem;
    border: 1px solid #68aa6e;
    line-height: .14rem;
    border-radius: .02rem;
    -moz-border-radius: .02rem;
    -webkit-border-radius: .02rem;
}
/* 盒阴影 */
.shadow2{
    box-shadow: 0px 1px 2px 0px rgba(217,217,217,1);
    -moz-box-shadow: 0px 1px 2px 0px rgba(217,217,217,1);
    -webkit-box-shadow: 0px 1px 2px 0px rgba(217,217,217,1);
}
.shadow{
    box-shadow: 1px 3px 7px rgba(0,0,0,0.30);
    -moz-box-shadow: 1px 3px 7px rgba(0,0,0,0.30);
    -webkit-box-shadow: 1px 3px 7px rgba(0,0,0,0.30);
}
.shadow1{
    box-shadow: 1px 2px 4px rgba(0,0,0,0.20);
    -moz-box-shadow: 1px 2px 4px rgba(0,0,0,0.20);
    -webkit-box-shadow: 1px 2px 4px rgba(0,0,0,0.20);
}


/*2018-08-20 下午增加*/
/* 头部公用样式 */
header .header-box a i{
    color: #666;
    font-size: .18rem;
    font-weight: bolder;
}
header{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 6;
    width: 100%;
    background-color: #fff;
    height: 0.41rem;
/*    line-height: 0.39rem;*/
    font-size: 0.16rem;
    border-bottom: .01rem solid #f5f5f5;
    -moz-border-bottom: .01rem solid #f5f5f5;
    -webkit-border-bottom: .01rem solid #f5f5f5;
}
header.bgcl6{
    height: .42rem;
    border: none;
}
header .header-box{
    position: relative;
}
header.bgcl6 .header-box h2{
    color: #ffffff;
}
header .header-box h3{
    text-align: center;
    font-size: .16rem;
    line-height: .42rem;
    font-weight: 500;
}
header .header-box a.user{
    position: absolute;
    top: .1rem;
    right: .15rem;
    width: .19rem;
    height: .19rem;
}
header .header-box a.return{
    position: absolute;
    /* top: .1rem; */
    left: .15rem;
    width: .19rem;
    height: .19rem;
}  
header .header-box a.home{
    position: absolute;
    top: .01rem;
    right: .15rem;
    width: .22rem;
    height: .22rem;  
}

/* 脚部公用样式 */
footer.btns{
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 6;
    box-sizing: border-box;
    padding-top: .12rem;
    padding-bottom: .1rem;
    width: 100%;
    height: .44rem;    
    background-color: #fff;
    border-top: 1px solid #eee;
}
footer.btns .chapter{
    position: absolute;
    left: 50%;
    bottom: .4rem;
    margin-left: -.5rem;
    z-index: 8;
    width: 1.14rem;
    /* height: 2.1rem; */
    max-height: 2.1rem;
    box-shadow: 0px 2px 6px 0px rgba(217,217,217,1);
    background-color: #fff;
    overflow: auto;
    display: none;
}
footer.btns .chapter.show{
    display: block;
}
footer.btns .chapter ol{
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding-left: .1rem;
    padding-right: .1rem;
}
footer.btns .chapter ol li{
    color: #333;
    font-size: .14rem;
    height: .4rem;
    line-height: .4rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}
footer.btns a{
    display: inline-block;
    font-size: .14rem;
    color: #333;
    box-sizing: border-box;
    float: left;
    width: 33.3%;
    text-align: center;
    border-right: 1px solid #eee;
}
footer.btns a.style{
    color: #8C8C8C;
}
footer.btns a.last{
    border-right: none;
}
footer.btns a.middle{
    color: #6666CC;
}
footer.btns a.middle i{
    font-size: .1rem;
    margin-right: .05rem;
}



section .recom .recom-matter{
    overflow: hidden;
    /* padding-bottom: .12rem; */
}
section .recom .recom-matter li{
    box-sizing: border-box;
    /* width: 33.3%; */
    overflow: hidden;
    position: relative;   
    /* padding: .12rem 3%; */
}
section .recom .recom-matter li a{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
}
section .recom .recom-matter li div.pic{
    width: 100%;
    display: block;
    position: relative;
    height: 100%;
}
section .recom .recom-matter li div.pic .book-star{
    position: absolute;
    bottom: .03rem;
    width: 100%;
    height: .2rem;
    line-height: .2rem;
    left: 0;
    font-family: cursive;
    color: #FFB136;
    text-align: center;
    background-color:rgba(255,255,255,0.8);
    border-radius: 0 0 .04rem .04rem;
    -moz-border-radius: 0 0 .04rem .04rem;
    -webkit-border-radius: 0 0 .04rem .04rem;
}
section .recom .recom-matter li div.pic img{
    width: 100%;
    border-radius: .04rem;
    -moz-border-radius: .04rem;
    -webkit-border-radius: .04rem;
}
section .recom .recom-matter li p.book-title{
    font-size: .15rem;
    text-align: left;
    margin-top: .04rem;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
}
