﻿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 .header-powered-by{
    float: left;
}
    .PDF-Viwer .header-powered-by span{
        text-align: left;
    }
    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: 1px #33195B solid;
        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 .header-powered-by span,
.PDF-Viwer .powered-by span {
    display: block;
    font-size: 12px;
}

.PDF-Viwer .header-powered-by img,
.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 'Inter var', 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; */
}

.simple-classic h3{
    font-size: 28px;
    font-weight: bold;
}


@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 .header-powered-by,
    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;
    }
    .pdf-logo {
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: contain !important;
        width: 100%;
        height: 100px;
        filter: grayscale(100%);
    }
    .col-xs-6.pdf-message{
        background: 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;
    }*/
}


.PDF-template.page {
    padding: 20px;
    width: 100%;
    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;
}

@media screen and (min-width: 1150px) {
    .PDF-Viwer .header-powered-by {
        display: none;
    }
    .PDF-Viwer .powered-by {
        display: inline-block;
    }
}


@media screen and (max-width: 1150px) {
    .PDF-Viwer .powered-by{
        display: none;
    }
    .PDF-Viwer .header-powered-by {
        display: inline-block;
    }
}

