﻿.sidebar {
    background-color: #002b4d;
    width: 250px;
    transition: all 0.3s ease;
    overflow-x: hidden;
    color: white;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.sidebar.displayed {
    background-color: #002b4d;
    width: 250px;
    transition: all 0.3s ease;
    overflow-x: hidden;
    color: white;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

    .sidebar.collapsed {
        width: 75px !important;
        padding: 0;
        overflow: hidden;
    }

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.icontext {
    display: inline
}

.sidebarbtn {
    display: inline
}

@media (max-width:640.97px) {
    .icontext {
        display: none !important
    }

    .sidebarbtn {
        display: none !important
    }

  
        .sidebar {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            width: 100% !important;
            min-height: 80px !important;
            height: 80px;
            padding: 0 1rem;
        }
    .sidebar.displayed {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100% !important;
        min-height: 80vh !important;
        padding: 0 1rem;
    }

        .navbar-toggler-label {
            display: block;
        }

        .nav-scrollable {
            position: absolute;
            top: 60px;
            left: 0;
            right: 0;
            background-color: #002b4d;
            z-index: 1001;
        }

            .nav-scrollable a {
                padding: 1rem;
                display: block;
                text-align: center;
                color: white;
                text-decoration: none;
            }
    
}

@media (min-width: 641px) and (max-width:991.98px) {
    .sidebar {
        width: 75px !important;
        padding: 0 !important;
        overflow: hidden !important;
        display: inline !important;
    }

        .sidebar.collapsed {
            width: 75px !important;
            padding: 0 !important;
            overflow: hidden !important;
            display: inline !important;
        }
        .sidebar.displayed {
            width: 75px !important;
            padding: 0 !important;
            overflow: hidden !important;
            display: inline !important;
        }

    .icontext {
        display: none !important
    }
}
/*
@media (min-width: 992px) {
    .sidebar {
        width: 75px;
        padding: 0;
        overflow: hidden;
    }

        .sidebar.collapsed {
            width: 75px;
            padding: 0;
            overflow: hidden;
        }
}*/
