.sds-toggle-switch {
    position: relative;
    width: 36px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.sds-toggle-switch-checkbox {
    display: none;
}

.sds-toggle-switch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border-radius: 15px;
    margin-bottom:0px !important;
}

.sds-toggle-switch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    -moz-transition: margin 0.3s ease-in 0s;
    -webkit-transition: margin 0.3s ease-in 0s;
    -o-transition: margin 0.3s ease-in 0s;
    transition: margin 0.3s ease-in 0s;
}

.sds-toggle-switch-inner:before, .sds-toggle-switch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 20px;
    padding: 0;
    line-height: 20px;  
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.sds-toggle-switch-inner:before {
    content: "";       
    background-color: var(--sds-primary);       
}

.sds-toggle-switch-inner:after {
    content: "";     
    background-color: var(--sds-grey);  
    text-align: right;
}

.sds-toggle-switch-switch {
    display: block;
    width: 16px;
    height: 16px;
    margin: 2px;
    background: var(--sds-grey-000);   
    border-radius: 20px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    -moz-transition: all 0.3s ease-in 0s;
    -webkit-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s;
    transition: all 0.3s ease-in 0s;
}

.sds-toggle-switch-checkbox:checked + .sds-toggle-switch-label .sds-toggle-switch-inner {
    margin-left: 0;
}

.sds-toggle-switch-checkbox:checked + .sds-toggle-switch-label .sds-toggle-switch-switch {
    right: 0px;
}

.sds-toggle-switch-checkbox[disabled] + .sds-toggle-switch-label {
    cursor: not-allowed;
    opacity: 0.5;
}