
/*	General CSS resets;
 *		The target itself is not affected, allowing
 *		the remainder of the document to use an
 *		alternate box-sizing model;
 *		Support for box-sizing is wide spread:
 *		http://caniuse.com/#search=box-sizing
 */
	.noUi-target * {
-webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
		box-sizing: border-box;
-webkit-touch-callout: none;
    -ms-touch-action: none;
-webkit-user-select: none;
   -moz-user-select: none;
    -ms-user-select: none;
		cursor: default;
	}

/*	Main slider bar;
 *		Standard styles no longer incorrectly force a
 *		width or height on the slider.
 */
	.noUi-base {
		width: 100%;
		height: 40px;
		position: relative;
		max-width: 100%;
		max-height: 100%;
		border: 1px solid #bfbfbf;
		z-index: 1;
	}

	.home .noUi-base ,
	.cerca .noUi-base {
		width: 316px; height: 28px; border:none; margin:26px 0 0;
		background:url(../img/range_back.png) no-repeat left center;
		z-index: 1;
	}
	.searchsmall .noUi-base {
		width: 276px; height: 18px; border:none; margin:6px 0 0;
		background:url(../img/range_back.png) no-repeat left center;
		z-index: 1;
	}

/*	Handles + active state;
 *		The :after pseudo-element wont inherit
 *		box-sizing, so it needs to applied manually.
 */
	.noUi-handle {
		background: #EEE;
		height: 44px;
		width: 44px;
		border: 1px solid #BFBFBF;
		margin: -3px 0 0 -23px;
	}
	.home .noUi-handle ,
	.cerca .noUi-handle {
		background:url(../img/handle.png) no-repeat center center;
		height: 32px; width: 32px;
		border: none; margin: -3px 0 0 -16px; }
	#capienza .noUi-handle { background:url(../img/handle_dark.png) no-repeat center center; }
	.searchsmall .noUi-handle {
		background:url(../img/handle_gray.png) no-repeat center center;
		height: 22px; width: 22px;
		border: none; margin: -3px 0 0 -16px; }
	.searchsmall #capienza .noUi-handle { height: 26px; width: 26px; -webkit-border-radius: 13px; border-radius: 13px; margin: -4px 0 0 -16px; }
	.noUi-active {
		background: #E9E9E9;
	}
	.noUi-active:after {
	-webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
		box-sizing: border-box;
		content: "";
		display: block;
		height: 100%;
		border: 1px solid #DDD;
	}

/*	Styling-only classes;
 *		Structured to prevent double declarations
 *		for various states of the slider.
 */
	.noUi-connect {
		background: Teal;
	}
	.noUi-background {
		background: #DDD;
	}

/*	Functional styles for handle positioning;
 *		Note that the origins have z-index 0, the base has
 *		z-index 1; This fixes a bug where borders become invisible.
 */
	.noUi-origin {
		position: absolute;
		right: 0;
		top: 0;
		bottom: 0;
		z-index: 0;
	}
	.noUi-origin-upper {
		background: inherit !important;
	}
	.home .noUi-origin-upper ,
	.cerca .noUi-origin-upper ,
	.searchsmall .noUi-origin-upper {
		background:url(../img/range_upper.png) repeat-x center !important;
	}
	.home .noUi-origin-lower ,
	.cerca .noUi-origin-lower {
		background:url(../img/range_lower.png) repeat-x center !important;
	}
	#capienza .noUi-origin-lower {
		background:url(../img/range_lower_dark.png) repeat-x center !important;
	}
	.searchsmall .noUi-origin-lower {
		background:url(../img/range_lower_gray.png) repeat-x center !important;
	}
	.noUi-z-index {
		z-index: 10;
	}

/*	Adaptations for the vertical slider;
 *		Some standard styles have been extended to keep
 *		exceptions for the vertical slider as minimal as possible.
 */
	.noUi-vertical {
		width: 40px;
		height: 100%;
	}
	.noUi-vertical .noUi-origin {
		bottom: 0;
		left: 0;
	}
	.noUi-vertical .noUi-handle  {
		margin: -23px 0 0 -3px;
	}

/*	Various alternate slider states;
 *		Support for transition is widely available,
 *		Only IE7, IE8 and IE9 will ignore these rules.
 *		Since this is merely a progressive enhancement,
 *		this is no problem at all.
 *		http://caniuse.com/#search=transition
 */
	.noUi-target[disabled] .noUi-base {
		background: #999;
	}
	.noUi-target[disabled] .noUi-connect {
		background: #BBB;
	}
	.noUi-state-tap .noUi-origin {
		-webkit-transition: left 0.3s, top 0.3s;
		transition: left 0.3s, top 0.3s;
	}
