/* Pediarix tab pattern translated for ROTARIX Storage and Handling. */
.rotarix-storage-tabs {
  --rotarix-active: #CF2656;
  --rotarix-inactive: #717171;
  --rotarix-focus: #15717d;
  box-sizing: border-box;
  width: 100%;
  max-width: 50rem;
  margin-inline: auto;
  color: #222;
  background-color: #fff;
}

.rotarix-storage-tabs .rotarix-tabs__nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0 1.25rem;
}

.rotarix-storage-tabs .rotarix-tabs__tab-link {
  display: inline-flex;
  flex: 0 1 13rem;
  min-width: 19rem;
  min-height: 55px;
  padding: 0.625rem 1rem;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  color: #fff !important;
  background: var(--rotarix-inactive);
  border: 0;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
}

.rotarix-storage-tabs .rotarix-tabs__tab-link > span {
  color: #fff !important;
}

.rotarix-storage-tabs .rotarix-tabs__tab-link--active,
.rotarix-storage-tabs .rotarix-tabs__tab-link[aria-selected="true"] {
  color: #fff !important;
  background: var(--rotarix-active);
  text-decoration: underline !important;
}

.rotarix-tabs__tab-icon {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.rotarix-tabs__tab-icon--liquid {
  width: 19px;
  height: 24px;
}

.rotarix-tabs__tab-icon--lyophilized {
  width: 28px;
  height: 22px;
}

.rotarix-storage-tabs .rotarix-tabs__panel {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.rotarix-storage-tabs .rotarix-tabs__panel[hidden] {
  display: none;
}

/* The JavaScript toggles the two approved native Column Control groups. */
#rotarix-liquid-group,
#rotarix-lyophilized-group {
  box-sizing: border-box;
  width: 100%;
  margin-inline: auto;
}

@media (max-width: 47.9375rem) {
  .rotarix-storage-tabs .rotarix-tabs__nav {
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
  }

  .rotarix-storage-tabs .rotarix-tabs__tab-link {
    display: flex;
    flex: 1 1 50%;
    width: 50%;
    min-width: 0;
    padding: 0.625rem 0.5rem;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    white-space: normal;
  }

  .rotarix-tabs__tab-icon--liquid,
  .rotarix-tabs__tab-icon--lyophilized {
    width: 18px;
    height: 20px;
  }
}
