﻿section#layout #PDFView header {
    width: 100% !important;
    padding-left: 40px;
    line-height: 60px;
    left: 0 !important;
    height: 55px;
    border-radius: 0;
    border: 0;
}

section#layout #PDFView .PDF-toolbar {
    width: 100%;
    padding: 20px 20px 10px;
    text-align: right;
}

    section#layout #PDFView .PDF-toolbar ul {
        list-style: none;
        line-height: 30px;
        width: 100%;
    }

    section#layout #PDFView .PDF-toolbar li {
        display: inline-block;
        width: auto;
        margin: 0px;
        height: auto;
        line-height: 55px;
        margin-left: 10px;
    }

        section#layout #PDFView .PDF-toolbar li a i,
        section#layout #PDFView .PDF-toolbar li button i {
            padding-right: 5px;
            font-size: 16px;
        }

    section#layout #PDFView .PDF-toolbar .PDFBtn.kb-purple {
        color: #33195B;
        border-color: #33195B;
        text-align: center;
        font-size: 12px;
        padding: 4px 10px;
        transition: all 0.1s ease-in;
        border-radius: 40px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -o-user-select: none;
        user-select: none;
        min-width: 80px;
        line-height: 28px;
        background: none;
    }

        section#layout #PDFView .PDF-toolbar .PDFBtn.kb-purple:hover,
        section#layout #PDFView .PDF-toolbar .PDFBtn.kb-purple:active,
        section#layout #PDFView .PDF-toolbar .PDFBtn.kb-purple:focus {
            background: #33195B;
            color: white;
            border-width: 1px !important;
            border-style: solid !important;
            opacity: 0.8;
        }

.PDF-Viwer .powered-by {
    position: fixed;
    right: 20px;
    bottom: 10px;
    z-index: 9;
}

.PDF-Viwer #main {
    margin-top: 0;
}

.PDF-Viwer .powered-by span {
    display: block;
    font-size: 12px;
}

.PDF-Viwer .powered-by img {
    height: 40px;
}

.PDF-Viwer section #layout #PDFView #page-layout {
    top: 0;
}

#PDFView .page-content {
    margin-bottom: 50px;
    padding-top: 0;
    padding-bottom: 50px;
}

.PDF-Viwer section#layout #PDFView .pdf-pages-container {
    min-height: 29.7cm;
    margin: 0 auto;
    width: 21cm;
}

.PDF-Viwer section#layout #PDF-template {
    padding: 20px;
    width: 100%;
    /*max-width: 1240px;*/
    max-width: 21cm;
    display: block;
    min-height: 29.7cm;
    position: relative;
    -webkit-box-shadow: 0px 2px 8px 3px rgba(204 204 204 / 50%);
    box-shadow: 0px 2px 8px 3px rgba(204 204 204 / 50%);
    background: white;
    margin: 0 auto;
}

body.PDF-Viwer,
.PDF-Viwer #layout,
.PDF-Viwer #main,
.PDF-Viwer #page-layout,
.PDF-Viwer .page-content {
    height: 100%;
    font-family: 'Inter var', sans-serif !important;
    overflow: visible;
    -webkit-appearance: none;
    background: #F8F5F4;
}

body.PDF-Viwer, .PDF-Viwer div, .PDF-Viwer span, .PDF-Viwer applet, .PDF-Viwer object, .PDF-Viwer iframe, .PDF-Viwer h1,
.PDF-Viwer h2, .PDF-Viwer h3, .PDF-Viwer h4, .PDF-Viwer h5, .PDF-Viwer h6, .PDF-Viwer p, .PDF-Viwer blockquote, .PDF-Viwer pre,
.PDF-Viwer a, .PDF-Viwer abbr, .PDF-Viwer img, .PDF-Viwer form{
    margin: 0;
    padding: 0;
    border: 0;
    font: normal 1em var(--font-inter), helvetica, arial, san-serif;
    font-size: 100%;
    vertical-align: baseline;
}

.PDF-Viwer section#layout {
    overflow-x: hidden;
    position: relative;
    min-width: 1000px;
    /* margin-top: 20px; */
}

@media print {

    .PDF-toolbar{
        display: none!important;
    }
    #main {
        margin-top: 0 !important;
    }

    #PDFView {
    }

    #page-layout .page-content {
        padding: 0;
        margin-bottom: 0 !important;
    }

    .pdf-pages-container {
    }
    .PDF-toolbar
    section#layout #PDFView,
    section#layout #PDFView #page-layout .PDF-toolbar,
    section#layout #PDFView #page-layout .PDF-title,
    section#layout #PDFView .powered-by {
        display: none;
    }

    section#layout #PDFView .PDF-template {
        top: 0;
        width: 100%;
        position: relative;
        margin-top: 0;
        padding-top: 0;
    }

    .page-content {
        top: 0;
        padding: 0;
        margin: 0 !important;
    }

    section#layout #page-layout {
        top: 0;
    }

    section#layout #PDFView .pdf-pages-container {
        width: 100%;
        float: none !important;
    }

    body,
    #section#layout,
    #main,
    #PDFView,
    #page-layout,
    .page-content,
    .pdf-pages-container {
        float: none !important;
        position: unset !important;
        display: block !important;
        overflow: visible !important;
        border: 0 !important;
    }
}
