/* Jetpack Sharing
=================================== */
.sharedaddy {
	margin-top: 30px;
}

/* Jetpack Infinite Scrolling
=================================== */
.infinite-scroll {
	// Globally hidden elements when Infinite Scroll is supported and in use.
	nav.pagination, // Numbered links
	nav.posts-navigation { // Prev / Next links
		display: none;
	}

	&.neverending {
		// Theme Footer (when set to scrolling)
		.footer {
			display: none;
		}
	}

}

.infinite-loader {
	width: 100%;

	.spinner {
		left: 50% !important;
	}

	.row-isotope & {
		position: absolute;
		bottom: -45px;
	}
}

#infinite-handle {
	display: flex;
	justify-content: center;
	width: 100%;

	span {
		background: none;
		border-radius: 0;
		color: inherit;
		padding: 0;

		button {
			@include button;
			@include button-default;
			@include button-md;

			&:hover,
			&:focus {
				@include button-default;
				@include button-md;
			}
		}
	}

	.row-isotope & {
		position: absolute;
		bottom: -45px;
	}
}

// When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before.
.infinity-end {
	&.neverending {
		.footer {
			display: block;
		}
	}
}
