/*[class^="ckbx-"] {
  /* font-size: 24px; 
}*/


[class^="ckbx-"] label {
  position: relative;
  cursor: pointer;
  display: block;
}

[class^="ckbx-"] label:before, [class^="ckbx-"] label:after {
  content: "";
  position: absolute;
}

[class^="ckbx-"] label:before {
  transition: background 0.1s 0.1s ease;
}

[class^="ckbx-"] label:after {
  width: 0.6em;
  height: 0.6em;
  transition: all 0.2s ease;
}

[class^="ckbx-"] input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

[class^="ckbx-circle-"] label,
[class^="ckbx-square-"] label {
  width: 1em;
  height: 1em;
}

[class^="ckbx-circle-"] label:before,
[class^="ckbx-square-"] label:before {
  width: 1em;
  height: 1em;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
}

[class^="ckbx-circle-"] input[type="checkbox"]:checked + label:after,
[class^="ckbx-square-"] input[type="checkbox"]:checked + label:after {
  background: #70c1b3;
}

@-webkit-keyframes switch-on {
  50% {
    transform: scaleX(1.3);
  }
}

@keyframes switch-on {
  50% {
    transform: scaleX(1.3);
  }
}

@-webkit-keyframes switch-off {
  50% {
    transform: scaleX(1.3);
  }
}

@keyframes switch-off {
  50% {
    transform: scaleX(1.3);
  }
}

@-webkit-keyframes switch-on-circle {
  50% {
    transform: scale(1.3);
  }
}

@keyframes switch-on-circle {
  50% {
    transform: scale(1.3);
  }
}

@-webkit-keyframes switch-off-circle {
  50% {
    transform: scale(0.3);
  }
}

@keyframes switch-off-circle {
  50% {
    transform: scale(0.3);
  }
}

@-webkit-keyframes stretch {
  50% {
    transform: scaleX(0.3);
  }
  100% {
    transform: scaleX(1.3);
  }
}

@keyframes stretch {
  50% {
    transform: scaleX(0.3);
  }
  100% {
    transform: scaleX(1.3);
  }
}

@-webkit-keyframes stretchback {
  50% {
    transform: scaleX(0.3);
  }
  100% {
    transform: scaleX(1.3);
  }
}

@keyframes stretchback {
  50% {
    transform: scaleX(0.3);
  }
  100% {
    transform: scaleX(1.3);
  }
}

[class^="ckbx-style-"] label {
  width: 2em;
  height: 1em;
}

[class^="ckbx-style-"] label:before {
  width: 2em;
  height: 1em;
  background: #4d4d4d;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.2);
}

[class^="ckbx-style-"] label:after {
  z-index: 2;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
  background: #fcfff4;
}

[class^="ckbx-style-"] input[type="checkbox"]:checked + label:before {
  background: #333;
}

[class^="ckbx-style-"] input[type="checkbox"]:checked + label:after {
  left: 1.1em;
}


.ckbx-style-14 {
  position: relative;
  padding: 3px;
  background:  rgb(211, 211, 211);;
  border-radius: 4px;
  width: 4em;
 vertical-align: middle;
  display:inline-block;
  cursor: pointer;
  margin-left: 0;

}

.ckbx-style-14 input[type="checkbox"] + label {
  width: 4em;
  height: 1.4em;
  background: rgb(211, 211, 211);

  text-align: left;
}

.ckbx-style-14 label:before {
  content: "OFF";
  width: 50%;
  text-align: center;
  color: #fff;
  font-weight: bold;
 /* font-size: 0.6em;
  line-height: 1.6; */
  transition: all 0.2s ease;
  background: #5c5c5c;
  left: 50%;
  bottom: 0;
  top: 0;
  border-radius: 4px;
  height: unset;
  box-shadow: unset;
}

.ckbx-style-14 label:after {
  content: "ON";
  width: 50%;
  text-align: center;
  
  top: 0;
  bottom: 0;
  font-weight: bold;
  /* font-size: 0.6em; 
  line-height: 1.6; */
  border-radius: 4px;
  height: unset;
  box-shadow: unset;
  z-index: unset;
  background: rgb(211, 211, 211);
  color: rgba(148, 148, 148);
}
/*aktiver OFF-Schalter */
.ckbx-style-14 input[type="checkbox"]:checked + label:before {
  background: rgb(211, 211, 211);
  color: rgba(148, 148, 148);
}
/* aktiver ON-Schalter */
.ckbx-style-14 input[type="checkbox"]:checked + label:after {
  background: #007DC0;
  color: #fff;
  left: unset;
}
