﻿.user-img {
    width: 44px;
    height: 44px;
    background-color: #f2f2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font: normal normal 600 1rem Lato;
}

    .user-img span {
        font: normal normal 600 15px Lato;
        color: #0b6ecc;
        opacity: 0.9;
    }

    .user-img:hover {
        cursor: pointer;
        background-color: lightsalmon;
        color: white !important;
    }

        .user-img:hover span {
            color: white !important;
        }

#username {
    font: normal normal bold 15px Lato;
    color: #333333;
    opacity: 0.9;
}

#prevNav {
    margin-top: 0.625rem;
    margin-left: 1.125rem;
}

    #prevNav .breadcrumb-item {
        font-size: 14px;
    }

        #prevNav .breadcrumb-item + .breadcrumb-item::before {
            color: #191919 !important;
            border-color: #191919 !important;
        }

main {
    background-color: #f0f0f0 !important;
    margin-left: 61px !important;
}

.sidebar-nav {
    width: var(--offcanvas-width) !important;
    border: none !important;
    background-color: #367CC0 !important;
    z-index: 1;
    padding: 0 0.5rem;
    width: max-content !important;
}

    .sidebar-nav:hover {
        border-radius: 0 10px 10px 0;
        box-shadow: 5px 3px 5px 0px rgba(9, 9, 9, 0.20);
        z-index: 1000;
        width: max-content !important;
    }

        .sidebar-nav:hover p {
            display: block;
            text-align: start;
        }

.new-nav {
    padding: 5px 3vw !important;
    box-shadow: 0px 3px 6px #00000029;
    z-index: 1000;
}

.offcanvas-body {
    padding: 0px;
}

.selector {
    position: relative;
}

    .selector :is(ul, li) {
        list-style: none;
    }

.option {
    width: 100%;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font: normal normal 500 0.875rem Lato;
    text-align: left;
    color: #454545;
}

    .option:hover {
        background: rgba(0, 0, 0, 0.04);
    }

    .option.active {
        background-color: #c7e8ff80;
        text-align: left;
        font: normal normal 500 0.875rem Lato;
        color: #006ecc;
    }

.hide {
    visibility: hidden;
}

.rotate {
    transform: rotate(180deg);
}

.nav-item {
    display: flex;
    /* flex-direction: column;*/
    align-items: center;
    justify-content: left;
    text-decoration: none;
    padding: 0.625rem 0.9375rem;
    margin-top: 0.5rem;
    gap: 1rem;
    width: 100%;
}

    .nav-item img {
        width: 1.5rem;
        height: 1.5rem;
        margin-bottom: 0.438rem;
    }

    .nav-item svg {
        width: 24px;
        height: 24px;
        /*margin-bottom: 0.438rem;*/
    }

    .nav-item p {
        text-align: center;
        color: #FFFFFF;
        font-family: Lato;
        font-size: 1rem;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: 0.16px;
        margin-bottom: 0;
        display: none;
        align-self:stretch;
    }

    .nav-item:hover {
        background-color: rgba(128, 193, 240, 0.3);
        border-radius: 5px;
    }

    .nav-item.active {
        background-color: rgba(128, 193, 240, 0.3);
        border-radius: 5px;
    }

/* footer */
.footer {
    position: fixed;
    bottom: 0%;
    background-color: #ebebeb;
    width: 100%;
    height: 1.6666666666666667vw;
    font-family: Lato;
    font-size: 0.875rem;
    letter-spacing: 0.21px;
    color: #454545;
    z-index: 9999;
}

.company-logo {
    width: auto;
    height: 4rem;
}

.top-mt {
    margin-top: 4.7rem;
}

.bg-info {
    background-color: transparent !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

@media (min-width: 1580px) {
    :root {
        --offcanvas-width: 7.75rem;
    }

    .dropdown-menu {
        transform: translate3d(3.8rem, 4.7rem, 0px) !important;
    }
}

/* too very important for sidebar and main tag */
@media (min-width: 992px) {
    .offcanvas-header {
        display: none;
        padding: 0 !important;
    }

        .offcanvas-header .btn-close {
            display: none;
        }

    .offcanvas-backdrop.show {
        opacity: 0;
        display: none !important;
    }

    .offcanvas-body {
        overflow: hidden !important;
    }

    .sidebar-nav {
        transform: none !important;
        visibility: visible !important;
    }

    main {
        margin-left: var(--offcanvas-width);
        background-color: #f0f0f0;
        overflow: auto;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .top-mt {
        margin-top: 4.5rem;
    }
}

@media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
    main {
        margin-left: 0;
    }
}

@media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */
    main {
        margin-left: 0;
    }
}

@media screen and (min-width: 992px) and (max-width: 1580px) {
    :root {
        font-size: 14px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991.99px) {
    :root {
        font-size: 14px;
    }
}
