x-segment {
  display: inline-block;
  height: 50px;
  position: relative;
  border-radius: 0.5rem;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  padding: 0.35rem;
  overflow-y: hidden;
  overflow-x: auto;
  max-width: 100%;
  background-color: var(--color-default-lucid, #f0f0f0);
}
x-segment.segment-block {
  display: block;
  width: 100%;
}
x-segment.segment-compact > div > x-segment-item:not(.active) span {
  display: none;
}
x-segment.segment-compact > div > x-segment-item:not(.active) x-icon {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
x-segment::-webkit-scrollbar {
  opacity: 0;
  height: 1px;
}
.is-dark-mode x-segment {
  background-color: var(--color-black-tint);
}
x-segment.segment-left > div {
  justify-content: start;
}
x-segment.segment-center > div {
  justify-content: center;
}
x-segment.segment-right > div {
  justify-content: end;
}
x-segment.segment-evenly > div {
  justify-content: space-evenly;
}
x-segment.segment-between > div {
  justify-content: space-between;
}
x-segment > div {
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  width: 100%;
}
x-segment > div > x-segment-item {
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: calc(50px - 0.7rem);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 0.45rem;
  margin-right: 0.35rem;
  padding-left: 1rem;
  padding-right: 1rem;
  color: var(--color-text-tinted);
  white-space: nowrap;
}
.is-dark-mode x-segment > div > x-segment-item {
  color: var(--color-text-light-shaded);
}
x-segment > div > x-segment-item:hover {
  color: var(--color-text-tint);
  background-color: rgba(var(--color-default-rgb, 155, 155, 155), 0.2);
}
.is-dark-mode x-segment > div > x-segment-item:hover {
  color: var(--color-text-light, #FEFEFE);
  background-color: var(--color-dark-tinted, #626262);
}
.is-dark-mode x-segment > div > x-segment-item:hover x-icon {
  color: var(--color-text-light, #FEFEFE);
}
x-segment > div > x-segment-item.active {
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: var(--color-white, #FFFFFF) !important;
  color: var(--color-text, #4A4A4A) !important;
}
x-segment > div > x-segment-item.active x-icon {
  color: var(--color-text, #4A4A4A) !important;
}
x-segment > div > x-segment-item:last-child {
  margin-right: 0;
}
x-segment > div > x-segment-item a {
  color: inherit;
}
x-segment > div > x-segment-item a:hover {
  color: inherit;
}
x-segment > div > x-segment-item x-icon {
  color: inherit;
  font-size: 1.25em;
  margin-left: -0.25rem;
  margin-right: 0.5rem;
  transition: 0.3s;
}
.is-dark-mode x-segment > div > x-segment-item x-icon {
  color: var(--color-text-light-shaded, #b2b2b2);
}