@font-face {
    font-family: 'pdfviewer';
    src: url('https://worksheets.k12reader.com/wp-content/plugins/pdfviewer/fonts/pdfviewer.eot?23195882');
    src: url('https://worksheets.k12reader.com/wp-content/plugins/pdfviewer/fonts/pdfviewer.eot?23195882#iefix') format('embedded-opentype'),
    url('https://stage.k12reader.com/assets/fonts/pdfviewer.woff') format('woff'),
    url('https://stage.k12reader.com/assets/fonts/pdfviewer.ttf') format('truetype'),
    url('https://stage.k12reader.com/assets/fonts/pdfviewer.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'pdfviewer';
    src: url('../font/pdfviewer.svg?23195882#pdfviewer') format('svg');
  }
}
*/

.pdfv-icon:before, [class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "pdfviewer";
    font-style: normal;
    font-weight: normal;
    speak: none;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;

    /* you can be more comfortable with increased icons size */
    /* font-size: 120%; */

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.pdfv-icon.icon-print:before { content: '\e800'; }
.pdfv-icon.icon-left:before { content: '\e801'; }
.pdfv-icon.icon-home:before { content: '\e802'; }

.share-addthis .widget.widget_text {
    text-align: center;
    width: 100%;
}

.pdf-viewer-template .content {
    box-sizing: border-box;
    width: 100%;
    max-width: 815px;
}

.site-inner {
    box-sizing: border-box;
    padding: 15px 10px 0;
    width: 100%;
    max-width: 1290px;
}

.pdf-viewer-template .content-sidebar-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 1260px;
}

.pdf-viewer-template .content .entry-title {
    padding-left: 0;
}

.pdf-viewer-template .page-icons {
    clear:both;
    height: 0;
    margin: 0;
    padding: 0;
}

.page-icons .alignleft,
.page-icons .alignright {
    margin: 0;
}


.page-icons .alignleft .pdfv-icon,
.page-icons .alignleft .pdfv-icon:hover,
.page-icons .alignleft .pdfv-icon:before,
.page-icons .alignright .pdfv-icon,
.page-icons .alignright .pdfv-icon:hover,
.page-icons .alignright .pdfv-icon:before {
    height: 0;
    margin: 5px 0;
    text-decoration: none;
}

.page-icons .alignleft .pdfv-icon:hover,
.page-icons .alignright .pdfv-icon:hover {
    color: #8BAE46;
    text-decoration: none;
}

.pdf-viewer-template .introduction {
    clear: both;
    float: left;
    margin: 0 40px;
    padding: 0 10px;
    width: 100%;
    width: calc(100% - 70px);
    max-width: 800px;
}

.pdf-viewer-template .sidebar {
    padding: 5px 15px;
}

.fancybox-margin{
    margin-right:0px;
}

iframe.noscrolling,
#pdf_div {
    -webkit-box-shadow: 4px 4px 14px #779;
    box-shadow: 4px 4px 14px #779;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
    max-width: 880px;
}

.pdf-viewer-template.safari .pdfv-buttons,
.pdf-viewer-template.safari .download-pdf {
    visibility: visible;
}


@media only screen and (max-width: 1140px) {
    iframe.noscrolling,
    #pdf_div {
        max-width: 780px;
    }

    .pdf-viewer-template .content {
        max-width: 724px;
    }
}

@media only screen and (max-width: 800px) {

    iframe.noscrolling,
    #pdf_div,
    .pdf-viewer-template .content {
        max-width: 370px;
        margin-left: 0;
    }

    .sidebar-primary,
    .pdf-viewer .sidebar-primary {
        clear: none;
        min-width: 0px;
        width: 330px;
        float: left;
    }
}


@media only screen and (max-width: 799px) {
    iframe.noscrolling,
    #pdf_div,
    .pdf-viewer-template .content {
        max-width: calc(100% - 380px);
    }
}

@media only screen and (max-width: 760px) {
    iframe.noscrolling,
    #pdf_div,
    .sidebar,
    .pdf-viewer-template .content {
        max-width: 100%;
        width: 100%;
    }


}
