/*!
 * Bootstrap Colorpicker v2.3.6
 * https://itsjavi.com/bootstrap-colorpicker/
 *
 * Originally written by (c) 2012 Stefan Petre
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0.txt
 *
 */

.colorpicker-element input {
	display:block;
	min-height:23px!important;

}
.colorpicker-element .input-group-addon i,
.colorpicker-element .add-on i {
	display: inline-block;
	z-index:2;
	cursor: pointer;
	vertical-align: text-top;
	position:absolute;
	float:left;
	margin:5px 0 0 5px;
	width:32px;
	height:32px;
	border-radius:3px;
	border:1px solid rgba(0,0,0,.15);
	box-shadow:inset 0 10px 1px rgba(255,255,255,.1);
}
.colorpicker-element .input-group-addon span.transparent,
.colorpicker-element .add-on span.transparent {
  position:absolute;
  z-index:1;
  background-image: url("../images/bootstrap-colorpicker/alpha.png");
  background-position: 0 100%;
  background-repeat:repeat;
  margin:5px 0 0 5px;
  border-radius:2px;
  width: 32px;
  height: 32px;
}

.colorpicker-component .input-group-addon {
	width:220px;
	/* input width */
	float:left;
}

.colorpicker-component input.form-control {
	/* position:absolute; */
	background:transparent;
	text-indent:27px;
	font-size:1em;
}

.colorpicker-saturation {
  width: 100px;
  height: 100px;
  background-image: url("../images/bootstrap-colorpicker/saturation.png");
  cursor: crosshair;
  float: left;
}
.colorpicker-saturation i {
  display: block;
  height: 9px;
  width: 9px;
  border: 1px solid #000;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  border-radius: 9px;
  position: absolute;
  top: 0;
  left: 0;
  margin: -4px 0 0 -4px;
  box-shadow:0 0 5px rgba(0,0,0,0.35);
}
.colorpicker-saturation i b {
  display: block;
  height: 7px;
  width: 7px;
  border: 1px solid #fff;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
}
.colorpicker-hue,
.colorpicker-alpha {
  width: 15px;
  height: 100px;
  float: left;
  cursor: row-resize;
  margin-left: 5px;
  margin-bottom: 5px;
}
.colorpicker-hue i,
.colorpicker-alpha i {
  display: block;
  height: 3px;
  background: #fff;
  border: 1px solid #000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: -2px 0 0 0;
  box-shadow:0 1px 2px rgba(0,0,0,0.5);
}
.colorpicker-hue {
  background-image: url("../images/bootstrap-colorpicker/hue.png");
}
.colorpicker-alpha {
  background-image: url("../images/bootstrap-colorpicker/alpha.png");
  display: none;
}
.colorpicker-saturation,
.colorpicker-hue,
.colorpicker-alpha {
  background-size: contain;
}
.colorpicker {
	padding: 7px;
	min-width: 130px;
	margin-top: 15px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	z-index: 2500;
	box-shadow:0 2px 12px rgba(0,0,0,.4);
}
.colorpicker-flex {
	padding:7px 7px 1px 7px!Important;
	margin-left:212px!important;
	margin-top:-90px!important;
	position:absolute;
}
.colorpicker-flex .colorpicker-saturation {
	width: 140px;
	height: 140px;
}

.colorpicker-flex .colorpicker-hue,
.colorpicker-flex .colorpicker-alpha {
	width: 20px;
	height: 140px;
}

.colorpicker-flex .colorpicker-color,
.colorpicker-flex .colorpicker-color div {
	display:none;
	margin-top:-7px!important;
}


.colorpicker:before,
.colorpicker:after {
  display: none;
}
.colorpicker div {
  position: relative;
}
.colorpicker.colorpicker-with-alpha {
  min-width: 140px;
}
.colorpicker.colorpicker-with-alpha .colorpicker-alpha {
  display: block;
}
.colorpicker-color {
  height: 10px;
  margin-top: 5px;
  clear: both;
  background-image: url("../images/bootstrap-colorpicker/alpha.png");
  background-position: 0 100%;
}
.colorpicker-color div {
  height: 10px;
}
.colorpicker-selectors {
  display: none;
  height: 10px;
  margin-top: 5px;
  clear: both;
}
.colorpicker-selectors i {
  cursor: pointer;
  float: left;
  height: 10px;
  width: 10px;
}
.colorpicker-selectors i + i {
  margin-left: 3px;
}

.colorpicker.colorpicker-inline {
  position: relative;
  display: inline-block;
  float: none;
  z-index: auto;
}
.colorpicker.colorpicker-horizontal {
  width: 110px;
  min-width: 110px;
  height: auto;
}
.colorpicker.colorpicker-horizontal .colorpicker-saturation {
  margin-bottom: 4px;
}
.colorpicker.colorpicker-horizontal .colorpicker-color {
  width: 100px;
}
.colorpicker.colorpicker-horizontal .colorpicker-hue,
.colorpicker.colorpicker-horizontal .colorpicker-alpha {
  width: 100px;
  height: 15px;
  float: left;
  cursor: col-resize;
  margin-left: 0px;
  margin-bottom: 4px;
}
.colorpicker.colorpicker-horizontal .colorpicker-hue i,
.colorpicker.colorpicker-horizontal .colorpicker-alpha i {
  display: block;
  height: 15px;
  background: #ffffff;
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  border: none;
  margin-top: 0px;
}
.colorpicker.colorpicker-horizontal .colorpicker-hue {
  background-image: url("../images/bootstrap-colorpicker/hue-horizontal.png");
}
.colorpicker.colorpicker-horizontal .colorpicker-alpha {
  background-image: url("../images/bootstrap-colorpicker/alpha-horizontal.png");
}
.colorpicker.colorpicker-hidden {
  display: none;
}
.colorpicker.colorpicker-visible {
  display: block;
}
.colorpicker-inline.colorpicker-visible {
  display: inline-block;
}
.colorpicker-right:before {
  left: auto;
  right: 6px;
}
.colorpicker-right:after {
  left: auto;
  right: 7px;
}
.colorpicker-no-arrow:before {
  border-right: 0;
  border-left: 0;
}
.colorpicker-no-arrow:after {
  border-right: 0;
  border-left: 0;
}




@media (max-width: 768px) {
	.colorpicker, .colorpicker-flex {
		margin-left:40px!important;
		margin-top:12px!important;
		padding:7px;
	}
	.colorpicker:before,
	.colorpicker:after {
	  display: table!important;
	  content: "";
	  line-height: 0;
	}
	.colorpicker:after {
	  clear: both;
	}
	.colorpicker:before {
	  content: '';
	  display: inline-block;
	  border-left: 7px solid transparent;
	  border-right: 7px solid transparent;
	  border-bottom: 7px solid #ccc;
	  border-bottom-color: rgba(0, 0, 0, 0.2);
	  position: absolute;
	  top: -7px;
	  left: 16px;
	}
	.colorpicker:after {
	  content: '';
	  display: inline-block;
	  border-left: 6px solid transparent;
	  border-right: 6px solid transparent;
	  border-bottom: 6px solid #ffffff;
	  position: absolute;
	  top: -6px;
	  left: 17px;
	}
}