.mps-menu-container {
  display: flex;
  justify-content: space-between;
  height: 100%;
}

.mps-header-menu-main_container > #hs_cos_wrapper_navigation {
  height: 100%;
}

.mps-menu-main_container {
  display: flex;
  justify-content: flex-start;
}

.mps-menu-main_container.justify-content-end {
  display: flex;
  justify-content: flex-end !important;
}

.mps-header-menu_main {
  display: flex;
  flex-direction: row;
  list-style: none;
  grid-gap: 1em;
  margin: 0;
}

.mps-header-menu-sidenav_main {
  list-style: none;
  flex-direction: column;
  grid-gap: 0.1em;
}

.mps-header-menu-sidenav_main li a {
  color: #000000 !important;
}

.mps-header-menu_main li a {
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 135%;
  /* identical to box height, or 55px */

  letter-spacing: 0.015em;

  /* Primary/Valkoinen */

  color: #ffffff;
  text-decoration: none;

  display: flex;
  align-items: center;
}

.mps-menu-left_container,
.mps-menu-right_container {
  display: flex;
  align-items: center;
}

.mps-burger__trigger-open {
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.mps-burger__icon-open {
  height: 14px;
  position: relative;
  width: 20px;
  justify-self: center;
  align-self: center;
}

.mps-burger__icon-open span,
.mps-burger__icon-open:before,
.mps-burger__icon-open:after {
  display: block;
  background-color: #ffffff;
  height: 3px;
  left: 50%;
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 30px;
}

.mps-burger__icon-open:before,
.mps-burger__icon-open:after {
  content: " ";
}
.mps-burger__icon-open span {
  top: 50%;
}
.mps-burger__icon-open:before {
  top: 1px;
}
.mps-burger__icon-open:after {
  bottom: -2px;
}

.sidenav__overlay {
  right: 0;
  --easeOutExpo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.6s;

  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 999;
  display: grid;
  grid-template-columns: [escape] 3fr [nav] 1fr;
  top: 0;
  opacity: 1;
}

.sidenav-container {
  height: 100%;
  display: flex;
  justify-content: flex-end;
}

.sidenav {
  width: 100%;
  height: 100%;
  background: #ffff;
}

.mps-sidenav-menu {
  margin-bottom: 20px;
}

.sidenav__overlay.close {
  visibility: hidden;

  transform: translateX(110vw);
  will-change: transform;
  transition: transform var(--duration) var(--easeOutExpo),
    visibility 0s linear var(--duration);
}

.sidenav__overlay.open {
  --easeOutExpo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.6s;

  visibility: visible;

  transform: translateX(0);
  transition: transform var(--duration) var(--easeOutExpo);

  @media (prefers-reduced-motion: reduce) {
    --duration: 1ms;
  }
}

.mps-burger__trigger-close {
  font-size: 15px;
  display: block;
  margin: 30px 30px 0;
  padding-left: 30px;
  position: relative;
  text-transform: none;
  cursor: pointer;
}

.mps-burger__trigger-close,
.mps-burger__trigger-close:hover {
  color: black;
}
.mps--dark .mps-burger__trigger-close,
.mps--dark .mps-burger__trigger-close:hover {
  color: black;
}
.mps-burger__icon-close {
  left: 10px;
  position: absolute;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: center center;
  transform-origin: center center;
  transition: all 0.4s ease;
  top: 10px;
}
.mps-burger__trigger-close:hover .mps-burger__icon-close {
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}
.mps-burger__icon-close::before,
.mps-burger__icon-close::after {
  background-color: black;
  content: "";
  position: absolute;
  transition: background 0.4s ease-in-out;
}
.mps-burger__icon-close::before {
  left: -9px;
  width: 20px;
  height: 2px;
}
.mps-burger__icon-close::after {
  top: -9px;
  width: 2px;
  height: 20px;
}

.dropdown-menu-children {
  background: #ffffff;
  /* Background */

  border: 1px solid #f9f9f9;
  box-sizing: border-box;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.06);
  border-radius: 0;
  min-height: 250px;
}

.mps-menu-link::after {
  display: none !important;
}

.mps-dropdown img{
  width: 15px;
  margin-left: 5px;
  margin-top: 4px;
}

.mps-collapse {
  min-height: 100px;
}

@media only screen and (max-width: 767px) {
  .sidenav__overlay {
    grid-template-columns: [escape] 1fr [nav] 2fr;
  }

  .mps-burger__trigger-open {
    display: flex;
  }

  .mps-menu-left_container,
  .mps-menu-right_container {
    visibility: hidden;
  }
}
