.responsive-menu-toggle {
  margin-top: 0;
  width: 100%;
  box-shadow: 0 10px 18px 0 rgba(0, 0, 0, .10);
}

.mobile-toggle--wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  width: 100%;
}

.mobile-toggle--wrapper .logo {
  display: block;
}

.mobile-toggle--wrapper .logo svg {
  max-width: 82px;
  height: auto;
  display: flex;
}

.responsive-menu-toggle-icon span.label {
  display: none;
}

.mm-menu_offcanvas {
  width: 100%;
  max-width: 100%;

  @include bp(sm) {
    width: 80%;
    max-width: 440px;
  }
}

.mm-wrapper_opening .mm-menu_offcanvas.mm-menu_opened~.mm-slideout {
  transform: translate3d(100vw,0,0);

  @include bp(sm) {
    transform: translate3d(440px,0,0);
  }
}

#mm-1 .mm-navbar {
  display: none;
}

.mm-listitem {
  justify-content: space-between;
}

.responsive-menu-toggle-icon label {
  display: none;
}

.responsive-menu-toggle-icon:before {
  @include background-icon(icon-menu-rest, 32);
  top: 0;
}

.responsive-menu-toggle-icon span.icon,
.responsive-menu-toggle-icon::after {
  display: none;
}

.mobile-menu {
  width: 100%;
  max-width: 100%;
  position: fixed;
  right: auto;
  z-index: 0;
  background-color: white;
  z-index: 999;
  top: 0;
}


.mobile-menu .close-button > span {
  font-size: calc(0.75rem * 1.12); /* Adjusted for Proxima Nova */
  margin-right: 14px;
  color: #FFFFFF;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  font-family: "proxima-nova", sans-serif;
}

.mobile-close-button::after {
  background-image: url(icons/close.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  height: 19px;
  width: 19px;
  content: '';
  display: block;
  cursor: pointer;
}

.mobile-menu #menu a {
  font-size: 1.375rem;
  line-height: 1.1;
  color: black;
  font-family: "ff-meta-serif-web-pro", sans-serif;
  font-weight: 400;
  margin: 20px;
  margin-top: 20px;
  margin-right: 0;
  margin-bottom: 20px;
  margin-left: 20px;
  padding: 0;
  margin-right: 0;
  border-color: rgba(0, 0, 0, .10);
}

.mobile-close-button {
  text-align: right;
  padding: 20px;
  margin: 0;
  background-color: #3172AE;
  width: 100%;
  max-width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -moz-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.mobile-close-button > span {
  font-size: calc(0.75rem * 1.12); /* Adjusted for Proxima Nova */;
  margin-right: 14px;
  color: #FFFFFF;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
}

.mm-listitem__text {
  font-size: 1.375rem;
  line-height: 1.1;
  color: #3172AE;
  font-family: "ff-meta-serif-web-pro", sans-serif;
  font-weight: 400;
  margin: 20px;
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
  padding: 0;
  margin-right: 0;
}

@media (max-width: 1024px) {

  .header--search {
    display: none;
  }

  .mobile-utility-links {
    margin-bottom: 100px;
  }

  .mobile-utility-links .utility-links--wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 25px;
  }
    
  header .nav-logo {
    display: none;
  }
  header .header--menu--container {
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    z-index: 5;
    background-color: white;
    transform: translate3d(-100%,0,0);
    overflow-y: auto;
  }

  .mobile-site-search.site-search {
    display: block;
  }

  body.mobile-opened {
    overflow: hidden;
  }

  .mobile-closed .page-wrapper, .mobile-closed .responsive-menu-toggle-wrapper {
    transform: translate3d(0,0,0);
    transition: transform .5s ease;
  }

  .mobile-opened .page-wrapper {
    transform: translate3d(100%,0,0);
    transition: transform .5s ease;
  }


  .mobile-closed header .header--menu--container {
    transform: translate3d(-100%,0,0);
    transition: transform .5s ease;
  }

  .mobile-opened header .header--menu--container {
    transition: transform .5s ease;
  }

  #toggle-icon {
    transition: transform 1s ease;
  }

  .mobile-opened #toggle-icon {
    transform: rotate(90deg);
  }

  header .menu-level-0 {
    flex-direction: column;
    align-items: start;
  }
  header nav .header--menu--container ul.menu.menu-level-0 {
    flex-direction: column;
    align-items: start;
    justify-content: unset;
    height: unset;
  }
  header nav .header--menu--container ul.menu.menu-level-0 li.menu-item {
    padding: 20px;
    margin: 0;
    border-bottom: 1px solid #D7E8F8;
    width: 100%;
  }
  
  header nav .header--menu--container ul.menu.menu-level-0 li.menu-item a{
    width: 100%;
    font-weight: 400;
  }

  header nav .header--menu--container ul.menu.menu-level-0 li.menu-item a:hover{
    color: #3172AE;
  }

  header nav .header--menu--container ul.menu.menu-level-0 > .menu-item:hover {
    background-size: unset;
    background-color: white;
    background-image: unset;
  }

  .mm-listview .utility-cta--item.mm-listitem a.mm-listitem__text {
    -webkit-transition: background-color 0.4s ease;
    -moz-transition: background-color 0.4s ease;
    transition: background-color 0.4s ease;
    display: block;
    width: 100%;
    height: 48px;
    font-size: calc(1rem * 1.12); /* Adjusted for Proxima Nova */
    line-height: 1.75rem;
    text-align: center;
    color: #FFFFFF;
    background-color: #3E8EDE;
    font-weight: 700;
    border: none;
    cursor: pointer;
    -webkit-appearance: none;
    position: relative;
    text-decoration: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-family: "proxima-nova", sans-serif;
    margin-right: 20px;
    text-transform: none;
  }
  
  .mm-listitem {
    color: rgba(0,0,0,.75);
    border-color: rgba(0,0,0,.1);
    color: var(--mm-color-text);
    border-color: var(--mm-color-border);
    list-style: none;
    display: block;
    padding: 0;
    margin: 0;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  
  .mm-listitem.resources-for--item button {
    font-size: calc(0.8125rem * 1.12); /* Adjusted for Proxima Nova */
    font-family: "proxima-nova", sans-serif;
    font-weight: 500;
    color: #000;
    font-weight: 700;
    padding: 0;
    border: 0;
    margin: 10px 20px;
    background-color: transparent;
  }

  .mm-listitem.resources-for--item a {
    font-size: calc(0.8125rem * 1.12); /* Adjusted for Proxima Nova */
    font-weight: 500;
    font-family: "proxima-nova", sans-serif;
    color: #3172AE;
    border-right: 0;
    margin-bottom: 0;
    margin-top: 10px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    text-decoration: none;
    background-size: 100% 0.0625rem, 0 0.0625rem;
  }

  .utility-cta--item a.btn-cta.btn {
    height: 48px;
    width: 100%;
    order: 3;
    font-size: rem(16 * 1.12); /* Adjusted for Proxima Nova */
    font-family: 'proxima-nova', sans-serif;
    font-weight: bold;
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .utility-cta--item a.btn-cta.btn:hover {
    color: white;
  }

  .mm-listitem.utility-links--item a {
    color: #3172AE;
    border: 0;
    margin-left: 0;
    margin-bottom: 0;
  }

  .mm-listitem.resources-for--item {
    display: inline-block;
    width: 47%; 
  }

  .mm-listitem.resources-for--item.mm-section--title {
    border: 0;
    width: 100%;
  }
}


@media (min-width: 1025px) {
  .mobile-utility-links, .mobile-site-search {
    display: none;
  }
  .mobile-close-button {
    display: none;
  }
  .mobile-menu{
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  header .header--menu--container {
    width: 440px;
  }

  .mobile-opened .page-wrapper {
    transform: translate3d(440px,0,0);
  }
}