﻿.ss-sidebar {
    height: 90%;
    width: 550px;
    top: 50px;
    right: 0px;
    position: fixed;
    color: whitesmoke;
    z-index: 999;
    padding-right: 10px;
    padding-left: 10px;
}
.ss-sidebar-opening {
    animation-name: sidebarFade;
    animation-duration: 1.5s;
}

.ss-sidebar-closing {
    /*height: 90%;
    width: 550px;
    top: 55px;
    right: 0px;
    position: fixed;
    color: whitesmoke;
    z-index: 999;
    padding-right: 10px;
    padding-left: 10px;*/
    animation-name: sidebarFadeOut;
    animation-duration: 3s;
}

.ss-sidebar-mask {
    height: 100vh;
    width: 100%;
    top: 0px;
    left: 0px;
    position: fixed;
    z-index: 999;
    background-color: rgba(64,64,64,0.3);
}

.ss-sidebar-header {
    font-weight: 600;
    font-size: larger;
    text-align: center;
}

.ss-sidebar-body {
    height: 80%;
    overflow-y: auto;
}

.ss-sidebar-open {
    display: block;
    background-color: blue;
    height: 90%;
    width: 450px;
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 9999;
}

@keyframes sidebarFade {
    from {
        background-color: inherit;
        right: -550px;
    }

    to {
        background-color: #343a40;
        right: 0px;
    }
}

@keyframes sidebarFadeOut {


    from {
        background-color: #343a40;
        right: 0px;
    }

    to {
        background-color: inherit;
        right: -550px;
    }
}
