/* ===== MENU POPUP LAYOUT ===== */
#menu-popup {
  z-index: 665;
  width: 100%;
  max-width: 560px;
  height: 100vh;
  top: 0;
  left: 0;
  transform: translateX(-110%);
  position: fixed;
  overflow: auto;
  background-color: white;
  transition: transform 300ms ease-in-out;
  transition-delay: 100ms;
}
#menu-popup.is-active {
  transform: translateX(0%);
  transition: transform 300ms ease-in-out;
}
#menu-popup.is-active #menu-close-button {
  transform: rotation();
}

/* ===== CLOSE BUTTON ANIMATION ===== */
#menu-close-button {
  display: block;
  color: #21507b;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  padding-left: 10px;
  position: absolute;
  cursor: pointer;
  top: 75px;
  left: 63px;
}
@media (min-width: 992px) {
  #menu-close-button {
    left: 63px;
  }
}
#menu-close-button:before {
  content: "";
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024' fill='currentColor' overflow='hidden'%3E%3Cpath d='M810.66 170.66q18.33 0 30.495 12.165 12.165 12.165 12.165 30.495 0 18.002-12.329 30.331L572.314 511.98l268.677 268.329q12.329 12.329 12.329 30.331 0 18.33-12.165 30.495-12.165 12.165-30.495 12.165-18.002 0-30.331-12.329L512 572.293 243.671 840.97q-12.329 12.329-30.331 12.329-18.33 0-30.495-12.165-12.165-12.165-12.165-30.495 0-18.002 12.329-30.331L451.686 511.98 183.009 243.651q-12.329-12.329-12.329-30.331 0-18.33 12.165-30.495 12.165-12.165 30.495-12.165 18.002 0 30.331 12.329L512 451.666l268.329-268.677q12.329-12.329 30.331-12.329z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  width: 25px;
  height: 25px;
  position: absolute;
  left: -20px;
  top: 0;
  transition-delay: 100ms;
  transition: transform 300ms ease;
}
#menu-close-button:hover:before, #menu-close-button:focus:before, #menu-close-button:active:before {
  transform: rotate(180deg);
  transition: transform 300ms ease;
  transition-delay: 100ms;
}

/* ===== MENU POPUP STYLE ===== */
#menu-popup {
  padding-top: 30px;
}
#menu-popup .lingua-wrap {
  position: absolute;
  right: 0;
  right: 40px;
  top: 70px;
}
#menu-popup .menu-wrap {
  padding-top: 130px !important;
  min-height: 60vh;
}
@media (min-width: 992px) {
  #menu-popup .menu-wrap {
    padding-top: 160px !important;
  }
}
#menu-popup .menu-wrap ul {
  list-style: none;
  padding-left: 0;
}
#menu-popup .menu-wrap a {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  color: #21507b;
  margin: 10px 0;
  z-index: 1;
  font-size: 25px;
}
@media (min-width: 768px) {
  #menu-popup .menu-wrap a {
    font-size: 40px;
  }
}
#menu-popup .menu-popup-logo {
  display: block;
  width: 300px;
  height: auto;
  position: absolute;
  right: 50px;
  bottom: 0;
}
#menu-popup .bg-blue {
  background-color: #21507b;
}
#menu-popup .bottom.bg-blue {
  z-index: -1;
  min-height: 310px;
  margin-top: -100px;
}
#menu-popup .bottom .bg-white {
  border-radius: 0 0 0 100%;
  height: 100%;
  margin-top: -1px;
}
#menu-popup .copyright {
  height: 100%;
  border: 5px solid #21507b;
  margin-top: -1px;
}
#menu-popup .copyright a {
  color: rgba(255, 255, 255, 0.708);
}