*{
  margin: 0;
  padding: 0;
}

.bx-tab {
  position: relative;
}
.bx-tab .bx-tab-wrap{
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  font-size: 14px;
  color: #666;
  background-color: #fff
}
.bx-tab .bx-tab-wrap:after {
  content: "";
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #e5e5e5;
  -webkit-transform-origin: 0 100%;
  -ms-transform-origin: 0 100%;
  transform-origin: 0 100%;
  -webkit-transform: scaleY(.5);
  -ms-transform: scaleY(.5);
  transform: scaleY(.5)
}
.bx-tab .bx-tab-item {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
  text-align: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.bx-tab .bx-tab-item .bx-tab-text {
  position: relative;
  padding: 12px 5px;
}

.bx-tab .bx-tab--active {
  position: relative;
  color: #508cee
}

.bx-tab-line{
  position: absolute;
  bottom: 0;
  height: 4px;
  width: 22px;
  border-radius: 999px;
  background-color: #508CEE;
}

.bx-tab-contents{
  overflow: hidden;
}
.bx-tab-contents .bx-tab-scroller{
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  width: 100%;
}
.bx-tab-contents .bx-tab-content{
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
  height: 0;
  overflow: visible;
}
.bx-tab-contents .bx-tab-content--active{
  height: auto;
}
.bx-animate-line{
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background-color: #508CEE;
  transition: all .3s;
}

