@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: block;
}

:host(.hidden) {
  display: none;
}

::slotted(bcm-tab:not(:last-child)) {
  margin-right: 32px;
}

.tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
}
.tabs.large {
  --bcm-tab-vertical-space: 16px;
  --bcm-tab-font-size: 16px;
  --bcm-tab-line-height: 24px;
}
.tabs.medium {
  --bcm-tab-vertical-space: 11px;
  --bcm-tab-font-size: 14px;
  --bcm-tab-line-height: 22px;
}
.tabs.small {
  --bcm-tab-vertical-space: 7px;
  --bcm-tab-font-size: 14px;
  --bcm-tab-line-height: 22px;
}
.tabs.pane {
  --bcm-tab-vertical-space: 9px;
  --bcm-tab-font-size: 14px;
  --bcm-tab-line-height: 22px;
}
.tabs.full-width {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tabs.full-width ::slotted(bcm-tab) {
  flex: 1;
}

.tabs.underline:after {
  content: "";
  margin-top: 0;
  z-index: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--bcm-color-grey-4);
}

.tabs.animatable:before {
  transition: all 0.4s ease;
}

/**
 * Pane Rules
 */
.tabs.pane ::slotted(bcm-tab:not(:last-child)) {
  margin-right: 2px;
}
.tabs.pane:before {
  display: none;
}

.tabs.vertical {
  flex-direction: column;
  width: fit-content;
}
.tabs.vertical:before {
  content: "";
  position: absolute;
  top: var(--bcm-tabs-line-top);
  left: var(--bcm-tabs-line-left);
  right: var(--bcm-tabs-line-right);
  width: var(--bcm-tabs-line-width);
  height: var(--bcm-tabs-line-height);
  background-color: var(--bcm-color-prime-blue-6);
}
.tabs.vertical ::slotted(bcm-tab) {
  margin-right: 0;
}