@charset "utf-8";

/* --------------------------------
Basic style
-------------------------------- */
nav[role="pagination"] {
    text-align: center;
}

.cd-pagination {
    width: 90%;
    max-width: 768px;
    text-align: center;
}
.cd-pagination li {
    /* hide numbers on small devices */
    display: none;
    margin: 0 .2em;
}
.cd-pagination li.nav-button {
    /* make sure prev next buttons are visible */
    display: inline-block;
}
.cd-pagination a, .cd-pagination span {
    display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* use padding and font-size to change buttons size */
    padding: .6em .8em;
    font-size: 1em;
}
.cd-pagination a {
    border-radius: 0.25em;
}
/* .cd-pagination a:hover {
    background-color: #f2f2f2;
} */
.cd-pagination a:active {
    /* click effect */
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
}
.cd-pagination a.disabled {
    /* button disabled */
/*     color: rgba(46, 64, 87, 0.4); */
    pointer-events: none;
}
.cd-pagination a.disabled::before, .cd-pagination a.disabled::after {
    opacity: .4;
}
.cd-pagination .nav-button.nav-start a::before {
    content: '\f104';
}
.cd-pagination .nav-button.nav-end a::after {
    content: '\f105';
}
.cd-pagination .current {
    /* selected number */
    pointer-events: none;
}
@media only screen and (min-width: 768px) {
  .cd-pagination li {
      display: inline-block;
  }
}

  /* --------------------------------
  No space - remove distance between list items
  -------------------------------- */
.cd-pagination.no-space {
    width: auto; margin-bottom: 0;
    max-width: none;
    display: inline-block;
    border-radius: 0.25em;
}
.cd-pagination.no-space:after {
    content: "";
    display: table;
    clear: both;
}
.cd-pagination.no-space li {
    margin: 0;
    float: left;
}
.cd-pagination.no-space li.nav-end {
    border-right: none;
}
.cd-pagination.no-space a, .cd-pagination.no-space span {
    float: left;
    border-radius: 0;
    padding: .8em 1em;
    border: none;
}
.cd-pagination.no-space li.nav-start a {
    border-radius: 0.25em 0 0 0.25em;
}
.cd-pagination.no-space li.nav-end a {
    border-radius: 0 0.25em 0.25em 0;
}

  /* --------------------------------
  move buttons - move prev and next buttons to the sides
  -------------------------------- */
.cd-pagination.move-buttons:after {
    content: "";
    display: table;
    clear: both;
}
.cd-pagination.move-buttons .nav-button.nav-start {
    float: left;
}
.cd-pagination.move-buttons .nav-button.nav-end {
    float: right;
}

.cd-pagination.no-space.move-buttons {
    width: 90%;
    max-width: 768px;
    display: block;
    overflow: hidden;
}
.cd-pagination.no-space.move-buttons li {
    float: none;
    border: none;
}
.cd-pagination.no-space.move-buttons a, .cd-pagination.no-space.move-buttons span {
    float: none;
}

  /* --------------------------------
  custom icons - customize the small arrow inside the next and prev buttons
  -------------------------------- */
.cd-pagination.custom-icons .nav-button a {
    position: relative;
    font-family: 'FontAwesome';
}
.cd-pagination.custom-icons .nav-button.nav-start a::before,
.cd-pagination.custom-icons .nav-button.nav-prev a::before,
.cd-pagination.custom-icons .nav-button.nav-next a::after,
.cd-pagination.custom-icons .nav-button.nav-end a::after {
    content: '';
    position: absolute;
    display: inline-block;
    /* set size for custom icons */
    width: 16px;
    height: 16px;
    top: 0;
    /* set margin-top = icon height/2 */
    margin-top: 0;
}
.cd-pagination.custom-icons .nav-button.nav-start a::before {
    content:'\f100';
}
.cd-pagination.custom-icons .nav-button.nav-prev a::before {
    content:'\f104';
}
.cd-pagination.custom-icons .nav-button.nav-next a::after {
    content:'\f105';
}
.cd-pagination.custom-icons .nav-button.nav-end a::after {
    content:'\f101';
}

  /* --------------------------------
  custom buttons - replace prev and next buttons text with a custom icon
  -------------------------------- */
.cd-pagination.custom-buttons a, .cd-pagination.custom-buttons span {
    vertical-align: middle;
}
.cd-pagination.custom-buttons .nav-button a {
    /* set custom width */
    width: 40px;
    /* image replacement */
    overflow: hidden;
    white-space: nowrap;
    text-indent: 100%;
    color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
}
.cd-pagination.custom-buttons .nav-button.nav-end a {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
.cd-pagination.custom-buttons .nav-button.nav-end a:active {
    -webkit-transform: scale(0.9) rotate(180deg);
    -moz-transform: scale(0.9) rotate(180deg);
    -ms-transform: scale(0.9) rotate(180deg);
    -o-transform: scale(0.9) rotate(180deg);
    transform: scale(0.9) rotate(180deg);
}

.cd-pagination.no-space.custom-buttons .nav-button.nav-end a {
    border-radius: 0.25em 0 0 0.25em;
}

  /* --------------------------------
  animated buttons - animate the text inside prev and next buttons 
  -------------------------------- */
.cd-pagination.animated-buttons a, .cd-pagination.animated-buttons span {
    padding: 0 1.6em;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
}
.cd-pagination.animated-buttons .nav-button a {
    position: relative;
    padding: 0 1.2em;
    width:67px;
}
.cd-pagination.animated-buttons .nav-button.nav-start a::before,
.cd-pagination.animated-buttons .nav-button.nav-prev a::before,
.cd-pagination.animated-buttons .nav-button.nav-next a::after,
.cd-pagination.animated-buttons .nav-button.nav-end a::after {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    right: auto;
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
}
.cd-pagination.animated-buttons i {
    display: block;
    height: 100%;
    font-style:normal;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
}

.cd-pagination.animated-buttons .nav-button a:hover i {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.cd-pagination.animated-buttons .nav-button.nav-start a:hover::before,
.cd-pagination.animated-buttons .nav-button.nav-prev a:hover::before,
.cd-pagination.animated-buttons .nav-button.nav-next a:hover::after,
.cd-pagination.animated-buttons .nav-button.nav-end a:hover::after {
    -webkit-transform: translateX(-50%) translateY(-50px);
    -moz-transform: translateX(-50%) translateY(-50px);
    -ms-transform: translateX(-50%) translateY(-50px);
    -o-transform: translateX(-50%) translateY(-50px);
    transform: translateX(-50%) translateY(-50px);
}