/**
 * @file
 * Styles for Seven's Pagination.
 */

.pager {
  width: 100%;
  margin: 0 auto;
}

.pager__items {
  margin: 1.25em 0 0.25em 0em; /* LTR */
  padding: 0;
  text-align: center;
}
[dir="rtl"] .pager__items {
  margin: 0.25em 1.5em 0.25em 0;
}
.pager__item {
  display: inline-block;
  color: #8c8c8c;
  font-size: 1.08em;
  margin: 0;
  padding: 0 0.4em;
}
.pager__item a {
  border-bottom: 2px solid transparent;
  line-height: 1.55em;
  padding: 0 5px 2px;
  font-weight: 600;
  text-decoration: none;
  transition: border-bottom-color 0.2s;
  -webkit-font-smoothing: antialiased;
}
.pager__item.is-active a {
  border-bottom-width: 3px;
  border-bottom-color: #2a678c;
  color: #2a678c;
  font-weight: 700;
}
.pager__item a:hover,
.pager__item a:focus {
  border-bottom-color: #3395d2;
  color: #3395d2;
}
.pager__item--next a,
.pager__item--last a,
.pager__item--first a,
.pager__item--previous a {
  border-bottom-width: 0;
  color: #2a678c;
}

.hidden {
  display: none;
}
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
  word-wrap: normal;
}
.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  position: static !important;
  clip: auto;
  overflow: visible;
  height: auto;
  width: auto;
}
.invisible {
  visibility: hidden;
}

@media only screen and (max-width: 767px) {
  .pager {
    padding: 0 16px;
  }
}
