.placement-network-tree {
  $toolbar-padding-top: 15px;
  $toolbar-padding-bottom: 5px;
  $top: ($dashboard-header-height * 3) + $toolbar-padding-top + $toolbar-padding-bottom;

  top: $top;
  overflow: hidden;
  min-height: calc(100% - #{$top});
  max-height: calc(100% - #{$top});
  margin: 0px !important;

  &.on-mobile {
    top: 0px !important;
    left: 0px !important;
    right: 0px !important;
    transform: none !important;
    min-height: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
  }

  @include media-breakpoint-down(sm) {
    top: $top + $dashboard-header-height;
    min-height: calc(100% - #{$top + $dashboard-header-height});
    max-height: calc(100% - #{$top + $dashboard-header-height});
  }

  &-title {
    top: $dashboard-header-height !important;
    z-index: 1998;
    padding: 10px 15px;
    box-shadow: none;
    height: $dashboard-header-height !important;
  }

  &-toolbar {
    $height:  $dashboard-header-height + $toolbar-padding-top + $toolbar-padding-bottom;

    top: ($dashboard-header-height * 2) !important;
    margin: 0px;
    padding-top: $toolbar-padding-top !important;
    padding-bottom: $toolbar-padding-bottom !important;
    height: $height !important;
    max-height: $height !important;

    @include media-breakpoint-down(sm) {
      $height:  $height + $dashboard-header-height;

      min-height: $height !important;
      max-height: $height !important;
      padding: 0px 10px;
    }
  }

  &-updated-at {
    $top: ($dashboard-header-height * 2) + $toolbar-padding-top + $toolbar-padding-bottom;

    position: fixed;
    z-index: 2001;
    top: $dashboard-header-height * 2;
    display: block;
    margin-left: 15px;

    &.on-mobile {
      top: auto !important;
      bottom: 5px !important;
    }
  }

  &-zoom {
    $top: ($dashboard-header-height * 3) + $toolbar-padding-top + $toolbar-padding-bottom + 4px;

    position: fixed;
    top: $top;
    right: 20px;
    z-index: 3000;

    &.on-mobile {
      top: 4px !important;
    }

    @include media-breakpoint-down(sm) {
      top: $top + $dashboard-header-height;
    }
  }

  &-zoom-custom {
    $top: ($dashboard-header-height * 3) + $toolbar-padding-top + $toolbar-padding-bottom + 4px - 100px;
    $mobileTop: $top - 10px;

    position: fixed;
    top: $top;
    right: 20px;
    z-index: 3000;

    @include media-breakpoint-down(sm) {
      top: $mobileTop;
    }
  }

  &-back {
    $top: ($dashboard-header-height * 3) + $toolbar-padding-top + $toolbar-padding-bottom + 14px;

    position: fixed;
    top: $top;
    z-index: 3000;

    &.on-mobile {
      top: 4px !important;
    }

    @include media-breakpoint-down(sm) {
      top: $top + $dashboard-header-height;
    }
  }
}
