.pagination-results,
.pagination-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 24px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #e9e5df;
}

.pagination-results > [class*="col-"],
.pagination-result > [class*="col-"] {
  float: none;
  width: auto;
  padding: 0;
}

.pagination-results .text-left,
.pagination-result .text-left {
  min-width: 0;
}

.pagination-results .text-right,
.pagination-result .text-right {
  color: #77736e;
  font-size: 13px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  -webkit-user-select: none;
  user-select: none;
}

.pagination > li {
  display: block;
  margin: 0;
}

.pagination > li > a,
.pagination > li > span {
  display: flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #e5e0d9;
  border-radius: 6px;
  background: #fff;
  color: #393632;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

.pagination > .active > span,
.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > a:active,
.pagination > .active > a:visited {
  border-color: #302d29;
  background: #302d29;
  color: #fff;
}

.pagination > li:not(.active):hover,
.pagination > li:not(.active):focus-within,
.pagination > li:not(.active):focus-within > a {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  transform: none !important;
}

html body .pagination > li > a,
html body .pagination > li > a:hover,
html body .pagination > li > a:focus,
html body .pagination > li > a:active,
html body .pagination > li > a:visited,
html body .pagination > li > span {
  box-sizing: border-box !important;
  min-width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  border: 1px solid #e5e0d9 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #393632 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  outline: none !important;
  text-decoration: none !important;
  transform: none !important;
  transition: none !important;
}

html body .pagination > .active > a,
html body .pagination > .active > a:hover,
html body .pagination > .active > a:focus,
html body .pagination > .active > a:active,
html body .pagination > .active > a:visited,
html body .pagination > .active > span {
  border-color: #302d29 !important;
  background: #302d29 !important;
  color: #fff !important;
}

html body .pagination > .disabled > a,
html body .pagination > .disabled > a:hover,
html body .pagination > .disabled > a:focus,
html body .pagination > .disabled > a:active,
html body .pagination > .disabled > a:visited,
html body .pagination > .disabled > span {
  border-color: #eeeae5 !important;
  background: #faf9f7 !important;
  color: #b7b1a9 !important;
  cursor: default !important;
}

html body .pagination > li:not(.active):first-child > a,
html body .pagination > li:not(.active):first-child > a:hover,
html body .pagination > li:not(.active):first-child > a:focus,
html body .pagination > li:not(.active):first-child > a:active,
html body .pagination > li:not(.active):first-child > a:visited,
html body .pagination > li:not(.active):first-child > span,
html body .pagination > li:not(.active):last-child > a,
html body .pagination > li:not(.active):last-child > a:hover,
html body .pagination > li:not(.active):last-child > a:focus,
html body .pagination > li:not(.active):last-child > a:active,
html body .pagination > li:not(.active):last-child > a:visited,
html body .pagination > li:not(.active):last-child > span,
html body .pagination > li.prev:not(.active) > a,
html body .pagination > li.prev:not(.active) > a:hover,
html body .pagination > li.prev:not(.active) > a:focus,
html body .pagination > li.prev:not(.active) > a:active,
html body .pagination > li.prev:not(.active) > a:visited,
html body .pagination > li.prev:not(.active) > span,
html body .pagination > li.next:not(.active) > a,
html body .pagination > li.next:not(.active) > a:hover,
html body .pagination > li.next:not(.active) > a:focus,
html body .pagination > li.next:not(.active) > a:active,
html body .pagination > li.next:not(.active) > a:visited,
html body .pagination > li.next:not(.active) > span,
html body .pagination > li > a.prev,
html body .pagination > li > a.prev:hover,
html body .pagination > li > a.prev:focus,
html body .pagination > li > a.prev:active,
html body .pagination > li > a.prev:visited,
html body .pagination > li > a.next,
html body .pagination > li > a.next:hover,
html body .pagination > li > a.next:focus,
html body .pagination > li > a.next:active,
html body .pagination > li > a.next:visited {
  border: 1px solid #e5e0d9 !important;
  background: #fff !important;
  color: #393632 !important;
}

html body .pagination > li:not(.active):not(.disabled) > a:hover,
html body .pagination > li:not(.active):not(.disabled) > a:focus,
html body .pagination > li:not(.active):not(.disabled) > a:focus-visible {
  border-color: #d8d2c9 !important;
  background: #f7f5f2 !important;
  color: #000 !important;
}

html body .pagination > li:not(.active):first-child,
html body .pagination > li:not(.active):nth-child(2),
html body .pagination > li:not(.active):nth-last-child(2),
html body .pagination > li:not(.active):last-child {
  background: #fff !important;
}

html body .pagination > li > a:focus,
html body .pagination > li > a:focus-visible,
html body .pagination > li > a:focus *,
html body .pagination > li > a:focus-visible * {
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  opacity: 1 !important;
  text-shadow: none !important;
  animation: none !important;
  will-change: auto !important;
}

html body .pagination > li > a,
html body .pagination > li > a:hover,
html body .pagination > li > a:focus,
html body .pagination > li > a:active,
html body .pagination > li > a:visited,
html body .pagination > li > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  background-image: none !important;
  filter: none !important;
  text-shadow: none !important;
}

.pagination > .disabled > span,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  border-color: #eeeae5;
  background: #faf9f7;
  color: #b7b1a9;
  cursor: default;
}

@media (max-width: 767px) {
  .pagination-results,
  .pagination-result {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 14px;
  }

  .pagination-results > [class*="col-"],
  .pagination-result > [class*="col-"] {
    width: 100%;
  }

  .pagination-results .text-right,
  .pagination-result .text-right {
    text-align: left;
  }

  .pagination {
    gap: 5px;
  }

  .pagination > li > a,
  .pagination > li > span {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
  }

  html body .pagination > li > a,
  html body .pagination > li > a:hover,
  html body .pagination > li > a:focus,
  html body .pagination > li > a:active,
  html body .pagination > li > a:visited,
  html body .pagination > li > span {
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 10px !important;
  }
}

html body .pagination > li:not(.active):first-child,
html body .pagination > li:not(.active):nth-child(2),
html body .pagination > li:not(.active):nth-last-child(2),
html body .pagination > li:not(.active):last-child {
  box-sizing: border-box !important;
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e5e0d9 !important;
  border-radius: 6px !important;
  background: #fff !important;
}

html body .pagination > li:not(.active):first-child > a,
html body .pagination > li:not(.active):first-child > a:hover,
html body .pagination > li:not(.active):first-child > a:focus,
html body .pagination > li:not(.active):first-child > a:active,
html body .pagination > li:not(.active):first-child > a:visited,
html body .pagination > li:not(.active):nth-child(2) > a,
html body .pagination > li:not(.active):nth-child(2) > a:hover,
html body .pagination > li:not(.active):nth-child(2) > a:focus,
html body .pagination > li:not(.active):nth-child(2) > a:active,
html body .pagination > li:not(.active):nth-child(2) > a:visited,
html body .pagination > li:not(.active):nth-last-child(2) > a,
html body .pagination > li:not(.active):nth-last-child(2) > a:hover,
html body .pagination > li:not(.active):nth-last-child(2) > a:focus,
html body .pagination > li:not(.active):nth-last-child(2) > a:active,
html body .pagination > li:not(.active):nth-last-child(2) > a:visited,
html body .pagination > li:not(.active):last-child > a,
html body .pagination > li:not(.active):last-child > a:hover,
html body .pagination > li:not(.active):last-child > a:focus,
html body .pagination > li:not(.active):last-child > a:active,
html body .pagination > li:not(.active):last-child > a:visited {
  box-sizing: border-box !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
  color: #393632 !important;
  align-items: center !important;
  justify-content: center !important;
}

html body .pagination > li:not(.active):first-child:hover,
html body .pagination > li:not(.active):nth-child(2):hover,
html body .pagination > li:not(.active):nth-last-child(2):hover,
html body .pagination > li:not(.active):last-child:hover,
html body .pagination > li:not(.active):first-child:focus-within,
html body .pagination > li:not(.active):nth-child(2):focus-within,
html body .pagination > li:not(.active):nth-last-child(2):focus-within,
html body .pagination > li:not(.active):last-child:focus-within {
  border-color: #d8d2c9 !important;
  background: #f7f5f2 !important;
}

html body .pagination > li:not(.active):first-child > a:hover,
html body .pagination > li:not(.active):nth-child(2) > a:hover,
html body .pagination > li:not(.active):nth-last-child(2) > a:hover,
html body .pagination > li:not(.active):last-child > a:hover,
html body .pagination > li:not(.active):first-child > a:focus,
html body .pagination > li:not(.active):nth-child(2) > a:focus,
html body .pagination > li:not(.active):nth-last-child(2) > a:focus,
html body .pagination > li:not(.active):last-child > a:focus {
  background: transparent !important;
  color: #000 !important;
}

@media (max-width: 767px) {
  html body .pagination > li:not(.active):first-child,
  html body .pagination > li:not(.active):nth-child(2),
  html body .pagination > li:not(.active):nth-last-child(2),
  html body .pagination > li:not(.active):last-child {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
  }
}
