.tw-box {
  display: inline-block;
  padding: 8px 30px 8px 30px;
  border-radius: 20px;
  position:relative;
  border: 2px solid lightgrey;
}

.tw-toggle-box { */
  display: inline-block;
  padding: 12px 45px;
  border-radius: 20px;
  border: 2px solid lightgrey;
}

.tw-toggle { */
  display: inline-block;
  padding: 12px 40px;
  border-radius: 20px;
  position:relative;
  border: 2px solid lightgrey;
}

.tw-toggle label {
  text-align: center;
  font-family: sans-serif;
  display: inline-block;
  color: lightgrey;
  position:relative;
  z-index:2;
  margin: 0;
  text-align: center;
  padding: 2px 15px;
  font-size: 25px;
}

.tw-toggle input {
  position: absolute;
  z-index: 3;
  opacity: 0;
  cursor: pointer;
  border: 0px;
  width: 50%;
  height: 2em;
}

.tw-toggle span {
  height: 50px;
  width: 50px;
  line-height: 50px;
  border-radius: 50%;
  background:#fff;
  display:block;
  position:absolute;
  left: 22px;
  top: 7px;
  transition:all 0.3s ease-in-out;
}

.tw-toggle input[value="false"]:checked ~ span{
  background:#27ae60;
  left:44px;
  color:#fff;
}

.tw-toggle input[value="true"]:checked ~ span{
  background:#e74c3c;
  left: 164px;
}
.tw-toggle input[value="-1"]:checked ~ span{
  background:#95A5A6;
  left: 105px;
}

.tw-toggle input[value="false"]:checked + label,.tw-toggle input[value="true"]:checked + label{
  color:#fff;
}
.tw-toggle input[value="-1"]:checked + label{
  color:#fff;
}