﻿@keyframes animationcoverin {
    from {
        background-color: rgba(0, 0, 0, .0);
    }

    to {
        background-color: rgba(0, 0, 0, .5);
    }
}

.drawer_cover {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    height: 100%;
    background-color: rgba(0, 0, 0, .0);
    overflow: auto !important;
    position: relative !important;
    overflow: hidden !important;
    animation-name: animationcoverin;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}



.drawer_container {
    background-color: #fff;
    position: absolute;
}

.drawer_rtl {
    top: 0;
    height: 100% !important;
    bottom: 0;
    right: 0;
    transform: translateX(100%);
    animation-name: animationrtl;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes animationrtl {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.drawerout_rtl {
    animation-name: animationoutrtl;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes animationoutrtl {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

.drawer_ltr {
    top: 0;
    height: 100% !important;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    animation-name: animationltr;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes animationltr {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.drawerout_ltr {
    animation-name: animationoutltr;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes animationoutltr {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.drawer_ttb {
    top: 0;
    width: 100% !important;
    right: 0;
    left: 0;
    transform: translateY(-100%);
    animation-name: animationttb;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes animationttb {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.drawerout_ttb {
    animation-name: animationoutttb;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes animationoutttb {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

.drawer_btt {
    bottom: 0;
    width: 100% !important;
    right: 0;
    left: 0;
    transform: translateY(100%);
    animation-name: animationbtt;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes animationbtt {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.drawerout_btt {
    animation-name: animationoutbtt;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes animationoutbtt {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100%);
    }
}

.drawer_title {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 60px;
    font-size: 18px;
    font-weight: bold;
    line-height: 60px;
    padding: 0 20px;
}

.drawer_close {
    position: absolute;
    right: 20px;
    top: -5px;
    cursor: pointer;
}

.drawer_body {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
}
