
.per-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 310px;
}

@media (max-width: 767px) {
  .per-page {
    justify-content: center;
    max-width: 100%;
  }
}

.per-page .dropdown__wrapper {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.per-page .dropdown__wrapper span {
  margin-left: 14px;
}

.per-page .dropdown button {
  margin: 0;
}

.per-page .dropdown {
  margin-left: 14px;
}

.per-page .dropdown-menu {
  min-width: 100%;
}

.dropdown-menu {
  font-size: 18px;
}

.dropdown-item:hover {
  background-color: #F9F9F9;
}

.dropdown-item:active {
  color: inherit;
  background-color: rgba(242, 152, 157, 0.2);
}

.per-page .dropdown img {
  margin-left: 25px;
  height: 11px;
}

.pagination__wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

@media (max-width: 767px) {
  .pagination__wrapper {
    margin-top: 15px;
    justify-content: center;
  }

  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.page-link {
  margin: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  min-width: 18px;
  padding: 1px 3px;
  color: #F2989D;
  border: 1px solid transparent;
  border-radius: 50%;
}

.page-link:hover {
  color: #F2989D;
  background-color: transparent;
  border-color: #F2989D;
}

.page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(242,152,157,.25);
}

.page-link img {
  height: 16px;
}

.page-item.direction .page-link:hover,
.page-item.direction .page-link:focus {
  border-color: transparent;
  box-shadow: none;
}

.page-item.active .page-link,
.page-item .page-link.disabled {
  color: #fff;
  background-color: #F2989D;
  border-color: #F2989D;
  pointer-events: none;
}
.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-radius: 50%;
}

@media (max-width: 767px) {
  .page-item.direction .page-link,
  .page-item.active .page-link,
  .page-item .page-link.disabled {
    display: list-item;
  }
}