.comment-navigation,
.posts-navigation,
.post-navigation {
	overflow: hidden;
	padding-top: 60px;
	margin-bottom: 60px;
	border-top: 1px solid $color__background-hr;
	.nav-previous,
	.nav-next {
		line-height: 1;
		width: 100%;
		@include media-breakpoint-up(sm) {
			width: 50%;
		}
		> a {
			display: inline-block;
			vertical-align: top;
			text-decoration: none;
			@include font-size(.875);
			line-height: 1.7;
			position: relative;
		}
	}

	.nav-previous {
		float: left;
		padding-right: 10px;
		> a {
			padding-left: 35px;
			@include media-breakpoint-up(lg) {
				padding-left: 55px;
			}
			&:before {
				position: absolute;
				left: 0;
				top: 50%;
				transform: translateY(-50%);
				font-size: 24px;
				content: '\e943';
				vertical-align: top;

				@include linear-icon();
			}
		}
	}
	.nav-next {
		float: right;
		text-align: right;
		padding-left: 10px;
		margin-top: 25px;
		@include media-breakpoint-up(sm) {
			margin-top: 0;
		}
		> a {
			padding-right: 35px;
			@include media-breakpoint-up(lg) {
				padding-right: 55px;
			}
			&:after {
				position: absolute;
				right: 0;
				top: 50%;
				transform: translateY(-50%);
				font-size: 24px;
				content: '\e944';
				vertical-align: top;

				@include linear-icon();
			}
		}
	}
}

/*Post pagination*/
.pagination {
	padding: 70px 0 5px;
	margin-bottom: 60px;
	border-top: 1px solid $color__background-hr;
	.posts-list:not(.posts-list--default) + & {
		text-align: center;
	}
}
.site-content .page-numbers,
#tm_builder_outer_content .pagination .page-numbers,
.tm-pg_front_gallery-navigation .tm_pg_nav-links a.tm_pg_page-numbers {
	line-height: 50px;
	display: inline-block;
	min-width: 50px;
	height: 50px;
	margin: 0 5px 5px 0;
	padding: 0 2px;
	text-align: center;
	text-decoration: none;
	border: 1px solid;

	@include font-size(.75);
	@include border-radius;

	&.dots {}

	&.next,
	&.prev {
		min-width: 30px;
		border: none;
		background: none;
		i {
			vertical-align: middle;
			@include font-size(.875);
		}
	}
}

.site-content a.page-numbers:hover,
.site-content .page-numbers.current,
#tm_builder_outer_content .pagination a.page-numbers:hover,
#tm_builder_outer_content .pagination .page-numbers.current,
.tm-pg_front_gallery-navigation .tm_pg_nav-links a.tm_pg_page-numbers:hover,
.tm-pg_front_gallery-navigation .tm_pg_nav-links a.tm_pg_page-numbers.current {
	background-color: transparent;
	border-color: $color__background-hr;
}

/*Page links*/
.site-content .page-links {
	clear: both;
	margin: 0 0 1em;
	&__title {
		margin-right: 5px;
	}
	a,
	> .page-links__item {
		line-height: 50px;
		display: inline-block;
		min-width: 50px;
		height: 50px;
		margin: 0 5px 5px 0;
		padding: 0 2px;
		text-align: center;
		text-decoration: none;
		border: 1px solid $color__background-hr;

		@include font-size(.75);
		@include border-radius;
	}
}

.site-content .page-links a:hover,
.site-content .page-links > .page-links__item{
	background-color: transparent;
	border-color: $color__background-hr;
}