// =============================================================================
// SCSS/SITE/STACKS/INTEGRITY/_PAGINATION.SCSS
// -----------------------------------------------------------------------------
// Styling for paginating links.
// =============================================================================

// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
//   01. Base Styles
// =============================================================================

// Base Styles
// =============================================================================

.pagination {
  margin: 40px 0 0;
  height: 32px;
  text-align: center;

  ul {
    display: inline-block;
    margin: 0;
  }

  li {
    display: inline;
  }

  a,
  span {
    float: left;
    margin: 0 0.35em;
    width: 32px;
    height: 32px;
    @include font-size(1.3);
    font-weight: 400;
    line-height: 32px;
    text-decoration: none;
    text-shadow: $paginationItemTextShadow;
    color: lighten($textColor, 25%);
    background-color: $baseModBackground;
    border-radius: 4px;
    @include box-shadow(#{$paginationItemBoxShadow});
  }

  a:hover {
    color: $textColor;
  }

  // a:active {
  //   color: #bbb;
  //   background-color: #e5e5e5;
  //   @include box-shadow(#{inset 0 0.1em 0.35em rgba(0, 0, 0, 0.35), 0 1px 0 0 rgba(255, 255, 255, 0.95)});
  // }

  a.prev-next {
    @include break(baby-bear) { display: none; }
  }

  span.current {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
    color: $white;
    background-color: $accentColor;
    @include box-shadow(#{$paginationCurrentItemBoxShadow});
  }

  span.pages {
    display: none;
  }

  span.expand {
    margin: 0;
    width: 20px;
    color: #272727;
    background-color: transparent;
    @include box-shadow(#{none});
  }
}