.tabs .nav-tabs {
  width: 100%;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  list-style: none;
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
}

.tabs .nav-tabs > li {
  margin-bottom: -1px;
  position: relative;
  box-sizing: border-box;
  line-height: 22px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.tabs .nav-tabs > li::after {
  box-shadow: inset 0 1px 1px #fff;
  background: #f5f5f5;
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: -5px;
  bottom: 0;
  width: 20px;
  -webkit-transform: skew(20deg);
  -moz-transform: skew(20deg);
  -ms-transform: skew(20deg);
  -o-transform: skew(20deg);
  transform: skew(20deg);
  -webkit-border-radius: 0 5px 0 0;
  -moz-border-radius: 0 5px 0 0;
  border-radius: 0 5px 0 0;
  border-right: 1px solid #ccc;
  border-top: 1px solid #ddd;
  border-bottom: solid 1px #ddd;
}

.tabs .nav-tabs > li:hover::after {
  background: #eee;
}

.tabs .nav-tabs > li:hover span {
  border: solid 1px #ddd;
}

.tabs .nav-tabs > li.active span {
  background: #fff;
  z-index: 2;
  color: #333333 !important;
}

.tabs .nav-tabs > li > span {
  display: block;
  line-height: 1.42857143;
  border-radius: 4px 4px 0 0;
  text-decoration: none;
  margin-right: 4px;
  padding: 9px 10px 10px 15px;
  background: #f5f5f5;
  border: solid 1px #ddd;
  box-shadow: inset 0 1px 1px #fff;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #4d9471 !important;
}

.tabs .nav-tabs > li > span:focus,
.tabs .nav-tabs > li > span:hover {
  text-decoration: none;
  background-color: #eee;
}

.tabs .nav-tabs > li > span i {
  margin: 0 10px 0 0;
}

.tabs .tab-content {
  /* margin: 0 0 20px; */
}

.tabs .tab-content > .tab-pane {
  display: none;
}

.tabs .tab-content > .tab-pane h3,
.tabs .tab-content > .tab-pane p {
  font-size: 1em;
  margin-bottom: 8px;
  text-indent: 1.5em;
}

.tabs .tab-content > .tab-pane h4 {
  font-size: 1.1em;
  margin-top: 8px;
}

.tabs .tab-content > .tab-pane ul li {
  margin-left: 2em;
}

.tabs .tab-content > .tab-pane .notes {
  font-size: 14px;
  font-style: italic;
}

.tabs .tab-content > .tab-pane.active {
  display: block;
}
