input:focus, input:hover,input:active, .switch:focus, .switch:hover, .switch:active, input[type=checkbox]:focus{
  box-shadow: none!important;
}
.switch {
  background: #fff;
  border: 1px solid #dfdfdf;
  position: relative;
  display: inline-block;
  box-sizing: content-box;
  overflow: visible;
  width: 32px;
  height: 18px;
  padding: 0px;
  margin: 0px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s ease-out all;
  -webkit-transition: 0.3s ease-out all;
  top: -1px;
}
/*adding a wide width for larger switch text*/
.switch.wide {
  width:80px;
}
.switch small {
  background: #fff;
  border-radius: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  width: 18px;
  height: 18px;
  position: absolute;
  top: 0px;
  left: 0px;
  transition: 0.3s ease-out all;
  -webkit-transition: 0.3s ease-out all;
}
.switch small:after{
    content: '';
    display: block;
    position: absolute;
    background: url(../img/icon/cruz.png) no-repeat;
    width: 10px;
    height: 10px;
    left: 5px;
    top: 5.4px;
}
.switch.checked {
    background: #00cc66;
    border-color: #00cc66;
}
.switch.checked small {
  left: 14px;
}
/*wider switch text moves small further to the right*/
.switch.wide.checked small {
  left:52px;
}
.switch.checked small:after{
    content: '';
    display: block;
    position: absolute;
    background: url(../img/icon/check2.png) no-repeat;
    width: 10px;
    height: 10px;
    left: 4px;
    top: 5.4px;
}
/*styles for switch-text*/
.switch .switch-text {
  font-family:Arial, Helvetica, sans-serif;
  font-size:13px;
}

.switch .off {
  display:block;
  position: absolute;
  right: 10%;
  top: 25%;
  z-index: 0;
  color:#A9A9A9;
}

.switch .on {
  display:none;
   z-index: 0;
  color:#fff;
  position: absolute;
  top: 25%;
  left: 9%;
}

.switch.checked .off {
  display:none;
}

.switch.checked .on {
  display:block;

}

.switch.disabled {
  opacity: .50;
  cursor: not-allowed;
}
