.switch {
  position: relative;
  display: inline-block;
  width:137px;
  height: 38px;
  border-radius: 70px;
  background-color: #646a62;
}
  
.switch input {display:none;}
  
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width:137px;
  height: 38px;
  border-radius: 70px;
  background-color: #646a62;
  -webkit-transition: .4s;
  transition: .4s;    
}
  
.slider-color {
  position: absolute;
  content: "";
  left: 4px;
  top:3px;
  -webkit-transition: .4s;
  transition: .4s;
  width: 65px;
  height: 32px;
  border-radius: 23px;
  background-origin: border-box;
  background-clip: content-box, border-box;
}

.slider-txt {
  width: 47%;
  padding-left: 8px;
  padding-top:12px;
  float:left;
  opacity: 0.3;
  position: relative;
  font-family: Roboto;	
  font-size: 10px;	
  font-weight: 900;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  transition:opacity 1s;
}

.highlight {
  opacity: unset;
  font-weight: 500;
}

#translate-right{
  transform: translateX(64px);
  -webkit-transform: translateX(64px);
  -ms-transform: translateX(64px);
}

#translate-left{
  transform: translateX(0px);
  -webkit-transform: translateX(0px);
  -ms-transform: translateX(0px);
}
