// (C) Copyright 2020 Hewlett-Packard Enterprise Company, L.P.

div.hp-details-pane {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: $sidebar-width + $page-gutter;
  right: 0px;
  @include box-sizing(border-box);
  min-width: $sidebar-width;
  padding: 25px 30px 15px 30px;
  overflow: hidden;
  background-color: $primary-background;
  @include transition(left, $normal-animation-duration);
  
  &.hp-plain {
    overflow:auto;
  }
  &.hp-empty {
    background-color: $secondary-background;
    > * {
      visibility: hidden;
    }
    > .hp-empty-message {
      display: block;
      visibility: visible;
      position: absolute;
      top: 50%;
      left: 50%;
      margin-top: -40px;
      margin-left: -50px;
      color: $secondary-color;
      font-style: italic;
      font-size: 18px;
    }
    > #hp-no-details {
      display: block;
      visibility: visible;
    }
  }
  
  @media print {
    @include print-position();
    left: 0px !important;
    padding: 0px;
  }
}
