.slide-out-modal {
    position: fixed;
    height: 100%;
    top: 0;
    right: 0;
    width: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16);
    transition: width .5s cubic-bezier(0, 1, 0.5, 1);
    outline: none;
}

.slide-out-modal.show {
    right: 0 !important;
    width: 100%;
}

.slide-out-modal .loader {
    display: none;
}

.slide-out-modal.show .loader {
    display: flex;
}

.slide-out-modal-backdrop {
    pointer-events: none;
}

.slide-out-modal-backdrop.show {
    pointer-events: all;
}

/* SM START - Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .slide-out-modal.show[data-size="modal-sm"], .slide-out-modal.show {
        width: 50%;
        right: -50%;
    }

    .slide-out-modal.show[data-size="modal-lg"] {
        width: 60%;
        right: -60%;
    }

    .slide-out-modal.show[data-size="modal-lgr"] {
        width: 70%;
        right: -70%;
    }

    .slide-out-modal.show[data-size="modal-xl"] {
        width: 80%;
        right: -80%;
    }

    .slide-out-modal.show[data-size="modal-xxl"] {
        width: 100%;
        right: -100%;
    }

    .slide-out-modal.show[data-size="modal-xxxl"] {
        width: 100%;
        right: -100%;
    }

    .slide-out-modal.show[data-size="auto"] {
        width: 100%;
        right: -100%;
    }
}

/* SM END */

/* LG START - Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .slide-out-modal.show[data-size="modal-sm"], .slide-out-modal.show {
        width: 40%;
        right: -40%;
    }

    .slide-out-modal.show[data-size="modal-lg"] {
        width: 50%;
        right: -50%;
    }

    .slide-out-modal.show[data-size="modal-lgr"] {
        width: 55%;
        right: -55%;
    }

    .slide-out-modal.show[data-size="modal-xl"] {
        width: 60%;
        right: -60%;
    }

    .slide-out-modal.show[data-size="modal-xxl"] {
        width: 70%;
        right: -70%;
    }

    .slide-out-modal.show[data-size="modal-xxxl"] {
        width: 90%;
        right: -90%;
    }

    .slide-out-modal.show[data-size="auto"] {
        width: auto;
    }
}

/* LG END */


/* XL START - Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .slide-out-modal.show[data-size="modal-sm"], .slide-out-modal.show {
        width: 20%;
        right: -20%;
    }

    .slide-out-modal.show[data-size="modal-lg"] {
        width: 30%;
        right: -30%;
    }

    .slide-out-modal.show[data-size="modal-lgr"] {
        width: 40%;
        right: -40%;
    }

    .slide-out-modal.show[data-size="modal-xl"] {
        width: 50%;
        right: -50%;
    }

    .slide-out-modal.show[data-size="modal-xxl"] {
        width: 60%;
        right: -60%;
    }

    .slide-out-modal.show[data-size="modal-xxxl"] {
        width: 80%;
        right: -80%;
    }

    .slide-out-modal.show[data-size="auto"] {
        width: auto;
    }
}

/* XL END */
