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

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
}
.timeline ::slotted(bcm-timeline-item) {
  flex: 0 0 100%;
  max-width: 100%;
}

.timeline.alternate ::slotted(bcm-timeline-item:nth-child(even)) {
  margin-left: auto;
  min-width: 50%;
}

/* 
.timeline {
    &:before {
        content: '';
        position: absolute;
        top: 13px;
        right: 0;
        width: 2px;
        height: calc(100% - 26px);
        background-color: #e8e8e8;
        left: 6px;
    }
}

.timeline.right {
    &:before {
        left: inherit;
        right: 6px;
    }
    ::slotted(bcm-timeline-item) {
        text-align: right;
        padding-left: 8px;
        padding-right: $text-gap;
    }
}

.timeline.alternate {
    &:before {
        left: 50%;
        transform: translateX(-50%);
    }
    ::slotted(bcm-timeline-item:nth-child(odd)) {
        padding-left: 8px;
        padding-right: $text-gap;
        text-align: right;
    }
    ::slotted(bcm-timeline-item:nth-child(even)) {
        margin-left: auto;
        min-width: 50%;
    }
}

.timeline {
    display: flex;
    flex-direction: column;
    ::slotted(bcm-timeline-item) {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.timeline.alternate {
    flex-wrap: wrap;
    ::slotted(bcm-timeline-item) {
        flex-basis: 50%;
        max-width: 50%;
    }
} */