* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  html, body {
    position: relative;
    height: 100%;
    background: #FFF;
    font-family: 'Lato', 'Noto Sans TC', sans-serif;
    font-weight: normal;
  }
  h1, h2, h3, h4, h5, h6, p, hr {
    margin: 0;
  }
  a {
    color: #4F4F4F;
  }
  a:hover {
    color: #4F4F4F;
    text-decoration: none
  }
  button:focus {
    outline: 0;
  }
  .btn.focus, .btn:focus {
    box-shadow: none
  }

  /* Nav */
  .navbar {
    height: 88px;
    background-color: #fff;
    padding: 12px 1rem;
    z-index: 10;
    border-bottom: 1px solid #E1E1E1
  }
  .navbar .nav > * {
    position: relative;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #474747;
    padding: 0 !important;
    margin-right: 20px
  }
  nav .nav-link {
    padding: 0
  }
  nav .nav-pills {
    margin-top: -32px
  }
  nav .nav-pills > div:last-child {
    margin-right: 0
  }
  .navbar-toggler .fa-bars {
    color: #333
  }
  nav .dropdown-toggle::after {
    content: '';
    border: none;
    background: url(../img/icon-arrow.svg) no-repeat;
    background-size: 16px 16px;
    width: 16px;
    height: 16px;
    vertical-align: middle
  }
  nav .dropdown-menu {
    top: 30px;
    left: unset;
    right: 0;
    border: 0;
    -webkit-box-shadow: 0 0 6px 0 rgb(0 0 0 / 10%);
    box-shadow: 0 0 6px 0 rgb(0 0 0 / 10%);
  }
  nav .dropdown-menu:before {
    content: '';
    background: url(../img/barpop_top.gif) no-repeat;
    width: 20px;
    height: 11px;
    position: absolute;
    right: 20px;
    top: -10px;
    z-index: 1002;
  }

  main {
    background: url('../img/bottom-bg.png') repeat-x center bottom;
    background-color: #FCFCFC;
  }
  .main-title {
    font-family: 'Noto Sans TC', sans-serif;
    color: #009734;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    padding-bottom: 20px;
  }

  /* KV part */
  .kv {
    background: url('../img/kv.jpeg') no-repeat top center/cover;
    background-color: #fff;
    padding: 10px 30px 15px
  }

  /* Recent Search */
  .recent {
    background: #fff;
    padding: 25px 0 27px
  }
  .recent-search {
    position: relative;
    background-color: #F6F6F6;
    border-radius: 10px;
    color: #474747;
    text-align: left;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 20px;
    line-height: 32px;
    padding: 24px 12px;
    font-weight: bold;
    margin: 0 14px 20px 0;
    display: inline-block
  }
  .recent-search:last-child {
    margin-right: 0
  }
  .recent-search button.close {
    color: #000;
    font-weight: 700;
    opacity: 1;
    padding: 0;
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 18px;
  }
  .recents-content > div {
    display: inline-block;
  }
  .recent-search .recents-date {
    font-size: 16px;
    color: #474747;
  }

  /* Promotion */
  .discount-promotion {
    padding: 30px 0;
  }
  .discount-promotion .discount-content {
    margin-bottom: 30px;
    -webkit-box-shadow: 0px 3px 10px 0px rgba(62, 62, 60, 0.15);
    -moz-box-shadow: 0px 3px 10px 0px rgba(62, 62, 62, 0.15);
    box-shadow: 0px 3px 10px 0px rgba(62, 62, 62, 0.15);
    transition:all .3s
  }
  .discount-promotion .discount-content:hover {
    -webkit-box-shadow: 0px 6px 15px 0px rgba(62, 62, 60, 0.);
    -moz-box-shadow: 0px 6px 15px 0px rgba(62, 62, 62, 0.15);
    box-shadow: 0px 6px 15px 0px rgba(62, 62, 62, 0.15);
  }
  .discount-content > .img-wrapper {
    height: 146px;
    overflow: hidden;
  }
  .discount-promotion .discount-content > .img-wrapper img {
    height: 100%;
    object-fit: cover;
  }
  .discount-content .discount-details {
    font-family: 'Noto Sans TC', sans-serif;
    background: #fff;
    padding: 10px;
    color: #3E3E3E;
  }
  .discount-details .title {
    font-size: 16px;
    color: #3E3E3E;
    text-align: left;
  }
  .discount-details .caption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .discount-details .subtitle {
    font-weight: bold;
    text-align: left;
    font-size: 18px;
    min-height:30px;
  }
  .discount-content .discount-details .price {
    text-align: right;
    font-size: 18px;
    color: #CC0000;
    font-weight: bold;
    font-family:'Lato',sans-serif
  }
  .discount-content .discount-details .price span {
    font-size: 24px;
  }
  
  /* Payment */
  .payment-method {
    padding-bottom: 160px;
  }
  .payment-method .main-title {
    padding-bottom: 18px;
    font-size: 18px;
  }
  .payment-method img {
    max-width: 80px;
    width: 100%;
    margin-right: 24px
  }
  .payment-method img:last-child {
    margin-right: 0
  }

  /* Footer */
  footer {
    background: #016217;
    padding: 20px 0 25px;
    letter-spacing: 0;
  }
  footer .footer-menu {
    padding-bottom: 12px;
  }
  footer .footer-menu a {
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    transition: all .3s
  }
  footer .footer-menu a:not(:last-child):after {
    content: "｜";
    display: inline-block
  }
  footer .footer-menu a:hover {
    text-decoration: underline;
  }
  footer .footer-credits {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #FFFFFF;
  }

  /* Side Menu */
  body.nav-is-toggled::after {
    opacity: 1;
    visibility: visible
  }
  #close_mask {
    position: fixed;
    z-index: 340;
    background-color: rgba(255, 255, 255, 0.8);
    height: 100vh;
    width: 100vw;
    -webkit-transition: .4s;
    transition: .4s;
    opacity: 0;
    visibility: hidden;
    top: 0
  }
  #close_mask.active {
    opacity: 1;
    visibility: visible;
  }
  .nav-drill ul {
    list-style-type: none;
    padding: 20px 0 0 0;
  }
  .nav-drill {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%)
  }
  .nav-is-toggled .nav-drill {
    -webkit-transform: translateX(0);
    transform: translateX(0)
  }
  .nav-drill {
    display: -webkit-box;
    display: flex;
    position: fixed;
    z-index: 350;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background-color: #016217;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: .45s;
    transition: .45s
  }
  .nav-items {
    -webkit-box-flex: 0;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: center;
  }
  .nav-drill .nav-item {
    width: 100%;
    padding: 15px 22px;
    border-bottom: 1px solid #fff
  }
  .nav-drill .nav-link {
    position: relative;
    display: block;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
  }
  .nav-drill .nav-language:after {
    content: '';
    background: url('../img/icon-arrow-w.svg') no-repeat;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
  }
  .nav-drill #collapseLang {
    background: #fff;
    padding: 15px 22px;
    font-size: 14px;
    line-height: 28px;
  }
  .nav-is-toggled .nav_mask_click {
    display: block
  }
  .closeham {
    position: fixed;
    right: 15px;
    top: 0px;
    z-index: 500;
    display: none;
    opacity: 1;
    font-size: 30px;
    color: #474747
  }
  body.nav-is-toggled .closeham {
    display: block;
  }
  .nav_mask_click {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    transform: translateX(-250px);
    z-index: 350;
    display: none
  }

   /* Responsive */
  @media screen and (max-width:1199px) {
    .discount-details .caption {
      display: block;
    }
    .discount-content > .img-wrapper {
      height: 120px;
    }
  }

  @media screen and (max-width:991px) {
    .navbar {
      position: fixed;
      height: 72px;
      width: 100%;
      left: 0;
      top: 0;
    }
    .navbar-brand img {
      max-width: 185px;
    }
    main {
      margin-top: 72px;
    }
    .search-engine {
      background: none;
    }
    .recent-search {
      display: block;
      margin: 0 auto 20px;
      padding: 15px;
    }
    .discount-promotion .discount-content {
      position: relative;
      box-shadow: none;
      display: flex;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      margin-bottom: 20px;
    }
    .discount-content .discount-details {
      background: transparent;
      margin-left: 12px;
      font-size: 18px;
      padding: 0
    }
    .discount-content > .img-wrapper {
      width: 220px;
    }
    .discount-promotion .discount-content > .img-wrapper img {
      border-radius: 8px;
    }
    .discount-content .discount-details .price {
      position: absolute;
      right: 0;
      bottom: 0;
    }
  }

  @media screen and (max-width:550px) {
    .recent-search {
      font-size: 18px;
    }
    .recent-search .recents-date {
      font-size: 14px;
    }
    .discount-content > .img-wrapper {
      width: 165px;
    }
    .discount-details {
      font-size: 18px;
      width: calc(100vw - 170px);
    }
    .discount-content > .img-wrapper {
      height: 85px
    }
    .discount-details, .discount-content .discount-details .price {
      font-size: 16px;
    }
    .discount-content .discount-details .price span {
      font-size: 20px;
    }
  }