// ***** Pagenavi Style ***** //
$center: true;

@mixin rtp-pagenavi() {
    .rtp-pagenavi, body.woocommerce #content nav.woocommerce-pagination,
    body.woocommerce-page #content nav.woocommerce-pagination {
        ul { 
			margin: $rtp-base-spacing 0 0; overflow: hidden;
			//* center align
			@if $center { text-align: center; }
			li {
				// Left or center align the li elements          
				@if $center {
					float: none;
					display: inline-block;
				} @else {
					display: block;
					float: $pagination-li-float;
				}
				color: $pagination-li-font-color;
				font-size: $pagination-li-font-size;
				margin-#{$default-float}: $pagination-li-margin;
				a, span {
					display: block;
					padding: $pagination-link-pad;
					color: $pagination-link-font-color;
					@include radius($global-radius);
				}
				&:hover a, a:focus { background: $pagination-link-active-bg; }
				.current, span.current {
					background: $pagination-link-current-background;
					color: $pagination-link-current-font-color;
					font-weight: $pagination-link-current-font-weight;
					cursor: $pagination-link-current-cursor;
					&:hover, &:focus { background: $pagination-link-current-active-bg; }
				}
			}
        }
    }
}