/**
 * onoff.css
 * Author: http://proto.io/freebies/onoff/
 * Author: Timmy Willison
 */
.onoffswitch {
  position: relative;
  width: 55px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.onoffswitch-checkbox {
  display: none;
}

.onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  /* border: 1px solid #ffffff; */
  border-radius: 32px;
}

.onoffswitch-inner {
  width: 200%;
  margin-left: -100%;
  -webkit-transition: margin 0.2s ease-in;
  transition: margin 0.2s ease-in;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
  float: left;
  padding: 0;
  width: 50%;
  height: 27px;
  color: white;
  font: bold 11px/30px "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.onoffswitch-inner:before {
  content: "ON";
  padding-left: 7px;
  line-height: 1.8rem;
  color: #06a879;
  background-color: #e6e6e6;
  text-align: left;
}

.onoffswitch-inner:after {
  content: "OFF";
  padding-right: 7px;
  color: #6d6d6d;
  background-color: rgb(232, 229, 229);
  text-align: right;
  line-height: 1.8rem;
}

.onoffswitch-switch {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 19px;
  margin: 4px;
  background: #06A879;
  /* border: 1px solid #d1d1d1; */
  border-radius: 50%;
  -webkit-transition: right 0.2s ease-in, -webkit-box-shadow 0.2s ease-in;
  transition: right 0.2s ease-in, box-shadow 0.2s ease-in;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  right: 0;
}
