/* =Infinity Styles
-------------------------------------------------------------- */

.infinite-loader {
	color: #000;
	display: block;
	height: 28px;
	text-align: center;
}

#infinite-handle span {
	background: #333;
	border-radius: 1px;
	color: #f0f0f1;
	cursor: pointer;
	font-size: 13px;
	padding: 6px 16px;
}

/**
 * CSS Spinner Styles
 */
@keyframes spinner-inner {

	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

.infinite-loader .spinner-inner div {
	left: 47px;
	top: 24px;
	position: absolute;
	animation: spinner-inner linear 1s infinite;
	background: #000;
	outline: 1px solid #fff;
	width: 6px;
	height: 12px;
	border-radius: 3px / 6px;
	transform-origin: 3px 26px;
	box-sizing: content-box;
}

.infinite-loader .spinner-inner div:nth-child(1) {
	transform: rotate(0deg);
	animation-delay: -0.9166666666666666s;
	background: #000;
}

.infinite-loader .spinner-inner div:nth-child(2) {
	transform: rotate(30deg);
	animation-delay: -0.8333333333333334s;
	background: #000;
}

.infinite-loader .spinner-inner div:nth-child(3) {
	transform: rotate(60deg);
	animation-delay: -0.75s;
	background: #000;
}

.infinite-loader .spinner-inner div:nth-child(4) {
	transform: rotate(90deg);
	animation-delay: -0.6666666666666666s;
	background: #000;
}

.infinite-loader .spinner-inner div:nth-child(5) {
	transform: rotate(120deg);
	animation-delay: -0.5833333333333334s;
	background: #000;
}

.infinite-loader .spinner-inner div:nth-child(6) {
	transform: rotate(150deg);
	animation-delay: -0.5s;
	background: #000;
}

.infinite-loader .spinner-inner div:nth-child(7) {
	transform: rotate(180deg);
	animation-delay: -0.4166666666666667s;
	background: #000;
}

.infinite-loader .spinner-inner div:nth-child(8) {
	transform: rotate(210deg);
	animation-delay: -0.3333333333333333s;
	background: #000;
}

.infinite-loader .spinner-inner div:nth-child(9) {
	transform: rotate(240deg);
	animation-delay: -0.25s;
	background: #000;
}

.infinite-loader .spinner-inner div:nth-child(10) {
	transform: rotate(270deg);
	animation-delay: -0.16666666666666666s;
	background: #000;
}

.infinite-loader .spinner-inner div:nth-child(11) {
	transform: rotate(300deg);
	animation-delay: -0.08333333333333333s;
	background: #000;
}

.infinite-loader .spinner-inner div:nth-child(12) {
	transform: rotate(330deg);
	animation-delay: 0s;
	background: #000;
}

.infinite-loader .spinner {
	width: 28px;
	height: 28px;
	display: inline-block;
	overflow: hidden;
	background: none;
}

.infinite-loader .spinner-inner {
	width: 100%;
	height: 100%;
	position: relative;
	transform: translateZ(0) scale(0.28);
	backface-visibility: hidden;
	transform-origin: 0 0; /* see note above */
}

/**
 * Using a highly-specific rule to make sure that all button styles
 * will be reset
 */
#infinite-handle span button,
#infinite-handle span button:hover,
#infinite-handle span button:focus {
	display: inline;
	position: static;
	padding: 0;
	margin: 0;
	border: none;
	line-height: inherit;
	background: transparent;
	color: inherit;
	cursor: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-family: inherit;
}

/**
 * This is used to avoid unnecessary inner button spacing in Firefox
 */
#infinite-handle span button::-moz-focus-inner {
	margin: 0;
	padding: 0;
	border: none;
}

/**
 * For smaller viewports, remove the down-arrow icon and turn
 * the button into a block element, spanning the content's full width.
 */
@media (max-width: 800px) {

	#infinite-handle span::before {
		display: none;
	}

	#infinite-handle span {
		display: block;
	}
}

/**
 * Footer
 */
#infinite-footer {
	position: fixed;
	bottom: -50px;
	left: 0;
	width: 100%;
}

#infinite-footer a {
	text-decoration: none;
}

#infinite-footer .blog-info a:hover,
#infinite-footer .blog-credits a:hover {
	color: #444;
	text-decoration: underline;
}

#infinite-footer .container {
	background: rgba(255, 255, 255, 0.8);
	border-color: rgba(0, 0, 0, 0.1);
	border-style: solid;
	border-width: 1px 0 0;
	box-sizing: border-box;
	margin: 0 auto;
	overflow: hidden;
	padding: 1px 20px;
	width: 780px;
}

#infinite-footer .blog-info,
#infinite-footer .blog-credits {
	box-sizing: border-box;
	line-height: 25px;
}

#infinite-footer .blog-info {
	float: left;
	overflow: hidden;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 40%;
}

#infinite-footer .blog-info a {
	color: #111;
	font-size: 14px;
	font-weight: 700;
}

#infinite-footer .blog-credits {
	font-weight: 400;
	float: right;
	width: 60%;
	color: #888;
	font-size: 12px;
	text-align: right;
}

#infinite-footer .blog-credits a {
	color: #646970;
}

/**
 * Hooks to infinity-end body class to restore footer
 */
.infinity-end.neverending #infinite-footer {
	display: none;
}

/**
 * Responsive structure for the footer
 */
@media (max-width: 640px) {

	#infinite-footer .container {
		box-sizing: border-box;
		width: 100%;
	}

	#infinite-footer .blog-info {
		width: 30%;
	}

	#infinite-footer .blog-credits {
		width: 70%;
	}

	#infinite-footer .blog-info a,
	#infinite-footer .blog-credits {
		font-size: 10px;
	}
}

/**
 * No fixed footer on small viewports
 */
@media ( max-width: 640px ) {

	#infinite-footer {
		position: static;
	}
}

/**
 * Hide infinite aria feedback visually
 */
#infinite-aria {
	position: absolute;
	overflow: hidden;
	clip: rect(0 0 0 0);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
}

/**
 * Hide focus on infinite wrappers
 */
.infinite-wrap:focus {
	outline: 0 !important;
}
