:root {
    --primary-bg-color: #1B86C8;
    --white-color: #FFFFFF;
    --label-color: #414042;
    --anker-color: #1B86C8;
    --side-bar-bg: #166DA3;
    --side-bar-width: 250px;
    --side-bar-link-active-bg: #F6FBFF;
    --green: #1C5D2F;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: var(--side-bar-width);
    background: var(--side-bar-bg);
    color: #fff;
    transition: all 0.6s;
    flex-shrink: 0;
    position: fixed;
    overflow-y: auto;
    height: 100vh;
}


#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: var(--side-bar-bg);
}

#sidebar ul.components {
    padding: 20px 10px;
}

#sidebar ul li a {
    padding: 10px 15px;
    font-size: 1.1em;
    display: block;
    text-decoration: none;
    border-radius: 10px;
    color: var(--white-color);
    text-transform: capitalize;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: var(--label-color) !important;
    background: var(--side-bar-link-active-bg);
    border-radius: 10px;
    border-bottom: 3px solid var(--green);
}

.drop_down_title {
    color: var(--label-color);
    font-size: 22px !important;
    font-style: normal;
    font-weight: 500 !important;
    line-height: normal
}

.sub_menu {
    margin-top: -10px;
    color: var(--label-color) !important;
    background: var(--side-bar-link-active-bg);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding-top: 15px;
}

.sub_menu li a {
    color: var(--label-color) !important;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
}

a[data-toggle="collapse"] {
    position: relative;
}

.nav-links {
    margin-bottom: 10px;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.font_size_15 {
    font-size: 15px;
    margin-top: 6px;
}

#sidebar::-webkit-scrollbar-track {
    border: 1px solid var(--side-bar-bg);
    padding: 2px 0;
    background-color: var(--side-bar-bg);
  }
  
  #sidebar::-webkit-scrollbar {
    width: 10px;
  }
  
  #sidebar::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #96c4ea;
    border: 1px solid #1B86C8;
  }

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#header{
    position: fixed;
    width: calc(100% - var(--side-bar-width));
    transition: all 0.6s;
    z-index: 100;  
}
#header.active {
    width: 100% !important;
}

#page_content {
    width: calc(100% - var(--side-bar-width));
    margin-left: var(--side-bar-width);
    min-height: 100vh;
    transition: all 0.6s;
    margin-bottom: 50px;
}

#sidebar.active~#page_content {
    margin-left: 0;
    width: 100%;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media only screen and (max-width: 1025px) {
    .offcanvas{
        background: var(--side-bar-bg) !important;
        width: 70% !important;
        overflow-y: auto;
    }
    

    #sidebar-sm {
        width: 100%;
        background: var(--side-bar-bg);
        color: #fff;
        overflow-y: auto;

    }

    #sidebar-sm ul li.active>a,
    a[aria-expanded="true"] {
        color: var(--label-color) !important;
        background: var(--side-bar-link-active-bg);
        border-radius: 10px;
        border-bottom: 3px solid var(--green);
    }

    #sidebar-sm .sidebar-header {
        padding: 20px;
        background: var(--side-bar-bg);
    }

    #sidebar-sm ul.components {
        padding: 20px 10px;
    }

    #sidebar-sm ul li a {
        padding: 10px 15px;
        font-size: 1.1em;
        display: block;
        text-decoration: none;
        border-radius: 10px;
        color: var(--white-color);
        text-transform: capitalize;
    }


    a[data-toggle="collapse"] {
        position: relative;
    }

    #sidebar-sm .sub_menu {
        margin-top: -10px;
        color: var(--label-color) !important;
        background: var(--side-bar-link-active-bg);
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        padding-top: 15px;
    }

    #sidebar-sm {
        width: 100%;
        background: var(--side-bar-bg);
        color: #fff;
        transition: all 0.6s;
        flex-shrink: 0;
    }
    
    .drop_down_title_sm {
        color: var(--label-color);
        font-size: 22px !important;
        font-style: normal;
        font-weight: 500 !important;
        line-height: normal
    }

}
