
.uix-input__controls {
	position: absolute;
	right: 1px;
	top: 1px;
	bottom: 1px;
	width: 1em;
	border-left: 1px solid #999;
	display: none;
}

.uix-input:hover .uix-input__controls {
	display: block;
}

.uix-input__control {
	display: block;
	background: #f0f0f0;
	text-align: center;
	height: 50%;
	box-sizing: border-box;
	overflow: hidden;
}

.uix-input__control--increment {
	border-bottom: 1px solid #999;
}

.uix-input__controls .uix-icon {
	stroke: #999;
	stroke-width: 1.5;
	fill: none;
	overflow: visible;
	width: 100%;
	height: 100%;
	display: block;
}

.uix-input__control:hover .uix-icon {
	stroke: #000;
}

.uix-slider__progress {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	background: #c0c0c0;
	z-index: 10;
	pointer-events: none;
}

.uix-slider--vertical .uix-slider__progress {
	left: 0;
	right: 0;
	top: auto;
	bottom: 0;
}

.uix-slider {
	background: #f0f0f0;
	height: 1em;
	position: relative;
}

.uix-slider .uix-pad {
	width: 100%;
	height: 100%;
}

.uix-slider .uix-colorband {
	position: absolute;
}

.uix-slider:focus {
	outline: none;
}

.uix-slider--vertical {
	height: 100%;
	width: 1em;
}

.uix-slider__grid {
	top: 100%;
	height: 0.5em;
	z-index: 1;
}

.uix-slider--vertical .uix-slider__grid {
	width: 0.5em;
	height: 100%;
	top: auto;
	left: 100%;
}

.uix-slider__handle {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(-50%, -50%);
	height: 1em;
	width: 1em;
	background: #777;
	border-radius: 50%;
	z-index: 100;
}

.uix-slider:focus .uix-slider__handle,
.uix-slider__handle:hover,
.uix-slider__handle--interacting {
	background: #000;
}

.uix-slider--vertical .uix-slider__handle {
	left: 50%;
	top: 0;
}

.uix-slider .uix-slider__tooltip {
	transform: translate(-50%, 75%);
}

.uix-slider--vertical .uix-slider__tooltip {
	left: 100%;
	top: 0;
	transform: translate(75%, -50%);
}

.uix-pad {
	width: 300px;
	height: 300px;
	background: #f0f0f0;
	position: relative;
}

.uix-pad:focus {
	outline: none;
}

.uix-polarpad__grid {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 10;
}

.uix-polarpad__grid-background {
	fill: none;
}

.uix-polarpad__grid-lines {
	stroke: #ccc;
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
	fill: none;
}

.uix-polarpad {
	width: 300px;
	height: 300px;
	background: #f0f0f0;
	position: relative;
	border-radius: 50%;
}

.uix-polarpad:focus {
	outline: none;
}

.uix-pad__tooltip {
	position: absolute;
	top: 0;
	left: 0;
	transform: translate(-50%, -125%);
	background: #222;
	color: #fff;
	padding: 0.25em;
	pointer-events: none;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	z-index: 1000;
	white-space: nowrap;
}

.uix-bandpad__progress {
	pointer-events: none;
}

.uix-bandpad__progress-band {
	flex: 1 1 0;
	background: #ccc;
	position: absolute;
	bottom: 0;
	border-top: 1px solid #777;
	border-left: 1px solid #777;
	box-sizing: border-box;
}

.uix-pad__handle {
	position: absolute;
	top: 0;
	left: 0;
	transform: translate(-50%, -50%);
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	border: 1px solid #777;
	z-index: 100;
}

.uix-pad:focus .uix-pad__handle {
	border-color: #000;
}

.uix-bandpad {
	width: 300px;
	height: 300px;
	background: #f0f0f0;
	position: relative;
}

.uix-polarpad__handle {
	position: absolute;
	top: 0;
	left: 0;
	transform: translate(-50%, -50%);
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	border: 1px solid #000;
	z-index: 100;
}

.uix-polarpad:focus .uix-polarpad__handle {
	border-color: blue;
}

.uix-list__item {
	display: block;
}

.uix-list__item--selected {
	font-weight: bold;
}

.uix-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.uix-popup {
	position: absolute;
	background: #fff;
	box-sizing: border-box;
}

.uix-select {
	border: 1px solid #999;
	position: relative;
	box-sizing: border-box;
}

.uix-select:focus {
	border-color: #000;
	outline: none;
}

.uix-select__button {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translate(0, -50%);
}

.uix-select__popup {
	width: 100%;
	background: #f0f0f0;
	border: 1px solid currentColor;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}

.uix-select__popup--portal {
	top: 100%;
	left: 0;
}

.uix-select__popup-content .uix-list__item {
	padding: 0em 0.5em;
}

.uix-select__popup-content .uix-list__item:hover {
	background: #000;
	color: #fff;
}

.uix-portal {
	position: absolute;
}

.uix-multislider__handle {
	position: absolute;
	width: 1em;
	height: 1em;
	top: 50%;
	left: 0;
	transform: translate(-50%, -50%);
	background: red;
	border-radius: 50%;
}

.uix-multislider {
	height: 1em;
	background: #f0f0f0;
	position: relative;
}

.uix-multislider .uix-surface {
	position: absolute;
	top: 0;
	left: 0;
}

.uix-colorband {
	width: 100%;
	height: 100%;
	display: block;
}

.uix-pad__grid {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 10;
}

.uix-pad__grid-background {
	fill: none;
}

.uix-pad__grid-lines {
	stroke: #ccc;
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.uix-colorpad {
	position: relative;
	width: 100%;
	height: 100%;
}

.uix-colorpad .uix-colorband {
	width: 100%;
	height: 100%;
	position: absolute;
}

.uix-colorpad .uix-pad {
	background: transparent;
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.uix-colorpad .uix-pad__handle {
	border: 1px solid #fff;
}

.uix-colorpad .uix-pad:focus .uix-pad__handle {
	border-color: red;
}


.uix-swatch {
	height: 3em;
	width: 3em;
	display: inline-block;
	position: relative;
}

.uix-swatch__inner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.uix-colorpicker {
	width: 256px;
	padding: 0 0.5em;
	border: 1px solid #ccc;
}

.uix-colorpicker__section {
	margin: 0.5em 0;
}

.uix-colorpicker .uix-colorpad {
	width: 100%;
	height: 160px;
}

.uix-colorpicker .uix-pad__handle {
	border: 1px solid #fff;
	box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5) inset;
	box-sizing: border-box;
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
}

.uix-colorpicker .uix-colorpad:focus .uix-pad__handle {
	border-color: royalblue;
}

.uix-colorpicker .uix-slider {
	width: 100%;
	height: 1em;
	border-radius: 0;
}

.uix-colorpicker .uix-slider__handle {
	background: #fff;
	box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.75);
	border: none;
	border-radius: 50%;
	width: 0.5em;
	height: 0.5em;
}

.uix-colorpicker .uix-slider:focus .uix-slider__handle {
	outline: none;
	background-color: red !important;
}

.uix-colorpicker .uix-slider .uix-colorband {
	position: absolute;
}

.uix-colorpicker .uix-colorvariations .uix-list__item {
	flex: 1 1 auto;
}

.uix-colorpicker .uix-colorvariations .uix-swatch {
	height: 1em;
	width: 100%;
}

.uix-colorpicker .uix-colorvariations {
	display: flex;
}

.uix-colorpicker__section--current {
	display: flex;
	justify-content: space-between;
}

.uix-colorpicker__section--current > * {
	margin-right: 0.5em;
}

.uix-colorpicker__section--current :last-child {
	margin-right: 0;
}

.uix-colorpicker__section--current .uix-swatch {
	height: 1.5em;
	flex: 1 1 auto;
	flex-basis: 2;
}

.uix-gradient {
	height: 1em;
	position: relative;
}

.uix-gradient .uix-spectrum,
.uix-gradient .uix-slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	bottom: auto;
	right: auto;
}

.uix-gradient .uix-multislider {
	background: transparent;
}

.uix-surface {
	width: 100%;
	height: 100%;
}

.uix-swatchlist .uix-list__item {
	display: inline-block;
}

.uix-swatchlist .uix-swatch {
	position: relative;
	display: block;
}

.uix-swatchlist .uix-list__item--selected .uix-swatch:after {
	color: #fff;
	content: '✓';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}

.uix-input {
	position: relative;
}

.uix-input input {
	box-sizing: border-box;
	width: 100%;
	font-size: 1em;
	font-family: inherit;
	border: 1px solid #999;
	height: 100%;
}

.uix-input input:focus {
	outline: none;
	border-color: #000;
}

.uix-colorinput__popup--portal {
	top: 100%;
	left: 0;
}

.uix-surface--polar {
	border-radius: 50%;
}
