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

div.hp-master-details {
  position: absolute;
  top: $subnav-height + $body-gutter;
  bottom: $body-gutter;
  left: $body-gutter;
  right: $body-gutter;
  @include transitions(left, $normal-animation-duration,
    right, $normal-animation-duration);
  
  div.hp-filterbar-open & {
    left: $sidebar-width + $body-gutter + $page-gutter;
  }
  
  body.hp-basic-layout & {
    top: $subnav-height + 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
  }
  
  #hp-body-div.hp-sidebar-open.hp-sessioned & {
    right: $sidebar-width + $body-gutter + $body-gutter;
  }
  
  div.hp-master-pane {
    width: $sidebar-width - 30px;
    background-color: $primary-background;
    @include box-sizing(content-box);
    border-right: $page-gutter solid $primary-divider;
    
    body.hp-basic-layout & {
      border-right: 1px solid $primary-divider;
    }
    
    &.hp-plain {
      overflow:auto;
    }

    > .ui-resizable-e {
      width: 10px; right: -5px;
    }
    
    @media print {
      display: none;
    }
  }
  
  @media print {
    @include print-position();
  }
}
