/*
 *	@Release    1.0.1
 *	@subject		Refactor, compatibility and maintains externals modules for SWMasterTheme
 *	@copyright  	Copyright (c) 2023-2024 Sora Websoft SARL (https://www.sora-websoft.com/)
 *	@author     	Jimmy Buathier (@jimmybuathier)
 *	@license    	Commercial license or Free license according to the original developer
 *	Support by mail: support@sora-websoft.com
 */
.af-slider {
  margin-bottom: 10px;
}
.af-slider .slider-bar {
  margin: 5px 0 14px;
  padding: 0 8px;
  clear: both;
}
.af-slider .slider-bar.blocked {
  opacity: 0.5;
  pointer-events: none;
}
.af-slider .back-bar {
  height: 12px;
  position: relative;
  background: var(--pane-bg-d1);
  border-radius: var(--global-radius);
}
.af-slider .selected-bar {
  position: absolute;
  height: 100%;
  background: green;
}
.af-slider .pointer {
  position: absolute;
  top: -6px;
  margin-left: -8px;
  width: 25px;
  height: 25px;
  border-radius: 100%;
  background: green;
  cursor: pointer;
  z-index: 2;
  border: 1px solid var(--pane-bg);
  -ms-touch-action: none;
      touch-action: none;
  -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16);
          box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16);
}
.af-slider .pointer:after {
  content: ""; /* increase touch area for better response */
  background-image: url("../../../../assets/img/dot_product_caro_white.svg");
  background-size: cover;
  position: absolute;
  width: 21px;
  height: 21px;
  top: 1px;
  right: 1px;
}
.af-slider .pointer:before {
  content: ""; /* increase touch area for better response */
  position: absolute;
  width: 40px;
  height: 40px;
  top: -12px;
  right: -12px;
}
.af-slider .pointer.last-active {
  z-index: 3;
}
.af-slider .clickable-dummy {
  cursor: pointer;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.af-slider .slider_value { /* slider values */
  display: inline-block;
  float: left;
  margin-bottom: 5px;
  border: 1px solid transparent;
  padding: 1px 3px;
  cursor: pointer;
  position: relative;
}
.af-slider:hover .slider_value,
.af-slider .slider_value.edit {
  border-color: var(--bodybg-d3);
}
.af-slider .slider_value.to_display {
  float: right;
}
.af-slider .slider_value .input-text,
.af-slider .slider_value.edit > span {
  display: none;
}
.af-slider .slider_value.edit .input-text {
  display: inline-block;
  border: 0;
  padding: 0;
  max-width: 50px;
  outline: none;
  line-height: 1em;
}

.is-iphone .slider_value .input-text {
  font-size: 16px; /* no zoom on focusing input on iPhone */
}

/* since 3.1.3 */