.horizontal-tabs {
  border: 1px solid $border-color;
  ul {
    background: #eee;
    border-bottom: 1px solid $border-color;
  }
  li {
    float: left;
    position: relative;
    cursor: pointer;
    padding: 0 10px;
    line-height: $elem-height;
    border-right: 1px solid $border-color;
    &.active {
      background: #fff;
      &:after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 1px;
        background: #fff;
      }
    }
  }
  legend {
    display: none;
  }
  & > fieldset {
    display: none;
    border: 0;
    height: auto !important;
    &.active {
      display: block;
    }
  }
}
