/*
* DNB Tabs
*
*/
/**
 * This file is only used to make components independent
 * so that they can get imported individually, without the core styles
 *
 */
/*
 * Utilities
 */
/*
 * Scopes
 *
 */
/*
 * Document Reset
 *
 */
.dnb-tabs {
  font-family: 'Fedra Sans Std', sans-serif;
  font-family: var(--font-family-default);
  font-weight: normal;
  font-weight: var(--font-weight-default);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.5rem;
  color: #333;
  color: var(--color-black-80, #333);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-variant-numeric: lining-nums;
  -webkit-font-feature-settings: "lnum";
          font-feature-settings: "lnum";
  /**
  * 1. Remove repeating backgrounds in all browsers (opinionated).
  * 2. Add border box sizing in all browsers (opinionated).
  */
  /**
  * 1. Add text decoration inheritance in all browsers (opinionated).
  * 2. Add vertical alignment inheritance in all browsers (opinionated).
  */
  margin: 0;
  padding: 0; }
  .dnb-tabs *,
  .dnb-tabs ::before,
  .dnb-tabs ::after {
    background-repeat: no-repeat;
    /* 1 */
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    /* 2 */ }
  .dnb-tabs ::before,
  .dnb-tabs ::after {
    text-decoration: inherit;
    /* 1 */
    vertical-align: inherit;
    /* 2 */ }

/*
 * Tabs component
 *
 */
.dnb-tabs__tabs {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; }
  .dnb-tabs__tabs__tablist {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto; }
    .dnb-tabs__tabs__tablist:focus {
      outline: none; }
      html[data-whatinput='keyboard'] .dnb-tabs__tabs__tablist:focus {
        -webkit-box-shadow: 0 0 0 0.125rem #14555a;
                box-shadow: 0 0 0 0.125rem #14555a;
        -webkit-box-shadow: 0 0 0 0.125rem var(--color-emerald-green);
                box-shadow: 0 0 0 0.125rem var(--color-emerald-green);
        border-color: transparent; }
  .dnb-tabs__tabs--left .dnb-tabs__tabs__tablist {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start; }
  .dnb-tabs__tabs--right .dnb-tabs__tabs__tablist {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end; }
  .dnb-tabs__tabs--center .dnb-tabs__tabs__tablist {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; }
  .dnb-tabs__tabs .dnb-tablink {
    position: relative;
    z-index: 1;
    margin: 0;
    margin-left: 4.5rem;
    padding: 0.25rem 0.125rem;
    /* 1/16*4 */
    background-color: transparent;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    outline: none;
    border: none; }
    .dnb-tabs__tabs .dnb-tablink-title {
      font-size: 1rem;
      font-size: var(--font-size-default);
      white-space: nowrap; }
    .dnb-tabs__tabs .dnb-tablink > span[hidden] {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
      height: 0;
      visibility: hidden;
      overflow: hidden; }
    .dnb-tabs__tabs .dnb-tablink::after {
      content: '';
      position: absolute;
      z-index: -1;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 1px; }
  .dnb-tabs__tabs .dnb-tablink:first-child {
    margin-left: 0; }
  .dnb-tabs__tabs::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: -50vw;
    bottom: 0;
    width: 100vw;
    height: 1px; }
  @media screen and (max-width: 50em) {
    .dnb-tabs__tabs .dnb-tablink {
      margin-left: 2.5rem; } }
  @media screen and (max-width: 40em) {
    .dnb-tabs__tabs__tablist {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
      -webkit-box-flex: 1;
          -ms-flex-positive: 1;
              flex-grow: 1;
      margin: 0; }
    .dnb-tabs__tabs .dnb-tablink {
      margin-left: 0; } }

.dnb-tabs__content {
  margin-top: 2rem; }
