@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(.hidden) {
  display: none;
}

.treeview-item {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  color: var(--bcm-color-grey-8);
  padding-left: 8px;
  user-select: none;
  background-color: var(--bcm-color-grey-1);
}
.treeview-item-context-menu {
  display: none;
  position: absolute;
  height: auto;
  background-color: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.treeview-item-context-menu.show {
  display: flex;
}
.treeview-item-context-menu span {
  text-align: left;
  min-width: 100px;
  padding: 5px 8px;
  font-size: 14px;
  line-height: 22px;
  color: var(--bcm-color-grey-8);
}
.treeview-item-context-menu span:hover {
  cursor: pointer;
  color: var(--bcm-color-prime-blue-6);
  background-color: var(--bcm-color-prime-blue-1);
}
.treeview-item.focus .treeview-item-container {
  border: 2px solid var(--bcm-color-prime-blue-2);
}
.treeview-item-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
.treeview-item-container.disabled {
  color: var(--bcm-color-grey-6);
}
.treeview-item-container.disabled .text-content {
  cursor: not-allowed;
}
.treeview-item-container.selected:not(.disabled) {
  color: var(--bcm-color-prime-blue-6);
}
.treeview-item-container.selected:not(.disabled):hover:not(.disabled) {
  color: var(--bcm-color-prime-blue-6);
  background-color: var(--bcm-color-prime-blue-1);
}
.treeview-item-container:hover:not(.disabled), .treeview-item-container:active:not(.disabled) {
  color: var(--bcm-color-prime-blue-6);
  background-color: var(--bcm-color-prime-blue-1);
}
.treeview-item-container > section:not(.favicon) {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  border: 2px solid transparent;
  flex: 1;
}
.treeview-item-container > section.favicon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  height: 100%;
  cursor: pointer;
}
.treeview-item-container > section.favicon:not(.favorite) {
  display: none;
}
.treeview-item-container:hover:not(.disabled) .favicon {
  display: flex;
}

.treeview-inner {
  display: none;
}
.treeview-inner.open {
  display: block;
}

.collapse-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  min-width: 16px;
}
.collapse-content.child {
  cursor: pointer;
}

.check-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 24px;
  min-width: 24px;
  padding-left: 8px;
}
.check-content .indeterminate {
  width: 16px;
  height: 16px;
  position: relative;
  display: block;
  padding-right: 8px;
  cursor: pointer;
}
.check-content .indeterminate:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 9px;
  width: 10px;
  height: 10px;
  background-color: var(--bcm-color-prime-blue-6);
  transform: translate(-50%, -50%);
  opacity: 1;
  z-index: 1;
}
.check-content .indeterminate:before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0px;
  width: 16px;
  height: 100%;
  border-radius: 2px;
  background-color: transparent;
  border: 1px solid var(--bcm-color-grey-5);
  opacity: 1;
  z-index: 2;
}
.check-content .indeterminate:hover:not(.disabled):before {
  border-color: var(--bcm-color-prime-blue-6);
  box-shadow: 0px 2px 4px rgba(54, 121, 171, 0.5);
}
.check-content .indeterminate.disabled {
  cursor: not-allowed;
  background: linear-gradient(90deg, var(--bcm-color-grey-3) 18px, transparent 0px);
  border-color: var(--bcm-color-grey-3);
}
.check-content .indeterminate.disabled:after {
  background-color: var(--bcm-color-grey-6);
}
.check-content .indeterminate.disabled bcm-icon {
  filter: brightness(0);
  opacity: 0.3;
}

.text-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
  flex: 1;
}
.text-content .favicon {
  display: flex;
  flex-direction: row;
  align-items: center;
  grid-gap: 4px;
}
.text-content #text .highlight {
  background-color: var(--bcm-color-yellow-5);
}
.text-content.small {
  padding: 0 8px 0 4px;
}
.text-content.medium {
  padding: 4px 8px 4px 4px;
}
.text-content.large {
  padding: 8px 8px 8px 4px;
}
.text-content .icon {
  text-align: center;
  margin-right: 8px;
}