body.rsfe-grab-pointer,
body.rsfe-grab-pointer * {
  cursor: grab !important;
}

.is-field-type-slider .irs .irs-line,
.is-field-type-slider .irs .irs-min,
.is-field-type-slider .irs .irs-max {
  background-color: var(--rsfe-inactive-color);
}

.is-field-type-slider {
  --rsfe-skin-color: #3e3ff0;
  --rsfe-inactive-color: #f1f1fe;
}

.is-field-type-slider.rsfe-custom-skin {
  --rsfe-skin-color: #3e3ff0;
}

.is-field-type-slider.rsfe-round-skin {
  --rsfe-skin-color: #006cfa;
}

.is-field-type-slider.rsfe-flat-skin {
  --rsfe-skin-color: #ed5565;
}

.is-field-type-slider.rsfe-square-skin {
  --rsfe-skin-color: #000;
}

.is-field-type-slider.cool-form__field-group .irs {
  width: 100%;
}

:hover span.irs-handle.single {
  cursor: grab;
}

.is-field-type-slider.rsfe-custom-skin .irs-handle {
  border: 0px;
  transition: box-shadow 200ms ease-in-out;
  z-index: 1;
}

.is-field-type-slider.rsfe-custom-skin .irs-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0%;
  height: 0%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: 100%;
}

.is-field-type-slider.rsfe-custom-skin.rsfe-active .irs-handle::before,
.is-field-type-slider.rsfe-custom-skin .irs-handle:hover::before {
  width: 100%;
  height: 100%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--rsfe-skin-color);
}

.is-field-type-slider.rsfe-custom-skin .irs-bar {
  background-color: #1e1e8f;
}

.is-field-type-slider .irs-single {
  white-space: pre;
}

.is-field-type-slider.rsfe-custom-skin span.irs-single{
  display: none;
}

.is-field-type-slider.rsfe-custom-skin span.irs-input-span{
  width:100%;
  position:relative;
  z-index:9;
}
.ehp-form__field-group.is-field-type-slider.rsfe-custom-skin span.irs-input-span input{
  width: 10%;
}

.is-field-type-slider.rsfe-custom-skin span.irs-input-span input{
  max-width: fit-content;
  position:absolute;
  right: 0px;
  width: 5%;
  gap: 10px;
  height: 18px;
  background-color: var(--rsfe-inactive-color);
  box-shadow: 0px 9px 13px -8px rgba(16.74232125548108, 7.227864883256992, 56.737500000000004, 0.42);
  border: unset !important;
  color: var(--rsfe-skin-color);
  padding: 15px;
  margin: 5px;
  font-weight: 500;
  border-radius: 3px !important;
}

.is-field-type-slider.rsfe-custom-skin .irs-single::before,
.is-field-type-slider .irs--round .irs-single::before,
.is-field-type-slider .irs--flat .irs-single::before {
  content: unset;
}

.is-field-type-slider.rsfe-custom-skin span.irs.irs--round {
  height: 140px;
}
.is-field-type-slider.rsfe-custom-skin span.irs .irs {
  height: 100%;
}

.is-field-type-slider.rsfe-custom-skin .irs--round .irs-line,
.is-field-type-slider.rsfe-custom-skin .irs--round .irs-bar {
  top: 77px;
  background-color: var(--rsfe-inactive-color);
}

.is-field-type-slider.rsfe-custom-skin .irs--round .irs-handle {
  top: 67px;
}

.is-field-type-slider.rsfe-custom-skin .irs--round .irs-min,
.is-field-type-slider.rsfe-custom-skin .irs--round .irs-max {
  top: unset;
  bottom: 10px;
  visibility: visible !important;
  padding: 10px;
}

.is-field-type-slider.rsfe-custom-skin .irs--round .irs-min,
.is-field-type-slider.rsfe-custom-skin .irs--round .irs-max {
  background-color: white !important;
  font-weight: 500px !important;
}

.is-field-type-slider:not(
    .rsfe-flat-skin,
    .rsfe-square-skin,
    .rsfe-round-skin,
    .rsfe-modern-skin
  )
  .irs-handle,
.is-field-type-slider.rsfe-flat-skin .irs-handle i:first-child,
.is-field-type-slider:where(
    .rsfe-flat-skin,
    .rsfe-square-skin,
    .rsfe-round-skin,
    .rsfe-modern-skin
  )
  .irs-bar--single,
.is-field-type-slider:where(
    .rsfe-flat-skin,
    .rsfe-square-skin,
    .rsfe-round-skin,
    .rsfe-modern-skin
  )
  .irs-single,

  .irs .irs-bar--single,
.is-field-type-slider:where(
    .rsfe-flat-skin,
    .rsfe-square-skin,
    .rsfe-round-skin,
    .rsfe-modern-skin
  )
  .irs .irs-bar{
  background-color: var(--rsfe-skin-color);
}

.is-field-type-slider.rsfe-sharp-skin .irs .irs-single,
.is-field-type-slider.rsfe-sharp-skin .irs .irs-bar{
  background-color:var(--rsfe-skin-color);
}

.is-field-type-slider.rsfe-sharp-skin .irs .irs-handle > i:first-child,
.is-field-type-slider.rsfe-sharp-skin .irs .irs-single::before{
  border-top-color: var(--rsfe-skin-color); 
}

.is-field-type-slider.rsfe-big-skin .irs .irs-bar,
.is-field-type-slider.rsfe-big-skin .irs .irs-from,
.is-field-type-slider.rsfe-big-skin .irs .irs-to,
.is-field-type-slider.rsfe-big-skin .irs .irs-single{
  background:var(--rsfe-skin-color);
}
.is-field-type-slider.rsfe-big-skin .irs .irs-line{
  background:var(--rsfe-inactive-color);
}

.is-field-type-slider:where(
    .rsfe-modern-skin
  )
  .irs .irs-bar{
  background: var(--rsfe-skin-color);
}

.rsfe-rangetype-double.is-field-type-slider:where(
  .rsfe-custom-skin,
  .rsfe-flat-skin,
  .rsfe-square-skin,
  .rsfe-round-skin,
  .rsfe-modern-skin,
  .rsfe-sharp-skin
)
.irs .irs-from,
.rsfe-rangetype-double.is-field-type-slider:where(
  .rsfe-custom-skin,
  .rsfe-flat-skin,
  .rsfe-square-skin,
  .rsfe-round-skin,
  .rsfe-modern-skin,
  .rsfe-sharp-skin
)
.irs .irs-to{
  background-color: var(--rsfe-skin-color);
}

.rsfe-rangetype-double.is-field-type-slider:where(
  .rsfe-custom-skin,
  .rsfe-flat-skin,
  .rsfe-square-skin,
  .rsfe-round-skin,
  .rsfe-modern-skin,
  .rsfe-sharp-skin
)
.irs .irs-from::before,
.rsfe-rangetype-double.is-field-type-slider:where(
  .rsfe-custom-skin,
  .rsfe-flat-skin,
  .rsfe-square-skin,
  .rsfe-round-skin,
  .rsfe-modern-skin,
  .rsfe-sharp-skin
)
.irs .irs-to::before{
  border-top-color: var(--rsfe-skin-color);
}
.is-field-type-slider:where(.rsfe-square-skin, .rsfe-round-skin)
  .irs-handle {
  border-color: var(--rsfe-skin-color);
}
