.sidenav {
  position: fixed;
  display: flex;
  z-index: 60;

  overflow: hidden;
  overflow-y: auto;

  top: 0;
  right: 0;
  bottom: 0;

  flex-direction: column;

  width: var(--sidenav-width);
  height: 100vh;

  padding: 20px 0;

  border-left: 1px solid rgba(var(--g-border-color), 1);

  background: rgba(var(--g-background), 1);
}

.sidenav-header {
  position: relative;
  display: flex;

  flex-direction: row;

  width: 100%;
  height: 70px;

  padding: 0 20px;
}

.sidenav-logo {
  position: relative;
  display: flex;

  flex-direction: row;

  align-items: center;
  justify-content: flex-start;

  width: 100%;
  height: 100%;

  padding: 5px 0;
}
.sidenav-logo img {
  position: relative;
  display: flex;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center center;
}

.sidenav-menu {
  position: relative;
  display: flex;

  flex-direction: column;

  width: 100%;
}

.sidenav-menu-section {
  position: relative;
  display: flex;

  flex-direction: column;

  margin-top: 25px;

  width: 100%;

  padding: 0 20px;
}

.sidenav-menu-section-header {
  position: relative;
  display: flex;

  flex-direction: row;

  align-items: center;
  justify-content: flex-start;

  width: 100%;
  height: 30px;

  font-weight: 600;
  font-size: 14px;

  color: rgba(var(--g-font-color), 1);
}

.sidenav-menu-items {
  position: relative;
  display: flex;

  flex-direction: column;

  width: 100%;
}

.sidenav-menu-item {
  position: relative;
  display: flex;

  flex-direction: row;

  align-items: center;
  justify-content: flex-start;

  margin-bottom: 2px;

  width: 100%;
  height: 45px;

  padding: 10px 20px;

  border-radius: 7px;

  font-weight: 500;
  font-size: 16px;

  color: rgba(var(--g-font-color), 1);

  transition: 0.2s ease-in;
}
.sidenav-menu-item i {
  margin-left: 15px;
}
.sidenav-menu-item:hover {
  background: rgba(95, 135, 255, 0.1);
  color: rgba(95, 135, 255, 1);
}
.sidenav-menu-item.active {
  background: rgba(95, 135, 255, 1);
  color: white;
}




/* Minimized Styling. */
.minimized-sidenav body {
  margin-right: calc(45px + (20px*2));
}

.minimized-sidenav .topbar {
  right: calc(45px + (20px*2));
  width: calc(100% - calc(45px + (20px*2)));
}
.minimized-sidenav .sidenav {
  width: calc(45px + (20px*2));
}
.minimized-sidenav .sidenav-menu-section-title {
  display: none;
}

.minimized-sidenav .sidenav .sidenav-menu-item {
  padding: 0;
}
.minimized-sidenav .sidenav .sidenav-menu-item-title {
  display: none;
}
.minimized-sidenav .sidenav .sidenav-menu-item i {
  margin: 0 auto;
}
