input.ios-switch-cb {
    display: none;
}

label.ios-switch-cb-label{
    margin-bottom: 0px;
    margin-left: 10px
}

span.ios-switch-cb-label{
    margin-bottom: 0px;
}

.switchery {
    background-color: #fff;
    border: 1px solid rgb(223, 223, 223);
    border-radius: 20px;
    cursor: pointer;
    display: inline-block;
    height: 30px;
    position: relative;
    vertical-align: middle;
    width: 50px;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-sizing: content-box;
    background-clip: content-box;
    box-shadow: rgb(223, 223, 223) 0px 0px 0px 0px inset;
    transition: border 0.4s, box-shadow 0.4s;
}

.switchery:before {
    content: '';
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    width: 30px;
    transition: background-color 0.4s, left 0.2s;
}


.ios-switch-cb:checked + .switchery {
    background-color: #fac800;
    box-shadow: #fac800 0px 0px 0px 16px inset;
    transition: border 0.4s, box-shadow 0.4s, background-color 1.2s;
    border-color: #fac800;
}

.ios-switch-cb:checked + .switchery:before {
    left: 20px;
}

.small + .switchery{
    width: 40px;
    height: 20px;
}

.small + .switchery:before {
    height: 20px;
    width: 20px;
}