﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@200&display=swap');

:root{
    --width: 200px;
    --padding: 10px;
    --bgcolor: #F8F9FD;
    --hovercolor: rgb(23,23,23);
    --width-collapsed: 60px;
}


.body-collapsed {
    margin-left: var(--width-collapsed);
}

.body-expanded{
    margin-left: var(--width); 
}



#sidemenu{
    background-color: var(--bgcolor);
    position: fixed;
    height: 100%;
    left: 0;
}


  /* ITEMS */

  #sidemenu #menu-items{
    overflow-y: auto;
    overflow-x: hidden;
    margin-top:25px;
    height: 80%;
  }

    #sidemenu #menu-items::-webkit-scrollbar {
        width: 5px;
    }

    #sidemenu #menu-items::-webkit-scrollbar-thumb {
        background: #56687E;
        border-radius: 50px;
    }

  #sidemenu #menu-items .item{
    width: var(--width);
   
  }

  #sidemenu #menu-items .item .side-li-icon,
  #sidemenu #menu-items .item .side-li-title{    
    vertical-align: middle;
    overflow: hidden;
    display: inline-block;
    text-align:center;

    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    
  }

   #sidemenu #menu-items .item .side-li-title{    
     width: 130px;
     margin-left: -5px;
     text-align:left;
  }


  .item a{
    position:relative;
    display: block;
    color:#56687E;
  }

  .item a:hover{
    background-color: #BFBCBC;
    color: #2A74F3;
  }

  

  #sidemenu #menu-items .item .side-li-icon{
      box-sizing: border-box;
      padding: 10px;
      width: var(--width-collapsed);
  }

  #sidemenu #menu-items .item .icon img{
    width: 20px;
}

#sidemenu #menu-items .item .side-li-title{
    padding: var(--padding) 0;
}



.menu-expanded{
    width: var(--width);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.menu-expanded-logo {
    width: var(--width);
    padding: 0 15px 0 10px;
}


.menu-expanded-logo .Side-logo1 {
    content: url('Images/redesing/LogoSideNavbar2.png');
}

.Side-logo1 {
    display: block;
    padding: 10px;
    margin: auto;
    text-indent: -9999px; /* hides the link text */
    cursor:pointer;
}



.menu-collapsed {
    width: var(--width-collapsed);
}

.menu-collapsed-logo {
    width: var(--width-collapsed);
}

.menu-collapsed-logo .Side-logo1{
    content: url('Images/redesing/LogoSideNavbar.png');
}

.menu-collapsed .sidenavbar-footer{
    display:none;
}


.side-text-footer,
.side-text-footer a {
    font-family: Mulish;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 0.3px;
    color: #56687E;
    padding: 0 10px;
}


.item .ul-submenu {
    list-style: none;
    padding-left: 10px;
    text-align: left;
    background-color: #EAEBEE;
}

.item .ul-submenu li:first-child {
   border-bottom: 2px solid #BFBCBC;
}

.item .ul-submenu li a{
  font-size: 14px;
  font-family: Mulish;
  padding: 10px;
  display: block;
  color:#56687E;
}

.item .ul-submenu li a:hover {
    background-color: #D4D6D8;
    color: #2A74F3;
    cursor:pointer;
}

.close-ul-submenu{
    display:none;
}

.show-ul-submenu {
    display: block;
}

.active-ul-submen {
    background-color: #BFBCBC;
}

.item .btn-dropdown span {
    position: absolute;
    right: 10px;
    top: 50%;
    font-size: 20px;
    transform: translateY(-50%);
    transition: transform 0.4s;
}

.item .btn-dropdown:hover span {
    transform: translateY(-50%) rotate(-180deg);
}

.title-back{
    margin-top: 30px;
    margin-left: 20px;
}


@media (max-width: 600px){
    :root {
        --width: 120px;
        --width-collapsed: 40px;
    }

    #sidemenu #menu-items .item .side-li-icon,
    #sidemenu #menu-items .item .side-li-title {
        font-size: 12px;
        line-height: 18px;
    }

    #sidemenu #menu-items .item .side-li-title {
        width: 80px;
    }

    .item .ul-submenu li a {
        font-size: 12px;       
    }
}

