.toggle-switch {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
}

.tableValue > .toggle-switch {
    float: left;
}

.toggle-switch {
	float: right;
    display: inline-block;
    vertical-align: top;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.toggle-switch .ts-label {
    display: inline-block;
    margin: 2.5px 15px 0 0;
    font-size: 0.725rem;
    font-weight: 500;
    vertical-align: top;
    -webkit-transition: color .56s cubic-bezier(.4, 0, .2, 1);
    transition: color .56s cubic-bezier(.4, 0, .2, 1);
}

.toggle-switch .ts-helper {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: rgba(0, 0, 0, .26);
    -webkit-transition: background .28s cubic-bezier(.4, 0, .2, 1);
    transition: background .28s cubic-bezier(.4, 0, .2, 1);
    vertical-align: middle;
    cursor: pointer;
}

.toggle-switch .ts-helper:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
    border-radius: 50%;
    webkit-transition: left .28s cubic-bezier(.4, 0, .2, 1), background .28s cubic-bezier(.4, 0, .2, 1), box-shadow .28s cubic-bezier(.4, 0, .2, 1);
    transition: left .28s cubic-bezier(.4, 0, .2, 1), background .28s cubic-bezier(.4, 0, .2, 1), box-shadow .28s cubic-bezier(.4, 0, .2, 1);
}

.toggle-switch:not(.disabled) .ts-helper:active:before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28), 0 0 0 20px rgba(128, 128, 128, .1);
}

.toggle-switch input {
    position: absolute;
    z-index: 1;
    width: 46px;
    margin: 0 0 0 -4px;
    height: 24px;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer;
}

.toggle-switch input:checked+.ts-helper:before {
    left: 20px;
}

.toggle-switch:not([data-ts-color]) input:not(:disabled):checked+.ts-helper {
    background: rgba(0, 150, 136, .5);
}

.toggle-switch:not([data-ts-color]) input:not(:disabled):checked+.ts-helper:before {
    background: #009688;
}

.toggle-switch:not([data-ts-color]) input:not(:disabled):checked+.ts-helper:active:before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28), 0 0 0 20px rgba(0, 150, 136, .2);
}

.toggle-switch.disabled {
    opacity: .6;
    filter: alpha(opacity=60);
}

/*red*/

.toggle-switch[data-ts-color=red] input:not(:disabled):checked+.ts-helper {
    background: rgba(244, 67, 54, .5);
}

.toggle-switch[data-ts-color=red] input:not(:disabled):checked+.ts-helper:before {
    background: #F44336;
}

.toggle-switch[data-ts-color=red] input:not(:disabled):checked+.ts-helper:active:before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28), 0 0 0 20px rgba(244, 67, 54, .2);
}


/*blue*/

.toggle-switch[data-ts-color=blue] input:not(:disabled):checked+.ts-helper {
    background: rgba(33, 150, 243, .5);
}

.toggle-switch[data-ts-color=blue] input:not(:disabled):checked+.ts-helper:before {
    background: #2196F3;
}

.toggle-switch[data-ts-color=blue] input:not(:disabled):checked+.ts-helper:active:before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28), 0 0 0 20px rgba(33, 150, 243, .2);
}

/*navyblue*/

.toggle-switch[data-ts-color=navyblue] input:not(:disabled):checked+.ts-helper {
    background: rgb(42, 56, 78);
}

.toggle-switch[data-ts-color=navyblue] input:not(:disabled):checked+.ts-helper:before {
    background: #fff;
}

.toggle-switch[data-ts-color=navyblue] input:not(:disabled):checked+.ts-helper:active:before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28), 0 0 0 20px rgba(33, 150, 243, .2);
}

/*amber*/

.toggle-switch[data-ts-color=amber] input:not(:disabled):checked+.ts-helper {
    background: rgba(255, 193, 7, .5);
}

.toggle-switch[data-ts-color=amber] input:not(:disabled):checked+.ts-helper:before {
    background: #FFC107;
}

.toggle-switch[data-ts-color=amber] input:not(:disabled):checked+.ts-helper:active:before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28), 0 0 0 20px rgba(255, 193, 7, .2);
}

/*purple*/

.toggle-switch[data-ts-color=purple] input:not(:disabled):checked+.ts-helper {
    background: rgba(186, 104, 200, .5);
}

.toggle-switch[data-ts-color=purple] input:not(:disabled):checked+.ts-helper:before {
    background: #BA68C8;
}

.toggle-switch[data-ts-color=purple] input:not(:disabled):checked+.ts-helper:active:before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28), 0 0 0 20px rgba(186, 104, 200, .2);
}

/*pink*/

.toggle-switch[data-ts-color=pink] input:not(:disabled):checked+.ts-helper {
    background: rgba(233, 30, 99, .5);
}

.toggle-switch[data-ts-color=pink] input:not(:disabled):checked+.ts-helper:before {
    background: #E91E63;
}

.toggle-switch[data-ts-color=pink] input:not(:disabled):checked+.ts-helper:active:before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28), 0 0 0 20px rgba(233, 30, 99, .2);
}

/*lime*/

.toggle-switch[data-ts-color=lime] input:not(:disabled):checked+.ts-helper {
    background: rgba(205, 220, 57, .5);
}

.toggle-switch[data-ts-color=lime] input:not(:disabled):checked+.ts-helper:before {
    background: #CDDC39;
}

.toggle-switch[data-ts-color=lime] input:not(:disabled):checked+.ts-helper:active:before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28), 0 0 0 20px rgba(205, 220, 57, .2);
}

/*cyan*/

.toggle-switch[data-ts-color=cyan] input:not(:disabled):checked+.ts-helper {
    background: rgba(0, 188, 212, .5);
}

.toggle-switch[data-ts-color=cyan] input:not(:disabled):checked+.ts-helper:before {
    background: #00BCD4;
}

.toggle-switch[data-ts-color=cyan] input:not(:disabled):checked+.ts-helper:active:before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28), 0 0 0 20px rgba(0, 188, 212, .2);
}

/*green*/

.toggle-switch[data-ts-color=green] input:not(:disabled):checked+.ts-helper {
    background: var(--tertiary-accent);
}

.toggle-switch[data-ts-color=green] input:not(:disabled):checked+.ts-helper:before {
    background: #fff;
}

.toggle-switch[data-ts-color=green] input:not(:disabled):checked+.ts-helper:active:before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28), 0 0 0 20px rgba(76, 175, 80, .2);
}