﻿html, body{
  min-height: 100%;
  height: 100%;
}

.fill{
  height: calc(100vh - 100px);
}

body {
  padding-top: 60px; /* space for the top nav bar */
  margin-right: 30px;
}

#userHubs {
  overflow: auto;
  width: 100%;
  height: calc(100vh - 150px);
}

#apsViewer {
  width: 100%;
  height: 100%;
}

.aps-viewable-toolbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: #f5f5f5;
  border: 1px solid #ddd;
}

.aps-viewable-toolbar label {
  margin: 0;
  white-space: nowrap;
}

.aps-viewable-toolbar select {
  max-width: 500px;
}

.aps-model-version {
  white-space: nowrap;
  color: #555;
  font-weight: 600;
}

.aps-viewable-toolbar:not([hidden]) + #apsViewer {
  height: calc(100% - 42px);
}

.createIssuesBtn {
  background-image: url(https://github.com/encharm/Font-Awesome-SVG-PNG/raw/master/white/png/24/pencil.png);
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: center;
}

.loadIssuesBtn {
  background-image: url(https://github.com/encharm/Font-Awesome-SVG-PNG/raw/master/white/png/24/exclamation-triangle.png);
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: center;
}

.adsk-viewing-viewer .property-panel .treeview lmvheader.issue-category-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.adsk-viewing-viewer .property-panel .issue-category-header .category-name {
  min-width: 0;
  flex: 1;
}

.issue-visualization-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.issue-visualization-button {
  max-width: 110px;
  padding: 3px 7px;
  border: 1px solid #6f99c6;
  border-radius: 3px;
  background: #3276b1;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  line-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.issue-visualization-button:hover {
  background: #285e8e;
}

.issue-visualization-button:disabled {
  cursor: wait;
  opacity: 0.65;
}
