input[type=checkbox].ace-switch {
    width: 55px;
    height: 20px;
    display:none;
}
input[type=checkbox].ace-switch+.lbl {
    margin: 0 4px;
    min-height: 24px;
    cursor: pointer;
}
input[type=checkbox].ace-switch+.lbl::before {
    font-family: Arial, Helvetica, sans-serif;
    /*content: "Si\a0\a0\a0\a0\a0\a0\a0\a0\a0No";*/
    content: "Activa\a0\a0\a0Inactiva";
    color: #999;
    font-weight: bold;
    font-size: 11px;
    line-height: 18px;
    line-height: 21px\9;
    height: 18px;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f5f5f5;
    box-shadow: inset 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid #CCC;
    text-align: left;
    float: left;
    padding: 0;
    /*width: 50px;*/
    width: 70px;
    text-indent: -19px;
    text-indent: -21px\9;
    margin-right: 0;
    -webkit-transition: text-indent .4s ease;
    -moz-transition: text-indent .4s ease;
    -o-transition: text-indent .8s ease;
    transition: text-indent .8s ease
}

input[type=checkbox].ace-switch+.lbl::after {
    font-family: Arial, Helvetica, sans-serif;
    content: '|||';
    font-size: 10px;
    font-weight: lighter;
    color: #e5e5e5;
    background-color: #FFF;
    text-shadow: -1px 0 0 rgba(0, 0, 0, 0.15);
    text-align: center;
    border-radius: 12px;
    width: 22px;
    height: 22px;
    line-height: 20px;
    position: absolute;
    top: 40px;
    left: 10px;
    
    padding: 0;
    box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3) inset;
    -webkit-transition: left .4s ease;
    -moz-transition: left .4s ease;
    -o-transition: left .4s ease;
    transition: left .4s ease
}

input[type=checkbox].ace-switch:checked+.lbl::before {
    text-indent: 9px;
    color: #FFF;
    background-color: #8ab2c9;
    border-color: #468fcc
}
input[type=checkbox].ace-switch:checked+.lbl::after {
    left: 65px;
    background-color: #FFF;
    color: #8ab2c9
}
input[type=checkbox].ace-switch.ace-switch-2+.lbl::before {
    content: "Activo\a0\a0\a0\a0\a0\a0\a0\a0Inactivo"
}
input[type=checkbox].ace-switch.ace-switch-3+.lbl::after {
    font-family: FontAwesome;
    font-size: 13px;
    line-height: 23px;
    content: "\f00d";
    top: 40px
}
input[type=checkbox].ace-switch.ace-switch-3:checked+.lbl::after {
    content: "\f00c"
}
input[type=checkbox].ace-switch.ace-switch-4+.lbl::before,
input[type=checkbox].ace-switch.ace-switch-5+.lbl::before {
    content: "ON\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0OFF";
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-size: 12px;
    line-height: 19px;
    height: 20px;
    overflow: hidden;
    line-height: 21px\9;
    border-radius: 12px;
    background-color: #8b9aa3;
    border: 1px solid #8b9aa3;
    color: #FFF;
    width: 52px;
    text-indent: -25px;
    text-indent: -28px\9;
    display: inline-block;
    position: relative;
    margin-right: 8px;
    box-shadow: none;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease
}
input[type=checkbox].ace-switch.ace-switch-4+.lbl::after,
input[type=checkbox].ace-switch.ace-switch-5+.lbl::after {
    font-family: Arial, Helvetica, sans-serif;
    content: '|||';
    text-shadow: -1px 0 0 rgba(0, 0, 0, 0.2);
    font-size: 7px;
    font-weight: lighter;
    color: #8b9aa3;
    text-align: center;
    position: absolute;
    border-radius: 12px;
    color: #5b6a73;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    line-height: 16px;
    background-color: #FFF;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease
}
input[type=checkbox].ace-switch.ace-switch-4:checked+.lbl::before,
input[type=checkbox].ace-switch.ace-switch-5:checked+.lbl::before {
    text-indent: 9px;
    background-color: #468fcc;
    border-color: #468fcc
}
input[type=checkbox].ace-switch.ace-switch-4:checked+.lbl::after,
input[type=checkbox].ace-switch.ace-switch-5:checked+.lbl::after {
    left: 34px;
    background-color: #FFF
}
input[type=checkbox].ace-switch.ace-switch-5+.lbl::before {
    content: "SI\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0NO"
}
input[type=checkbox].ace-switch.ace-switch-5:checked+.lbl::before {
    text-indent: 8px
}
input[type=checkbox].ace-switch.ace-switch-6+.lbl {
    position: relative
}
input[type=checkbox].ace-switch.ace-switch-6+.lbl::before {
    font-family: FontAwesome;
    content: "\f00d";
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    box-shadow: none;
    border: 0;
    font-weight: lighter;
    font-size: 16px;
    border-radius: 12px;
    display: inline-block;
    background-color: #888;
    color: #f2f2f2;
    width: 52px;
    height: 22px;
    line-height: 20px;
    text-indent: 32px;
    -webkit-transition: background .1s ease;
    -moz-transition: background .1s ease;
    -o-transition: background .1s ease;
    transition: background .1s ease
}
input[type=checkbox].ace-switch.ace-switch-6+.lbl::after {
    content: '';
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    position: absolute;
    top: 2px;
    left: 3px;
    border-radius: 12px;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    width: 10px;
    height: 10px;
    text-align: center;
    background-color: #f2f2f2;
    border: 4px solid #f2f2f2;
    -webkit-transition: left .2s ease;
    -moz-transition: left .2s ease;
    -o-transition: left .2s ease;
    transition: left .2s ease
}
input[type=checkbox].ace-switch.ace-switch-6:checked+.lbl::before {
    content: "\f00c";
    text-indent: 6px;
    color: #FFF;
    border-color: #b7d3e5;
    background-color: #ff893c
}
input[type=checkbox].ace-switch.ace-switch-6:checked+.lbl::after {
    left: 32px;
    background-color: #FFF;
    border: 4px solid #FFF;
    text-shadow: 0 -1px 0 rgba(0, 200, 0, 0.25)
}
input[type=checkbox].ace-switch.ace-switch-7 {
    width: 75px
}
input[type=checkbox].ace-switch.ace-switch-7+.lbl {
    position: relative
}
input[type=checkbox].ace-switch.ace-switch-7+.lbl::before {
    content: "NO\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0SI";
    font-weight: bolder;
    font-size: 14px;
    line-height: 20px;
    background-color: #FFF;
    border: 2px solid #AAA;
    border-radius: 0;
    box-shadow: none;
    color: #aaa;
    width: 70px;
    height: 22px;
    line-height: 22px;
    overflow: hidden;
    text-indent: 4px;
    display: inline-block;
    position: relative;
    margin-right: 8px;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease
}
input[type=checkbox].ace-switch.ace-switch-7+.lbl::after {
    content: '\f00d';
    font-family: FontAwesome;
    font-size: 16px;
    position: absolute;
    top: 3px;
    left: 39px;
    width: 32px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    background-color: #aaa;
    color: #FFF;
    border-radius: 0;
    box-shadow: none;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
}
input[type=checkbox].ace-switch.ace-switch-7:checked+.lbl::before {
    color: #468fcc;
    background-color: #FFF;
    text-indent: -33px;
    border-color: #6fb3e0
}
input[type=checkbox].ace-switch.ace-switch-7:checked+.lbl::after {
    left: 3px;
    content: '\f00c';
    background-color: #468fcc;
    color: #FFF
}