:root
{
    --main-color:#29007a;
    /*
       TOP BAR COLORS
     */
    --top-bar-bg: #e2e3ff;
    --top-bar-text: #29007a;
    --top-bar-shadow:0px 0px 5px 0px var(--main-color);
    /*
      FOOT BAR COLORS
    */
    --footer-bg: #efefef;
    --footer-text: #646ea7;
    --footer-shadow:0px 0px 5px 0px var(--main-color);
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    width: 100vw;
    height: 100vh;
}
.jm-main-wrapper{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
}
.jm-top-wrapper{
    width: 100%;
    height: 70px;
    position: absolute;
    top: 0px;
    left: 0;
    z-index: 999;
    background: var(--top-bar-bg);
    box-shadow: var(--top-bar-shadow);
}
.jm-mid-wrapper{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: calc( 100% - 100px);
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 0;
}
.jm-side-bar-wrapper{
    display: flex;
    width: 300px;
    height: 100%;
    background: var(--top-bar-bg);
    box-shadow: var(--top-bar-shadow);
}
.jm-content-wrapper{
    position: relative;
    width: calc( 100% - 300px );
    height: 100%;
}

.jm-loading-bar{
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    top:0;
    z-index: 999;
    align-items: center;
    justify-content: center;
    color: white;
}
.jm-conttent-loader{
    width: 100%;
    height: 100%;
    border: none;
}
.jm-footer-wrapper{
    width: 100%;
    height: 30px;
    display: flex;
    align-content: center;
    justify-content: center;
    color: var(--footer-text);
    background: var(--footer-bg);
    box-shadow: var(--footer-shadow);
    position: absolute;
    left: 0px;
    bottom: 0;
    z-index: 999;
}
@media screen and (max-width: 768px) {
    .jm-top-wrapper {
        height: 50px;
    }

    .jm-mid-wrapper {
        height: calc(100% - 65px);
        top: 50px;
        left: 0;
        z-index: 0;
    }

    .jm-side-bar-wrapper {
        width: 150px;
        background: red;
    }

    .jm-content-wrapper {

        width: calc(100% - 150px);
        height: 100%;
    }


    .jm-footer-wrapper {
        height: 15px;
        font-size: 12px;
        padding: 5px;
    }
}