.rang-picker {
	display: none;
	flex-wrap: wrap;
	position: fixed !important;
	width: 400px;
	z-index: 10000000;
	border-radius: 10px;
	background-color: #fff;
	justify-content: space-between;
	box-shadow: 0 0 5px rgba(0, 0, 0, .05), 0 5px 20px rgba(0, 0, 0, .1);
	-moz-user-select: none;
	-webkit-user-select: none;
	direction: ltr;
	user-select: none;
}

.rang-picker.rang-open {
	display: flex;
}

.rang-picker[data-alpha="false"] .rang-alpha {
	display: none;
}

.rang-gradient {
	position: relative;
	width: 100%;
	height: 200px;
	margin-bottom: 15px;
	border-radius: 3px 3px 0 0;
	background-image: linear-gradient(rgba(0, 0, 0, 0), #000), linear-gradient(90deg, #fff, currentColor);
	cursor: pointer;
}

.rang-marker {
	position: absolute;
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	border: 1px solid #fff;
	border-radius: 50%;
	background-color: currentColor;
	cursor: pointer;
}

.rang-picker input[type="range"]::-webkit-slider-runnable-track {
	width: 100%;
	height: 8px;
}

.rang-picker input[type="range"]::-webkit-slider-thumb {
	width: 8px;
	height: 8px;
	-webkit-appearance: none;
}

.rang-picker input[type="range"]::-moz-range-track {
	width: 100%;
	height: 8px;
	border: 0;
}

.rang-picker input[type="range"]::-moz-range-thumb {
	width: 8px;
	height: 8px;
	border: 0;
}

.rang-hue {
	background-image: linear-gradient(to right, #f00 0%, #ff0 16.66%, #0f0 33.33%, #0ff 50%, #00f 66.66%, #f0f 83.33%, #f00 100%);
}

.rang-hue,
.rang-alpha {
	position: relative;
	width: calc(100% - 40px);
	height: 8px;
	margin: 5px 20px;
	border-radius: 4px;
}

.rang-alpha span {
	display: block;
	height: 100%;
	width: 100%;
	border-radius: inherit;
	background-image: linear-gradient(90deg, rgba(0, 0, 0, 0), currentColor);
}

.rang-hue input,
.rang-alpha input {
	position: absolute;
	width: calc(100% + 16px);
	height: 16px;
	inset-inline-end: -8px;
	top: -4px;
	margin: 0;
	background-color: transparent;
	opacity: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.rang-hue div,
.rang-alpha div {
	position: absolute;
	width: 16px;
	height: 16px;
	inset-inline-end: 0;
	top: 50%;
	margin-inline-end: -8px;
	transform: translateY(-50%);
	border: 2px solid #fff;
	border-radius: 50%;
	background-color: currentColor;
	box-shadow: 0 0 1px #888;
	pointer-events: none;
}

.rang-alpha div:before {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	inset-inline-end: 0;
	top: 0;
	border-radius: 50%;
	background-color: currentColor;
}

.rang-format {
	display: none;
	order: 1;
	width: calc(100% - 40px);
	margin: 0 20px 20px;
}

.rang-segmented {
	display: flex;
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 1px solid #ddd;
	border-radius: 15px;
	box-sizing: border-box;
	color: #999;
	font-size: 12px;
}

.rang-segmented input,
.rang-segmented legend {
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	inset-inline-end: 0;
	top: 0;
	opacity: 0;
	pointer-events: none;
}

.rang-segmented label {
	flex-grow: 1;
	padding: 4px 0;
	text-align: center;
	cursor: pointer;
}

.rang-segmented label:first-of-type {
	border-radius: 10px 0 0 10px;
}

.rang-segmented label:last-of-type {
	border-radius: 0 10px 10px 0;
}

.rang-segmented input:checked+label {
	color: #fff;
	background-color: #666;
}

.rang-swatches {
	order: 2;
	width: calc(100% - 32px);
	margin: 0 16px;
}

.rang-swatches div {
	display: flex;
	flex-wrap: wrap;
	padding-bottom: 12px;
	justify-content: center;
}

.rang-swatches button {
	position: relative;
	width: 20px;
	height: 20px;
	margin: 0 4px 6px 4px;
	border: 0;
	border-radius: 50%;
	color: inherit;
	text-indent: -1000px;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
}

.rang-swatches button:after {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	inset-inline-end: 0;
	top: 0;
	border-radius: inherit;
	background-color: currentColor;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
}

input.rang-color {
	order: 1;
	width: calc(100% - 80px);
	height: 32px;
	margin: 15px 20px 20px 0;
	padding: 0 10px;
	border: 1px solid #ddd;
	border-radius: 16px;
	color: #444;
	background-color: #fff;
	font-family: sans-serif;
	font-size: 14px;
	text-align: center;
	box-shadow: none;
}

input.rang-color:focus {
	outline: none;
	border: 1px solid #1e90ff;
}

.rang-clear {
	order: 2;
	height: 24px;
	margin: 0 20px 20px auto;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	color: #fff;
	background-color: #666;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	cursor: pointer;
}

.rang-preview {
	position: relative;
	width: 32px;
	height: 32px;
	margin: 15px 0 20px 20px;
	border: 0;
	border-radius: 50%;
	overflow: hidden;
	cursor: pointer;
}

.rang-preview:before,
.rang-preview:after {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	inset-inline-end: 0;
	top: 0;
	border: 1px solid #fff;
	border-radius: 50%;
}

.rang-preview:after {
	border: 0;
	background-color: currentColor;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
}

.rang-marker,
.rang-hue div,
.rang-alpha div,
.rang-color {
	box-sizing: border-box;
}

.rang-field {
	display: inline-block;
	position: relative;
	color: transparent;
	width: 30px;
	height: 30px;
	box-shadow: 0px 0px 0px 3px rgba(120, 128, 136, 0.15);
	overflow: hidden;
	border-radius: 7px;
}

.rang-field button {
	position: absolute;
	width: 30px;
	height: 100%;
	inset-inline-start: 0;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	color: inherit;
	text-indent: -1000px;
	white-space: nowrap;
	overflow: hidden;
	pointer-events: none;
}

.rang-field>[aria-labelledby*="rang-open-label"] {
	pointer-events: none !important
}

.rang-field button:after {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	inset-inline-end: 0;
	top: 0;
	border-radius: inherit;
	background-color: currentColor;
	box-shadow: inset 0 0 1px rgba(0, 0, 0, .5);
}

.rang-alpha,
.rang-alpha div,
.rang-swatches button,
.rang-preview:before,
.rang-field button {
	background-image: repeating-linear-gradient(45deg, #aaa 25%, transparent 25%, transparent 75%, #aaa 75%, #aaa), repeating-linear-gradient(45deg, #aaa 25%, #fff 25%, #fff 75%, #aaa 75%, #aaa);
	background-position: 0 0, 4px 4px;
	background-size: 8px 8px;
}

.rang-marker:focus {
	outline: none;
}

.rang-keyboard-nav .rang-marker:focus,
.rang-keyboard-nav .rang-hue input:focus+div,
.rang-keyboard-nav .rang-alpha input:focus+div,
.rang-keyboard-nav .rang-segmented input:focus+label {
	outline: none;
	box-shadow: 0 0 0 2px #1e90ff, 0 0 2px 2px #fff;
}

/** Dark theme **/
.rang-dark {
	background-color: #444;
}

.rang-dark .rang-segmented {
	border-color: #777;
}

.rang-dark .rang-swatches button:after {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}

.rang-dark input.rang-color {
	color: #fff;
	border-color: #777;
	background-color: #555;
}

.rang-dark input.rang-color:focus {
	border-color: #1e90ff;
}

.rang-dark .rang-preview:after {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}

/** Polaroid theme **/
.rang-picker.rang-polaroid {
	border-radius: 6px;
	box-shadow: 0 0 5px rgba(0, 0, 0, .1), 0 5px 30px rgba(0, 0, 0, .2);
}

.rang-picker.rang-polaroid:before {
	content: '';
	display: block;
	position: absolute;
	width: 16px;
	height: 10px;
	inset-inline-end: 20px;
	top: -10px;
	border: solid transparent;
	border-width: 0 8px 10px 8px;
	border-bottom-color: currentColor;
	box-sizing: border-box;
	color: #fff;
	filter: drop-shadow(0 -4px 3px rgba(0, 0, 0, .1));
	pointer-events: none;
}

.rang-picker.rang-polaroid.rang-dark:before {
	color: #444;
}

.rang-picker.rang-polaroid.rang-right:before {
	left: auto;
	right: 20px;
}

.rang-picker.rang-polaroid.rang-top:before {
	top: auto;
	bottom: -10px;
	transform: rotateZ(180deg);
}

.rang-polaroid .rang-gradient {
	width: calc(100% - 20px);
	height: 120px;
	margin: 10px;
	border-radius: 3px;
}

.rang-polaroid .rang-hue,
.rang-polaroid .rang-alpha {
	width: calc(100% - 30px);
	height: 10px;
	margin: 6px 15px;
	border-radius: 5px;
}

.rang-polaroid .rang-hue div,
.rang-polaroid .rang-alpha div {
	box-shadow: 0 0 5px rgba(0, 0, 0, .2);
}

.rang-polaroid .rang-format {
	width: calc(100% - 20px);
	margin: 0 10px 15px;
}

.rang-polaroid .rang-swatches {
	width: calc(100% - 12px);
	margin: 0 6px;
}

.rang-polaroid .rang-swatches div {
	padding-bottom: 10px;
}

.rang-polaroid .rang-swatches button {
	width: 22px;
	height: 22px;
}

.rang-polaroid input.rang-color {
	width: calc(100% - 60px);
	margin: 10px 10px 15px 0;
}

.rang-polaroid .rang-clear {
	margin: 0 10px 15px auto;
}

.rang-polaroid .rang-preview {
	margin: 10px 0 15px 10px;
}

/** Large theme **/
.rang-picker.rang-large {
	width: 275px;
}

.rang-large .rang-gradient {
	height: 150px;
}

.rang-large .rang-swatches button {
	width: 22px;
	height: 22px;
}


.vb_color_wrap{
	display:flex;	
	background:var(--vb-content-gray-color);
  border-radius: 5px;
}
.vb_color_picker_add {
	width:25px;
	cursor:pointer;
	height:100%;
	text-align:center;
	color:var(--vb-text-color);
 height: 100%;
  line-height: var(--vb-input-height);
} 
.vb_color_picker_wrap {
  display:flex;
  flex-wrap: wrap;
  position:absolute;
   z-index: 999999999999;
  border-radius: 10px;
  background-color: #fff;
  justify-content: space-between;
  box-shadow: 0 0 5px #0000000d, 0 5px 20px #0000001a;
  -moz-user-select: none;
  -webkit-user-select: none;
 
  user-select: none;
  height: auto;
  top: 0px;
 box-sizing:border-box;
 flex-direction: column;
  flex-wrap: nowrap;
  width:250px !important;
  overflow:hidden;

}
 .vb_gradient_wrap .vb_color_picker_add {
	background:var(--vb-content-gray-color)!important;
	border-radius: 5px;
 }
 .vb_color_wrap:has(.vb_color_picker_add:hover),
.vb_gradient_wrap  .vb_color_picker_add:hover {
  background: var(--vb-background-hover-color) !important;
}
.vb_color_picker_add:hover::before{
	color:#ffffff !important;	
}
.vb_color_picker_heading{
background: var(--vb-gray-color);
 	  width: 100%;
   float: inline-start;
	padding:10px 20px;
	box-sizing:border-box;
 
}
.vb_color_picker_heading span{
	width: auto;
	font-color:16px;
	line-height:1.5em;
 
	color: var(--vb-link-color);
	font-weight: 700 !important;
 }
.vb_color_picker_list{
 	height:100%;
	width:100%;
 		overflow-y: auto;
		flex-grow: 1;
		max-height: 100%;
}
.vb_color_picker_item{
	width:100%;
	box-sizing:border-box;
	height:auto;
	font-color:14px;
	font-weight:500;
	
	padding:5px 20px;
	color:var(--vb-text-color);
	cursor:pointer;
 
 
}
.vb_color_picker_item:hover{
	background-color:var(--vb-main-color);
	color:#ffffff;

}
 
.vb_color_picker_input{
  	float: inline-start;
	overflow:hidden;
	height: var(--vb-input-height);
	width:auto !important;
		
}
.vb_color_picker_input span{
		padding:0 8px;  float: inline-start;
}
.vb_color_picker_close{
  float: inline-start;
  height:100%;
  	width: 25px;
	color:var(--vb-link-color);
	cursor:pointer;
	background:var(--vb-content-gray-color);
 }
 .vb_color_picker_close:hover{
	 background: var(--vb-background-hover-color) !important;
  color: #fff !important;
 }
.vb_color_picker_input ~  .vb_color_wrap,
.vb_color_picker_input ~  .vb_gradient_wrap  {
 	 
    display: none!important;
}
