.user-logged-in header {
  padding-top: 80px;
  height: calc(4em + 60px);
}

header {
  display: flex;
  flex-wrap: wrap;
  /* font-size: 2em; */
  /* Below was taken from style css */
  /* height: var(--header-height); */
  color: white;
  z-index: 101;
  position: fixed;
  width: 100%;
  /* Rin */
  padding-top: 30px;
  height: calc(4em + 30px);
  font-size: 1em;
}

html[data-admin-toolbar="collapsed"] .user-logged-in header {
  width: calc(100% - var(--navigtaion-collapsed));
}

html[data-admin-toolbar="expanded"] .user-logged-in header {
  width: calc(100% - var(--navigtaion-expanded));
}

header .nav-wrapper {
  max-width: 1318px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  justify-content: space-between;

  border-radius: 3px;
  border: solid 1px var(--card);
  background-color: rgba(244, 244, 234, 0.81);
}

header nav,
header .branding {
  margin: auto 0;
}

header .branding {
  display: block;
  font-size: 1.5rem;
}

header .branding ul {
  margin: 0 0 0 0; /*TODO: Top needs to be set at 0 */
  list-style: none;
  padding: 0;
}

header .branding ul li {
  padding-top: 0.2em; /* added to even up core menu.css*/
}

header a {
  text-decoration-line: none;
  color: var(--brand-purple);
}

header a:hover {
  text-decoration-line: none;
  color: var(--brand-purple);
  cursor: pointer;
  border-bottom: none;
}
/* TODO: move this to a new file */
header nav {
  /* height: 6em; removed for mobile overflow scroll bar TODO: work out if needed */
  overflow-x: auto;
  overflow-y: hidden;

  /* margin: 0; */
  /* padding: 0 0; TODO: don't need to set to 0 */
}

header nav ul.menu {
  margin-left: revert;
  padding: revert;
}

@media only screen and (min-width: 768px) {
  header nav,
  header .branding {
    padding: 0;
  }
}
header nav ul {
  margin: 0;
  display: flex;
  list-style: none;
}
header nav ul li.menu-item { /* .menu-item is drupal menu.css */
  margin-right: 2em;
}

@media only screen and (min-width: 800px) {

  header .branding ul {
    margin: 0 2em 0 0;
    list-style: none;
  }

  header nav ul li.menu-item { /* .menu-item is drupal menu.css */
    /*  margin-right: 2.5em remove so 2em is keep maybe nice to fix this later based on number of icon in the menu and width of desktop */
  }
}
header nav ul li.menu-item:last-child { /* .menu-item is drupal menu.css */
  float: right; /* TODO: not working with flex items, for mobile not needed */
  padding: 0.2em 1em 0 0; /* add padding-right for mobile overflow scroll nav to move oof right edge */
}
header nav ul li.icon {
  /*flex-basis: 100px;*/
}
header nav ul li a {
  padding: 0 0 0 0;
}
header nav ul li a span {
  font-size: .35em;
  display: block;
  position: relative;
  top: -1em;
}


header li {
  position: relative;
}

