.toggle-switch {
  font-size: 11px;
  border: 1px solid;
  cursor: pointer;
  display: inline-block;
  text-align: left;
  overflow: hidden;
  line-height: 8px;
  min-width: 100px;
  border-radius: 4px;
  border-color: #ccc;
  position: relative;
  text-align: left;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  vertical-align: middle;
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.toggle-switch.disabled > div > span.knob {
  opacity: 0.5;
  filter: alpha(opacity=50);
  cursor: default !important;
}

.toggle-switch span {
  cursor: pointer;
  display: inline-block;
  float: left;
  height: 100%;
  line-height: 20px;
  padding: 4px;
  text-align: center;
  width: 33%;
  white-space: nowrap;
  box-sizing: border-box;
  -o-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.toggle-switch > div {
  position: relative;
  width: 150%;
}

.toggle-switch .knob {
  background: red;
 /* border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;*/
  background-color: #fff;
  width: 34%;
  z-index: 100;
}

.toggle-switch .switch-on {
  left: 0%;
}

.toggle-switch .switch-off {
  left: -50%
}

.toggle-switch .switch-left, .toggle-switch .switch-right {
  z-index: 1;
}

.toggle-switch .switch-left {
  color: red;
  background: #F0D8D8;
  font-weight: 600;
}

.toggle-switch .switch-right {
  color: #fff;
  background: #37a6cd;
  font-weight: 600;
  border-right: 1px solid #2a87a7;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

.toggle-switch-animate {
  transition: left 0.5s;
  -o-transition: left 0.5s;
  -moz-transition: left 0.5s;
  -webkit-transition: left 0.5s;
}




.toggle-switch.switch-large {
  min-width: 120px;
}
.toggle-switch.switch-large .switch-left,
.toggle-switch.switch-large .switch-right,
.toggle-switch.switch-large .knob {
  padding-bottom: 7px;
  padding-top: 7px;
  font-size: 14px;
  line-height: normal;
  min-height: 24px;
}


.toggle-switch-list {
  border: 1px solid #2a87a7;
  cursor: pointer;
  font-size: 12px;
  display: inline-block;
  text-align: left;
  overflow: hidden;
  line-height: 8px;
  min-width: 80px;
  border-radius: 4px;
  position: relative;
  text-align: left;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  vertical-align: middle;
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.toggle-switch-list .switch-left {
  color: white;
  background: rgb(50, 118, 177);
  font-weight: 600;
}


.toggle-switch-list .knob {
  background-color: #fff;
  width: 34%;
  z-index: 100;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

.toggle-switch-list .switch-off {
  left: -50%
}
