﻿
.nav-container {
    position: fixed;
    z-index: 3;
    top: 60px;
    width: 250px;
    height: calc(100% - 86px);
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
    transition: transform .3s ease;
    background-color: #015991;
    color: #ecf0f1;
    transform: translate3d(-100%, 0, 0);
}

    .nav-container.on-show-side-bar {
        transform: translate3d(0, 0, 0);
    }

    .nav-container ul {
        list-style: none;
        margin: 0;
        padding: 0;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
    }
        /******************* Scrollbar Style**************/
        .nav-container ul::-webkit-scrollbar-track {
            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
            background-color: #F5F5F5;
        }

        .nav-container ul::-webkit-scrollbar {
            width: 8px;
            background-color: transparent;
        }

        .nav-container ul::-webkit-scrollbar-thumb {
            background-color: #5D6D7E;
            border-radius: 0px;
        }
        /******************* End Scrollbar Style**************/
        .nav-container ul li {
            display: block
        }

            .nav-container ul li a {
                position: relative;
                display: block;
                box-sizing: border-box;
                cursor: pointer;
                padding: 7px 15px 0px 7px;
                font-size: 14px;
                color: #fff;
                z-index: 1;
                background: rgba(0, 0, 0, 0);
                border-bottom: 1px solid #2c5d8f;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                height: 35px;
            }

                .nav-container ul li a:hover {
                    background: #31679e;
                }

    .nav-container a i {
        border: solid #fff;
        border-width: 0 3px 3px 0;
        padding: 3px;
        margin-top: 3px;
        float: right;
    }

        .nav-container a i.right {
            transform: rotate(-45deg);
            -webkit-transform: rotate(-45deg);
        }

        .nav-container a i.left {
            transform: rotate(135deg);
            -webkit-transform: rotate(135deg);
            margin-right: -5px;
        }

    .nav-container ul .nav-parent {
        position: static;
    }

    .nav-container .nav-wrapper {
        position: absolute;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        box-sizing: border-box;
        background: #015591;
        left: 0;
        top: 33px;
        transition: visibility 0s ease .3s, transform .3s ease;
        z-index: 997;
    }

    .nav-container h2 {
        font-size: 19px;
        font-weight: bold;
        text-align: left;
        padding: 15px 17px;
        color: #1b3958;
        margin: 0;
        background: #d1d8e0;
    }

    .nav-container .nv-item-open > .nav-wrapper-1,
    .nav-container .nv-item-open > .nav-wrapper-2 {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        transition: transform .3s ease;
    }

.nav-wrapper-1 {
    transition: 0.3s;
    transform: translate3d(-100%, 0, 0);
    visibility: hidden;
    position: absolute;
    top: 0 !important;
}

.nav-wrapper-2 {
    transition: 0.3s;
    transform: translate3d(-100%, 0, 0);
    visibility: hidden;
    position: absolute;
    top: 0 !important;
}

/* Search Box */

.nav-container .search-box {
    width: 200px;
    position: relative;
    display:inline-block;
}

.searchTerm {
    float: left;
    width: 100%;
    border:none;
    border-left: 2px solid #015591;
    padding: 5px;
    height: 23px;
    outline: none;
    color: #a5b1c2;
    box-sizing: content-box;
}

    .searchTerm:focus {
        outline: none;
    }

.search-button {
    position: absolute;
    right: -50px;
    width: 40px;
    height: 36px;
    border: 0px solid #a5b1c2;
    background: #015591;
    text-align: center;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    outline: none;
}

/*Resize the wrap to see the search bar change!*/

/* End Search Box */

.nav-wrapper.nav-wrapper-search {
    background: white;
    transform: translate3d(-100%, 0, 0);
    transition: .3s ease;
    border: 3px solid #a5b1c2;
    border-top: none;
}

.nav-wrapper.nav-wrapper-search-show {
    transform: translate3d(0, 0, 0);
}

.nav-wrapper.nav-wrapper-search ul li a {
    position: relative;
    display: block;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 15px;
    color: black;
    z-index: 1;
    border: none;
}

    .nav-wrapper.nav-wrapper-search ul li a:hover {
        background: #d1d8e0
    }
