/* pdfModal */
.PdfModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.PdfModal__viewer {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding:1em 0;
    box-sizing: border-box;
    z-index: 100000;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.PdfModal__box {
    position: relative;
    overflow: auto;
    border-radius: 1em;
    max-width: 100%;
    padding: 1em;
    background-color: #fff;
}

.PdfModal .PdfModal__canvas {
    position: relative;
    top: 0;
    left: 0;
    max-width: none;
    max-height: none;
    display: block;
    user-select: none;
}

.PdfModal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    width: 2em;
    height: 2em;
    line-height: 2em;
    text-align: center;
    border-radius: .5em;
    color: #fff;
    display: flex;
    z-index: 9999999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.PdfModal__close:hover {
    background-color: #1111111a;
    color: #fff;
}

.PdfModal__controls {
    position: absolute;
    gap: .5em;
    top: 1em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: #ffffffd1;
    padding: .5em;
    border-radius: .5em;
    z-index: 100;
    border: 1px solid #e5e5e5;
}

.PdfModal__controls .button {
    width: 2em;
    height: 2em;
    display: block;
    border-radius: 3px;
    border: 1px solid #b1b1b1;
    line-height: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.PdfModal__controls .button i {
    font-size: 20px;
}

.PdfModal__controls .button:hover {
    border-color: #29bbc5;
}

.PdfModal__controls .info .num {
    font-weight: bold;
}

.PdfModal__controls .info .tit {
    display: inline-block;
    line-height: 24px;
    border-radius: 2px;
    background-color: #efefef;
    color: #3f3f3f;
    font-size: 12px;
    padding: 0 10px;
}

.PdfModal__controls .info {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}