/*Define a new tab.*/
.tab {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}
/*Define a area content by tab*/
.tab-content {
  display: none;
}
/*Define that tab and ab-content is open.*/
.tab-content.active {
  display: block;
}
.tab button {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  font-size: 11px !important;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0;
}
.footer.tab button.icon {
  margin-top: 0;
}
.header.tab.shadow {
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}
.platform-ios .tab button {
  text-transform: none;
}
.tab button.active {
  opacity: 1;
}
.tab button.icon {
  font-size: 14px;
  line-height: 16px;
}
.tab button::before {
  display: block;
  font-size: 25px;
}
.tab button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
}
/*Create a badge in tab.*/
.tab button .badge {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50%;
  margin-top: 10px;
  position: absolute;
  line-height: 18px;
  padding-top: 1px;
}
.tab.footer button.active::after {
  top: 0;
}
.header.tab.footer.shadow {
    box-shadow: -2px -2px 3px rgba(0, 0, 0, 0.2);
}
.platform-ios .tab button.active::after {
  display: none;
}
