.static {
  position: static;
}

div#rightTopNav a {
  display: inline-block;
  text-align: center;
}

@media screen and (max-width: 800px) {
  body {
    grid-template-columns: auto;
    grid-template-rows: 5rem auto auto;
    grid-template-areas: "header" "content" "footer";
  }
  .menu {
    display: none;
  }
  #mallTopNav {
    background-size: cover;
  }
  .mallSearch {
    display: none !important;
  }
  .promotionProducts {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 1em;
  }
  .promotionProduct .img {
    max-width: 8em;
  }
  .content {
    margin: 0;
  }
  footer {
    display: flex;
    background: #E2E2E2;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    padding-bottom: 2em;
  }
  .linkList {
    margin-top:0 !important;
  }
  .menuBtn {
    display: block !important;
    border: none;
    font-size: 1.5em;
    background: none;
    line-height: 1em;
    color: #FFF;
    cursor: pointer;
  }
  .registered, .login {
    width: 4em;
    padding: 0 2px;
    align-items: center;
    justify-content: center;
  }
  .logo {
    margin: 0;
  }
  .logo img {
    width: 5em;
  }
  #mallTopNav {
    padding: 0.5em;
  }
  .shopMenuLogo {
    display: none;
  }
  .username i {
    display: none;
  }
  .giftImg, .addPurchaseImg {
    width: 7em;
  }
}

@media screen and (max-width: 500px) {
  .promotionProducts {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1em;
  }
  .logoIn {
    width: 4em;
  }
  
  .logo img {
    width: 100%;
  }
  
  #rightTopNav a {
    margin: 0 0.5rem !important;
    width: 3rem;
    font-size: 0.8em;
  }
}

@media screen and (max-width: 420px){
  .jconfirm-box {
      width: 80% !important;
  }
  #leftTopNav.logoIn {
    width: 3.5em;
  }
}

@media screen and (max-width: 370px){
  #rightTopNav a {
    max-width: 2.5em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .orderUpdateLink {
    position: relative;
  }
  
  .cartCount {
    position: absolute;
    right: 0;
    top: 2.5em;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
  }
  
  .username span {
    display: none;
  }
}

