body {
    margin: 0px;
}

#viewer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100vh;
    overflow: hidden;
}

#viewer_left {

    width: 200px;
    height: 100%;
    background: #323639;
    border-right: 5px #606164 solid;
    float: left;
    position: relative;
}

#viewer_left .logo {
    width: 100%;
    text-align: center;
    padding: 15px 5px 5px 5px;
    box-sizing: border-box;
    margin: 0px;
}

#viewer_left .logo img {
    width: 100%;
}

#viewer_right {
    width: calc((100% - 200px)/1);
    float: right;
}

.list_title {
    color: #fff;
    box-shadow: 0px 4px 6px #2b2929;
    margin: 0px;
    height: 56px;
    line-height: 56px;
    padding-left: 20px;
    margin-bottom: 20px;
    display: none;
}

ul.item {
    padding: 0px;
    margin: 0px 0px 0px 0px;
    width: 100%;
    overflow-y: auto;
    height: calc((100vh - 270px) / 1);
    display: block;
}

.item li {
    list-style-type: none;
    cursor: pointer;
}

.item li.active {
    background: #6f7173;
}

.item li:hover {
    background: #606364;
}

.item li p {
    color: #f5f5f5;
    margin: 0px;
    height: 45px;
    cursor: pointer;
    line-height: 45px;
    padding-left: 10px;
    border-bottom: #484848 1px dashed;
    font-size: 14px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div#page {
    position: absolute;
    bottom: 10px;
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

div#page>p {
    color: #fff;
    border: #f5f5f5 1px solid;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    margin: 0;
    box-sizing: border-box;
}

#viewer.catalogue #page>p:nth-child(2) {
    width: 90%;
    margin: 15px 0px;
    text-align: center;
}

#viewer.catalogue #page>p:nth-child(3) {
    width: 90%;
    margin: 0px;
    text-align: center;
}

#viewer.main #page>p:nth-child(2) {
    width: 90%;
    margin: 15px 0px;
    text-align: center;
}

#viewer.main #page>p:nth-child(3) {
    width: 90%;
    margin: 0px;
    text-align: center;
}

div#page>p:hover {
    background: #fff;
    color: #333;
    cursor: pointer;
}

.jump {
    width: 100%;
    padding: 0px 10px;
}

div#page .jump>p {
    color: #fff;
    font-size: 14px;
    margin: 0px;
    padding-bottom: 8px;
}

div#page .jump .input {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

div#page .jump .input .left {
    color: #fff;
    font-size: 14px;
}

div#page .jump .input input {
    width: calc((100% - 80px)/1);
}

div#page .jump .input p {
    margin: 0px;
    width: 30px;
    font-size: 12px;
    background: #fff;
    color: #333;
    padding: 2px 4px;
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
}

#viewer_right iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.year {
    color: #fff;
    height: 50px;
    line-height: 50px;
    text-align: left;
    padding-left: 20px;
    font-size: 12px;
    border-bottom: #717171 1px solid;
}

.year span {
    font-weight: bold;
    font-size: 30px;
}

.list_main {
    position: relative;
    height: 100%;
}

.prev {
    position: fixed;
    left: 210px;
    bottom: 20px;
    z-index: 99;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    margin: 0;
    box-sizing: border-box;
    cursor: pointer;
}

.next {
    position: fixed;
    right: 10px;
    bottom: 20px;
    z-index: 99;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    margin: 0;
    box-sizing: border-box;
    cursor: pointer;
}

.bookMenu {
    position: fixed;
    top: -100%;
    left: 0px;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    box-sizing: border-box;
    opacity: 0;
    transition: all 0.4s;
}

.bookMenu.active {
    top: 0px;
    opacity: 1;
    transition: all 0.4s;
}

.bookMenu_box {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60%;
    background: #fff;
    border: #2eadf2 5px solid;
    border-radius: 10px;
    -webkit-transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important;
    padding: 15px;
    box-sizing: border-box;
}

.bookMenu_box .close {
    position: absolute;
    right: -20px;
    top: -20px;
    background: #fff;
    border: #2eadf2 2px solid;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 25px;
    cursor: pointer;
}

.bookMenu_box .close img {
    width: 16px;
    height: 16px;
    display: block;
}

.bookMenu_box>p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
}

.rightPart {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.rightPart .booklist {
    width: 33%;
    text-align: center;
}

.rightPart .booklist img {
    width: 100%;
    max-width: 200px;
    border: #ddd 1px solid;
    border-radius: 8px;
    cursor: pointer;
}

.rightPart .booklist p {
    width: 100%;
    max-width: 200px;
    margin: 0px auto;
    background: #2eadf2;
    font-size: 14px;
    padding: 10px 0px;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}



/* 滚动条样式 */
::-webkit-scrollbar {
    width: 9px;
    background-color: #fff;
}

::-webkit-scrollbar-thumb {
    border: solid 2px #fff;
    width: 5px;
    border-radius: 4px;
    background-color: #383f4b;
}

::-webkit-scrollbar-corner {
    background-color: #fff;
}

::-webkit-scrollbar:horizontal {
    height: 9px;
}

::-webkit-selection {
    background: #383f4b;
    color: #fff;
}

::-moz-selection {
    background: #383f4b;
    color: #fff;
}

::selection {
    background: #383f4b;
    color: #fff;
}

/* 首页第一页弹出 */
.start {
    position: fixed;
    width: 360px;
    text-align: center;
    color: #fff;
    left: 50%;
    border: #10a2c7 1px solid;
    padding: 10px 20px;
    box-sizing: border-box;
    top: 44%;
    margin-left: -80px;
    background: rgba(0, 184, 231, 0.8);
    border-radius: 10px;
    animation-duration: 0.3s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-name: jiang;
    opacity: 0;
    display: none;
}
/* 首页最后一页弹出 */
.end {
    position: fixed;
    width: 360px;
    text-align: center;
    color: #fff;
    left: 50%;
    border: #10a2c7 1px solid;
    padding: 10px 20px;
    box-sizing: border-box;
    top: 44%;
    margin-left: -80px;
    background: rgba(0, 184, 231, 0.8);
    border-radius: 10px;
    animation-duration: 0.3s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-name: jiang;
    opacity: 0;
    display: none;
}
.start.show{
    display: block !important;
}
.end.show{
    display: block !important;
}
@keyframes jiang {
    0% {
        opacity: 0;
        margin-top: 0px;
    }

    100% {
        opacity: 1;
        margin-top: 30px;
    }
}