﻿.sidebar {
    top: 0;
    left: 0;
    height: 89vh;
    border-right: 0.001rem solid gray;
    background-color: #485461;
    background-image: linear-gradient(315deg, #485461 0%, #28313b 74%);
    z-index: 999;
    position: relative;
}


.sidebar>li {
    padding-top: 15px;
    padding-bottom: 15px;
    border-right: none;
    border-left: none;
    color: rgb(245, 245, 245, 0.8);
    padding-left: 15px;
}

.sidebar li:hover {
    background-color: #485461;
    cursor: pointer;
}


.nav .sidebar__active {
    background-color: black;
    color: white;
}

.sidebar>li>i {
    padding-right: 10px;
}

.log__name {
    margin-left: -5px;
}



.list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.list-group-item:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.logo {
    width: 170px;
}

/* sidebar style */

.sidebar-left {
    background-color: rgb(95, 158, 160, 0.2);
    padding: 0 !important;
    display: block;
}

.sidebar-left .item__list {
    height: 67vh;
}

.sidebar-left .navbar {
    padding: 6px 12px;
    background: rgb(95, 158, 160, 0.2);
}

.sidebar-left .sidebar-top-filter {
    padding: 5px 12px 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.sidebar-left .sidebar-daterange-filter {
    padding: 6px 12px;
}

.sidebar-left .sidebar-daterange-filter .input-group {
    width: 99%;
}

.sidebar-left .user-profile .dropdown .dropdown-toggle {
    border: 0;
    background: none;
    color: black;
    padding: 0;
    outline: none;
}

.sidebar-left .user-profile .dropdown .dropdown-toggle:focus {
    outline: none;
}

.sidebar-left .user-profile .dropdown .dropdown-toggle::after {
    position: absolute;
    top: 14%;
    right: -8px;
    width: 1rem;
    text-align: center;
    float: right;
    vertical-align: 0;
    border: 0;
    font-weight: 900;
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
}

.sidebar-left .user-profile .show.dropdown .dropdown-toggle::after {
    transform: rotate(90deg);
}

.sidebar-left .user-profile .dropdown .spn__userimage {
    display: block;
}

.sidebar-left .user-profile .dropdown .loginuser-name {
    display: block;
    font-size: 12px;
    font-weight: 400;
}

.sidebar-left .pagination__wrapper {
    position: fixed;
    bottom: 0;
    background: #fff;
    padding: 12px 12px !important;
    width: 25%;
    border: 0;
}

.sidebar-left .search-box {
    display: none;
    position: relative;
}

.sidebar-left .search-box.active {
    display: block;
    width: 100%;
}

.sidebar-left .search-box .search-input {
    position: absolute;
    width: 100%;
    border-radius: 30px;
    padding: 5px 15px;
    z-index: 100;
    top: 0;
    border: 1px solid gray;
    outline: none;
}

.sidebar-left.active {
    display: none !important;
}

/* scroll bar style */
div::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #F5F5F5;
}

div::-webkit-scrollbar {
    width: 5px;
    background-color: #F5F5F5;
}

div::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: gray;
}

@media only screen and (max-width: 767px) {
    .sidebar-left {
        display: none;
    }
    .sidebar-left.active {
        display: block;
    }
}