/**
 * Pagination Component
 * Post list pagination and navigator styles.
 */

/* Navigator arrows */
.navigator a {
  display: inline-block;
  height: 39px;
  line-height: 39px;
  margin: 20px 0;
}

.navigator i {
  font-size: 15px;
  color: var(--color-text-tertiary, #7d7d7d);
  box-shadow: var(--shadow-card, 0 1px 30px -4px #e8e8e8);
  background: rgba(255, 255, 255, 0.5);
  padding: 12px 12px;
  border-radius: var(--radius-md, 10px);
  margin: 0 10px;
  font-weight: 900;
  transition: all .2s ease-in-out;
  border: 1px solid #FFFFFF;
}

.navigator i:hover {
  box-shadow: var(--shadow-card-hover, 0 1px 20px 10px #e8e8e8);
  background: rgba(255, 255, 255, 0.8);
  color: var(--theme-skin-matching, #505050);
  transition: all .2s ease-in-out;
}

/* NProgress top loading bar */
#nprogress .bar {
  background: var(--theme-skin, #505050);
  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

#nprogress .peg {
  display: block;
  position: absolute;
  right: 0;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px var(--theme-skin, #505050), 0 0 5px var(--theme-skin, #505050);
  opacity: 1;
  transform: rotate(3deg) translate(0px, -4px);
}

#nprogress .spinner {
  display: block;
  position: fixed;
  z-index: 1031;
  top: 15px;
  right: 15px;
}

#nprogress .spinner-icon {
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: solid 2px transparent;
  border-top-color: var(--theme-skin, #505050);
  border-left-color: var(--theme-skin, #505050);
  border-radius: 50%;
  animation: nprogress-spinner 400ms linear infinite;
}

/* Page number pagination */
#pagination {
  text-align: center;
  width: 100%;
  padding: 10px 0;
  position: relative;
}

#pagination a {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 3px;
  border-radius: var(--radius-md, 10px);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-card, 0 1px 30px -4px #e8e8e8);
  border: 1px solid #FFFFFF;
  color: var(--color-text-primary, #505050);
  font-size: 14px;
  transition: all .3s ease-in-out;
}

#pagination a:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 20px 10px #e8e8e8;
}

#pagination .loading {
  color: var(--color-text-tertiary, #ababab);
}

/* Page numbers span */
span.page-numbers.current {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 3px;
  border-radius: var(--radius-md, 10px);
  background: var(--theme-skin-matching, #a4cdf6);
  color: #fff;
  font-size: 14px;
}
