.checkbox-block,
.checkbox-block *{
}

.checkbox-block{
    width: 100%;
}
.checkbox-block-left{
    float: left;
    width: calc(100% - 56px);
}
.checkbox-block-right{
    text-align: right;
    float: right;
    width: 56px;
}
input.switch {
    font-size: 12px !important;
    position: relative;
    display: block !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 4.5em;
    height: 2.3em;
    line-height: 2.3em;
    border-radius: 1.15em !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: inset 0 0 0 0.1em #eee !important;
    outline: 1px solid transparent !important;
    cursor: pointer !important;
    transition: box-shadow .2s ease-in-out, padding .25s ease-in-out !important;
    transition-delay: .1s, 0s !important;
    animation: slide-off .35s ease both !important;
    /* Lets animate if supported */
}
input.switch:checked {
    transition-delay: 0s, 0s !important;
    -moz-box-shadow: inset 0 0 0 1.31em #00c169 !important;
    box-shadow: inset 0 0 0 1.31em #00c169 !important;
    padding-left: 2.2em  !important;
    animation: slide-on .35s ease both .05s  !important;;
}
input.switch::before {
    content: "" ;
    display: inline-block  !important;;
    height: 2.1em  !important;;
    width: 2.1em  !important;;
    margin: 0.1em 0 0 0.1em  !important;;
    background-color: #fff  !important;;
    border-radius: 1.05em  !important;;
    -moz-box-shadow: 0 0.1em 0.2em 0 rgba(0, 0, 0, 0.2), 0 0 0.05em 0.05em rgba(0, 0, 0, 0.1)  !important;;
    -webkit-box-shadow: 0 0.1em 0.2em 0 rgba(0, 0, 0, 0.2), 0 0 0.05em 0.05em rgba(0, 0, 0, 0.1)  !important;;
    box-shadow: 0 0.1em 0.2em 0 rgba(0, 0, 0, 0.2), 0 0 0.05em 0.05em rgba(0, 0, 0, 0.1)  !important;;
}
input.switch:hover:checked::before {
    background-color: white  !important;;
}

@keyframes slide-on {
    0% {
        padding-left: 0em  !important;;
    }
    60% {
        padding-left: 2.35em  !important;;
    }
    100% {
        padding-left: 2.2em  !important;;
    }
}
@keyframes slide-off {
    0% {
        padding-left: 2.2em  !important;;
        text-indent: 0  !important;;
    }
    60% {
        padding-left: 0em  !important;;
        text-indent: -0.15em  !important;;
    }
    100% {
        padding-left: 0em  !important;;
        text-indent: 0  !important;;
    }
}
