/* RangeSlider Base Styles - Customized for Income Calculator */
.range-slider {
	width: 100%;
	height: 0.5rem;
	border-radius: 0.25rem;
	border: none;
	background-color: #333333;
	position: relative;
	padding: 0;
	cursor: pointer;
	box-sizing: border-box;
}

.range-slider * {
	box-sizing: border-box;
}

.range-slider .pointer {
	position: absolute;
	width: 1.25rem;
	height: 1.25rem;
	background-color: #FFFFFF;
	border: 2px solid #3A87FF;
	border-radius: 50%;
	top: -0.375rem;
	cursor: pointer;
	z-index: 100;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.range-slider .pointer::after {
	display: none;
}

.transitionable {
	transition: all 0.1s ease;
}

.range-slider .range-progress {
	display: inline-block;
	position: absolute;
	left: 0;
	z-index: 1;
	width: 0%;
	height: 100%;
	border-radius: 0.25rem;
	background-color: #3A87FF;
	box-shadow: none;
}

.range-progress.caution {
	background-color: #ffffcc;
}

.range-progress.danger {
	background-color: #ff6633;
}

.range {
	position: relative;
	z-index: 99;
	box-sizing: border-box;
	display: inline-block;
	float: left;
	width: 25%;
	height: 100%;
	position: relative;
	cursor: pointer;
	text-align: center;
}

.range.stepped:not(:last-of-type) {
	border-right: 2px solid #aaa;
}

.range.highlighted p {
	display: block !important;
}

.range:hover p {
	display: block !important;
	transition: display 0.5s;
}

.range p {
	font-weight: bold;
	position: absolute;
	font-size: 14px;
	top: 15px;
	right: -25px;
	padding: 1px 3px;
	color: #666;
	display: none;
	border-radius: 2px;
	text-shadow: 1px 1px 1px rgba(102, 102, 102, 0.5);
}
