@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@200;300;400;500;600;700;800&display=swap');

html,
* {
    font-family: 'Poppins', sans-serif;
}


body {
    margin: 0;
    padding: 0;
    background: rgb(255, 255, 255);
    font-family: 'Poppins', sans-serif;
    color: #222;
    position: relative;
    font-size: 15px;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.lead {
    font-size: 1.5rem;
    font-weight: 300;
    background: linear-gradient(to right, #000000 0%, #000000 50%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    margin: auto;
    width: 100%;
}

.pdf-toolbar {
    width: max-content;
    margin: auto;
    min-height: 30px;
    padding: 4px 3px 6px 3px;
}

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

.pdf-toolbar-btn {
    background-color: #f1f1f1;
    color: black;
    display: inline-block;
    padding: 0px 4px 8px 4px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    text-align: center;
    margin: 0px 8px;
    font-size: 19px;
    font-weight: bolder;
    vertical-align: -2px;
    font-family: 'Noto Sans Thai', sans-serif;
    line-height: 27px;
}

.pdf-toolbar-title {
    color: wheat;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
    display: none;
}

input[type="number"]#current-page {
    width: 25px;
    text-align: center;
    height: 20px;
    margin: 5px 10px;
    border-radius: 3px;
    border: 2px solid rgb(157 184 202);
    font-weight: 600;
}

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: rgb(178 224 255);
}

/*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: 28px;
    margin: 6px 8px;
    width: 80px;
    text-align: center;
    border-width: 2px;
    border-radius: 3px;
    border: 2px solid #e1e1e1;
    font-weight: 600;
}

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: 100vh !important;
    width: 100% !important;
    background-color: rgb(0 67 112);
}

div#page-container {
    background-color: rgb(200 206 211);
    position: relative;
    height: 100%;
}

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

div#page-container {
    overflow-y: scroll;
}