#visual_attributes .minicolors, .minicolors {
	position: relative;
	width: 118px;
}
#visual_attributes .minicolors-swatch, .minicolors-swatch {
	position: absolute;
	vertical-align: middle;
	background: url(color-picker.png) -80px 0;
	cursor: pointer;
	padding: 0;
	margin: 0;
	display: inline-block;
	border-radius: 2px;
	border: none;
}
#visual_attributes .minicolors-swatch-color, .minicolors-swatch-color {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
#visual_attributes .minicolors input[type=hidden] + .minicolors-swatch, .minicolors input[type=hidden] + .minicolors-swatch {
	width: 28px;
	position: static;
	cursor: pointer;
}
/* Panel */
#visual_attributes .minicolors-panel, .minicolors-panel {
	position: relative;
	width: 173px;
	height: 152px;
	background: white;
	border: solid 1px #CCC;
	box-shadow: 0 0 20px rgba(0, 0, 0, .2);
	z-index: 99999;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
	display: none;
}
.minicolors-panel.minicolors-visible {
	display: block;
}
/* Panel positioning */
.minicolors-position-top .minicolors-panel {
	top: -154px;
}
.minicolors-position-right .minicolors-panel {
	right: 0;
}
.minicolors-position-bottom .minicolors-panel {
	top: auto;
}
.minicolors-position-left .minicolors-panel {
	left: 0;
}
.minicolors-with-opacity .minicolors-panel {
	width: 194px;
}
.minicolors .minicolors-grid {
	position: absolute;
	top: 1px;
	left: 1px;
	width: 150px;
	height: 150px;
	background: url(color-picker.png) -120px 0;
	cursor: crosshair;
}
.minicolors .minicolors-grid-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 150px;
	height: 150px;
	background: none;
}
.minicolors-slider-saturation .minicolors-grid {
	background-position: -420px 0;
}
.minicolors-slider-saturation .minicolors-grid-inner {
	background: url(color-picker.png) -270px 0;
}
.minicolors-slider-brightness .minicolors-grid {
	background-position: -570px 0;
}
.minicolors-slider-brightness .minicolors-grid-inner {
	background: black;
}
.minicolors-slider-wheel .minicolors-grid {
	background-position: -720px 0;
}
.minicolors-slider,
.minicolors-opacity-slider {
	position: absolute;
	top: 1px;
	left: 152px;
	width: 20px;
	height: 150px;
	background: white url(color-picker.png) 0 0;
	cursor: row-resize;
}
.minicolors-slider-saturation .minicolors-slider {
	background-position: -60px 0;
}
.minicolors-slider-brightness .minicolors-slider {
	background-position: -20px 0;
}
.minicolors-slider-wheel .minicolors-slider {
	background-position: -20px 0;
}
.minicolors-opacity-slider {
	left: 173px;
	background-position: -40px 0;
	display: none;
}
.minicolors-with-opacity .minicolors-opacity-slider {
	display: block;
}
/* Pickers */
.minicolors-grid .minicolors-picker {
	position: absolute;
	top: 70px;
	left: 70px;
	width: 12px;
	height: 12px;
	border: solid 1px black;
	border-radius: 10px;
	margin-top: -6px;
	margin-left: -6px;
	background: none;
}
.minicolors-grid .minicolors-picker > div {
	position: absolute;
	top: 0;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 8px;
	border: solid 2px white;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}
.minicolors-picker {
	position: absolute;
	top: 0;
	left: 0;
	width: 18px;
	height: 2px;
	background: white;
	border: solid 1px black;
	margin-top: -2px;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}
/* Inline controls */
.minicolors-inline {
	display: inline-block;
}
.minicolors-inline .minicolors-input {
	display: none !important;
}
.minicolors-inline .minicolors-panel {
	position: relative;
	top: auto;
	left: auto;
	box-shadow: none;
	z-index: auto;
	display: inline-block;
}
#visual_attributes .minicolors .minicolors-swatch, .minicolors .minicolors-swatch {
	top: 3px;
  	
	left: 3px;
	width: 23px;
	height: 23px;
}
.minicolors .minicolors-swatch-color {
	border-radius: inherit;
}
.minicolors.minicolors-position-right .minicolors-swatch {
	left: auto;
	right: 3px;
}
.minicolors.minicolors-position-right .minicolors-input {
	padding-right: 44px;
	padding-left: 12px;
}
.minicolors .minicolors-input.input-lg + .minicolors-swatch {
	top: 4px;
	left: 4px;
	width: 37px;
	height: 37px;
	border-radius: 5px;
}
.minicolors .minicolors-input.input-sm + .minicolors-swatch {
	width: 24px;
	height: 24px;
}
.minicolors input.minicolors-input[type=text] {
	padding-left: 28px;
	padding-right: 24px;
	margin: 1px;
	width: 114px;
	height: 27px;
	cursor: pointer;
	float: none;
	-webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255, 255, 255, 1);
	box-shadow: 0 2px 5px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255, 255, 255, 1);
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background-color: rgba(231, 231, 231, 0.32);
	-webkit-transition: background-color .2s ease-out;
	transition: background-color .2s ease-out;
}
.minicolors.minicolors-focus input.minicolors-input {
	-webkit-box-shadow: inset 0 1px 2px rgba(200, 200, 200, 0.6);
	box-shadow: inset 0 1px 2px rgba(200, 200, 200, 0.6);
	background-color: #fff;
}
.minicolors .clear-color {
	background: #F16666;
	color: #fff;
	position: absolute;
	right: 8px;
	top: 6px;
	text-decoration: none;
	width: 15px;
	height: 15px;
	padding: 0 1px 2px;
	display: inline-block;
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	line-height: 100%;
	-webkit-transition: background-color 0.3s ease-out;
	transition: background-color 0.3s ease-out;
	border-radius: 2px;
}
.minicolors .clear-color:hover {
	background: #F04343;
}
.ql-color-picker-wrap, .color-picker-wrap {
	position: relative;
}
.pick-color {
	position: absolute;
	top: 8px;
	left: 34px;
	font-size: 13px;
	line-height: 13px;
	color: #000;
	width: 100%;
}