.pdf-toolbar{
    min-height: 30px;
    padding: 5px 3px;
    background-color: #424242;
}

.pdf-toolbar-btn:hover {
    background-color: #ddd;
    color: black;
    cursor: pointer;
}

.pdf-toolbar-btn {
    background-color: #f1f1f1;
    color: black;
    display: inline-block;
    padding: 0 3px;
    width: 24px;
    height: 24px;
    text-align: center;
    margin: 5px;
}

.pdf-toolbar-title{
    color: #ffffff;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
}

.pdf-toolbar-btn i {
    line-height: 24px;
}

input[type="number"]#current-page {
    text-align: center;
    width: 24px;
    height: 24px;
    margin: 0px 10px;
    border: 0;
    position: relative;
    top: -1px;
}

input[type="number"]#current-page:hover,
input[type="number"]#current-page:active,
input[type="number"]#current-page:focus-within{
    border-color: #c3ad14;
}

span#page-number, span#page-number-sep{
    color: #ffffff;
}

/*Hide number arrows*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

select.pdf-toolbar-zoom{
    height: 24px;
    width: 60px;
    text-align: center;
    border: 0;
    position: relative;
    top: -1px;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Remove default arrow */

    /* Add custom arrow */
}

select.pdf-toolbar-zoom:before {
    content: "▼";
    padding: 12px 8px;
    position: absolute;
    right: 10px;
    top: 0;
    z-index: 1;
    text-align: center;
    width: 10%;
    height: 100%;
    pointer-events: none;
}

div#pdfviewer {
    height: 600px;
    width: 900px;
}

div#page-container {
    background-color: #cecece;
    position: relative;
    height: 100%;
    overflow-y: scroll;
    border: 2px solid #424242;
}

canvas.pdf-page {
    margin: 20px auto;
    display: block;
}

.pdfviewer-frame {
    margin-bottom: 60px;
}

#pdfModal .modal-title {
    display: inline-block;
}

#btn-zoom-out {
    margin-left: 15px;
}

#btn-print {
    margin-left: 15px;
}

.pdf-download-btns {
    float: right;
}

button[data-target="#pdfModal"] {
    outline:none;
    max-width: fit-content;
}
button[data-target="#pdfModal"]:active,
button[data-target="#pdfModal"]:focus {
    outline:none !important;
}

#pdfModal .modal-dialog {
    width: auto;
    max-width: 700px;
}

@media(max-width: 440px) {
    #btn-zoom-out {
        margin-left: 10px;
    }
    #btn-print {
        margin-left: 10px;
    }
    .pdf-download-btns {
        float: none;
    }
}