#menu.mm-menu {
  --mm-color-background: var(--surface-surface-invert, #fff);
  --mm-color-border: var(--border-border-inputs, #f2f2f2);
  --mm-color-icon: #202020;
  font-family: "poppins", sans-serif;
  top:70px;
}
.mm-listview{
  /* max-height: 300px; */
  height:50vh;
  overflow-y: auto;
}

.mm-panel::after{
  display: none!important;
}
.mm-navbar__title{
font-size: 20px!important;
font-weight: 600!important;
}

.mm-menu--iconbar-left .mm-panels{
  margin-left:inherit!important;
}
.mm-listitem__text{
  color:#4D6C82!important;
}
.mm-iconbar__bottom,
.mm-iconbar{
  display: none!important;
}

.mm-menu input:focus{
outline: 2px solid #4D6C82!important;
}

#fsf-submit{
  width: 24px;
  height: 24px;
  border: none;
  background-color: #f2f2f3;
  margin-left: -36px;
  margin-top: 5px;
  background-image: url('/sites/speculatorchamber.com/themes/custom/speculator/i/m-search-nav.svg');
  background-repeat: no-repeat;
  background-position: center;
  cursor:pointer;
}

#mobile-nav svg{
  padding-top:3px;
}

#fsf-input{
  display: flex;
  min-width: 175px;
  padding: 8px 12px;
  align-items: center;
  gap: 8px;
  width: 100%;
  border-radius: var(--border-radius-md, 4px);
  border: var(--border-width-sm, 1px) solid var(--border-primary, #F2F2F3);
  background:#F2F2F3!important;
}

#footer-search-form{
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: solid 1px #f2f2f3;

  position: relative;
  display: flex;
}

.nav-media-m-wrapper{
  gap:56px;
  display: flex;
 position:absolute;
  bottom: 80px;
  width: 100%;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--mm-color-background);
  border-top: solid 1px #f2f2f3;
}

.nav-btns-wrapper-m{
  width:100%;
  height:80px;
  position: absolute;
  bottom:0;
  display: flex;
}

.mm-menu a.member-btn-m{
  width:50%;
  background: #334857;
  color:#FAFAFA!important;
  height: 80px;
  display: inline-block;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  padding-left: 16px;
  padding-right: 16px;
  margin: auto;
  text-align: center;
  line-height: 24px;
}

.mm-menu a.donate-btn-m{
  width:50%;
  background: #F2F2F3;
  color:#334857!important;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
}

.mm-iconbar {
  padding-top: 16px;
  padding-bottom: 16px;
  background: var(--surface-surface-quinary, #fff) !important;
  border: none !important;
}

.mm-menu--iconbar-left .mm-iconbar{
  width:100%;
}

.mm-btn--next::after,
.mm-btn--prev::before,
.mm-btn--next::before,
.mm-btn--prev::after{
  border-left: 2px solid #627B95 !important;
  border-top: 2px solid #627B95!important;
}

.mm-iconbar__top,
.mm-iconbar__bottom {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.mm-iconbar__top > *,
.mm-iconbar__bottom > * {
  padding: 0 !important;
}

.mm-navbar__title {
  color: #303031 !important;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 120% */
}
.mm-navbar__title>span {
overflow: visible !important;
}
.mm-iconbar__top a:first-child {
  display: none !important;
}
.mm-listitem__text {
  color: var(--text-sub-headings, #4D6C82);
  font-size: var(--fontsize-heading-h6, 20px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--line-height-heading-h6, 24px); /* 120% */
}
.mm-iconbar .material-icons {
  color: #187899;
}
#mobile-nav {
  display: none;
  padding: var(--spacing-spacing-sm, 16px);
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--surface-surface-invert, #fff);
  flex-direction: row;
  align-items: center;
  border-bottom: 1px solid var(--surface-surface-quinary, #e8f2f5);
  background: var(--surface-surface-invert, #4E6277);
  box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.20)!important;
}

nav#menu {
  border-top: 1px solid var(--surface-surface-quinary, #e8f2f5);
  background: var(--surface-surface-invert, #fff);
  box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.2);
}

#mobile-nav > mm-burger,
#mobile-nav > div {
  flex: 1;
}

.nav-search-icon:hover{
  background: #E0E5EA;
}

@media (min-width: 1280px) {
  #menu.mm-menu {
    margin-left: var(--sidebar-width) !important;
    width: calc(100vw - var(--sidebar-width));
  }
}

mm-burger {
  --mb-bar-width: 18px;
  --mb-bar-height: 2px;
  --mb-bar-spacing: 3px;
  color: #d9d9d9;
}

.mm-wrapper--opened .mm-wrapper__blocker {
  opacity: 1;
  background: unset;
}

nav#menu {
  top: calc(52px + var(--gin-toolbar-y-offset, 0px));
  width: calc(100vw);
  display: none;
  max-height: calc(100vh - calc(52px + var(--gin-toolbar-y-offset, 0px)));
}

@media (max-width: 1280px) {
  nav#menu {
    display: flex;
  }

  #main-nav {
    display: none !important;
  }

  #mobile-nav {
    display: flex !important;
  }
  .nav-top{
    display: none;
  }
  .mm-iconbar__bottom{
    justify-content: center;
  }
}
