.main-book{background:#FFF;}
.modal{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100vh;
    background:rgba(0,0,0,.7);
    text-align:center;
    display:none;
    z-index:10000;
}
.modal:after {
    display:inline-block;
    height:100%;
    width:0;
    vertical-align:middle;
    content:''
}
.modal-body{
    display:inline-block;
    position:relative;
    width:800px;
    max-width:80%;
    min-width:240px;
    vertical-align:middle;
    max-height:calc(100vh - 40px);
    margin-top:-50px;
}
.modal-title{
    height:36px;
    line-height:36px;
    padding:0;
    font-size:18px;
    text-align:left;
    color:#fff;
}
.modal-title span{
    display:inline-block;
    vertical-align:top;
    width:calc(100% - 65px);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.modal-close{
    float:right;
    font-size:12px;
    cursor:pointer;
    transition:all ease .15s;
    color:#bcbdbd;
    margin-left:7px;
}
.modal-close i{margin-right:5px;}
.modal-close:hover{
    color:#fb2f5e;
}
.modal-content{
    font-size:14px;
    padding:20px;
    overflow-y:auto;
    max-height:calc(100vh - 180px);
    background:#f7f7f7;
    text-align:left;
}
.main-book .book-chapter-content{
    display:none;
}
.main-book .add-chapter .redactor_editor{
    max-height:450px;
    margin-bottom:10px!important;
}
.main-book .book-btn{
    display:inline-block;
    vertical-align:top;
    line-height:28px;
    padding:0 10px;
    border-radius:2px;
    margin-right:5px;
    transition:all ease .15s;
    cursor:pointer;
    background:#3b96f5;
    color:#fff;
    font-size:14px;
}
.main-book .book-btn:hover{
    background:#5ba8f9;
}
.main-book .selected-delete{
    visibility:hidden;
    opacity:0;
    background:#f95b78;
}
.main-book .selected-delete:hover{
    background:#fb2f5e;
}
.main-book .selected-delete.active{
    visibility:visible;
    opacity:1;
}
.book-chapters{
    margin-top:15px;
    border:1px solid #e0e0e0;
    border-radius:2px;
    display:inline-block;
    vertical-align:top;
    width:100%;
    padding:15px;
    box-sizing:border-box;
}
.book-chapters.in-item{
    margin-top:0;
}
.book-chapter{
    border-bottom:1px solid #e0e0e0;
    padding:15px 0;
}
.book-chapter:last-child{
    border-bottom:0;
    padding-bottom:0;
}
.book-chapter:first-child{
    padding-top:0;
}
.book-chapter input[type="checkbox"]{
    float:left;
    margin:5px 10px 0 0;
}
.book-chapter h3{
    display:inline-block;
    vertical-align:top;
    box-sizing:border-box;
    margin:0 0 5px 0;
    font-size:18px;
    font-weight:normal;
    line-height:24px;
    cursor:pointer;
}
.book-chapter h3 .title{
    border-bottom:1px solid transparent;
    transition:all ease .15s;
}
.book-chapter h3:hover .title{
    border-bottom:1px solid #3b96f5;
    color:#3b96f5;
}
.chapter-details{
    clear:both;
    font-size:11px;
    color:#999;
}
.chapter-details .chapter-edit{
    color:#3b96f5;
    border-bottom:1px dashed;
    transition:all ease .15s;
    cursor:pointer;
}
.chapter-details .chapter-edit:hover{
    color:#5ba8f9;
    border-bottom:1px dotted;
}
.chapter-count{
    display:inline-block;
    vertical-align:super;
    font-size:11px;
    padding-left:3px;
    margin-top:-5px;
    color:#999;
}
.main-book .book-btn.book-cancel-chapter{
    background:#f95b78;
}
.main-book .book-btn.book-cancel-chapter:hover{
    background:#fb2f5e;
}