@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

h1 {
    font-weight: 600;
    font-size: 1.5rem;
}

body {
    font-family: 'Poppins', sans-serif;
}
/* super main div */
#wrapper{
    display: flex;
    height: 100vh;
    overflow-y: scroll;
    height: 100%;
}
/* main div */
.main{
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all .35 ease-in-out;
    background-color: #fafbfe;
}
#sidebar{
    width: 70px;
    min-width: 70px;
    z-index: 100;
    transition: all .25s ease-in-out;
    display: flex;
    flex-direction:column ;
    background-color: #0e223e;
}
#sidebar.expand{
    width: 260px;
    min-width: 260px;
}
#toggle-btn{
    background-color: transparent;
    cursor: pointer;
    border: 0;
    padding: 1rem 1.5rem;
}
#toggle-btn i{
    font-size: 1.5rem;
    color: #fff;
    flex-wrap: wrap;
}
.sidebar-logo{
    margin: auto 0;
    
}
.sidebar-logo a{
    color: #fff;
    font-size: 1.15rem;
    font-weight:600;
}
#sidebar:not(.expand).sidebar-logo a,
#sidebar:not(.expand) a.sidebar-link span{
    display: none;
}
.sidebar-nav{
    padding: 2rem 0;
    flex: 1 1 auto;
}
a.sidebar-link{
    padding: .625rem 1.625rem;
    color: #fff;
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    border-left: 3px solid transparent;
}
.sidebar-link i{
    font-size: 1.1rem;
    margin-right: 0.75rem;
}
a.sidebar-link:hover{
    background-color: #ffffff13;
    border-left: 3px solid #3b7ddd;
}
.sidebar-item{
    position: relative;
}
.sidebar-dropdown{
    background-color: #cecece13;
    padding-left:30px;
}
#sidebar:not(.expand) .sidebar-item .sidebar-dropdown{
    position: absolute;
    top: 0;
    left: 70px;
    background-color: #0e2238;
    padding: 0;
    min-width: 15rem;
    display: none; 
}
#sidebar:not(.expand) .sidebar-item:hover .has-dropdown+.sidebar-dropdown{
    display: block !important;
    max-height: 15em;
    width: 100%;
    opacity: 1;
    z-index: 900;
}
#sidebar:not(.expand) .sidebar-logo{
    display: none !important;
}
#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

/* login page */

.login-main{
    height: 100vh !important;
    background-image: url('../images/back.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* login page */
#erorr{
    display: none;
}
.card-login{
    border: 2px solid #fff;
    border-radius: 16px;
    background-color: #ffffff86;
}

.icons{
    width: 210px;
    height: 140px;
}
.icons-py{
    height: 140px;
    width:340px;
}
/* nav bar */

/* edit tabel */
.table{
    overflow-x: scroll !important;
}