.np-survey-slider {
  --np-slider-accent: #006a9d;
  --np-slider-handle: #006a9d;
  --np-slider-track: #e1e4e9;
  position: relative;
  padding-top: 25px;
  margin: .5rem 0 .5rem;
  max-width: 52rem;
}

.np-survey-slider__meta,
.np-survey-slider__ticks {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.np-survey-slider__meta {
  color: #555;
  font-size: 0.8rem;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.np-survey-slider__endpoint {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.np-survey-slider__endpoint--end {
  text-align: right;
}

.np-survey-slider__value {
  position: absolute;
  top: 0;
  left: clamp(0px, calc(var(--np-slider-progress, 0%) - 25px), calc(100% - 52px));
  background: var(--np-slider-accent);
  border-radius: 3px;
  color: #fff;
  font-weight: 700;
  min-width: 0;
  padding: 1px 5px;
  z-index: 1;
  white-space: nowrap;
  text-align: center;
}

#top .np-survey-slider .np-survey-slider__input {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(
    to right,
    var(--np-slider-accent) 0,
    var(--np-slider-accent) var(--np-slider-progress, 0%),
    var(--np-slider-track) var(--np-slider-progress, 0%),
    var(--np-slider-track) 100%
  );
  border: 0;
  border-radius: 3px;
  display: block;
  box-sizing: content-box;
  box-shadow: none;
  cursor: pointer;
  height: 5px;
  min-height: 0;
  margin: 9px 0 5px;
  padding: 0;
  width: 100%;
}

.np-survey-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 0.4rem solid var(--np-slider-handle);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgb(0 0 0 / 25%);
  height: 1.65rem;
  width: 1.65rem;
}

.np-survey-slider__input::-moz-range-thumb {
  background: #fff;
  border: 0.4rem solid var(--np-slider-handle);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgb(0 0 0 / 25%);
  height: 0.85rem;
  width: 0.85rem;
}

.np-survey-slider__input:focus-visible {
  outline: 3px solid #0877a8;
  outline-offset: 5px;
}

.np-survey-slider__ticks {
  color: #777;
  font-size: 0.78rem;
  line-height: 1.3;
}

.np-survey-slider__maximum {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1px 5px;
  border-radius: 3px;
  background: #eee;
  color: #555;
  font-size: .8rem;
}
#top #gform_wrapper_2 .gfield > .gfield_label { font-family: inherit; font-size: 1rem !important; font-weight: 700 !important; line-height: 1.35; }
#top #gform_wrapper_2 .ginput_container_slider + .gfield_description { padding-top: 8px; }
