.slider-tooltip {
  width: 50px;
  top: -45px;
  margin-left: calc(var(--value) + -23px);
  position: absolute;
  border-radius: 4px;
  background-color: #23275e;
  color: #fff;
  padding: 3px 5px;
  font-size: .75rem;
  text-align: center;
}

.slider-tooltip::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #23275e;
  position: absolute;
  left: 50%;
  bottom: -3px;
  margin-left: -3px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

input[type="range"].slider {
  --thumb-background: #23275e;
  display: block;
  width: 100%;
  margin: 0;
  font-size: 1em;
  outline: none;
  cursor: pointer;
  position: relative;
  -webkit-appearance: none;
}

input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: #23275e;
  cursor: pointer;
  top: -13px;
  position: relative;
}

input[type="range"].slider::-moz-range-thumb {
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: #23275e;
  cursor: pointer;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

.slider::-webkit-slider-runnable-track {
  height: 2px;
}

.slider::-webkit-slider-runnable-track {
  background: linear-gradient(to right, #23275e var(--value), #e8e8eb var(--value));
}

.slider::-moz-range-track {
  background: linear-gradient(to right, #23275e var(--value), #e8e8eb var(--value));
}

.ui-slider label {
  font-size: .9375rem;
  font-weight: bold;
  color: #23275e;
  padding-bottom: 8px;
  margin-bottom: 28px;
}

.calculator-graphic .person-length {
  width: 100%;
  height: 440px;
  position: relative;
  margin-bottom: 100px;
  min-width: 600px;
}

.calculator-graphic .person-length .person-item {
  width: 100%;
  height: 80%;
  position: absolute;
  bottom: 0;
  z-index: 1;
}

.calculator-graphic .person-length .person-item .person-img {
  display: block;
  width: 31.33%;
  height: 100%;
  margin: 0;
  position: relative;
  float: left;
  margin: 0 1%;
  text-align: center;
}

.calculator-graphic .person-length .person-item .person-img img {
  height: 100%;
  margin: auto;
  width: unset;
  object-fit: contain;
  object-position: bottom;
}

.calculator-graphic .person-length .person-item .person-img .length-tooltip {
  position: absolute;
  min-width: 110px;
  width: 160px;
  height: 48px;
  border-radius: 24px;
  background-color: #1cd1a1;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  padding-top: 6px;
  top: -56px;
  left: 50%;
  margin: 0 auto;
  margin-left: 0;
  padding: 6px 18px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.calculator-graphic .person-length .person-item .person-img .length-tooltip::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #1cd1a1;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  display: block;
  position: absolute;
  left: 50%;
  bottom: -3px;
  margin-left: -4px;
}

.calculator-graphic .person-length .person-item .person-img .length-tooltip.left {
  right: auto;
  left: -141px;
}

.calculator-graphic .person-length .person-item .person-img .length-tooltip.right {
  right: -303px;
  left: auto;
}

.calculator-graphic .person-length .person-item .person-img .description {
  width: 100%;
  padding-top: 15px;
  position: absolute;
  text-align: center;
  font-size: .875rem;
}

.calculator-graphic .person-length .person-item .person-img .description h6 {
  color: #7d8287 !important;
  margin-bottom: 15px;
}

.calculator-graphic .person-length .person-item .person-img .description span {
  font-style: italic;
}

.calculator-graphic .person-length .rules {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  z-index: 0;
}

.calculator-graphic .person-length .rules .line {
  width: 100%;
  height: 1px;
  background: #e8e8eb;
  position: absolute;
  bottom: 0;
}


.calculator-graphic .person-length .rules .line {
  width: 100%;
  height: 1px;
  background: #e8e8eb;
  position: absolute;
  bottom: 0;
}


.calculator-graphic .person-length .rules .line.line-2 {
  bottom: 14.28%;
}

.calculator-graphic .person-length .rules .line.line-3 {
  bottom: 28.57%;
}

.calculator-graphic .person-length .rules .line.line-4 {
  bottom: 42.84%;
}

.calculator-graphic .person-length .rules .line.line-5 {
  bottom: 57.12%;
}

.calculator-graphic .person-length .rules .line.line-6 {
  bottom: 71.4%;
}

.calculator-graphic .person-length .rules .line.line-7 {
  bottom: 85.68%;
}

.calculator-graphic .person-length .rules .line.line-8 {
  bottom: 100%;
}

.lenght-calculator .size-minmax {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  color: #7d8287;
}
