/*书籍页面*/
.contanier {
    min-width: 660px;
}

.flipbook-container{
    position: relative;
    top: 40px;
    left: 50%;
    transform: translate(-50%,0);
    transition: all .2s;
    z-index: 100;
    min-width: 750px;
    padding-bottom: 4rem;
}

#flipbook{
    position: absolute;
    transition: all .2s;
}

#flipbook .page{
    background-color:#ccc;
    background-size:100% 100%;
    line-height:300px;
    font-size:20px;
    text-align:center;

}
/*#flipbook img{*/
    /*width: 100%;*/
    /*height: auto;*/

/*}*/
/*菜单*/
.menu-wrapper {
    position: fixed;
    left: 10%;
    z-index: 110;  /* 高于书籍flipbook-container */
    width: 80%;
    height: 46px;
    text-align: center;
    background: #444;
    border-radius: 10px;
    margin-bottom: 10px;
}
.init-menu {
    width:  196px;
    height: 46px;
    margin: 0 auto ;
}
.init-menu .magnify-btn,
.init-menu .thumbnail-btn,
.init-menu .play-btn,
.init-menu .first-btn,
.init-menu .pre-btn,
.init-menu .next-btn,
.init-menu .last-btn,
.init-menu .voice-btn,
.init-menu .share-btn,
.init-menu .full-btn,
.init-menu .more-btn,
.init-menu .auto-play-btn {
    user-select: none;
    float: left;
    cursor: pointer;
    margin-right: 10px;
    width: 22px;
    height: 22px;
    line-height: 40px;
}
.init-menu .more-btn {
    display: none;
}
.page-input-wrapper {
    margin-right: 5px;
    float: left;
    width: 93px;
    line-height: 40px;
    color: rgb(51, 51, 51);
    border-radius: 5px;
}
.page-input{
    text-align: center;
    border-radius: 5px;
}
.init-menu img,
.init-menu input{
    vertical-align: middle;

}
/*.searchBar {*/
    /*position: absolute;*/
    /*top: 10px;*/
    /*right: 10px;*/
    /*box-sizing: border-box;*/
    /*width: 162px;*/
    /*height: 26px;*/
    /*line-height: 26px;*/
    /*background: #fff;*/
    /*border-radius: 3px;*/

/*}*/
/*.preSearchContent,*/
/*.search-button{*/
    /*float: left;*/
/*}*/
/*.presearch-button {*/
    /*cursor: pointer;*/
/*}*/
/*.preSearchContent .preSearch {*/
    /*height: 18px;*/
    /*border-width: 0px;*/
    /*margin-left: 5px;*/
    /*margin-top: -3px;*/
    /*vertical-align: middle;*/
/*}*/

.extendedBar {
    display: none;
}


/*左右,首位页,举报按钮*/

.btn-left,
.btn-right {
    user-select: none;
    position: fixed;
    top: 50%;
    z-index: 120; /*高于书籍*/
    margin-top: -32px;
    width: 48px;
    height: 48px;
}
.btn-left img,
.btn-right img {
    width: 48px;
    height: 48px;
}

.btn-left{
    left: 0;
}

.btn-right {
    right: 0;
}
.btn-right:hover,
.btn-left:hover {
    background: #444;
}
.bottom-first-btn,
.bottom-last-btn {
    cursor: pointer;
    position: fixed;
    z-index: 200;
    bottom: 20%;
}
.bottom-first-btn {
    left: 10px;
}
.bottom-last-btn {
    right: 10px;
}
.bottom-first-btn img,
.bottom-last-btn img {
    width: 22px;
    height: 22px;
}
.report-btn {
    position: fixed;
    right: 10px;
    bottom: 12%;
    color: #fff;
    z-index: 200;
    cursor: pointer;
    user-select: none;
}
.end-page-tip,
.first-page-tip,
.watch-full{
    position: absolute;
    z-index: 1000;
    height: 30px;
    line-height: 30px;
    background: #333;
    border-radius: 5px;
    left: 50%;
    transform: translate(-50%,0);
    color: #ffffff;
    vertical-align: middle;
    text-align: center;
    font-family: "Tahoma","sans-serif","Arial";
    font-size: 12px;
    padding: 3px 7px;
    opacity: 0.5;
    white-space: nowrap;
}
.end-page-tip {
    transition: all .2s;
    opacity: 0;
    visibility: hidden;
    bottom: 15%;
    font-size: 16px;

}

.watch-full{
    bottom: 15%;
    cursor: pointer;
}
.first-page-tip {
    transition: all .2s;
    opacity: 0;
    visibility: hidden;
    top: 10%;
    font-size: 16px;
}

/*分享盒子*/
.share .share-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all .2s ease;
    z-index: 130; /*高于书籍*/
    visibility: hidden;
    opacity: 0;
    background: rgba(0, 0, 0, .5);

}

.share-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: all .2s ease;
    margin-top: -150px;
    margin-left: -250px;
    z-index: 111111111;
    width: 500px;
    height: 300px;
    background: #27181a;
    visibility: hidden;
    opacity: 0;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.share-title {
    color: #fff;
    box-sizing: border-box;
    height: 35px;
    margin-bottom: 15px;
    padding: 10px 25px 10px 25px;
}
.share-title .close-btn {
    font-size: 20px;
    user-select: none;
    cursor: pointer;
}
.share-middle {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 35px;
    width: 500px;
    height: 150px;
    margin-bottom: 20px;
}
.share-middle .codeBox,
.share-middle .icon-group {
    position: relative;
    float: left;
}

.share-middle .codeBox:after{
    position: absolute;
    content: '';
    width: 2px;
    height: 100px;
    background: #fff;
    top: 0px;
    right: -25px;
}
.share-middle .icon-group {
    margin-left: 50px;
}
.share-middle .icon-group .small-title {
    color: #ffffff;
    margin-bottom: 10px;
}
.share-middle .icon-group a {
    margin-right: 15px;
}
.share-middle .icon-group img {
    width: 50px;
    height: 50px;
}
.link-Box .link-input {
    margin-left: 25px;
    width: 250px;
    height: 30px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px 0 0 5px;
}
.link-Box .copy-button {
    background: #5d5253;
    border-raius: 5px;
    user-select: none;
    font-size: 13px;
    width: 75px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    padding: 0;
    cursor: pointer;
}


/*缩略图*/
.thumbnail-menu {
    position: absolute;
    left: 50%;
    transform: translate(-250px,0);
    bottom: 35px;
    width: 500px;
    height: 70px;
    margin: 0 auto;
    z-index: 100;
    /*visibility: hidden;*/
    /*opacity: 0;*/
    transition: all .2s;
}
.thumbnail-wrapper {
    position: relative;
    bottom: 0;
    width: 415px;
    height: 70px;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    cursor: grab;
    user-select: none;
}
.thumbnail-wrapper:active {
    cursor: grabbing;
}
.thumbnail {
    display: inline-block;
    white-space: nowrap;
    padding: 0 5px;
    transition: transform 0.1s ease-out;
}
.thumbnail .page {
    display: inline-block;
    margin: 0 5px;
    vertical-align: top;
}
.thumbnail-wrapper .double-page {
    width: 105px;
    height: 70px;
}
.thumbnail-wrapper .pic {
}
.thumbnail-menu .left-btn,
.thumbnail-menu .right-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px;
    border-radius: 50%;
}
.thumbnail-menu .left-btn {
    left: 0;
}
.thumbnail-menu .right-btn {
    right: 0;
}
.thumbnail-menu .left-btn img,
.thumbnail-menu .right-btn img {
    width: 26px;
    height: 52px;
    line-height: 52px;
}
.thumbnail-menu .thumbnail-page-number {
    cursor: default;
    color: #fff;
    font-size: 13px;
    margin-top: 5px;
    margin-left: 210px;
    display: inline-block;
    line-height: 20px;
    padding: 0 20px;
    border-radius: 10px;
    background: rgba(0,0,0,0.5);
}

.thumbnail .page img {
    box-sizing: border-box;
    height: 67px;
    float: left;
}
/*缩放小菜单*/
.scale-menu-wrapper {
    user-select: none;
    min-width: 165px;
    position: fixed;
    top: 51px;
    left: 40%;
    z-index: 110;
    overflow: hidden;
    width: 20%;
    height: 40px;
    text-align: center;
    background: rgba(0, 0, 0, .4);
    border-radius: 10px;
    margin-bottom: 10px;
}
.scale-menu {
    width: 165px;
    min-width: 165px;
    height: 40px;
    margin: 0 auto;
}

.add-btn,
.minus-btn,
.shrink-btn,
.pre-btn,
.scale-next-btn,
.mouse-btn {
    float: left;
    cursor: pointer;
    margin-right: 5px;
    width: 22px;
    height: 22px;
    line-height: 40px;
}

.scale-menu img {
    vertical-align: middle;
}

/*右键菜单*/
.context-menu {
    display: none;
    position: absolute;
    z-index: 200;
    background: #FFFFFF;
    color: #000;
    width: 200px;
    height: 144px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: rgb(51, 51, 51) 0px 0px 6px;
}
.share-wrapper1,
.margnify-wrapper1,
.full-wrapper1,
.thumbnail-wrapper1{
    z-index: 200;
    width: 200px;
    height: 36px;
    line-height: 36px;
    color: #000;
}


.thumbnail-wrapper1:hover,
.full-wrapper1:hover,
.margnify-wrapper1:hover,
.share-wrapper1:hover {
    background: rgba(0, 0, 0, .2);
}

.share-icon,
.margnify-icon,
.full-icon,
.thumbnail-icon{
    /*display: block;*/
    width: 16px;
    height: 16px;
    line-height: 36px;
    margin: 10px;
    color: #000;

}
.share-text,
.margnify-text,
.full-text,
.thumbnail-text{
    /*display: block;*/
    line-height: 36px;
    color: #000;
}

/*搜索菜单*/
/*.search-menu {*/
    /*visibility: hidden;*/
    /*opacity: 1;*/
    /*position: absolute;*/
    /*z-index: 10000;*/
    /*box-sizing: border-box;*/
    /*top: 56px;*/
    /*left: -297px;*/
    /*width: 297px;*/
    /*height: 578px;*/
    /*background: rgb(82, 70, 72);*/
    /*border: 4px solid #000000;*/
    /*border-radius: 3px;*/
    /*transition: all .2s;*/
/*}*/
/*.search-menu .search-title {*/
    /*background: rgb(0, 0, 0);*/
    /*color: #fff;*/
    /*font-size: 15px;*/
    /*line-height: 25px;*/
    /*height: 25px;*/
    /*padding-left: 5px;*/
    /*user-select: none;*/
/*}*/
/*.search-menu .search-close {*/

    /*position: absolute;*/
    /*right: 0;*/
    /*top: 3px;*/
    /*cursor: pointer;*/
/*}*/
/*.search-content .search-input-wrapper{*/
    /*width: 267px;*/
    /*height: 30px;*/
    /*margin: 18px 0 0 10px;*/
    /*background: #FFFFFF;*/
/*}*/
/*.search-input-content,*/
/*.search-button {*/
    /*float: left;*/
/*}*/
/*.search-input-wrapper .search-input {*/
    /*width: 227px;*/
    /*height: 30px;*/
    /*border: none;*/
    /*padding: 0 0 0 10px;*/

/*}*/
/*.search-input-wrapper .search-button {*/
    /*width: 22px;*/
    /*height: 22px;*/
    /*line-height: 30px;*/
    /*margin-top: 5px;*/
    /*cursor: pointer;*/
/*}*/

/*.search-content .result{*/
    /*font-size: 14px;*/
    /*color: #fff;*/
    /*padding: 0 10px;*/
    /*height: 40px;*/
    /*vertical-align: middle;*/
    /*line-height: 40px;*/
    /*border-bottom: 1px solid rgba(255,255,255,0.1);*/
/*}*/
/*.search-content .result .page-number {*/
    /*display: inline-block;*/
    /*margin-top: 5px;*/
    /*color: #ffb000;*/
/*}*/

.auto-play-btn {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auto-play-btn img {
    width: 20px;
    height: 20px;
}
.init-menu .auto-play-btn.playing img {
    content: url('../images/pause.png');
}
