﻿    ng-pdf
    {
        line-height: 0px;
        height: 100%;
    }

    ng-pdf-thumbnails
    {
        position: absolute;
        top: 0px;
        left: 0px;
        bottom: 0px;
        right: 0px;
    }

    .pdfcontent
    {
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        overflow: auto;
        background-color: #fbfbfb;
        text-align: center;
    }

.pdfbox
{
    margin: 0px;
    padding: 0px;
}

    ng-pdf .pdfbox
    {
        float: none;
    }

    ng-pdf-thumbnails .pdfbox
    {
        position: relative;
        text-align: left;
        min-height: 100%;
    }

    .pdfcontainer
    {
        padding: 15px;
        vertical-align: middle;
        position: relative;
/*
        overflow: hidden;
*/
        margin: 0px auto;
    }
    ng-pdf .pdfcontainer
    {
        display: none;
    }

    ng-pdf-thumbnails .pdfcontainer
    {
        list-style: none;
        /*float: left;*/
        display: inline-block;
    }

        ng-pdf-thumbnails .pdfcontainer .pagestatus
        {
            position: absolute;
            top: calc(50% - 30px);
            left: 0px;
            width: 100%;
            text-align: center;
            font-size: 40px;
            color: rgba(0,0,0,.1);
        }
/*
    ng-pdf-thumbnails .pdfcontainer:hover
    {
        background-color: rgba(0, 147, 244, 0.08)
    }*/

    ng-pdf-thumbnails .pdfcontainer.pageselected
    {
        overflow: visible;
        background-color: rgba(0, 147, 244, 0.2)
    }

    ng-pdf .pdfcontainer .pdfboxshadow
    {
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
        position: relative;
    }
    ng-pdf-thumbnails .pdfcontainer .pdfboxshadow
    {
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
        position: relative;
    }

    .pdfboxshadow canvas, .pdfboxshadow .textlayer, .pdfboxshadow .svg
    {
        transform-origin: top left;
        position: absolute;
        top: 0px;
        left: 0px;
    }
    .pdfboxshadow canvas {
        image-rendering: pixelated;    
    }

    .textselection
    {
        position: absolute;
        transform-origin: 0 100%;
        /*background-color: rgba(255,0,0,.2);*/
        cursor: copy;
    }

        .textselection:hover
        {
            background-color: rgba(0,0,255,.2);
        }

    
    /* Drag en drop styles */
    .pdfcontainer .pagestatus.move
    {
        display: none;
    }
    .pdfcontainer .pagestatus.copy
    {
        display: none;
    }
    .dndDragging
    {
        background: none !important;
    }
/*    .dndDraggingSource .pdfboxshadow
    {
        opacity: .3;
    }*/
    .dndDraggingSource.move .pagestatus.move{
        display: block;
        font-size: 12px;
        top: calc(100% - 10px);
        color: #000;
    }
    .dndDraggingSource.copy .pagestatus.copy{
        display: block;
        font-size: 12px;
        top: calc(100% - 10px);
        color: #000;
    }
    .dndPlaceholder {
        display: inline-block;
        vertical-align: middle;
        position: relative;
/*
        float: left;
*/
        border: 1px dashed #ccc; 
        background-color: rgba(0,0,0,0);
        border-radius: 10px;
    }






    /* Copyright 2014 Mozilla Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.textlayer {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0.2;
  line-height: 1.0;
}

.textlayer > div {
  color: transparent;
  position: absolute;
  white-space: pre;
  cursor: text;
  -webkit-transform-origin: 0% 0%;
  -moz-transform-origin: 0% 0%;
  -o-transform-origin: 0% 0%;
  -ms-transform-origin: 0% 0%;
  transform-origin: 0% 0%;
}

.textlayer .highlight {
  margin: -1px;
  padding: 1px;

  background-color: rgb(180, 0, 170);
  border-radius: 4px;
}

.textlayer .highlight.begin {
  border-radius: 4px 0px 0px 4px;
}

.textlayer .highlight.end {
  border-radius: 0px 4px 4px 0px;
}

.textlayer .highlight.middle {
  border-radius: 0px;
}

.textlayer .highlight.selected {
  background-color: rgb(0, 100, 0);
}

.textlayer ::selection { background: rgb(0,0,255); }
.textlayer ::-moz-selection { background: rgb(0,0,255); }

.textlayer .endOfContent {
  display: block;
  position: absolute;
  left: 0px;
  top: 100%;
  right: 0px;
  bottom: 0px;
  z-index: -1;
  cursor: default;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
}

.textlayer .endOfContent.active {
  top: 0px;
}
