/* Switch */

.switch,
.switch * {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
   
.switch label {
    cursor: pointer;
    font-size: .8em;
    color: #7c7c7c;
	white-space: nowrap;
}
   
.switch label input[type=checkbox] {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch label input[type=checkbox]:checked + .lever {
    background-color: #f9ae42;
}

.switch label input[type=checkbox]:checked + .lever:before,
.switch label input[type=checkbox]:checked + .lever:after {
    left: 34px;
}

.switch label input[type=checkbox]:checked + .lever:after {
    background-color: #ffcb80;
}
   
.switch label input[type="checkbox"] + .lever {
    content: "";
    display: inline-block;
    position: relative;
    width: 60px;
    height: 30px;
    background-color: #f2f2f4;
    border-radius: 15px;
    margin-right: 10px;
    transition: background 0.3s ease;
    vertical-align: middle;
    margin: 0 16px;
    padding: 0;
    box-shadow: inset 3px 3px 3px -2px rgba(0, 0, 0, 0.14);
}

.switch label input[type="checkbox"] + .lever:after {
    background-color: #f6f7f9;
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

.switch label input[type="checkbox"] + .lever:before,
.switch label input[type="checkbox"] + .lever:after {
    content: "";
    position: absolute;
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    left: 4px;
    top: 4px;
    margin: 0;
    padding: 0;
    transition: left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease;
}
   
input[type=checkbox]:checked:not(:disabled) ~ .lever:active::before,
input[type=checkbox]:checked:not(:disabled).tabbed:focus ~ .lever::before {
    transform: scale(2.4);
    background-color: rgba(294, 174, 66, 0.85);
}
   
input[type=checkbox]:not(:disabled) ~ .lever:active:before,
input[type=checkbox]:not(:disabled).tabbed:focus ~ .lever::before {
    transform: scale(2.4);
    background-color: rgba(0,0,0,.08);
}
   
.switch input[type=checkbox][disabled] + .lever {
    cursor: default;
    background-color: rgba(0,0,0,.12);
}
   
.switch label input[type=checkbox][disabled] + .lever:after,
.switch label input[type=checkbox][disabled]:checked + .lever:after {
    background-color: #949494;
}
   