/* Default tab style */

.tabs {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
}

/* Nav */
.tabs nav {
  text-align: center;
  margin-bottom: 10px;
}

.tabs nav ul {
  position: relative;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  -ms-box-orient: horizontal;
  -ms-box-pack: center;
  -webkit-flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
}

.tabs nav ul li {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  text-align: center;
  -webkit-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-bottom: 20px;
}

.tabs nav a {
  position: relative;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f39691;
  line-height: 70px;
  font-size: 24px;
  background-color: #eb483f;
}

.tabs nav a span {
  vertical-align: middle;
}

.tabs nav li.tab-current a {
  color: #fff;
  background-color: #bb1100;
}
.tabs nav li.tab-current::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 10px 0 10px;
  border-color: #bb1000 transparent transparent transparent;
  position: absolute;
  bottom: -11px;
  left: 50%;
  margin-left: -10px;
}
.tabs nav a:focus {
  outline: none;
}

/* Content */
.content-wrap {
  position: relative;
}

.content-wrap > section {
  display: none;
  margin: 0 auto;
}
.content-wrap > section.content-current {
  display: block;
  margin: 0;
  padding: 0;
}
