.pwv-WebViewer {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  font-size: $viewer__FontSize;
  font-family: $viewer__FontFamily;
  background-color: $viewer__BackgroundColor;

  > * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  input,
  select,
  textarea,
  button {
    font-family: $viewer__FontFamily;
    font-size: $viewer__FontSize;
    &:focus {
      outline: none;
    }
    touch-action: manipulation;
  }
}

.pwv-Viewer {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pwv-ViewerContent {
  display: flex;
  height: 100%;
  z-index: 1;
  position: relative;
  flex-grow: 1;

  .pwv-WebViewer--sm & {
    flex-direction: column;
  }
}

.pwv-document-view {
  position: relative;
  display: flex;
  flex-grow: 1;

  &.pwv-annotationbar-top {
    flex-direction: column-reverse;
  }
  &.pwv-annotationbar-bottom {
    flex-direction: column;
  }
}
