﻿.checkboxSwitch
{
    position: relative;
    background: white;
    -webkit-appearance: initial;
    border-radius: 3px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-style: solid;
    border-width: 1px;
    border-color: #ced4da;
    border-radius: 5px;
    height: auto;
}

    .checkboxSwitch:after
    {
        position: absolute;
        top: 5%;
        display: block;
        line-height: 32px;
        width: 45%;
        height: 90%;
        background: #fff;
        box-sizing: border-box;
        text-align: center;
        transition: all 0.5s ease 0.0s;
        color: black;
        border-style: solid;
        border-width: 1px;
        border-color: #888;
        border-radius: 5px;
    }

    .checkboxSwitch:after {
        left: 2%;
        content: "🞬";
        background-color: #ffffff;
        color: #495057;
    }

    .checkboxSwitch:checked:after {
        left: 53%;
        content: "✓";
        background-color: #7b7b7b;
        color: white;
    }
