/**
  Custom
 */
/**
 *  This file is generate automatically by NPM
 *  Don't edit this file
 */
/**
 *  This file is generate automatically by NPM
 *  Don't edit this file
 */
header.header.active nav.header-primary {
  display: block;
}
nav.header-primary {
  display: none;
  border-top: 1px solid var(--color-border);
  position: fixed;
  top: 5rem;
  bottom: 5rem;
  right: 0;
  left: 0;
  z-index: 9;
  background-color: var(--color-surface);
  width: 100%;
  overflow: auto;
}
nav.header-primary a.current-item, nav.header-primary a.current-item span, nav.header-primary a.current-item p, nav.header-primary a.current-item strong {
  color: var(--color-primary) !important;
}
nav.header-primary > ul {
  display: flex;
  flex-direction: column;
  width: 100%;
}
nav.header-primary > ul > li {
  padding: 0 1rem;
  border-bottom: 1px solid var(--color-border);
  margin: 0;
}
nav.header-primary > ul > li.current-menu-item > .link:before, nav.header-primary > ul > li.current-item > .link:before, nav.header-primary > ul > li:hover > .link:before, nav.header-primary > ul > li.active > .link:before {
  content: none;
}
nav.header-primary > ul > li .submenu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}
nav.header-primary > ul > li.active > .link {
  color: var(--color-primary);
}
nav.header-primary > ul > li.active > .link i {
  position: relative;
  color: var(--color-primary);
}
nav.header-primary > ul > li.active p {
  color: var(--color-primary);
}
nav.header-primary > ul > li.active .name {
  color: var(--color-primary);
}
nav.header-primary > ul > li.active .submenu {
  display: block;
  z-index: 9;
  background-color: var(--color-surface);
  overflow-y: auto;
  overflow-x: hidden;
  animation-duration: 0.3s;
  animation-name: fadeInDown;
  animation-fill-mode: both;
}
nav.header-primary > ul > li > .link {
  padding: 1.25rem 0;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-primary);
  height: 100%;
}
nav.header-primary > ul > li > .link p {
  margin: 0;
  font-weight: normal;
  font-size: 1rem;
  line-height: 1.25rem;
}
nav.header-primary > ul > li > .link p i {
  color: var(--color-primary);
  height: 1rem;
  overflow: hidden;
  transition: all 0.7s ease;
  font-weight: 600;
  position: absolute;
  transform: rotate(-90deg);
  top: 40%;
  right: 0;
}
nav.header-primary > ul > li > .link p.name {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5rem;
}
nav.header-primary .link-return {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex !important;
  justify-content: center;
  flex-direction: column;
  margin-left: -1rem;
  margin-right: -1rem;
  color: var(--color-surface) !important;
  width: calc(100% + 2rem);
  padding: 1.25rem 1.25rem 1.25rem 6.0625rem;
  cursor: pointer;
}
nav.header-primary .link-return:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  z-index: -1;
}
nav.header-primary .link-return:after {
  content: "\ea08";
  font-family: "cegid";
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5rem;
  border-right: 1px solid var(--color-surface);
}
nav.header-primary .link-return span {
  font-size: 1rem !important;
  font-weight: bold !important;
  line-height: 1.5rem !important;
}
nav.header-primary .link-return span:nth-child(2) {
  font-weight: normal !important;
}
@media screen and (min-width: 36rem) {
  nav.header-primary > ul {
    width: 31.75rem;
  }
}
@media screen and (min-width: 48rem) {
  nav.header-primary > ul {
    width: 43rem;
  }
}
@media screen and (min-width: 48rem) and (max-width: 79.8125rem) {
  nav.header-primary {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 5rem);
  }
}
@media screen and (min-width: 48rem) and (max-width: 79.8125rem) and (hover: hover) {
  nav.header-primary > ul > li > .link:hover, nav.header-primary > ul > li > .link:hover i, nav.header-primary > ul > li > .link:hover p {
    color: var(--color-primary);
  }
}
@media screen and (min-width: 62rem) {
  nav.header-primary > ul {
    width: 58rem;
  }
}
@media screen and (min-width: 75rem) {
  nav.header-primary > ul {
    width: 68rem;
  }
}
@media screen and (min-width: 79.8125rem) {
  nav.header-primary {
    border-top: none;
    width: auto;
    position: unset;
    left: unset;
    top: unset;
    bottom: unset;
    display: block;
    height: 5rem;
    overflow: visible;
  }
  nav.header-primary > ul > li.color-primary > .link, nav.header-primary > ul > li.color-primary > .link * {
    color: var(--color-primary) !important;
  }
  nav.header-primary > ul > li.color-primary > .link:hover, nav.header-primary > ul > li.color-primary > .link *:hover {
    color: var(--color-primary) !important;
  }
  nav.header-primary > ul > li.color-accent > .link, nav.header-primary > ul > li.color-accent > .link * {
    color: var(--color-accent) !important;
  }
  nav.header-primary > ul > li.color-accent > .link:hover, nav.header-primary > ul > li.color-accent > .link *:hover {
    color: var(--color-accent) !important;
  }
  nav.header-primary > ul {
    flex-direction: row;
    width: auto !important;
    height: 100%;
  }
  nav.header-primary > ul > li {
    border: 0;
    height: 100%;
  }
  nav.header-primary > ul > li.current-menu-item > .link:before, nav.header-primary > ul > li.current-item > .link:before, nav.header-primary > ul > li:hover > .link:before, nav.header-primary > ul > li.active > .link:before {
    content: "";
    width: 100%;
    height: 0.25rem;
    background-color: var(--color-primary);
    position: absolute;
    top: 0;
    left: 0;
  }
  nav.header-primary > ul > li .submenu {
    height: auto;
    max-height: calc(100vh - 5rem);
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  nav.header-primary > ul > li.active > .link i {
    transform: rotateX(180deg) scale(0.75);
  }
  nav.header-primary > ul > li.active > .link:before {
    background-color: var(--color-primary);
  }
  nav.header-primary > ul > li.active .submenu {
    top: 5rem;
    height: auto;
    max-height: calc(100vh - 5rem);
  }
  nav.header-primary > ul > li > .link {
    padding: 1.1rem 0;
    margin-right: 0.5rem;
  }
  nav.header-primary > ul > li > .link:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    background-color: var(--color-surface);
    transition: all 0.35s ease;
  }
  nav.header-primary > ul > li > .link p i {
    position: relative;
    transform: scale(0.75);
    top: 0.125rem;
    left: 0.25rem;
  }
  nav.header-primary .link-return {
    display: none !important;
  }
  .admin-bar nav.header-primary > ul > li.active .submenu {
    top: 7rem;
  }
}
@media screen and (min-width: 90rem) {
  nav.header-primary > ul > li > .link p {
    font-size: 0.875rem;
  }
}
@media screen and (max-width: 79.8125rem) {
  header.header.active nav.header-primary {
    animation-duration: 0.3s;
    animation-name: fadeInDown;
    animation-fill-mode: both;
  }
  nav.header-primary > ul {
    margin: auto !important;
  }
}
@media (hover: hover) {
  nav.header-primary > ul > li.color-primary > .link:hover, nav.header-primary > ul > li.color-primary > .link *:hover {
    color: var(--color-primary) !important;
  }
  nav.header-primary > ul > li.color-accent > .link:hover, nav.header-primary > ul > li.color-accent > .link:hover * {
    color: var(--color-accent) !important;
  }
}
