.testswitch_title {
  float: left;
  line-height: 25px;
  padding-right: 5px;
}

.testswitch {
  position: relative;
  float: left;
  width: 50px;
  margin: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.testswitch-checkbox {
  display: none;
}

.testswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #999999;
  border-radius: 20px;
}

.testswitch-inner {
  display: block;
  width: 200%;
  margin-left: -100%;
  transition: margin 0.3s ease-in 0s;
}

.testswitch-inner::before,
.testswitch-inner::after {
  display: block;
  float: right;
  width: 50%;
  height: 20px;
  padding: 0;
  line-height: 20px;
  /* font-size: 5px;  */
  color: white;
  font-family: Trebuchet, Arial, sans-serif;
  font-weight: bold;
  box-sizing: border-box;
  text-align: left;
}

.testswitch-inner::after {
  content: attr(data-on);
  padding-left: 5px;
  background-color: #00e500;
  color: #ffffff;
}

.testswitch-inner::before {
  content: attr(data-off);
  padding-right: 2px;
  background-color: red;
  color: #ffffff;
  text-align: right;
}

.testswitch-inner.center::before{
  padding-right: 10px;
}
.testswitch-inner.center::after {
  padding-left: 10px;
}

.testswitch-switch {
  position: absolute;
  display: block;
  width: 22px;
  height: 22px;
  margin: 1px;
  background: #ffffff;
  top: 0;
  bottom: 0;
  right: 27px;
  border: 2px solid #999999;
  border-radius: 20px;
  transition: all 0.3s ease-in 0s;
}

.testswitch-checkbox:checked + .testswitch-label .testswitch-inner {
  margin-left: 0;
}

.testswitch-checkbox:checked + .testswitch-label .testswitch-switch {
  right: 0px;
}

/* .radioInput {}

.radioInput:checked+label::before {
    background-color: #000;
}

.radioInput:checked+label::after {
    display: inline-block;
    content: "";
    width: 6px;
    height: 6px;
    position: absolute;
    left: 6;
    bottom: 6;
    background-color: red;
} */

.radioInputLabel {
  width: 30px;
  color: white;
  padding: 3px 10px 3px 10px;
  text-align: center;
  background-color: #9ad9ea;
  margin: 5px;
}

.radioInput i {
  display: block;
  position: absolute;
  top: 6px;
  left: 0;
  width: 15px;
  height: 15px;
  outline: 0;
  border: 1px solid #47a8c0;
  background: #9cd9e8;
  border-radius: 50%;
  /* transition: border-color .3s 
    -webkit-transition: border-color .3s; */
}

.radioInput input:checked + i {
  border-color: #0c4757;
}

.radioInput input:checked + i:after {
  opacity: 1;
}

.radioInput input + i:after {
  position: absolute;
  content: "";
  top: 3px;
  left: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #47a8c0;
  opacity: 0;
  transition: opacity 0.1s;
  -webkit-transition: opacity 0.1s;
}

input[type="radio"],
input[type="checkbox"] {
  margin: 6px 0 0;
  margin-top: 1px \9;
  line-height: normal;
}

.noNumber::-webkit-outer-spin-button,
.noNumber::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.noNumber[type="number"] {
  -moz-appearance: textfield;
}
