// Copyright (c) 2017 PlanGrid, Inc.

.react-pdf__Page__svg {
  user-select: initial !important;
}

.react-pdf__Page__textContent {
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  width: 0 !important;
  height: 0 !important;
  color: transparent;
  transform: translate(-50%, -50%) rotate(0deg);
  pointer-events: none;
}

.pg-viewer-wrapper {
  height: 100%;
  display: flex;
  flex-direction: row;

  .pg-viewer {
    height: 100%;
    width: 100%;
    position: relative;
    flex-grow: 2;

    .pg-driver-view {
      margin: auto;
      width: 100%;
      height: 100%;

      .loading {
        position: relative;
      }

      canvas,
      .react-grid-Container {
        width: 100%;
      }
    }
  }

  .pg-viewer-link {
    background: mediumpurple;
    height: 100%;
    flex-grow: 1;
  }
}
.react-grid-Container {
  margin: auto;
}

.file-viewer-wrapper {
  width: 100%;
  position: relative;

  .file-viewer {
    overflow: auto;
  }
}

.nav-btn {
  cursor: pointer;
  background-image: url('../assets/icon_next_pdf.png');
  background-repeat: no-repeat;
  background-size: 30px;
  border: none;
  border-radius: 50%;
  color: #ffffff;
  height: 30px;
  width: 30px;
  position: absolute;
  top: 50%;
  z-index: 10;
}

.nav-btn:focus {
  outline: 0;
}

#xbim-viewer {
  height: 100%;
  width: 100%;
}
