/* --- Navigation Base Styles 
nav {
  width: 250px;
  background: #663399;
  color: white;
  padding: 20px;
  transition: transform 0.3s ease;
  height: 100%;
  flex-shrink: 0;
}

nav ul {
  list-style: none;
  margin-top: 20px;
}

nav li {
  padding: 10px 0;
  border-bottom: 1px solid #34495e;
  cursor: pointer;
}*/

nav.side_nav {
  width: 250px;
  background-color: var(--nav_bkgr);
  transition: transform 0.3s ease, margin-left 0.3s ease;
}

/* nav details-summary */
.side_nav details>summary {
  display: flex;
  background-color: var(--nav_bkgr);
  cursor: pointer;
  list-style: none;
  outline: none;
}

/* nav details hover nav line */
.side_nav li:hover {
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--nav_txt_open);
  border: 1px solid white;
}

/* nav summary hover nav line */
.side_nav summary:hover {
  border: 1px solid var(--nav_hover);
}

/* nav line */
.side_nav li {
  display: flex;
  justify-content: flex-start;
  text-decoration: none;
  height: 45px;
  cursor: pointer;
  padding-left: 45px;
  background-color: var(--nav_bkgr_open);
  color: var(--nav_txt_open);
  font-weight: 400;
  line-height: 45px;

}

.side_nav .dropdown {
  background-color: var(--bkgr);
  position: relative;
  display: inline-block;
}

/* header of nav */
.side_nav .nav_hdr {
  display: block;
  height: 56px;
  width: 100%;
  font-size: 1.5rem;
  font-weight: 600;
  padding-left: 20px;
  line-height: 56px;
  background-color: var(--nav_bkgr);
  color: var(--nav_hdr_txt);
  border-bottom: 1px solid var(--nav_line);
  position: relative;
}

/* chevron icon for details */
.side_nav .chevron {
  border: solid var(--bkgr);
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 4px;
  transform: rotate(-45deg);
  transition: transform 0.4s ease;
  flex-shrink: 0;
  margin-right: 5px;
}

/* rotate chevron when details is open */
.side_nav details[open] .chevron {
  transform: rotate(45deg);
}

/* summary text */
.side_nav summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding-right: 12px;
  height: 45px;
  width: 100%;
}

/* summary text - ellipsis */
.side_nav .summary-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  color: var(--nav_txt);
  text-overflow: ellipsis;
}

/* selected nav line */
.side_nav li.selected {
  background-color: var(--nav_bkgr_sel);
  color: var(--nav_sel_txt);
  font-weight: 600;
}

.sidenav_icn {
  display: block;
  position: relative;
  text-decoration: none;
  width: 32px;
  height: 32px;
  margin-left: 4px;
  margin-right: 4px;
  padding: 2px;
  border-radius: 25%;
  fill: none;
  stroke: var(--nav_icn_stroke);
  stroke-width: 1.5px;
}