/* ========================================== */
/* TOGGLE SWITCH - ON/OFF SLIDER */
/* ========================================== */

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #888888;
    transition: 0.3s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #00aa00;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.status-label {
    font-family: 'Georgia', serif;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
}

.status-label.active {
    color: #00aa00;
}

.status-label.paused {
    color: #888888;
}