/**
 * Member Navigation
 *
 * @author RTS Labs
 * @since 04/23/2020
 */

/**
 * From Rails: typography.scss
 */
.script {
  font-family: "Dancing Script", cursive;
}

.mobile-menu-background-coverup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.25);
}

.mobile-menu-background-coverup.is-open {
  display: block;
}

.site-header .login a {
  position: relative;
  padding: 0 10px;
  /* border-right: 1px solid #5d87a1; */
  font-size: 14px;
  color: #0e1b3b;
  text-decoration: underline;
}

/* Narrowly targeting this for now but it should move into the main stylesheet at some point */
#member-nav .icon-chevron-right {
  transform: rotate(180deg);
}

.site-header {
  z-index: 102; /* move this up above the background coverup */
}

.site-header.member-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px; /* we can change this later */
  height: 4.375rem;
  padding: 0 14px;
}

@media screen and (min-width: 768px) {
  .site-header.member-site-header {
    padding: 0;
  }
}

.site-header.member-site-header > div {
  display: flex;
  flex: 0 0 auto; /* tells these boxes "don't grow or shrink, size yourself to your content" */
  align-items: center;
  height: 100%;
}

.back-to-public-link-block {
  display: none !important; /* override the rule above this one :/ */
}

@media screen and (min-width: 768px) {
  .back-to-public-link-block {
    display: flex !important;
    position: relative;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: 0;
    z-index: 100; /* set this above the logo so the logo doesn't obscure this link */
  }
}

.non-member-site-link {
  display: flex;
  align-items: center;
  margin-right: auto;
  margin-left: 0;
  color: #3d547b;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1rem;
  text-transform: uppercase;
  cursor: pointer;
}

.non-member-site-link .back-arrow {
  margin-right: 0.625rem;
}

/** Zero-out .logo styles */
.logo-block {
  margin-right: auto;
}

@media screen and (min-width: 768px) {
  .logo-block {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    z-index: 0;
  }
}

.site-header.member-site-header .logo {
  float: none;
  height: auto;
  margin: 0 auto;
  width: 165px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle-block {
  position: relative;
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  padding: 0;
  border-radius: 0;
  color: #3d547b;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  text-transform: uppercase;
}

.mobile-menu-toggle .icon-remove,
.mobile-menu-toggle.is-open .icon-menu {
  display: none;
}

.mobile-menu-toggle.is-open .icon-remove {
  display: inline-block;
}

@media screen and (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Search Section */
.site-header.member-site-header .member-nav-site-search {
  position: relative;
}

.member-nav-site-search .member-nav-search-toggle .icon-search {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.25rem;
}

.member-nav-site-search .member-nav-search-toggle .icon-remove,
.member-nav-site-search .member-nav-search-toggle.is-open .icon-search {
  display: none;
}
.member-nav-site-search .member-nav-search-toggle.is-open .icon-remove {
  display: inline-block;
  width: 18px;
  margin-top: -1px;
}

.member-nav-site-search .search-form {
  display: none;
  position: absolute;
  top: 100%;
  right: -1px; /* aligns with the edge of the search button */
  max-width: 500px;
  width: 100vw;
  padding: 2rem 1.25rem 1.5rem;
  border: 1px solid #ced4de;
  background-color: #fff;
  z-index: 1000;
}

.member-nav-site-search .search-form .search-field-input-wrapper {
  position: relative;
  display: block;
  float: left;
  width: 75%;
}

.member-nav-site-search .search-form .search-field {
  padding: 0.5rem 1rem; /* 8px 16px */
  border-color: #3d547b;
  font-size: 0.875rem; /* 14px */
  font-weight: 400;
  line-height: 1.25rem; /* 20px - CM: Design has this as 22px but that won't align with the button */
}

.member-nav-site-search .search-form .icon-search {
  position: absolute;
  right: 0;
  margin: 0.5625rem 1.125rem;
  fill: #3d547b;
}

.member-nav-site-search .search-form .search-submit {
  display: block;
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 25%;
  max-width: 6.25rem; /* 100px */
  float: right;
  padding: 0.4375rem 1.125rem; /* 7px 18px */
  border: 1px solid #fff;
  background-color: #3d547b;
  color: #fff;
  font-size: 1rem;
  font-weight: 600; /* semibold */
  line-height: 1.375rem; /* 22px */
  text-transform: uppercase;
  box-shadow: 0 0 0.375rem rgba(0, 0, 0, 0.16);
}

.member-nav-site-search .search-form .search-submit:hover,
.member-nav-site-search .search-form .search-submit:focus {
  background-color: #3d547b; /* hide the hover effect of other buttons */
}

.site-header.member-site-header .icon-user {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.25rem; /* in the design this is 10px but visually that creates too large a gap */
}

/* Public Site Logout Section */
#logout-section {
  /* display: none; */
  font-size: 16px;
  font-weight: normal;
  /*font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
  color: #000e19;
  float: right;
}

#logout-section .dropdown-menu {
  z-index: 1000;
}

#logout-section .dropdown-toggle {
  display: inline;
  position: relative;
  float: none;
  margin: 0;
  padding: 4px 0;
  right: 0;
  border: 0;
  -webkit-appearance: initial;
}

#logout-section > * {
  float: left;
  /* padding: 0 14px; */
  margin: 0;
  /* border-right: 1px solid #5d87a1; */
  /* line-height: 23px; */
  /* font-size: 14px; */
}
/* 
#logout-section .my-account-dropdown {
  padding-right: 0;
  margin-right: 0;
  border-right: none;
} */

#logout-section .my-account-dropdown {
  margin-left: 1.125rem;
}

#logout-section .my-account-dropdown .dropdown-toggle {
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

#logout-section .my-account-dropdown .icon-user {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.25rem;
}

#logout-section .my-account-dropdown .dropdown-menu {
  background: #fff;
  padding-top: 0;
  border-right: none;
  left: auto;
  right: 0;
}

#logout-section .my-account-dropdown .dropdown-header {
  font-weight: 600;
  padding: 0.875rem 1.125rem;
  text-transform: uppercase;
}

/* #logout-section > a,
#logout-section > .dropdown {
  text-decoration: underline;
} */

#logout-section > form:last-child {
  border-right: none;
}
#logout-section > form > button {
  color: #333;
  background: transparent;
  font-weight: normal;
  padding: 4px 4px;
  text-decoration: underline;
}

#logout-section .dropdown-menu {
  border: none;
  border-radius: 0;
  background-color: #fff;
  box-shadow: none;
  z-index: 105;
}

#logout-section .dropdown-menu .divider {
  margin: 0.5rem 0;
  border-width: 1px;

  background-color: rgba(195, 182, 0, 1);
}

#logout-section .dropdown-menu > li > a {
  padding: 5px 20px;
  transition: background-color 250ms cubic-bezier(0.23, 1, 0.32, 1);
}

#logout-section .dropdown-menu > li > a:last-child {
  padding-right: 2rem;
}

#logout-section .dropdown-menu > li > a:hover {
  background-color: #f2f2f2;
}

#logout-section .dropdown-menu > li > a.current {
  background-color: rgba(61, 84, 123, 1);

  color: rgba(225, 232, 236, 1);
}

#logout-section .dropdown-menu .dropdown-header {
  padding: 1.25rem 1.125rem;
}

/* Member Site Logout Section */
.site-header #logout-section {
  display: none;
}

.site-header #logout-section.is-open {
  position: absolute;
  bottom: -100%;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  background-color: #fff;
}

@media screen and (min-width: 1024px) {
  .site-header #logout-section {
    position: relative;
    bottom: auto;
    float: none;
    z-index: 101; /* set this above the logo so the logo doesn't obscure this link */
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 0;
    margin-left: auto;
    font-size: 1rem;
    font-weight: 600;
    color: #3d547b;
  }
}

.site-header #logout-section .dropdown-menu {
  z-index: 101;
}

.site-header #logout-section .dropdown-toggle {
  display: block;
  width: 100%;
  position: relative;
  right: 0;
  float: none;
  margin: 0;
  padding: 0 0.5rem 0 0;
  border: 0;
  cursor: pointer;
}

.site-header #logout-section .dropdown-toggle .caret {
  display: block;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  right: -0.5rem;
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.site-header
  #logout-section
  .dropdown.open
  .dropdown-toggle
  .caret {
  transform: rotate(180deg);
}

.site-header #logout-section > * {
  position: relative;
  float: none;
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  margin: 0;
  border-right: none;
}

@media screen and (min-width: 768px) {
  .site-header #logout-section > * {
    position: relative;
    float: none;
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 7rem; /* 112px - attempting to reduce FOUC on these flex items */
    height: 100%;
    padding: 0 1.5rem;
    margin: 0;
    border-right: none;
    border-left: 1px solid #ced4de;
  }
}

.site-header #logout-section > *:first-child {
  padding-left: 0;
  border-left: 0;
}

.site-header #logout-section > *:last-child {
  min-width: 8.25rem; /* 132px - attempting to reduce FOUC on these flex items */
}

.site-header #logout-section > * > a {
  color: #3d547b;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1rem;
  text-align: center;
  text-transform: uppercase;
}

.site-header #logout-section > form:last-child {
  border-right: none;
}

.site-header #logout-section > form > button {
  color: #333;
  background: transparent;
  font-weight: normal;
  padding: 4px 4px;
  text-decoration: underline;
}

.site-header #logout-section .dropdown-menu {
  float: none;
  right: 0px; /* Aligns the menu with the edge of the button */
  left: auto; /* resets the default left: 0 on dropdown menus */
  width: 100vw;
  max-width: 250px;
  max-height: 385px;
  overflow: auto;
  padding: 0;
  margin-top: 0;
  border: 1px solid #ced4de;
  border-radius: 0;
  background-color: #fff;
  box-shadow: none;
}

.site-header #logout-section .dropdown-menu > li > a {
  display: block;
  padding: 0.75rem 1.125rem;
  color: #3d547b;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  transition: background-color 250ms cubic-bezier(0.23, 1, 0.32, 1);
  white-space: normal;
}

.site-header #logout-section .dropdown-menu > li > a.current {
  background-color: transparent;
}

.site-header #logout-section .dropdown-menu > li > a:hover,
.site-header #logout-section .dropdown-menu > li > a:focus {
  background-color: #f2f2f2;
}

.site-header
  #logout-section
  .dropdown-menu
  .dropdown-header {
  display: block;
  padding: 1.5rem 1.125rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1rem;
  text-transform: uppercase;
}

/* MyVRSA Member Navigation Menu */
.member-nav-wrapper {
  position: relative;
  width: 100%;
  background-color: #3D547B;
  z-index: 100;
  text-align: center;
}

.my-vmlip-tab {
  align-items: center;
  position: relative;
  display: flex;
  float: left;
  min-width: 106px;
  padding: 0.75rem 0.75rem 0.75rem 0.875rem;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1rem;
  z-index: 101;
  white-space: nowrap;
}

.my-vmlip-tab:hover,
.my-vmlip-tab:focus {
  color: #fff;
  text-decoration: none;
  outline: none;
}

.my-vmlip-tab svg {
  flex: none;
  margin-left: 5px;
}

@media screen and (min-width: 768px) {
  .my-vmlip-tab {
    width: 10%;
  }
}

.mobile-member-nav-toggle {
  display: block;
  float: right;
  padding: 16px 14px;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  text-transform: uppercase;
}

.mobile-member-nav-toggle .icon {
  margin-left: 10px;
}

.icon-sort {
  transform: rotate(180deg);
}

.mobile-member-nav-toggle .icon-remove,
.mobile-member-nav-toggle.is-open .icon-sort {
  display: none;
}

.mobile-member-nav-toggle.is-open .icon-remove {
  display: inline-block;
}

@media screen and (min-width: 1024px) {
  .mobile-member-nav-toggle {
    display: none;
  }
}

#member-nav {
  position: relative;
  max-width: 1440px; /* we can change this later */
  padding: 0;
  margin: 0 auto;
  z-index: 100;
  text-align: left;
}

@media screen and (min-width: 1024px) {
  .member-nav-wrapper.public-site #member-nav {
    display: inline-block;
  }
}

@media screen and (min-width: 1280px) {
  .member-nav-wrapper:not(.public-site) #member-nav {
    display: inline-block;
  }
}

#member-nav .member-menu-wrapper {
  display: none;
}

#member-nav .member-menu-wrapper.is-open {
  display: block;
  position: absolute;
  top: 49px;
  left: 0;
  width: 100%;
}

@media screen and (min-width: 1024px) {
  #member-nav .member-menu-wrapper {
    position: relative;
    top: auto;
    left: auto;
    display: block;
  }
}

#member-nav .menu {
  position: relative;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media screen and (min-width: 1024px) {
  #member-nav .menu {
    bottom: auto;
    left: auto;
    background-color: transparent;
    white-space: nowrap;
    transform: translateX(0); /* reset this to start */
  }
}

#member-nav .menu > .menu-item {
  display: block;
  position: relative;
}

#member-nav .menu > .menu-item.-is-open > .sub-menu {
  display: block;
  /* border-top: 1px solid #c3b600; */
  border-top: 1px solid #ced4de;
  border-bottom: 1px solid #ced4de;
  margin-top: 0;
}

#member-nav .menu .dropdown-header {
  font-size: 14px;
  padding: 0.75rem 1.125rem;
}

#member-nav .member-menu-wrapper:not(.is-main-menu-active) .menu > .-is-main-menu {
  display: none;
}

#member-nav .member-menu-wrapper.is-main-menu-active.is-open {
  border-top: 1px solid #ced4de;
  top: 0;
  z-index: 101;
}

#member-nav #menu-member-nav > .sub-menu-login {
  display: flex;
  padding: 10px 18px;
}

#member-nav #menu-member-nav > .sub-menu-login a {
  flex: 1;
}
#member-nav #menu-member-nav > .sub-menu-login a:first-child {
  margin-right: 18px;
}

@media screen and (min-width: 1024px) {
  #member-nav .menu > .menu-item {
    display: inline-block;
  }

  #member-nav #menu-member-nav > .sub-menu-heading,
  #member-nav #menu-member-nav > .sub-menu-login {
    display: none !important;
  }

  #member-nav .menu > .menu-item.-is-open > .sub-menu {
    border-top: 1px solid #ced4de;
    max-width: 275px;
    width: 100vw;
  }

  #member-nav .menu .menu-item.-is-wider.-is-open > .sub-menu {
    max-width: 325px;
  }

  #member-nav .menu .menu-item.-is-mobile-only {
    display: none;
  }
}

#member-nav .menu .menu-item a {
  position: relative;
}

#member-nav .menu > .menu-item > a {
  display: block;
  padding: 12px 18px;
  color: #3d547b;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
}

@media screen and (min-width: 1024px) {
  #member-nav .menu > .menu-item > a {
    display: inline-block;
    padding: 1rem 0.75rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1rem;
    text-transform: uppercase;
  }

  /** Remove padding from the first and last menu items */
  #member-nav .menu > .menu-item:first-child > a {
    padding-left: 0;
  }
  #member-nav .menu > .menu-item:first-child > a {
    padding-right: 0;
  }
}

#member-nav .menu > .menu-item > a:hover,
#member-nav .menu > .menu-item > a:focus {
  text-decoration: none;
  outline: none;
}

#member-nav .menu .menu-item a .nav-arrow {
  position: absolute;
  display: block;
  top: 1.25rem;
  right: 0.75rem;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid currentColor;
  transition: border-top-color 500ms cubic-bezier(0.23, 1, 0.32, 1),
    top 500ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

#member-nav .menu .menu-item a.active .nav-arrow {
  top: 18px;
  border-top-color: currentColor;
  transform: rotate(180deg);
}

#member-nav .menu .menu-item .sub-menu .menu-item a.active .nav-arrow {
  right: 1.125rem;
}

#member-nav .menu .menu-item.menu-item-has-children > a {
  padding-right: 2.125rem;
}

#member-nav .menu > .menu-item > .sub-menu {
  position: relative;
  display: none;
  background-color: #fff;
}

@media screen and (min-width: 1024px) {
  #member-nav .menu > .menu-item > .sub-menu {
    position: absolute;
    top: 100%;
    padding: 0;
    margin: 1px 0 0;
    border: 1px solid #ced4de;
  }
}

#member-nav .sub-menu > li {
  margin-bottom: 0;
}

#member-nav .sub-menu-heading {
  display: block;
  padding: 1.5rem 1.125rem 0.75rem;
  padding-left: 18px !important; /* overrides rule from nav.scss 🙄 */
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

#member-nav .menu > .menu-item > .sub-menu > .sub-menu-heading {
  display: none;
}

@media screen and (min-width: 1024px) {
  #member-nav .menu > .menu-item > .sub-menu > .sub-menu-heading {
    display: block;
  }
}

#member-nav .sub-menu > .menu-item > a {
  display: block;
  padding: 0.75rem 1.125rem;
  background-color: transparent;
  color: #3d547b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

#member-nav .sub-menu > .menu-item > a:hover,
#member-nav .sub-menu > .menu-item > a:focus {
  background-color: #f2f2f2;
}

/* Tertiary Menus */
#member-nav
  .menu
  > .menu-item
  > .sub-menu
  > .menu-item.menu-item-has-children.-is-open {
  padding-bottom: 0.625rem;
  background-color: #f2f2f2;
}

#member-nav .menu > .menu-item > .sub-menu > .menu-item.-is-open > a {
  padding-bottom: 0;
}

#member-nav .menu > .menu-item > .sub-menu > .menu-item.-is-open > .sub-menu {
  display: block;
}

#member-nav .sub-menu .sub-menu {
  display: none;
  margin-top: 0;
}

#member-nav .sub-menu .sub-menu .menu-item > a {
  padding: 0.375rem 1.125rem 0.375rem 2rem;
}

#member-nav .sub-menu .sub-menu .menu-item > a:hover,
#member-nav .sub-menu .sub-menu .menu-item > a:focus {
  background-color: transparent;
}

#member-nav .no-coverage-access-title {
  display: block;
  width: 100%;
  padding-right: 1.25rem;
}
#member-nav .no-coverage-access-icon {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  display: block;
  width: 1rem;
  height: 1rem;
  padding-top: 1px;
  margin-top: -0.6rem;
  font-size: 1rem;
}

/* Menu Scroll Controls */
.member-menu-controls {
  display: none;
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .member-nav-wrapper:not(.public-site) .member-menu-controls {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
  }
}

.member-menu-controls button {
  position: relative;
  height: 100%;
  padding: 0.875rem 0.75rem;
  border-radius: 0;
  cursor: pointer;
  background: none; /* resets background otherwise these buttons will be solid white */
  transition: background-color 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.member-menu-controls button:hover,
.member-menu-controls button:focus {
  background-color: rgba(0, 0, 0, 0.1);
}

.member-menu-controls .move-member-menu-left {
  margin-left: -5px;
}

.member-menu-controls .icon {
  height: 1.5rem;
}

/* 
 * Cover-ups!
 * It's a cover-up! These elements compensate for a defect in how the browser interprets
 * overflow x and y. When one is set, the other is set to auto and that can't be worked around.
 * Instead, we use these two cover-up divs to hide the horizontal overflow of the menu
 * while the menu itself makes its overflow visible in both x and y.
 */
.member-nav-coverup-left,
.member-nav-coverup-right {
  /* position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #c3b600;
  z-index: 999; */
  display: none; /* UPDATE: We're hiding them for now because with full width menus they create horizontal scroll */
}

.member-nav-coverup-left {
  right: 100%;
}

.member-nav-coverup-right {
  left: 100%;
}

#member-nav .sub-menu .contact-us-menu-item-card {
  padding: 12px 18px;
  font-size: 0.875rem;
  line-height: 1rem;
  white-space: normal;
}

#member-nav .sub-menu .contact-us-menu-item-card h4 {
  margin: 0;
  color: #5e6d70;
  font-size: 1.125rem;
  line-height: 1.625rem;
}

#member-nav .sub-menu .contact-us-menu-item-card h5 {
  margin-top: 0;
  margin-bottom: 1.325rem;
  color: #5e6d70;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1rem;
}

#member-nav .sub-menu .contact-us-menu-item-card .contact-phone-list {
  padding: 0;
  margin: 0;
}

#member-nav .sub-menu .contact-us-menu-item-card .contact-phone-list li {
  margin-bottom: 0;
}

#member-nav .sub-menu .contact-us-menu-item-card .contact-phone-number {
  display: inline-block;
  margin-right: 2rem;
}

/* Mobile Search! */
.mobile-search-wrapper {
}

.mobile-search-wrapper .search-form {
  padding: 12px 18px 18px;
  background-color: #fff;
}

.mobile-search-wrapper .member-nav-search-toggle {
  display: none;
}

.mobile-search-wrapper .search-form .search-field-input-wrapper {
  position: relative;
}

.mobile-search-wrapper .search-form .search-field-input-wrapper .search-field {
  padding: 8px 16px;
}

.mobile-search-wrapper .search-form .search-field-input-wrapper .icon {
  position: absolute;
  right: 16px;
  height: 100%;
}

.mobile-search-wrapper .search-form .search-submit {
  position: static;
  display: block;
  width: 100%;
  padding: 8px 18px;
  margin-top: 12px;
  background-color: #3d547b;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  text-transform: uppercase;
}

@media screen and (min-width: 1024px) {
  .mobile-search-wrapper {
    display: none !important;
  }
}

.block {
  display: block;
}

.text-center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
}

.member-nav-site-search .search-icon {
  display: block;
  cursor: pointer;
}

.member-nav-site-search .search-icon::after {
  content: "Search";
  text-transform: uppercase;
}

.member-nav-site-search .icon-search {
  height: 24px;
  margin-right: 5px;
  width: 24px;
}

.member-nav-site-search .icon-close {
  display: none;
}

.member-nav-site-search .search-form-wrapper {
  display: flex;
  position: relative;
}

.mobile-search-wrapper .search-form-wrapper {
  position: relative;
}

.member-nav-site-search .screen-reader-text,
.mobile-search-wrapper .screen-reader-text {
  clip: auto;
  height: auto;
  text-indent: 0;
  width: auto;
}

.member-nav-site-search label .screen-reader-text,
.mobile-search-wrapper label .screen-reader-text {
  background: #fff;
  color: #5E6D70;
  font-size: 12px;
  font-weight: normal;
  left: 10px;
  padding: 0 5px;
  pointer-events: none;
  top: -10px;
}

.member-nav-site-search .search-submit .screen-reader-text,
.mobile-search-wrapper .search-submit .screen-reader-text {
  position: static !important;
}

.mobile-search-wrapper input.search-field {
  height: 35px;
  padding-right: 40px;
}

.member-nav-site-search .search-submit {
  margin-left: 12px;
}

body .member-nav-site-search .search-submit .icon-search,
body .mobile-search-wrapper .search-submit .icon-search {
  fill: #3D547B;
  height: 18px;
  margin: 0;
  width: 18px;
  right: calc(100% + 12px + 16px);
  padding: 0;
  top: calc(50% - 9px);
}

body .mobile-search-wrapper .search-submit .icon-search {
  height: 35px;
  top: 0;
  right: 16px;
  position: absolute;
}


@media (min-width: 1024px) {
  #member-nav .my-vmlip-tab {
    background: #3D547B;
    width: 130px !important;
  }

  #member-nav .member-menu-controls {
    background: #3D547B;
  }
}