[dir="rtl"] .justify-content-center.nav-pills > li + li {
  margin-left: inherit;
}

[dir="rtl"] [dir="rtl"] .justify-content-center.nav-pills > li + li {
  margin-right: inherit;
  margin-left: 0;
}
