﻿.switchToogle {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .switchToogle .slider.round {
        border-radius: 34px;
    }

    .switchToogle .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
    }

        .switchToogle .slider.checked {
            background-color: #2BABB0;
        }


    .switchToogle input:focus + .slider {
        box-shadow: 0 0 1px #2196F3;
    }

    .switchToogle input:checked + .slider:before {
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(26px);
        background-color: #B9CED4;
    }

    .switchToogle .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: -3px;
        bottom: 1px;
        background-color: #2BABB0 !important;
    }

    .switchToogle .slider.checked:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 5px;
        bottom: 3px;
        background-color: #DFFCFE !important;
    }


    .switchToogle input:checked > .slider:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0px;
    }

    .switchToogle input:checked + .slider {
        border: 2px solid #2BABB0;
    }

    .switchToogle input:focus + .slider {
        box-shadow: 0 0 1px #2196F3;
    }

    .switchToogle > span {
        padding-inline: 9px;
        font-size: 10px;
        font-family: "Roboto Serif", sans-serif;
        letter-spacing: 0px;
        color: #6A6A6A;
    }

    .switchToogle .slider.round:before {
        border-radius: 50%;
    }


    .switchToogle .switch {
        position: relative;
        width: 50px;
        height: 24px;
    }

        .switchToogle .switch input {
            width: 0;
            height: fit-content;
        }

    .switchToogle .slider:is(.disabled) {
        cursor: not-allowed !important;
    }

/* media queries for laptop */
@media only screen and (min-width: 1370px) and (max-width: 1605px) {
    .switchToogle .slider:before {
        bottom: 2px;
    }
}
