.nav-tabs [role='presentation'] {
  display: inline-block;

  a {
    display: block;
    padding: .65em 1.15em;
    position: relative;
  }

  .active {
    background: $background-primary;
    border-radius: .65em .65em 0 0;
    color: $color-primary;

    &::after {
      border-bottom: solid 1px $background-primary;
      bottom: 0;
      content: '';
      left: 0;
      position: absolute;
      width: 100%;
    }
  }
}

.tab-content {
  padding: .5em 1em 1em;
}

.tabpane {
  &:not(.active) {
    display: none;
  }
}
