


.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4rem;
  /* padding: 2rem 1rem; */
  /* background-color: #001D3D; */ /*clark color*/
  background-color: #090b37;
  /* background-color: #872022 !important; */

  z-index: 1050;
  transition: width 0.5s ease-in-out; 
  /* align-items: center; */
  justify-content: center;

}

.sidebar:hover {
  width: 16rem;
  transition: width 0.5s ease-in-out;
}


.content {
  /* margin-left: 7rem; */
  margin-left: 4rem;
  /* margin-right: 1rem; */
  /* padding: 1rem 1rem; */
  transition: margin-left 0.5s ease-in-out;
}

/* .sidebar:hover ~ .content {
  margin-left: 16rem;
  transition: margin-left 0.9s ease-in-out;

} */

.sidebar .nav-link {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  transition: width 0.5s ease-in-out;
}  

.sidebar .nav-link i {
  width: 1rem;
  /* transition: width 0.5s ease-in-out; */

}

.sidebar .nav-link span {
  /* visibility: hidden; */
  opacity: 0;
  width: 0%;
  /* transition: opacity 0.5s ease-in-out; */
  display:none;
  transition: all 0.2s ease-in-out;

}


.sidebar:hover .nav-link span {
  width: 100%;
  opacity: 1;
  display:inline-block;
  transition: all 0.5s ease-in-out;
}


/* .finance_link_div:has(.finance_collapse:visited) .finance_link{
  background-color: #e3a725;
} */

.finance_collapse {
  margin-left: 1rem;
  margin-top: 0;
  height:0px;
  display:none;
  /* width: 0%; */
  transition: height 0.2s ease-in-out;

}

.finance_collapse:hover,
.finance_link:hover ~  .finance_collapse {
  display: block;
  height: auto;
  transition: height 0.2s ease-in-out;
}
/* .finance_collapse:hover,
.finance_link:hover ~  .finance_collapse {
  display: block;
  height: auto;
  transition: height 0.2s ease-in-out;
} */

.logout_button {
  position: absolute;
  bottom: 10px;
  margin-left: 1rem;
  background-color: transparent !important;
  /* display:none; */
}

/* .sidebar:hover .logout_button {
 display:block;
} */


.show_on_sidebar_hover {
  display:none;
}
.sidebar:hover .show_on_sidebar_hover {
 display:block;
}



.sidebar-header {
  display: flex;
  justify-content: left;
  padding-left: 3rem;
  align-items: center;
  overflow: hidden;
  /* white-space: nowrap; */
  /* background-color: #001D3D !important; */
  background-color: #001D3D;
  /* color-scheme:light !important; */
}

.sidebar:hover .sidebar-header h2 {
  opacity: 1;
  transition: opacity 0.1s ease-in-out;
}

.sidebar-header h2 {
  opacity: 0;
  margin-left: 1rem;
  margin-bottom: 0;
  transition: opacity 0.3s ease-in-out;
}


.sidebar-header Img {
  opacity: 0;
  margin-top: 1rem;
  margin-left: 1rem;
  margin-bottom: 0;
  transition: opacity 0.7s ease-in-out;
  /* filter: opacity(0.5) drop-shadow(0 0 0 white); */
  /* filter: invert(1) drop-shadow(0 0 0 white); */
  /* filter: invert(100%) sepia(0%) saturate(7485%) hue-rotate(257deg) brightness(115%); */
}

/* Pin button ?? */
.sidebar-header .m_8d3f4000 {
  opacity: 0;
  margin-top: 1rem;
  margin-left: 1rem;
  margin-bottom: 0;
  transition: opacity 0.3s ease-in-out;
}

.sidebar:hover .sidebar-header Img {
  opacity: 1;
  transition: opacity 0.9s ease-in-out;
}
.sidebar:hover .sidebar-header .m_8d3f4000 {
  opacity: 1;
  transition: opacity 1.2s ease-in-out;
}

.sidebar-fixed .sidebar-header .m_8d3f4000 {
  opacity: 1;
}

/* Chevrons */
.sidebar .m_3f35ae96 {
  display: none;
}
.sidebar:hover .m_3f35ae96 {
  display: block;
}

/* Text AccordionControl */
.sidebar .m_df3ffa0f {
  color: transparent;
  width:0%;
  transition: color 1.2s ease-in-out;
}
.sidebar:hover .m_df3ffa0f {
  color: inherit;
  width: inherit;
  transition: color 1.2s ease-in-out;
}


/* 
FIXED SIDEBAR
*/

.sidebar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 16rem;
  background-color: #001D3D;
  z-index: 1050;
  transition: width 0.3s ease-in-out;
  display:block;
}
.sidebar-fixed .sidebar-header Img {
  opacity: 1;
}
/* .sidebar-fixed .sidebar-header h2 {
  opacity: 1;
  transition: opacity 0.1s ease-in-out;
} */
.sidebar-fixed ~ .content {
  margin-left: 16rem;
  transition: margin-left 0.9s ease-in-out;
}

/* .sidebar .nav-link {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  transition: width 0.5s ease-in-out;
}   */

/* .sidebar-fixed .nav-link i {
  width: 1rem;
} */

/* .sidebar-fixed .nav-link span {
  opacity: 0;
  width: 0%;
  display:none;
  transition: all 0.2s ease-in-out;

} */

.sidebar-fixed .nav-link span {
  width: 100%;
  opacity: 1;
  display:inline-block;
  transition: all 0.5s ease-in-out;
}

/* Pill when navllink active */
.m_f0824112:where([data-active], [aria-current='page']) {
  border-radius: 10%;
  background-color: #1090cd;
  color:'white' !important;
}
.m_f0824112 {
  --nl-color:white;
}
.sidebar .m_4ba554d4 {
  padding-right: 0%;
}
.sidebar:hover .m_4ba554d4 {
  padding-right: var(--mantine-spacing-md);
}
/*  */


/* .m_fe19b709 {
  border-bottom: none;
} */
.m_87cf2631:hover {
  background-color: #022a54;
}


/* .sidebar .m_df78851f {
  word-break: normal;
  overflow:hidden;
  text-overflow: clip;
} */
.sidebar .home-nav .m_1f6ac4c4 {
  color: transparent;
}
.sidebar:hover .home-nav .m_1f6ac4c4 {
  /* color: inherit; */
  color: #c4c5c6;
  font-size: var(--mantine-font-size-md);
}
.sidebar-fixed .home-nav .m_1f6ac4c4 {
  /* color: inherit; */
  color: #c4c5c6;
  font-size: var(--mantine-font-size-md);
}
.sidebar-fixed .home-nav .m_1f6ac4c4:where([data-active], [aria-current='page']) {
  color: #74c0fc !important;
  font-size: var(--mantine-font-size-md);
}


/* .sidebar .m_f0824112 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline-end: var(--mantine-spacing-sm);
} */
/* .sidebar .m_8d3f4000 {
  display:none;
  transition: all 0.5s ease-in-out;

}
.sidebar:hover .m_8d3f4000 {
  display:block;
  transition: all 0.5s ease-in-out;
} */


/* .sidebar .m_f0824112 {
  padding-top:0;
  padding-bottom:0;
  overflow: hidden !important;
  text-overflow:clip !important;
}
.sidebar-fixed .m_f0824112 {
  padding-top:0;
  padding-bottom:0;
  overflow: hidden !important;
  text-overflow:clip !important;
} */

/* .sidebar .m_4ba554d4{
  padding-top: 0;
}

.sidebar-fixed .m_4ba554d4{
  padding-top: 0;
} */

.home-nav {
  padding:0;
}
.home-nav {
  padding:0;
}
/* .m_f07af9 {
  overflow: hidden !important;
  text-overflow:clip !important;
}
.m_df78851f {
  overflow: hidden !important;
  text-overflow:clip !important;
}
.m_1f6ac4c4 {
  overflow: hidden !important;
  text-overflow:clip !important;
} */

.sidebar .m_4ba585b8 {
  padding-inline: 3px;
}
.sidebar-fixed .m_4ba585b8 {
  padding-inline: 3px;
}