.ftg-pages *,
.ftg-pages *:after,
.ftg-pages *::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.crp-wrapper .ftg-pages {
  padding-bottom: 5px;
  margin-bottom: 5px;
  text-align: center;
}


.crp-wrapper .ftg-pages a {
  position: relative;
  display: inline-block;
  min-width: 50px;
  text-align: center;
  font-size: 14px;
  margin-right: 10px;
  color: #666;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 10px;
}

.ftg-pages a:hover,
.ftg-pages a:focus,
.ftg-pages a.selected {
  outline: none;
}

/* Style 1: rectangles */
.crp-pagination-style-1 a {
  padding: 8px 0px;
  border: 1px solid #666;
}

.crp-pagination-style-1 a:hover,
.crp-pagination-style-1 a.selected {
  color: #000;
  border: 1px solid #000;
  text-decoration: none;
}

/* Style 2: bottom line slides/fades to top */
.crp-pagination-style-2 a {
  padding: 8px 0;
}

.crp-pagination-style-2 a::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.1);
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
}

.crp-pagination-style-2 a:hover::after,
.crp-pagination-style-2 a:focus::after,
.crp-pagination-style-2 a.selected::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

/* Style 3: bottom line slides/fades to bottom  */
.crp-pagination-style-3 a {
  padding: 0 0 8px;
}

.crp-pagination-style-3 a::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  content: '';
  opacity: 0;
  -webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
  transition: height 0.3s, opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
  transform: translateY(-10px);
}

.crp-pagination-style-3 a:hover::after,
.crp-pagination-style-3 a:focus::after,
.crp-pagination-style-3 a.selected::after {
  height: 1px;
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

/* Style 4: Top line moves to bottom  */
.crp-pagination-style-4 a {
  padding: 8px 8px;
}

.crp-pagination-style-4 a::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  content: '';
  -webkit-transition: top 0.3s;
  -moz-transition: top 0.3s;
  transition: top 0.3s;
}

.crp-pagination-style-4 a::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  background: #fff;
  content: '';
  -webkit-transition: height 0.3s;
  -moz-transition: height 0.3s;
  transition: height 0.3s;
}

.crp-pagination-style-4 a:hover::before,
.crp-pagination-style-4 a.selected::before {
  top: 100%;
  opacity: 1;
}

.crp-pagination-style-4 a:hover::after,
.crp-pagination-style-4 a.selected::after {
  height: 100%;
}

/* Style 5: second border slides up */
.crp-pagination-style-5 a {
  padding: 8px 8px 8px;
/*  color: #566473;
  text-shadow: none;
  font-weight: 700;*/
}

.crp-pagination-style-5 a::before,
.crp-pagination-style-5 a::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #566473;
  content: '';
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  -webkit-transform: scale(0.85);
  -moz-transform: scale(0.85);
  transform: scale(0.85);
}

.crp-pagination-style-5 a::after {
  opacity: 0;
  -webkit-transition: top 0.3s, opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: top 0.3s, opacity 0.3s, -moz-transform 0.3s;
  transition: top 0.3s, opacity 0.3s, transform 0.3s;
}

.crp-pagination-style-5 a:hover::before,
.crp-pagination-style-5 a:hover::after,
.crp-pagination-style-5 a:focus::before,
.crp-pagination-style-5 a:focus::after,
.crp-pagination-style-5 a.selected::before,
.crp-pagination-style-5 a.selected::after {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  transform: scale(1);
}

.crp-pagination-style-5 a:hover::after,
.crp-pagination-style-5 a:focus::after,
.crp-pagination-style-5 a.selected::after {
  top: 0%;
  opacity: 1;
}

/* Style 5: Top line becomes thiker & bottom line appears */
.crp-pagination-style-6 a {
  padding: 8px 8px;
}

.crp-pagination-style-6 a::before,
.crp-pagination-style-6 a::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  content: '';
  opacity: 0.2;
  -webkit-transition: opacity 0.3s, height 0.3s;
  -moz-transition: opacity 0.3s, height 0.3s;
  transition: opacity 0.3s, height 0.3s;
}

.crp-pagination-style-6 a::after {
  top: 100%;
  opacity: 0;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  -moz-transition: -moz-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
  transform: translateY(-10px);
}

.crp-pagination-style-6 a span:first-child {
  z-index: 2;
  display: block;
  font-weight: 300;
}

.crp-pagination-style-6 a span:last-child {
  z-index: 1;
  display: block;
  padding: 8px 0 0 0;
  color: rgba(0,0,0,0.4);
  text-shadow: none;
  text-transform: none;
  font-style: italic;
  font-size: 0.75em;
  font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
  opacity: 0;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  -moz-transition: -moz-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  transform: translateY(-100%);
}

.crp-pagination-style-6 a:hover::before,
.crp-pagination-style-6 a:focus::before,
.crp-pagination-style-6 a.selected::before {
  height: 3px;
}

.crp-pagination-style-6 a:hover::before,
.crp-pagination-style-6 a:hover::after,
.crp-pagination-style-6 a:focus::before,
.crp-pagination-style-6 a:focus::after,
.crp-pagination-style-6 a.selected::before,
.crp-pagination-style-6 a.selected::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.crp-pagination-style-6 a:hover span:last-child,
.crp-pagination-style-6 a:focus span:last-child,
.crp-pagination-style-6 a.selected span:last-child {
  opacity: 1;
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  transform: translateY(0%);
}

/* Style 7: border switch */
.crp-pagination-style-7 a {
  height: 45px;
  line-height: 45px;
}

.crp-pagination-style-7 a::before,
.crp-pagination-style-7 a::after {
  position: absolute;
  width: 45px;
  height: 1px;
  background: #fff;
  content: '';
  opacity: 0.2;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  pointer-events: none;
}

.crp-pagination-style-7 a::before {
  top: 0;
  left: 0;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  transform-origin: 0 0;
}

.crp-pagination-style-7 a::after {
  right: 0;
  bottom: 0;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-transform-origin: 100% 0;
  -moz-transform-origin: 100% 0;
  transform-origin: 100% 0;
}

.crp-pagination-style-7 a:hover::before,
.crp-pagination-style-7 a:hover::after,
.crp-pagination-style-7 a:focus::before,
.crp-pagination-style-7 a:focus::after,
.crp-pagination-style-7 a.selected::before,
.crp-pagination-style-7 a.selected::after {
  opacity: 1;
}

.crp-pagination-style-7 a:hover::before,
.crp-pagination-style-7 a:focus::before ,
.crp-pagination-style-7 a.selected::before {
  left: 50%;
  -webkit-transform: rotate(0deg) translateX(-50%);
  -moz-transform: rotate(0deg) translateX(-50%);
  transform: rotate(0deg) translateX(-50%);
}

.crp-pagination-style-7 a:hover::after,
.crp-pagination-style-7 a:focus::after,
.crp-pagination-style-7 a.selected::after {
  right: 50%;
  -webkit-transform: rotate(0deg) translateX(50%);
  -moz-transform: rotate(0deg) translateX(50%);
  transform: rotate(0deg) translateX(50%);
}
