/********************************************************************************************************************************************
                                                                HORIZONTAL

********************************************************************************************************************************************/
.floatingFaderContainerHorizontal {
  display: grid;
  margin-inline: 1.5rem;
  position: relative;
}

.floatingFaderContentHorizontal {
  display: grid;
  place-items: center;
}

.floatingFaderSliderHorizontal {
  width: 100%;
  height: 16px;
  background-color: whitesmoke;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px hsla(218, 33%, 42%, 0.2);
  overflow: hidden;
}

.floatingFaderSliderLineHorizontal {
  width: 100%; /*Variable selon la valeur*/
  height: 100%;
  background-color: var(--background-color-brand);
  position: absolute;
  bottom: 0;
  overflow: hidden;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.floatingFaderThumbHorizontal {
  width: 32px;
  height: 32px;
  background-color: var(--grey-20);
  border-radius: 50%;
  box-shadow: 0 0 12px hsla(218, 33%, 42%, 0.2);
  position: absolute;
}

.floatingFaderThumbValueHorizontal {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 2rem 2rem 2rem 0.25rem;
  background-color: var(--background-color-brand);
  left: 0;
  top: -42px;
  transform: rotate(-45deg);
  position: absolute;
  place-items: center;
}

.floatingFaderThumbValueNumberHorizontal {
  transform: rotate(45deg);
  color: white;
}

.floatingFaderInputHorizontal {
  appearance: none;
  width: 100%;
  height: 16px;
  position: absolute;
  opacity: 0;
}

.floatingFaderInputHorizontal::-webkit-slider-thumb {
  appearance: none;
  width: 32px;
  height: 32px;
}

.floatingFaderInputHorizontal::-webkit-slider-thumb:hover {
  cursor: pointer;
}

/********************************************************************************************************************************************
                                                                VERTICAL

********************************************************************************************************************************************/
.floatingFaderContainerVertical {
  max-width: 80px;
  padding-block: 1rem;
  /*transition: height 0.3s ease-in-out;*/
  height: 0px;
  align-items: center;
  justify-content: center;
  /*overflow: hidden;*/
}

.floatingFaderContainerVertical.expanded {
  height: 280px;
}

.floatingFaderContentVertical {
  height: 100%;
  position: relative;
  place-items: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floatingFaderSliderVertical {
  width: 12px;
  height: 100%;
  background: whitesmoke;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px hsla(218, 33%, 42%, 0.2);
  overflow: hidden;
}

.floatingFaderSliderLineVertical {
  width: 12px;
  height: 100%; /*Variable selon la valeur*/
  background-color: var(--background-color-brand);
  position: absolute;
  bottom: 0;
  overflow: hidden;
  border-radius: 0 0 4rem 4rem;
}

.floatingFaderThumbVertical {
  width: 32px;
  height: 32px;
  background-color: whitesmoke;
  border-radius: 50%;
  box-shadow: 0 0 12px hsla(218, 33%, 42%, 0.2);
  position: absolute;
}

.floatingFaderThumbValueVertical {
  display: grid;
  width: 32px;
  height: 32px;
  background-color: var(--background-color-brand);
  position: absolute;
  left: 32px;
  border-radius: 2rem 2rem 2rem 0.25rem;
  transform: rotate(45deg);
  place-items: center;
}

.floatingFaderThumbValueNumberVertical {
  transform: rotate(-45deg);
  color: white;
}

.floatingFaderInputVertical {
  width: 16px;
  height: 100%;
  writing-mode: vertical-lr;
  position: absolute;
  direction: rtl;
  opacity: 0;
}

.floatingFaderInputVertical::-webkit-slider-thumb {
  appearance: none;
  width: 32px;
  height: 32px;
}

 .floatingFaderInputVertical::-webkit-slider-thumb:hover {
  cursor: pointer;
}
