@media only screen and (max-width: 959px) {
  .uk-subnav-pill, .uk-tab {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}

.uk-subnav-pill > * > a, .uk-subnav-pill > * > span > a {
  color: currentColor !important;
  opacity: 0.8;
  border-radius: 40px !important;
  border: 1px solid currentColor !important;
  padding: 6px 18px !important;
  line-height: 18px;
}

.uk-subnav-pill > * > :first-child {
  text-transform: none;
  font-size: var(--sidebar-font-size);
  color: var(--text-color);
}

.uk-subnav-pill > li {
  margin-bottom: 10px;
}

.uk-subnav-pill > li > a:hover, .uk-subnav-pill > li > span > a:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color) !important;
  background-color: var(--contrast-color);
  opacity: 1;
}

.uk-subnav-pill > li.uk-active > a, .uk-subnav-pill > li.uk-active > span > a {
  opacity: 1;
  border-color: var(--primary-color) !important;
  color: var(--contrast-color) !important;
  background-color: var(--primary-color);
  font-weight: bold;
}

.uk-tab > li > a {
  color: rgb(var(--text-color-rgb), 0.8) !important;
  font-family: "Open Sans", sans-serif !important;
  text-transform: capitalize;
}

.uk-tab > li > * {
  font-size: var(--small-font-size);
}

.uk-tab > li:hover > a {
  color: var(--secondary-color) !important;
}

.uk-tab > li.uk-active  > a {
  color: var(--primary-color) !important;
  font-weight: 700;
}

.customTabs.uk-tab > li > a, .customTabs.uk-tab > li.uk-active > a,.customTabs.uk-tab > li > a:focus, .customTabs.uk-tab > li > a:hover {
  border: 0 transparent !important;
}

.uk-tab.customTabs::before {
  border-bottom: none !important;
}

.customTabs.uk-tab.admin > li.uk-active > a .title {
  border-bottom: 3px solid var(--portal-main-color);
  margin-left: 3px;
}

.uk-subnav-pill.subCategoriesTabs.admin > li.uk-active > a{
  border: 1px solid var(--primary-color);
  background-color: var(--primary-color);
}

.uk-subnav[visibility=true], .uk-tab[visibility=true] {
  margin-left: -50px;
}

.uk-subnav[visibility=true] > li:not(:first-child):not(:last-child) > :first-child,
.uk-tab[visibility=true] > li:not(:first-child):not(:last-child) {
  padding-left: 0;
}
