﻿.grid-container {
    display: grid;
    /*grid-template-columns: 240px 1fr;*/
    grid-template-columns: 260px 1fr;
    grid-template-rows: 45px 1fr 70px;
    grid-template-areas: "sidenav header" "sidenav main" "sidenav footer";
    height: 100%;
    min-height: 800px;
    overflow-x: hidden;
    overflow-y: hidden;
}

.header {
    grid-area: header;
    background-color: #DB291D;
    width: calc(100% - 290px);
    transform: translateX(0);
    transition: all .3s ease-in-out;
}

    .header.inactive {
        transform: translateX(-275px);
        width: calc(100%);
    }

.main {
    grid-area: main;
    background-color: white;
    width: calc(100% - 290px);
    transform: translateX(0);
    transition: all .3s ease-in-out;
}

    .main.inactive {
        transform: translateX(-260px);
        width: calc(100%);
    }

.footer {
    grid-area: footer;
    background-color: white;
    width: calc(100% - 290px);
    transform: translateX(0);
    transition: all .3s ease-in-out;
    padding-bottom: 20px;
}

    .footer.inactive {
        transform: translateX(-275px);
        width: calc(100%);
    }

.sidenav {
    grid-area: sidenav;
    display: flex;
    flex-direction: column;
    top: 0;
    bottom: 0;
    display: inline;
    min-height: 750px;
    height: 100%;
    width: 260px;
    position: fixed;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
    z-index: 200000;
    background-color: #EAECED;
    transform: translateX(0);
    transition: all .3s ease-in-out;
}

    .sidenav.inactive {
        transform: translateX(-260px);
    }

.subsidenav {
    grid-area: sidenav;
    overflow-x: auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    top: 0;
    bottom: 0;
    display: inline;
    min-height: 815px !important;
    top: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    width: 260px;
    position: fixed;
    overflow-y: auto;
    z-index: 3;
    background-color: #EAECED;
    transform: translateX(-260px);
}

    .subsidenav.active {
        transform: translateX(0);
    }

.sidenav__list {
    padding: 0;
    margin-top: 25px;
    list-style-type: none;
    background-color: #EAECED;
}

.sidenav__list-item-bottom {
    box-sizing: border-box;
    background-color: #EAECED;
    margin-left: 0;
    padding: 20px;
    color: #868d92;
    cursor: pointer;
}

.sub-sidenav__list-item-bottom {
    box-sizing: border-box;
    position: absolute;
    background-color: #EAECED;
    left: 75px;
    color: #868d92;
    cursor: pointer;
    bottom: 20px;
}

.sidenav__list-iteml {
    box-sizing: border-box;
    padding-top: 15px;
    padding-bottom: 0;
    background-color: #EAECED;
    border-bottom: 1px solid #868d92;
}

    .sidenav__list-iteml:hover {
        background-color: #D3D3D4;
    }

    .sidenav__list-iteml a {
        display: block;
    }

.sidenav__list-item {
    box-sizing: border-box;
    padding-top: 15px;
    padding-bottom: 0;
    background-color: #EAECED;
}

    .sidenav__list-item:hover {
        background-color: #D3D3D4;
    }

    .sidenav__list-item a {
        display: block;
    }

.sidenav__list-item_selected {
    box-sizing: border-box;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #D3D3D4;
}

.subsidenav__list {
    padding: 0;
    list-style-type: none;
    background-color: #005b94;
}

.subsidenav__list-item-top {
    border-top: 1px solid #005082;
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    background-color: #EAECED;
    margin-top: 10px;
    border-bottom: 1px solid #868d92;
}

    .subsidenav__list-item-top:hover {
        background-color: #D3D3D4;
    }

    .subsidenav__list-item-top a {
        display: block;
    }

.subsidenav__list-item-bottom {
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    background-color: #EAECED;
    margin-bottom: -10px;
}

    .subsidenav__list-item-bottom:hover {
        background-color: #D3D3D4;
    }

    .subsidenav__list-item-bottom a {
        display: block;
    }

.subsidenav__list-item {
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 60px;
    background-color: #EAECED;
    border-bottom: 1px solid #868d92;
}

    .subsidenav__list-item:hover {
        background-color: #D3D3D4;
    }

    .subsidenav__list-item a {
        display: block;
    }

.subsidenav__list-item_selected {
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 60px;
    background-color: #D3D3D4;
    border-bottom: 1px solid #868d92;
}

.subsidenav__list-item-top_selected {
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    background-color: #D3D3D4;
    margin-top: 10px;
    border-bottom: 1px solid #868d92;
}

.subsidenav__list-item-bottom_selected {
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    background-color: #D3D3D4;
    margin-bottom: -10px;
}

.subsidenav__list-item-title {
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 60px;
    background-color: #EAECED;
    border-bottom: 1px solid #868d92;
    pointer-events: none;
    cursor: default !important;
}

    .subsidenav__list-item-title:hover {
        pointer-events: none;
        cursor: default !important;
    }

.mp-back {
    background: rgba(0,0,0,0.1);
    background-color: #EAECED;
    outline: none;
    color: #868d92;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: block;
    font-size: 16px;
    padding: 1em;
    vertical-align: middle;
    position: relative;
    box-shadow: inset 0 1px rgba(0,0,0,0.1);
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    transition: background 0.3s;
    border-bottom: 1px solid #868d92;
}

    .mp-back::after {
        position: absolute;
        font-family: Arial, Helvetica, sans-serif;
        content: "\25BA";
        right: 10px;
        font-size: 20px;
        color: #868d92;
        margin-top: -2px;
    }

    .mp-back:hover {
        cursor: pointer;
        color: #868d92;
        background-color: #D3D3D4;
    }
/*********** Admin sub menu css ****************************/
.list-item-title {
    box-sizing: border-box;
    background-color: #EAECED;
}

    .list-item-title i {
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .list-item-title.showMenu i#arrow {
        transform: rotate(-180deg);
    }

    .list-item-title .sub-menu {
        display: none;
    }

    .list-item-title.showMenu .sub-menu {
        display: block;
    }

.list-item-subtitle {
    box-sizing: border-box;
    background-color: #EAECED;
}

    .list-item-subtitle i {
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .list-item-subtitle.showSubMenu i#sub-arrow {
        transform: rotate(-180deg);
    }

    .list-item-subtitle .sub-sub-menu {
        display: none;
    }

    .list-item-subtitle.showSubMenu .sub-sub-menu {
        display: block;
    }


.icon-link {
    display: flex;
    justify-content: space-between;
    padding: 15px 15px 15px 15px;
    border-bottom: 1px solid #868d92;
    cursor: pointer;
}

    .icon-link i {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .icon-link a {
        flex: 10;
        display: flex;
        justify-content: left;
        align-items: center;
    }

    .icon-link:hover {
        background-color: #D3D3D4;
    }
/***********************************************************/
.scroller {
    overflow-y: scroll;
}

.sidenavinner {
    /*  position: relative;*/
    /* min-height: 790px;*/
    overflow-y: auto;
}

.footer-right {
    float: right;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px lightgray;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #EAECED;
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #EAECED;
    }

@media (max-width: 391px) {
    .grid-container {
        grid-template-rows: 45px 1fr 120px;
    }

    .footer-right {
        float: none;
    }
}

@media (min-width: 392px) and (max-width: 750px) {
    .grid-container {
        grid-template-rows: 45px 1fr 100px;
    }

    .footer-right {
        float: none;
    }
}

.tooltip > .tooltip-arrow {
    background-color: #4C98D2 !important;
}

.tooltip1 > .tooltip-arrow {
    background-color: #4C98D2 !important;
}

.bs-tooltip-auto[x-placement^=right] .arrow::before, .bs-tooltip-right .arrow::before {
    border-right-color: #4C98D2;
}

.bs-tooltip-auto[x-placement^=left] .arrow::before, .bs-tooltip-left .arrow::before {
    border-left-color: #4C98D2;
}

.bs-tooltip-auto[x-placement^=top] .arrow::before, .bs-tooltip-top .arrow::before {
    border-top-color: #4C98D2;
}

.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-bottom .arrow::before {
    border-bottom-color: #4C98D2;
}

.tooltip .tooltip-inner {
    background-color: #4C98D2;
    border-radius: 10px;
    color: white;
    opacity: 1.0;
    min-width: 200px !important;
    padding: 10px 5px !important;
    margin: 0 0 0 0 !important;
}

.modal-body {
    color: gray;
    font-size: 14px;
}

.submenuitems {
    margin-left: 10px;
    font-size: 13px;
    cursor: pointer;
    color: #868d92 !important;
}

.submenuitemtitles {
    margin-left: 45px;
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    cursor: default !important;
    pointer-events: none;
    color: #868d92 !important;
}

.brssubtitle {
    font-size: 13px;
    font-weight: 400;
    cursor: default !important;
    pointer-events: none;
    color: #868d92 !important;
}

.brssubtitlenumbers {
    display: block;
    margin-left: 10px;
    font-size: 13px;
    cursor: pointer;
    color: #868d92 !important;
    text-decoration: none;
}