.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: #eee;
  color: #333;
}
.tabwrap > ul.tabs > li a:focus,
.tabwrap > ul.tabs > li a:hover {
  background: #e6e6e6;
  color: #333;
}
.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: #fff;
  color: #333;
}
.tabwrap > ul.tabs > li.active-tab a,
.tabwrap > ul.tabs > li.active-tab strong {
  font-weight: bold;
}
.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 #ccc;
  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: #eee;
  /* 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 #ccc;
  margin-bottom: -1px;
  padding: 4px 10px 3px 10px;
}
.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: #fff;
  border-bottom-color: #fff;
  position: relative;
}
.tabwrap > .tabs.horizontal > li:first-child > a,
.tabwrap > .tabs.horizontal > li:first-child > strong {
  border-radius: 3px 0 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: rgba(222, 53, 11, 0.004);
  background-color: #ffffff;
}
.aui-tabs .menu-item.has-errors a {
  color: #de350b;
  font-weight: bold;
}
