.tabbed-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-grow: 1;

  &.tabbed-view--new {
    padding: 0 0 0 0;
    height: 100%;
  }
}

.tabbed-view-header {
  box-shadow: $page-header-shadow;
  border-bottom: 1px solid $page-header-border-color;
  padding: 0 $space-md;
  @include clearfix();
}

.tabbed-view-title {
  float: left;
  padding-top: $space-sm;
  margin: 0 $spacer * 3 0 0;
}

.tabbed-view-close-btn {
  float: right;
  margin: 0;
  background-color: transparent;
  border: none;
  padding: $tabs-padding;
  color: $text-color;
  i {
    font-size: 120%;
  }
  &:hover {
    color: $text-color-strong;
  }
}

.tabbed-view-body {
  padding: $spacer * 2 $spacer $spacer $spacer;
  display: flex;
  flex-direction: column;
  flex: 1;

  &--small {
    min-height: 0px;
    padding-bottom: 0px;
  }
}

.section-heading {
  font-size: $font-size-md;
  margin-bottom: $space-sm;
}
