[data-module=bms] [data-module=event-footer] {
  background: var(--secondary-background);
}

[data-module=bms] .item-content {
  display: flex;
  margin-left: 10px;
  flex: 1 0 0;
  overflow: hidden;
}

[data-module=bms] .content {
  flex-grow: 1;
  height: calc(100% - 31px);
  transition: 0.3s;
}

[data-module=bms] .scrollable-overlay-container.overlay-no-offset {
  height: 100%;
}

[data-module=bms] .scrollable-overlay-container.overlay-25 {
  height: calc(100% - 25vh);
}

[data-module=bms] .scrollable-overlay-container.overlay-50 {
  height: calc(100% - 50vh);
}

[data-module=bms] .list-item-detail-label {
  padding-left: 0;
}

[data-module=bms] .list-item.compact .list-item-label,
[data-module=bms] .list-item.compact .additional-attr-label {
  padding: 0 0 0 8px;
}

[data-module=bms] .properties-sidebar {
  height: calc(100% - 30px);
  /* 30 is min event bar height */
}

.upload-plan-btn {
  padding: 10px 50px;
  background: var(--base-background);
  color: var(--main-text-color);
  height: auto;
}

.tools-container {
  display: flex;
}

.tool-button {
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 10px;
  border: 1px solid var(--main-icon-color);
  background-color: var(--base-background);
  border-radius: 3px;
  cursor: pointer;
}

.tool-button:hover {
  background-color: var(--hover-icon-color);
}

.tool-button.active,
.tool-button:active {
  background-color: var(--main-selected-cell);
}

.tool-button.line {
  background-image: url(../common/img/drawToolIcon/line-icon.svg);
}

.tool-button.select {
  background-image: url(../common/img/drawToolIcon/arrow-icon.svg);
}

.tool-button.polygon {
  background-image: url(../common/img/drawToolIcon/free-select-icon.svg);
}

.tool-button.rectangle {
  background-image: url(../common/img/drawToolIcon/drag-select-icon.svg);
}

.main-content {
  position: relative;
}

#main-item-content-container {
  position: relative;
}

[class*=unspecified-location].item-list .list.no-separator {
  max-height: none !important;
  flex: 1;
}