﻿@keyframes RightSlideModalBackgroundAnimation {
    0% {
        opacity: 0;
        display: none;
    }

    1% {
        display: block;
    }

    100% {
        opacity: 100;
    }
}

@media screen and (max-width: 768px) {
    .RightSlideModal {
        left: 0%;
    }
}

@media screen and (min-width: 768px) {
    .RightSlideModal {
        left: 40%;
    }
}


.RightSlideModal {
    background-color: white;
    position: fixed;
    z-index: 100;
    top: 0%;
    bottom: 0%;
    right: 0%;
    transition: 0.3s ease-in-out;
    transform: translateX(100%);
    overflow-y: auto;
    overflow-x: hidden;
}

    .RightSlideModal.Active {
        /*opacity: 100 !important;*/
        animation-name: RightSlideModal;
        animation-duration: 1s;
        transform: translateX(0%);
    }

@keyframes RightSlideModal {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0%);
    }
}

.RightSlideModalContentContainer {
    position: relative;
    padding: 10px;
}

.RightSlideCloseButtonContainer {
    position: fixed;
    top: 0;
    right: 0;
    border: solid;
    border-radius: 50%;
    border-color: #898989;
    margin: 10px;
    width: 35px;
    height: 35px;
    z-index: 101;
}
