.tabwrap.tabs2 {
  font-size: 14px;
  line-height: 1.42857143;
  /* JIRA's tabwrap expects that the active panel's state and styles to be managed by something else. */
}
.tabwrap > ul.tabs > li a,
.tabwrap > ul.tabs > li a:link,
.tabwrap > ul.tabs > li a:visited {
  background: var(--ds-surface-sunken, #eeeeee);
  color: var(--ds-link-visited, #333333);
}
.tabwrap > ul.tabs > li a:focus,
.tabwrap > ul.tabs > li a:hover {
  background: var(--ds-background-discovery-hovered, #e6e6e6);
  color: var(--ds-link-pressed, #333333);
}
.tabwrap > ul.tabs > li > a strong {
  background: transparent;
  font-weight: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  /* set explicitly to avoid ie bug */
}
.tabwrap > ul.tabs > li.active-tab a,
.tabwrap > ul.tabs > li.active-tab a:link,
.tabwrap > ul.tabs > li.active-tab a:visited,
.tabwrap > ul.tabs > li.active-tab a:focus,
.tabwrap > ul.tabs > li.active-tab a:hover,
.tabwrap > ul.tabs > li.active-tab a:active {
  background: var(--ds-surface, #ffffff);
  color: var(--ds-link-pressed, #333333);
}
.tabwrap > ul.tabs > li.active-tab a,
.tabwrap > ul.tabs > li.active-tab strong {
  font-weight: bold;
}
.tabwrap > ul.tabs#filter_type_table > li a,
.tabwrap > ul.tabs#filter_type_table > li a:link,
.tabwrap > ul.tabs#filter_type_table > li a:visited {
  color: var(--ds-text, #333333);
}
.tabwrap > .tabs.horizontal {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  border-bottom: 1px solid var(--ds-border, #cccccc);
  display: inline-block;
  margin: 0;
  padding: 0 0 0 20px;
  width: 100%;
}
.tabwrap > .tabs.horizontal > li {
  display: block;
  float: left;
  margin: 5px 0 0 -1px;
  background: var(--ds-surface, #eeeeee);
  /* last-child ok because IE8 doesn't do border radius anyway */
}
.tabwrap > .tabs.horizontal > li > a,
.tabwrap > .tabs.horizontal > li > strong {
  display: block;
  border: 1px solid var(--ds-border, #cccccc);
  margin-bottom: -1px;
  padding: 4px 10px 3px;
}
.tabwrap > .tabs.horizontal > li a,
.tabwrap > .tabs.horizontal > li strong {
  text-decoration: none;
}
.tabwrap > .tabs.horizontal > li.active > a,
.tabwrap > .tabs.horizontal > li.active > strong {
  background: var(--ds-surface-pressed, #ffffff);
  border-bottom-color: var(--ds-surface-pressed, #ffffff);
  position: relative;
}
.tabwrap > .tabs.horizontal > li:first-child > a,
.tabwrap > .tabs.horizontal > li:first-child > strong {
  border-radius: 3px 0 0;
}
.tabwrap > .tabs.horizontal > li:last-child > a,
.tabwrap > .tabs.horizontal > li:last-child > strong {
  border-radius: 0 3px 0 0;
}
/* An extension for bulk operations */
.aui-tabs .menu-item.has-errors {
  border-color: var(--ds-border-danger, rgba(222, 53, 11, 0.4));
  background-color: var(--ds-surface, #ffffff);
}
.aui-tabs .menu-item.has-errors a {
  color: var(--ds-text-danger, #de350b);
  font-weight: bold;
}
