.augs-tabs {
  padding: 20px 0;
  
}

.augs-tablist {
  margin: 0 0 -0.1em;
  overflow: visible;
}

.augs-tab {
  position: relative;
  margin: 0;
  padding: 0.3em 0.5em 0.4em;
  border: 1px solid #b7b7b8;
  border-radius: 0.2em 0.2em 0 0;
  box-shadow: 0 0 0.2em #b7b7b8;
  overflow: visible;
  font-family: inherit;
  font-size: inherit;
  background: #edeff3;
  color: black;
  text-transform: none;
}

.augs-tab:hover,
.augs-tab:focus {
  background: #edeff3;
}

.augs-tab:hover::before,
.augs-tab:focus::before,
.augs-tab[aria-selected="true"]::before {
  position: absolute;
  bottom: 100%;
  right: -1px;
  left: -1px;
  border-radius: 0.2em 0.2em 0 0;
  border-top: 3px solid #660033;
  content: '';
}

.augs-tab[aria-selected="true"] {
  border-radius: 0;
  background: white;
  outline: 0;
}

.augs-tab[aria-selected="true"]:not(:focus):not(:hover)::before {
  border-top: 5px solid #660033;
}

.augs-tab[aria-selected="true"]::after {
  position: absolute;
  z-index: 3;
  bottom: -1px;
  right: 0;
  left: 0;
  height: 0.3em;
  background: white;
  box-shadow: none;
  content: '';
}

.augs-tab:hover,
.augs-tab:focus,
.augs-tab:active {
  outline: 0;
  border-radius: 0;
  color: inherit;
}

.augs-tab:hover::before,
.augs-tab:focus::before {
  border-color: #666666;
}

.augs-tab-panel {
  position: relative;
  z-index: 2;
  padding: 0.5em 0.5em 0.7em;
  border: 1px solid #b7b7b8;
  border-radius: 0 0.2em 0.2em 0.2em;
  box-shadow: 0 0 0.2em #b7b7b8;
  background: white;
}

.augs-tab-panel:focus {
  border-color: #666666;
  box-shadow: 0 0 0.2em #666666;
  outline: 0;
}

.augs-tab-panel:focus::after {
  position: absolute;
  bottom: 0;
  right: -1px;
  left: -1px;
  border-bottom: 3px solid #666666;
  border-radius: 0 0 0.2em 0.2em;
  content: '';
}

.augs-tab-panel p {
  margin: 0;
}

.augs-tab-panel * + p {
  margin-top: 1em;
}
