.title-voting {
  padding-right: 0.75em;
  width: 6em;
  max-width: 10%;
  box-sizing: border-box;
  float: left;
  margin-top: 0.33em;
  position: relative;

  .rtl & {
    float: right;
    padding-right: 0;
    padding-left: 0.75em;
  }
}

.vote-count-wrapper {
  border: 3px solid var(--primary-low);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voting-wrapper.show-pointer .vote-count-wrapper:not(.no-votes) {
  cursor: pointer;

  &:hover {
    background-color: var(--primary-low);
  }
}

.vote-button {
  width: 100%;
  margin-top: 0.35em;
}

.vote-options {
  text-align: left;
}

.vote-option {
  cursor: pointer;
  padding: 0.35em;

  &:hover {
    background-color: var(--primary-low);
  }
}

.vote-option.remove-vote .d-icon {
  margin-right: 0.35em;
  color: var(--danger);
}

.list-vote-count.voted {
  font-weight: bold;
}

.who-voted.popup-menu {
  a {
    margin: 0.4em 0.25em;
    display: inline-block;
  }
}

.topic-post.voting-post {
  button.like-count,
  button.toggle-like {
    display: none;
  }
}

.voting-popup-menu {
  position: absolute;
  left: 90px;
  top: 0;
  padding: 0.5em;
  line-height: var(--line-height-medium);
  z-index: z("usercard") - 1;
  cursor: initial;

  // voter avatars
  .regular-votes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .rtl & {
    left: unset;
    right: 80px;
  }
}
