.rslider * {
  box-sizing: border-box;
}

.rslider {
  position: relative;
}
.rslider--layout_horizontal {
  height: 16px;
  margin-bottom: 16px;
  max-width: 320px;
  width: 100%;
}
.rslider--layout_horizontal .rslider__handler {
  top: 0;
}
.rslider--layout_vertical {
  height: 320px;
  margin-left: 24px;
  width: 16px;
}
.rslider--layout_vertical .rslider__track {
  bottom: 8px;
  left: 5px;
  right: 5px;
  top: 8px;
}
.rslider__track {
  background-color: #b9c6ec;
  border-radius: 3px;
  bottom: 5px;
  cursor: pointer;
  left: 8px;
  position: absolute;
  right: 8px;
  top: 5px;
  z-index: 1;
}
.rslider__progress {
  background-color: #6a85d5;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}
.rslider__handler {
  background-color: #fa28c4;
  border: 2px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 16px;
  justify-content: center;
  position: absolute;
  width: 16px;
  z-index: 3;
}
.rslider__tooltip--horizontal {
  align-self: center;
  margin-top: -32px;
}
.rslider__tooltip--vertical {
  align-self: flex-start;
  margin-left: 16px;
}

.rscale {
  position: relative;
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.rscale--layout_horizontal {
  flex-flow: row nowrap;
  margin-top: 12px;
  max-width: 320px;
  width: 100%;
}
.rscale--layout_horizontal .rscale__mark {
  transform: translate(-50%, 0);
}
.rscale--layout_vertical {
  flex-flow: column-reverse nowrap;
  height: 320px;
  margin-left: -28px;
  max-width: 32px;
}
.rscale--layout_vertical .rscale__mark {
  align-self: flex-end;
  transform: translate(0, 50%);
}
.rscale__mark {
  position: absolute;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.25rem;
  text-align: center;
}

.rslider-panel > div {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}
.rslider-panel__label {
  align-items: center;
  display: flex;
  height: 2rem;
  line-height: 2rem;
  margin-bottom: 0.5rem;
  position: relative;
  cursor: pointer;
}
.rslider-panel__input {
  left: 10rem;
  max-width: 3.75rem;
  position: absolute;
}
.rslider-panel__input[type=checkbox] {
  cursor: pointer;
}