[class|=switch] {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 15px;
    -webkit-border-radius: 16px !important;
    -moz-border-radius: 16px !important;
    border-radius: 16px !important;
    line-height: 32px;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.switch-on {
    border: 1px solid white;
    box-shadow: white 0 0 0 16px inset;
    transition: border 0.4s, box-shadow 0.2s, background-color 1.2s;
    background-color: white;
    cursor: pointer;
}

.slider {
    position: absolute;
    display: inline-block;
    width: 13px;
    height: 13px;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;
    left: 0;
    top: 0;
    margin: 0;
}

.switch-on .slider {
    left: 10px;
    transition: background-color 0.4s, left 0.2s;
}

.switch-off {
    border: 1px solid #dfdfdf;
    transition: border 0.4s, box-shadow 0.4s;
    background-color: rgb(255, 255, 255);
    box-shadow: rgb(223, 223, 223) 0 0 0 0 inset;
    cursor: pointer;
}

.switch-off .slider {
    left: 0;
    transition: background-color 0.4s, left 0.2s;
}

.switch-on.switch-disabled {
    opacity: .5;
    cursor: auto;
}

.switch-off.switch-disabled {
    background-color: #F0F0F0 !important;
    cursor: auto;
}