﻿/* The switch - the box around the slider */
.switch {
    position: relative !important;
    display: inline-block !important;
    width: 26px !important;
    height: 17px !important;
    margin-bottom: 0;
    flex: 0 0 26px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
    }

    /* The slider */
    .switch .slider {
        position: absolute !important;
        cursor: pointer !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background-color: #ccc !important;
        -webkit-transition: .4s !important;
        transition: .4s !important;
    }

    .switch .slider:before {
        position: absolute !important;
        content: "" !important;
        height: 13px !important;
        width: 13px !important;
        left: 2px !important;
        bottom: 2px !important;
        background-color: white !important;
        -webkit-transition: .4s !important;
        transition: .4s !important;
    }

    .switch input:checked + .slider {
        background-color: #7ad5a3 !important;
    }

    .switch input:disabled + .slider {
        opacity: .5;
    }

    .switch input:focus + .slider {
        box-shadow: 0 0 1px #7ad5a3 !important;
    }

    .switch input:checked + .slider:before {
        -webkit-transform: translateX(9px) !important;
        -ms-transform: translateX(9px) !important;
        transform: translateX(9px) !important;
    }

    /* Rounded sliders */
    .switch .slider.round {
        border-radius: 34px !important;
    }

        .switch .slider.round:before {
            border-radius: 50% !important;
        }
