html, body {
    overflow: hidden;
    position:fixed;
    background-color: #4E4D4D;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    height: 100vh;width:100%;
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
    display: none;
}

::-webkit-scrollbar-track-piece {
    background-color: #272727;
    -webkit-border-radius: 0;
}

::-webkit-scrollbar-thumb:vertical, ::-webkit-scrollbar-thumb:horizontal {
    -webkit-border-radius: 0;
    background: #444;
}

@font-face {
    font-family: 'ElegantIcons';
    src: url('/common/fonts/elegantfonts/ElegantIcons.eot');
    src: url('/common/fonts/elegantfonts/ElegantIcons.eot?#iefix') format('embedded-opentype'), url('/common/fonts/elegantfonts/ElegantIcons.woff') format('woff'), url('/common/fonts/elegantfonts/ElegantIcons.ttf') format('truetype'), url('/common/fonts/elegantfonts/ElegantIcons.svg#ElegantIcons') format('svg');
    font-weight: normal;
    font-style: normal;
}

[data-icon]:before {
    font-family: 'ElegantIcons';
    content: attr(data-icon);
    speak: none;
    font-weight: normal;
    font-variant: normal;
    font-style: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Not needed, layout is handled in pdfview.css
.pages {
    padding-top: 45px;
    height: calc(100vh - 45px);
}
    */

/* ******************************************************************************** */

.controls {
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, .7);
    color: white;
    padding: 3px 0 9px 0;
    z-index: 2;
    height: 26px;
    top: 0;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .controls a {
        color: white;
        text-decoration: none;
        position: relative;
    }

    .controls i {
        font-size: 22px;
        line-height: 2px;
        padding: 0 18px 0 0;
    }
        .controls i:hover {
            opacity: .6;
        }

    .controls .btn-holder {
        right: 7px;
        padding-top: 0;
        width: 69%;
        text-align: right;
        position: absolute;
        display: inline-block;
    }

    .controls label {
        margin-left: 10px;
        margin-top: 7px;
        display: inline-block;
    }

    .controls .page-nav i {
        padding: 0 10px 0 0;
        font-size: 29px;
        line-height: 20px;
        vertical-align: text-bottom;
    }

        .controls .page-nav i:before {
            margin-top: 80px;
        }

.is-fullscreen .fs-expand {
    display: none;
}

a:not(.is-fullscreen) .fs-contract {
    display: none;
}

.is-zoomed .zoom-in {
    display: none;
}

a:not(.is-zoomed) .zoom-out {
    display: none;
}

/* ******************************************************************************** */

.thumbs {
    display: none;
    position: absolute;
    z-index: 100;
    background-color: #171717;
    top: 36px;
    left: 0px;
    border: 1px solid #4E4D4D;
}

    .thumbs:before {
        content: "";
        width: 0;
        height: 8px;
        position: absolute;
        top: -29px;
        right: 110px;
        border: 10px solid transparent;
        border-bottom: 10px solid #4E4D4D;
        pointer-events: none;
    }

    .thumbs:after {
        content: "";
        width: 0;
        height: 8px;
        position: absolute;
        top: -27px;
        right: 110px;
        border: 10px solid transparent;
        border-bottom: 10px solid #171717;
        pointer-events: none;
    }

.thumbs-container {
    margin: 1px;
    overflow-x: hidden;
    overflow-y: scroll;
    width: calc(100vw - 5px);
    max-height: calc(100vh - 40px);
}

/* ******************************************************************************** */

.page-navigation {
    z-index: 12;
    font-size: 80px;
    color: white;
    position: fixed;
}

    .page-navigation .prev-page, .page-navigation .next-page {
        position: fixed;
        display: table;
        left: -17px;
        top: calc(50% - 50px);
        opacity: .5;
        transition: .2s;
    }

    .page-navigation .next-page {
        right: -10px;
        left: auto;
    }

    .page-navigation i {
        display: table-cell;
        vertical-align: middle;
        line-height: 80px;
    }

        .page-navigation i:before {
            text-shadow: 1px 1px 5px #888888;
        }

/* ******************************************************************************** */
@media screen and (max-width: 321px) {
        .controls i {
             padding-right: 9px;
             font-size: 19px;
             line-height: 2px;
        }

        .controls .page-nav i {
           padding-right: 0;
           font-size: 25px;
           line-height: 15px;
        }

        .controls label {
          margin-left: 14px;
        }

        .controls .btn-holder {
          right: 10px;
          padding-top: 3px;
        }

         .thumbs:before {
            top: -29px;
            right: 74px;
        }

        .thumbs:after {
            top: -27px;
            right: 74px;
        }
}

@media screen and (min-width: 480px) {
    .page-navigation {
        font-size: 110px;
    }

        .page-navigation .prev-page, .page-navigation .next-page {
            height: 50%;
            left: -20px;
            top: 25%;
        }

        .page-navigation .next-page {
            left: auto;
        }

            .page-navigation .prev-page:hover, .page-navigation .next-page:hover {
                opacity: 1;
                color: #eee;
            }

        .page-navigation .prev-page:hover {
            left: -25px;
        }

        .page-navigation .next-page:hover {
            right: -15px;
            left: initial;
        }

    .controls {
       /* padding: 10px 0;*/
    }

        .controls i {
            padding-right: 22px;
        }

        .controls label {
            margin-left: 30px;
        }

        .controls .btn-holder {
            right: 10px;
        }
    /* Handled by pdfview.css
    .pages {
        padding-top: 46px;
        height: calc(100vh - 46px);
    }*/

    .thumbs {
        top: 42px;
        left: 5px;
    }
    .thumbs .thumbs-container {
            width: calc(100vw - 15px);
            max-height: calc(100vh - 51px);
    }

        .thumbs:before {
            top: -29px;
            right: 111px;
        }

        .thumbs:after {
            top: -27px;
            right: 111px;
        }
}

@media screen and (min-width: 800px) {
    .controls {
        /*padding: 16px 0;*/
        /*font-size: 16px;*/
    }

        .controls i {
            padding-right: 37px;
        }

    .thumbs {
        top: 50px;
        left: 20px;
    }
      .thumbs .thumbs-container {
            width: calc(100vw - 40px);
    max-height: calc(100vh - 70px);
    }

        .thumbs:before {
            top: -29px;
            right: 118px;
        }

        .thumbs:after {
            top: -27px;
            right: 118px;
        }
}


a.page-nav i:before {
}
