html {
	overflow-y: scroll;
}

#InfScrollNav {
	color: rgba(0, 0, 0, 0.5);
	position: fixed;
	padding: 5px;
	min-width: 185px;
	min-height: 45px;
	text-align: center;
	font-size: 2.3em;
	z-index: 10;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#InfScrollNav.TopRight {
	top: 0;
	right: 0;
}

#InfScrollNav.BottomRight {
	bottom: 0;
	right: 0;
}

#InfScrollNav.TopLeft {
	top: 0;
	left: 0;
}

#InfScrollNav.BottomLeft {
	bottom: 0;
	left: 0;
}

#InfScrollNav a {
	color: inherit;
	text-decoration: none;
	opacity: .4;
	line-height: 45px;
	outline: 0;
}

#InfScrollNav a:hover {
	opacity: 1;
	color: inherit;
}

#InfScrollNav .small, #InfScrollNav .slash {
	font-size: .5em;
}

#InfScrollNav .PageCount {
	cursor: pointer;
	min-width: 100px;
	display: inline-block;
}

#InfScrollNav.active .PageCount {
	display: none;
}

#InfScrollNav .JTT, #InfScrollNav .JTB {
	font-family: 'vanillicon';
}

#InfScrollNav .JumpTo {
	display: none;
}

#InfScrollNav.active .JumpTo {
	min-width: 100px;
	display: inline-block;
}

#InfScrollNav .JumpTo .InputBox {
	padding: 0;
	width: 42px;
	text-align: center;
	display: inline-block;
}

.ScrollProgress {
	position: relative;
	padding: 0 50%;
	height: 0;
}

#PageProgress {
	position: fixed;
	bottom: 50%;
	right: 49%;
	display: none;
}

.CommentsWrap .BeforeCommentHeading,
.CommentsWrap .Pager,
.Discussions .BeforeCommentHeading,
.Discussions .Pager {
	float: none;
}

.NumberedPager > div.spinner {
	background: none;
	border: none;
}

/*
	Discourse-inspired style
*/

.StyleDisc #ProgressBar {
	height: 34px !important;
	margin-bottom: -34px;
}

#InfScrollNav.StyleDisc {
	background: #E9E9E9;
	width: 145px;
	height: 34px;
	min-width: 0;
	min-height: 0;
	color: #919191;
	padding: 0;
}

#InfScrollNav.StyleDisc .PageCount {
	font-weight: bold;
	font-size: 18px;
	line-height: 34px;
	font-family: Helvetica,Arial,sans-serif;
	display: block;
	position: absolute;
	letter-spacing: 1px;
	left: 0;
	right: 0;
	top: 0;
}

#InfScrollNav.StyleDisc.BottomRight .PageCount,
#InfScrollNav.StyleDisc.BottomLeft .PageCount {
	top: auto;
	bottom: 0;
}

#InfScrollNav.StyleDisc .NavIndex,
#InfScrollNav.StyleDisc .PageCount > span {
	position: relative;
	z-index: 10000;
}

#InfScrollNav.StyleDisc .PageCount:before,
#InfScrollNav.StyleDisc .PageCount:after {
	content: '';
	position: absolute;
	z-index: 10000;
	right: 8px;
	border: solid transparent;
	border-width: 5px 4px;
}

#InfScrollNav.StyleDisc.active .PageCount:before,
#InfScrollNav.StyleDisc.active .PageCount:after {
	border-color: transparent;
}

#InfScrollNav.StyleDisc .PageCount:before {
	top: 12px;
	border-top-width: 0;
	border-bottom-color: #919191;
}

#InfScrollNav.StyleDisc .PageCount:after {
	top: 19px;
	border-bottom-width: 0;
	border-top-color: #919191;
}

#InfScrollNav.StyleDisc .small{
	font-size: 1em;
}

#InfScrollNav.StyleDisc .slash {
	font-size: .75em;
	line-height: 1em;
	padding: 0 3px;
	font-weight: normal;
}

#InfScrollNav.StyleDisc .JTT, #InfScrollNav.StyleDisc .JTB {
	border: solid white;
	border-width: 5px 5px 0 5px;
	line-height: 35px;
	padding-bottom: 3px;
	display: none;
	transition: background-color .25s, color .25s;
}

#InfScrollNav.StyleDisc .JTB {
	border-width: 0 5px 5px 5px;
}

#InfScrollNav.StyleDisc.active .JTT,#InfScrollNav.StyleDisc.active .JTB{
	display: block;
	opacity: 1;
	color: #919191;
}

#InfScrollNav.StyleDisc a.JTT:hover, #InfScrollNav.StyleDisc a.JTB:hover {
	opacity: 1;
	background: #B2B2B2;
	color: white;
}

#InfScrollNav.StyleDisc.active {
	height: auto;
	padding-top: 34px;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

#InfScrollNav.StyleDisc.BottomRight.active,
#InfScrollNav.StyleDisc.BottomLeft.active {
	padding-top: 0;
	padding-bottom: 34px;
}

#InfScrollNav.StyleDisc .JumpTo.small {
	font-size: 14px;
	line-height: 35px;
	background: white;
	max-height: 35px;
	overflow: hidden;
	text-indent: -185px;
	color: #919191;
}

#InfScrollNav.StyleDisc.active .JumpTo.small {
	display: block;
}


#InfScrollNav.StyleDisc br {
	display: none;
}

#InfScrollNav.StyleDisc .InputBox {
	margin-left: 100px;
}

#InfScrollNav.StyleDisc.active .PageCount {
	display: block;
}

