

div.yesno {
  display: flex;
  height: 34px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #FFFFFF;
  font-family: Montserrat;
  border:1px solid black;
  width:300px;
}

.toggle {
  margin-top: 0px;
}
.toggle input[type="checkbox"] {
  display: none;
}
.toggle label {
  color: #4FBCA1;
  position: relative;
}
.toggle input[type="checkbox"] + label::before {
  content: ' ';
  display: block;
  height: 16px;
  width: 45px;
  border: 1px solid #4281A4;
  border-radius: 9px;
  position: absolute;
  top: 0px;
  left: -65px;
  background: #4281A4;
}
.toggle input[type="checkbox"] + label::after {
  content: ' ';
  display: block;
  height: 28px;
  width: 28px;
  border: 1px solid #FF686B;
  border-radius: 50%;
  position: absolute;
  top: -6px;
  left: -75px;
  background: rgb(255, 0, 0);
  transition: all 0.3s ease-in;
}
.toggle input[type="checkbox"]:checked + label::after {
  left: -40px;
  transition: all 0.3s ease-in;
}