.onoffswitch {
    position: relative;
    width: 49px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none !important;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #ced4da;
    border-radius: 14px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 19px;
    padding: 0;
    line-height: 19px;
    font-size: 14px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "I";
    padding-left: 11px;
    background-color: #99cc33;
    color: #FFFFFF;
}

.onoffswitch-inner:after {
    content: "0";
    padding-right: 11px;
    background-color: #FFFFFF;
    color: #B8B2B2;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    width: 19px;
    margin: 0px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 26px;
    border: 2px solid #ced4da;
    border-radius: 14px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner, .onoffswitch-checkbox:checked + span + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch, .onoffswitch-checkbox:checked + span + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

.onoffswitch-div-width {
    width: 55px;
    margin-left: -15px;
}

.onoffswitch.disabled .onoffswitch-label, .onoffswitch.disabled .onoffswitch-switch {
    border: 2px solid #e1e1e1;
}

.onoffswitch.disabled .onoffswitch-inner:before {
    background-color: #e1e1e1;
}

.onoffswitch.disabled .onoffswitch-inner:after {
    color: #e1e1e1;
}