:root {
  --scrollbar-width: 0px;
}

#header {
  z-index: 98;
  position: relative;
}

#header .logo {
  z-index: 0;
}

#header .container {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1426px;
  padding: 0 25px;
  position: relative;
}

#header .container::before,
#header .container::after {
  display: none;
}

#header ul[id^="menu-header"] {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  margin: 0;
}

#header a {
  font-family: 'Normalidad Wide';
  font-weight: 700;
  font-size: 18px;
  line-height: 1em;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  z-index: 3;
  position: relative;
}

#header .active a {
  color: #337ab7;
}

#header .socials {
  display: none;
}

#header .socials ul li {
  list-style: none;
}

#header .socials ul li:nth-child(n+2) a::before,
#header .socials ul li a {
  text-transform: none !important;
  font-size: 20px;
  line-height: 20px;
  font-family: 'Montserrat';
  font-weight: 600;
  text-decoration: underline;
  letter-spacing: 0;
  margin-bottom: 0;
  position: relative;
}

#header .socials ul li a::after {
  content: '';
  background-image: url('data:image/svg+xml,<svg width="12" height="12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M.695 0v2.66H7.46L0 10.12 1.88 12l7.46-7.46v6.765H12V0H.695Z" fill="%23fff"/></svg>');
  position: absolute;
  display: block;
  top: 6px;
  right: -18px;
  height: 12px;
  width: 12px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#header .socials ul {
  display: flex;
  margin: 10px 0 0 8px;
  gap: 32px;
}

#header .socials ul li:nth-child(n+2) a::before {
  content: '/';
  display: inline-block;
  position: relative;
  margin-right: 13px;
  text-decoration: none;
}

@media screen and (min-width: 993px) {
  #header a:hover {
    color: #0275b3;
  }

  #header li.button a,
  #header li.button a:hover {
    display: block;
    height: 38px;
    line-height: 38px;
    color: #fff;
    padding: 0 24px;
    background: var(--light-blue);
    border-radius: 8px;
    font-family: 'Open Sans';
    font-size: 14px;
    letter-spacing: 0.05em;
    margin-left: 19px;
  }

  #header li.button a:hover {
    background: var(--blue);
  }
}

#header ul[id^="menu-header"] .sub-menu::before {
  display: block;
  position: absolute;
  content: '';
  bottom: 100%;
  height: 60px;
  left: 0;
  right: 0;
}

#header ul[id^="menu-header"] .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - var(--scrollbar-width));
  background: #1c69a1;
  list-style: none;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 25px 12px 25px;
  z-index: 2;
}

#header ul[id^="menu-header"] .sub-menu a {
  color: #fff;
  font-size: 12px;
  line-height: 1em;
  font-family: 'Normalidad Wide';
  font-weight: 900;
  letter-spacing: 0.02em;
}

#header ul[id^="menu-header"] li {
  font-size: 12px;
  line-height: 1em;
}

#header ul[id^="menu-header"] .sub-menu .active a {
  text-decoration: underline;
}

.page-id-891 #header ul[id^="menu-header"] li .sub-menu,
.single-solution #header ul[id^="menu-header"] li .sub-menu,
#header ul[id^="menu-header"] li:hover .sub-menu {
  /* display: flex; */
}

#header-toggle {
  display: none;
  position: relative;
  color: #fff;
  background-color: transparent;
  width: 82px;
  height: 80px;
}

#header-toggle span,
#header-toggle span::before,
#header-toggle span::after {
  content: '';
  display: block;
  position: absolute;
  height: 4px;
  transition: all .2s ease;
  background-color: #000;
  border-radius: 20px;
  width: 38px;
  right: 0;
  margin: auto;
}

#header-toggle span {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: 50% 50%;
}

#header-toggle span::before {
  top: -12px;
}

#header-toggle span::after {
  bottom: -12px;
}

.nav-open #header-toggle span,
.nav-open #header-toggle span::before,
.nav-open #header-toggle span::after {
  background-color: #fff;
}

.nav-open #header-toggle span {
  transform: rotate(45deg);
}

.nav-open #header-toggle span::before {
  transform: translate3d(0, 12px, 0);
}

.nav-open #header-toggle span::after {
  transform: rotate(-90deg) translate3d(12px, 0, 0);
}

@media screen and (max-width: 1200px) {
  #header a {
    font-size: 16px;
  }

  #header li.button a,
  #header li.button a:hover {
    margin-left: 0;
  }

  #header ul[id^="menu-header"] .sub-menu a {
    font-size: 9px;
  }
}

@media screen and (max-width: 992px) {
  #header .socials {
    display: block;
  }

  #header-toggle {
    display: block;
  }

  #header div[class^="menu-header"] {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -110%;
    width: 100vw;
    background: #02b391;
    transition: all .3s ease;
    padding: 25px;
  }

  .nav-open #header div[class^="menu-header"] {
    right: 0;
  }

  #header ul[id^="menu-header"] {
    flex-direction: column;
    align-items: start;
    justify-content: center;
    height: 100%;
  }

  #header ul[id^="menu-header"] a {
    font-size: 60px;
    line-height: 1.066em;
    font-family: 'Normalidad Wide';
    font-weight: 900;
    color: #fff;
    padding: 0 !important;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
  }
}

@media screen and (max-width: 768px) {
  #header ul[id^="menu-header"] a {
    font-size: 48px;
  }
}

@media screen and (max-width: 567px) {
  #header ul[id^="menu-header"] a {
    font-size: 28px;
  }

  #header .socials ul li a {
    font-size: 11px;
  }

  #header .socials ul li:nth-child(n+2) a::before {
    margin-right: 10px;
    font-size: 11px;
  }

  #header .socials ul li a::after {
    width: 7px;
    height: 7px;
    top: 5px;
    right: -11px;
  }
}