@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
.size-1 {
  font-size: 12px;
  line-height: 20px;
}

.size-2 {
  font-size: 14px;
  line-height: 22px;
}

.size-3 {
  font-size: 16px;
  line-height: 24px;
}

.size-4 {
  font-size: 20px;
  line-height: 28px;
}

.size-5 {
  font-size: 24px;
  line-height: 32px;
}

.size-6 {
  font-size: 30px;
  line-height: 38px;
}

.size-7 {
  font-size: 38px;
  line-height: 46px;
}

.size-8 {
  font-size: 46px;
  line-height: 54px;
}

.size-9 {
  font-size: 56px;
  line-height: 64px;
}

.weight-regular {
  font-weight: 400;
}

.weight-semibold {
  font-weight: 500;
}

/**
 * Generator
 */
.input-size-large {
  height: 40px;
}

.input-size-medium {
  height: 32px;
}

.input-size-small {
  height: 24px;
}

.resize-none textarea {
  resize: none;
}

.resize-vertical textarea {
  resize: vertical;
}

.resize-auto textarea {
  height: auto;
  resize: none;
}

.textarea-size-large {
  padding: 4px 0 0 4px;
  min-height: 40px;
}
.textarea-size-large .bcm-input-element {
  min-height: calc((40px - 8px) + 2px);
}
.textarea-size-large .input-clear-button {
  height: calc( 40px - 16px );
  top: 8px;
  padding: 0;
  margin-right: 8px;
}

.textarea-size-medium {
  padding: 4px 0 0 4px;
  min-height: 32px;
}
.textarea-size-medium .bcm-input-element {
  min-height: calc((32px - 8px) + 2px);
}
.textarea-size-medium .input-clear-button {
  height: calc( 32px - 16px );
  top: 8px;
  padding: 0;
  margin-right: 8px;
}

.textarea-size-small {
  padding: 0px 0 0 4px;
  min-height: 24px;
}
.textarea-size-small .bcm-input-element {
  min-height: calc((24px - 8px) + 2px);
}
.textarea-size-small .input-clear-button {
  height: calc( 24px - 16px );
  top: 8px;
  padding: 0;
  margin-right: 8px;
}

:host {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  border: 1px solid var(--bcm-color-grey-5);
  box-sizing: border-box;
  background-color: #ffffff;
}

:host(.empty) .treeview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search {
  padding: 8px;
  padding-bottom: 0;
  margin-bottom: 4px;
}

.treeview {
  height: 100%;
  max-height: 100%;
  overflow: auto;
  background-color: var(--bcm-color-grey-1);
  padding: 0 8px 8px 0;
}
.treeview.loading {
  min-height: 150px;
  position: relative;
  margin: 0 8px 8px 8px;
}
.treeview .loading {
  display: none;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.03);
}
.treeview .loading.show {
  display: flex;
}
.treeview .empty {
  display: none;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.treeview .empty bcm-empty {
  width: fit-content;
  margin: auto;
}
.treeview .empty.show {
  display: flex;
}

footer {
  text-align: right;
  padding: 4px 8px;
  background-color: var(--bcm-color-grey-3);
  user-select: none;
}