/* Ion.RangeSlider
// css version 2.0.3
// © 2013-2014 Denis Ineshin | IonDen.com
// ===================================================================================================================*/

/* =====================================================================================================================
// RangeSlider */

.irs {
	position: relative;
	display: block;
	-webkit-touch-callout: none;
	user-select: none;
	height: 55px;
}

.irs-line {
	position: relative;
	display: block;
	overflow: hidden;
	outline: none !important;

	height: 4px;
	top: 31px;
	background: $gray-light;
	border-radius: $border-radius;

	&-left,
	&-mid,
	&-right {
		position: absolute;
		display: block;
		top: 0;
	}

	&-left {
		left: 0;
		width: 11%;
		height: 8px;
	}

	&-mid {
		left: 9%;
		width: 82%;
		height: 8px;
	}

	&-right {
		right: 0;
		width: 11%;
		height: 8px;
	}
}

.irs-bar {
	position: absolute;
	display: block;
	left: 0;
	width: 0;

	height: 4px;
	top: 31px;
	background: $primary;

	&-edge {
		position: absolute;
		display: block;
		left: 0;

		height: 4px;
		top: 33px;
		width: 14px;
		border: 1px solid #428bca;
		border-right: 0;
		background: #428bca;
		background: linear-gradient(to top, rgba(66,139,202,1) 0%,rgba(127,195,232,1) 100%); /* W3C */
		border-radius: 16px 0 0 16px;
	}
}

.irs-shadow {
	position: absolute;
	display: none;
	left: 0;
	width: 0;

	height: 2px;
	top: 38px;
	background: #000;
	opacity: 0.3;
	border-radius: 5px;
}

.irs-slider {
	position: absolute;
	display: block;
	z-index: 1;

	top: 25px;
	width: .5rem;
	height: 1rem;
	background: $primary;
	border-radius: $border-radius;
	cursor: pointer;
	transition: transform .2s;

	&.state_hover,
	&:hover {
		transform: scale(1.2);
	}

	&.type_last {
		z-index: 2;
	}
}

.irs-min,
.irs-max {
	position: absolute;
	display: block;
	cursor: default;

	color: #333;
	font-size: 14px;
	line-height: 1.333;
	text-shadow: none;
	top: 0;
	padding: 1px 5px;
	border-radius: 3px;
}

.irs-min {
	left: 0;
}

.irs-max {
	right: 0;
}

.irs-from,
.irs-to,
.irs-single {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	cursor: default;
	white-space: nowrap;

	color: #fff;
	font-size: 14px;
	line-height: 1.333;
	text-shadow: none;
	padding: 1px 5px;
	background: $primary;
	border-radius: 3px;
}

.irs-grid {
	position: absolute;
	display: none;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 27px;
}

.irs-with-grid .irs-grid {
	display: block;
}

.irs-grid-pol {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 8px;
	opacity: 0.5;
	background: #428bca;
	&.small {
		height: 4px;
		background: #999;
	}
}

.irs-grid-text {
	position: absolute;
	left: 0;
	white-space: nowrap;
	text-align: center;
	font-size: 9px;
	line-height: 9px;
	padding: 0 3px;

	bottom: 5px;
	color: #99a4ac;
}

.irs-disable-mask {
	position: absolute;
	display: block;
	top: 0;
	left: -1%;
	width: 102%;
	height: 100%;
	cursor: default;
	background: rgba(0, 0, 0, 0);
	z-index: 2;
}

.lt-ie9 .irs-disable-mask {
	background: #000;
	filter: alpha(opacity = 0);
	cursor: not-allowed;
}

.irs-disabled {
	opacity: 0.4;
}

.irs-hidden-input {
	position: absolute !important;
	display: block !important;
	top: 0 !important;
	left: 0 !important;
	width: 0 !important;
	height: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden;
	outline: none !important;
	z-index: -9999 !important;
	background: none !important;
	border-style: solid !important;
	border-color: transparent !important;
}
