.jcswitch {
  position: relative;
  display: inline-block;
  font-weight: bold;
  color: #ccc;
  border: 1px solid #525050;
  background: #525050;
  cursor: pointer;
  overflow: hidden;
  height: 21px;
}

.jcswitch .toggle {
  position: absolute;
  top: 0px;
  width: 50%;
  z-index: 99;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  -ms-transition: all 0.15s ease-in-out;
  background: #f1f0ef;
  height: 21px;
}

.jcswitch span {
  display: inline-block;
  z-index: 999;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 3px 0px;
  text-align: center;
  font-size: 11px;
  font-weight: normal;
  vertical-align: top;
  position: relative;
  width: 29px;
}

.jcswitch span.on {margin-right: -2px;}
.jcswitch.off .off, .jcswitch.on .on { color: white; }
.jcswitch.off .on, .jcswitch.on .off { color: #ffffff; }
.jcswitch.on .toggle { left: 50%; }
.jcswitch.off .toggle { left: 0px; }
