/******************
 * BIOSTAT TABS  **
 ******************/
 
 /*
  * @TODO: Default tabs should be "horizontal", but right now
  * they're mobile - i.e. horizontal tabs as accordion. Factor
  * this out for v2.0.
  *
  * @TODO: Move this to the theme layer.
  */
.biostat-tabs {
  overflow: hidden;
  margin: 2em 0 2em 0;
}
.biostat-tabs > .tab:not(.active) .tab-content {
  display: none;
}
.biostat-tabs > .tab > .tab-label {
  margin-bottom: 1px;
  position: relative;
}
.biostat-tabs > .tab > .tab-content {
  width: 100%;
  padding: 20px;
  border: 1px solid #dedede;
}
.biostat-tabs.horizontal > .tab > .tab-content {
  margin: 35px 0 0 -100%;
}
.biostat-tabs.horizontal > .tab > .tab-content {
  float: right;
}
.biostat-tabs.horizontal > .tab > .tab-label {
  float: left;
  padding: 3px 12px;
  margin: 0;
}
.biostat-tabs.horizontal > .tab:first-child > .tab-label {
  margin-left: 1em;
}
.biostat-tabs > .tab:not(.active) > .tab-label,
.biostat-tabs.mobile > .tab.active > .tab-label  {
  cursor: pointer;
}
.biostat-tabs > .tab > .tab-label h3 {
  padding: 15px;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background-color: #4b2e83;
}
.biostat-tabs.horizontal > .tab > .tab-label h3 {
  padding: 5px;
  color: #777;
  background-color: transparent;
}
.biostat-tabs.horizontal > .tab.active > .tab-label h3 {
  color: #fff;
}
.biostat-tabs.horizontal > .tab.active > .tab-label {
  position: relative;
  background-color: #4b2e83;
}
.biostat-tabs.horizontal > .tab.active > .tab-label:after {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(75, 46, 131, 0);
  border-top-color: #4b2e83;
  border-width: 9px;
  margin-left: -9px;
}
.biostat-tabs.gold > .tab.active > .tab-label {
  background-color: #85754d;
}
.biostat-tabs.gold > .tab.active > .tab-label:after {
  border-top-color: #85754d;
}
.biostat-tabs-clearfix {
  clear: both;
}
.biostat-tabs.mobile > .tab > .tab-label:after {
  content: "";
  position: absolute;
  top: 14px;
  right: 15px;
  width: 26px;
  height: 23px;
  background: url(assets/svg/uw-sprite.svg) -284px 0 no-repeat transparent;
  opacity: .8;
  margin-top: 0;
  -webkit-filter: invert(100%);
  filter: invert(100%);
}
.biostat-tabs.mobile > .tab.active > .tab-label:after {
  background-position: -284px -25px;
}