.nav-tabs {
  background: transparent;
  border: 0;
  margin-bottom: 20px;
}

.nav-tabs li {
  margin-left: 10px;
  margin-right: 10px;
}

.nav-tabs li:first-child {
  margin-left: 0;
}

.nav-tabs li:last-child {
  margin-right: 0;
}

.nav-tabs .nav-link {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border: 0;
  padding: 17px 5px;
  color: #494949;
  font-size: 16px;
  font-weight: 400;
  position: relative;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  background: transparent;
  border: 0;
  color: #000;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border: 0;
  color: #000;
}

.nav-tabs .nav-link:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #494949;
  transform: translate3d(-50%, 0, 0);
  border-radius: 4px;
  transition: all 300ms;
}

.nav-tabs .nav-item.show .nav-link:before,
.nav-tabs .nav-link.active:before {
  width: 100%;
  background: #000;
}

.nav-tabs .nav-link:focus:before,
.nav-tabs .nav-link:hover:before {
  width: 100%;
  background: #000;
}

.white_tab .nav-tabs .nav-link {
  color: #fff;
}
.white_tab .nav-tabs .nav-item.show .nav-link:before,
.white_tab .nav-tabs .nav-link.active:before {
  width: 100%;
  background: #fff;
}
.white_tab .nav-tabs .nav-link:focus:before,
.white_tab .nav-tabs .nav-link:hover:before {
  width: 100%;
  background: #fff;
}
