/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
@import "variables";

.components-toolbar-item-expandable-group-title {
  white-space: nowrap;
  text-align: center;
  color: $title-color;
  filter: drop-shadow(0 1px 0 $buic-foreground-body-reverse);
  margin-bottom: 9px;
  margin-left: $title-horizontal-margin;
  margin-right: $title-horizontal-margin;

  @include title;
}

.components-toolbar-item-expandable-group-nested {
  position: relative;

  .components-back {
    position: absolute;
    left: 10px;
    top: 8px;
  }

  > .components-toolbar-item-expandable-group-title {
    /* Contributes to space available for back arrow */
    min-height: 14px;
    margin-left: $title-horizontal-back-arrow-margin;
    margin-right: $title-horizontal-back-arrow-margin;
  }
}
