*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  height: 100vh;
  font-size: $font-size;
  font-family: $primary-font-family, sans-serif;
  letter-spacing: 0.3px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
}

body {
  overflow-y: scroll !important;
}

button,
input,
optgroup,
select,
textarea {
  font-family: $primary-font-family, sans-serif;
}

h1 {
  letter-spacing: 0.7px;
}

iframe[id^="moe-onsite-campaign"] { //stylelint-disable-line
  z-index: 98 !important;
  top: 0 !important;
  width: 100% !important;
}

.nw-desktop-only {
  @media screen and (max-width: $screen-max-xs) {
    display: none !important;
  }
}

.nw-mobile-only {
  @media screen and (min-width: $screen-min-sm) {
    display: none !important;
  }
}

.nw-store-locator-page footer {
  display: none;
}

.nw-app-body {
  position: relative;
  min-height: calc(100vh - 145px);

  &.no-padding {
    padding: 0;
  }
}

.nw-toastr {
  font-size: $font-size-normal;
  text-align: center;
}

a {
  outline: 0;
}

.nwc-mobile-scroll {
  &::-webkit-scrollbar {
    display: none;
  }

  &::-webkit-scrollbar-thumb {
    display: none;
  }
}

.nwc-translucentbackground-white {
  background: $translucent-background-white;
}

.nwc-mobile-bottom-sticky {
  @media screen and (max-width: $screen-max-xs) {
    position: fixed;
    z-index: 3;
    bottom: 0;
    left: 0;
    width: 100%;
  }
}

%nwc-centeralign-items {
  justify-content: center;
  align-items: center;
  display: flex;
}

%nwc-pink-modalclosebutton {
  font-size: $modal-closebutton-size;
  font-family: $modal-closebutton-font;
  color: $modal-closebutton-color;
}

.nwc-modal-close {
  @extend %nwc-pink-modalclosebutton;
}

.nw-common-select {
  z-index: 1;

  &.is-active {
    z-index: 3;
  }

  .nwc-select {
    padding: 8px 10px;
    font-size: $font-size-xs;
  }

  .nwc-select-arrowbottom {
    font-weight: 600;
    color: $default-color;
  }

  .nwc-select-list-container {
   @extend .nwc-custom-scrollbar; // stylelint-disable-line
  }
}

.nw-common-selectlist {
  padding: 5px 5px 5px 10px;
  cursor: pointer;
  font-size: $font-size-xs;
  @media screen and (max-width: $screen-max-xs) {
    padding: 10px 5px 10px 10px;;
  }

  &:hover {
    background: $dropdown-hover-color;
  }

  &.is-active {
    background: $color-secondary;
    color: $white;
  }
}

#facebook-jssdk-iframe { // stylelint-disable
  position: fixed;
}

.nwc-select-secondary {
  color: $select-secondary-color;
  border-color: $select-secondary-background;
}


.nwc-toastr-list {
  padding: 12px 25px 12px 10px;
}

.nwc-hide-scrollbar {
  overscroll-behavior: none;
}

.nw-brandnavcontainer-listcontainer,
.nw-sub-navtreeholder,
.nw-stickyfilters-container {
  display: block;
}
