﻿.form-switch > input[type="checkbox"] {
    display: none;
}

.form-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}

    .form-switch > label::before {
        background: rgb(0, 0, 0);
        box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
        border-radius: 8px;
        content: '';
        height: 16px;
        margin-top: -8px;
        position: absolute;
        opacity: 0.3;
        transition: all 0.3s ease-in-out;
        width: 40px;
    }

    .form-switch > label::after {
        background: rgb(255, 255, 255);
        border-radius: 16px;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
        content: '';
        height: 20px;
        left: -4px;
        margin-top: -8px;
        position: absolute;
        top: -2px;
        transition: all 0.2s ease-in-out;
        width: 20px;
    }

.form-switch > input[type="checkbox"]:checked + label::before {
    background: #4a9cf5;
    opacity: 1;
}

.form-switch > input[type="checkbox"]:checked + label::after {
    left: 20px;
}

.list-group-item.no-border{
    border:none !important;
}
