html, body, mall-app {
  height: 100%;
}

mall-app {
  height: auto;
  min-height: 100%;
  display: block;
}

.app-container {
  flex-direction: column;
  height: auto;
  display: flex;
}

footer {
  margin-top: -100px;
  position: relative;
}

.mobile-nav-container {
  display: none;
}

.button_user {
  display: block;
}

.appButton a {
  text-decoration: none;
}

.header-container, .nav_link {
  height: 55px;
}

.header-container {
  border-bottom: 1px solid #fff3;
  padding-left: 24px;
  padding-right: 24px;
}

nav {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.header-primary-container {
  align-items: center;
  display: flex;
}

.nav_links {
  text-align: center;
  flex: auto;
  margin-bottom: 0;
  padding-left: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 140%;
  list-style: none;
  display: flex;
}

.nav_link {
  align-items: center;
  display: flex;
}

.nav_link a {
  cursor: pointer;
  color: #fff;
  margin: 10px;
  padding: 10px;
  text-decoration: none;
  position: relative;
}

.nav_link.active a {
  color: #3887fe;
}

.nav_links > li:first-child a {
  margin-left: 0;
  padding-left: 0;
}

.logo_link {
  min-width: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  padding-left: 0;
  display: flex;
}

.logo_link img {
  width: 32px;
  height: 32px;
}

.search-container, mall-app content {
  padding-left: 72px;
  padding-right: 72px;
}

.input-search-wrapper {
  display: flex;
  position: relative;
}

.search-container {
  padding-top: 72px;
}

.cell-item .card {
  background-color: #2f2f2f;
  transition: transform .4s;
  position: relative;
  transform: scale(1);
}

.cell-item .card:hover {
  transform: scale(.97) !important;
}

.cell-item .card .card-body {
  padding: 1rem 8px;
}

.cell-item .card .card-footer {
  padding: .5rem 8px;
}

.cell-thumbnail-box {
  position: relative;
}

.cell-meta-box {
  align-items: center;
  min-height: 24px;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.cell-meta__stats {
  color: #fff;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  height: 18px;
  padding: 8px;
  font-size: 13px;
  display: flex;
}

.cell-meta__stats--item {
  cursor: pointer;
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
  color: #dbdee1;
  background: #1e1f22;
  border: 1px solid #0000;
  border-radius: 8px;
  outline: 0;
  flex-shrink: 0;
  margin-bottom: 8px;
  margin-left: 12px;
  padding: 1px 6px;
  font-size: 12px;
  font-weight: 500;
  transition: background-color .1s, border-color .1s;
}

.cell-meta__stats--text {
  padding-left: 2px;
}

.cell-thumbnail {
  aspect-ratio: 4 / 3;
  width: 100%;
}

mall-app main {
  flex: 1;
}

#offcanvasRight, #feedback_offcanvas_right, #user_need_feedback_offcanvas_right {
  z-index: 20002;
}

.s_type_wrapper {
  padding-top: .5rem;
  display: flex;
  position: relative;
}

.s_type {
  color: #b5b6ba;
  padding: .5rem;
  font-weight: 500;
  position: relative;
}

.s_type:first-child {
  padding-left: 0;
}

.s_type a {
  color: #b5b6ba;
  text-decoration: none;
}

.s_type a:hover, .s_type.active {
  color: #f5f5f5;
}

.s_type.active:after {
  content: "";
  background: #6a6a6a;
  width: 100%;
  height: 3px;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.section-filter {
  background-color: #000;
  margin-top: 48px;
}

.top-bar-filter-budget {
  color: #fff;
  background-color: #121212;
  border: none;
  border-radius: 2px;
  max-width: 100px;
  margin-bottom: 36px;
  font-weight: 700;
}

.top-bar-filter-budget.show {
  background-color: #1f1f1f;
  border-color: #686868;
}

#section_user_need_feedback_offcanvas .offcanvas-title, #section_user_need_feedback_offcanvas .form-label {
  color: #fdfdfd;
}

.budget-filter-form {
  background-color: #1f1f1f;
  min-width: 300px;
}

#btn_budget_confirm, #btn_local_confirm {
  background-color: #000;
}

#btn_budget_confirm:hover, #btn_local_confirm:hover {
  background-color: #454545;
}

.input-wrapper {
  flex-direction: column;
  flex: 1;
  margin-bottom: 12px;
  display: flex;
  position: relative;
}

.input-wrapper input {
  -webkit-box-shadow: none;
  box-shadow: none;
  -o-transition: border-color .35s ease;
  border-color: #dadbdd;
  min-width: 120px;
  min-height: 36px;
  transition: border-color .35s;
}

.input-wrapper label, .location-select-form label, #section_filter_wrapper .form-check-label {
  color: #95979d;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 24px;
}

.input-wrapper i {
  color: #b5b6ba;
  z-index: 1;
  font-style: normal;
  position: absolute;
  top: 37px;
  right: 8px;
}

.sort-by {
  color: #fff;
  text-align: center;
  appearance: none;
  border: none;
  border-radius: 2px;
  width: 115px;
  margin-bottom: 36px;
  font-size: 1rem;
  font-weight: 700;
  background: #121212 url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white'  d='m2 5 6 6 6-6'/></svg>") right .5rem center / 12px 12px no-repeat !important;
}

.sort-by:focus {
  box-shadow: none;
}

.top-search-input {
  color: #b5b6ba;
  letter-spacing: .6px;
  background: #1f1f1f;
  border: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  height: 44px;
  font-size: 1rem;
  font-weight: 500;
}

.top-search-input::placeholder {
  color: #b5b6ba;
}

.top-search-input:focus {
  box-shadow: none;
  border: none;
}

.service_not_found_container {
  background-color: #141414;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 25px;
  padding-bottom: 100px;
  display: flex;
}

.service_not_found_description .sorry {
  font-size: large;
  font-weight: bolder;
}

.service_not_found_description .sub_command {
  color: #c1c1c1;
  -webkit-line-clamp: 2;
  word-break: break-word;
  overflow-wrap: break-word;
  vertical-align: middle;
  -webkit-box-orient: vertical;
  font-family: MicrosoftYahei, Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.765;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.topbar-wrapper {
  z-index: 2000;
  position: sticky;
  top: 0;
}

.top-bar {
  padding-top: 20px;
}

.topbar-wrapper.sticky {
  box-shadow: 0 2px 2px #16151580;
}

.fixed_grid_panel_width {
  height: 500px;
}

.search-btn-container {
  color: #212529;
  text-align: center;
  background: #1f1f1f;
  border-top-right-radius: .375rem;
  border-bottom-right-radius: .375rem;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.search-btn-container .btn {
  border: none;
  padding: .125rem .45rem;
}

.local-input-btn {
  color: #fff;
  background: #000;
  border: none;
  border-radius: 2px;
}

.location-select-form {
  z-index: 2001;
  background-color: #1f1f1f;
  min-width: 300px;
}

.local-input-btn.show, .top-bar-filter-budget:hover, .local-input-btn:hover {
  background-color: #1f1f1f;
}

.input-search-area {
  width: 400px;
}

.local-city {
  -webkit-line-clamp: 1;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
  -webkit-box-orient: vertical;
  max-width: 70px;
  font-size: 12px;
  display: inline-block;
  overflow: hidden;
}

.brand-logo-container {
  width: 30px;
  height: 30px;
  position: relative;
}

.service_not_found_illustration {
  justify-content: center;
  display: flex;
}

.service_not_found_illustration img {
  width: 48%;
}

.service_not_found_description {
  text-align: center;
}

@media (width >= 768px) and (width <= 1024px) {
  .search-container, mall-app content {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (width <= 576px) {
  .top-bar-filter-budget, .sort-by, .sbu-option, .sbu-option option, .s_type {
    font-size: 14px;
  }

  .top-search-input {
    height: unset;
    font-size: 12px;
  }

  .input-search-area {
    width: 200px;
  }

  .search-container, mall-app content, .header-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .search-container {
    padding-top: 36px;
  }

  .section-filter {
    margin-top: 24px;
  }

  .header-container {
    align-items: center;
    display: flex;
  }

  .header-container nav {
    justify-content: space-between;
    width: calc(100vw - 24px);
    display: flex;
  }

  .mobile-nav-container {
    display: block;
  }

  .header-primary-container .nav_links {
    display: none;
  }
}

.card-text, .service-brand-name {
  color: #c1c1c1;
  -webkit-line-clamp: 2;
  word-break: break-word;
  overflow-wrap: break-word;
  vertical-align: middle;
  -webkit-box-orient: vertical;
  font-family: MicrosoftYahei, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

.card-text {
  white-space: pre-wrap;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  height: 70px;
  display: -webkit-box;
  overflow: hidden;
}

.service-brand-name {
  -webkit-line-clamp: 2;
  word-break: break-word;
  overflow-wrap: break-word;
  vertical-align: middle;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
  -webkit-box-orient: vertical;
  width: calc(100% - 32px);
  font-family: MicrosoftYahei-regular, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  display: inline-block;
  overflow: hidden;
}

.enable-blue i {
  color: #3887fe;
}

.select-container .col {
  padding-left: 0;
  padding-right: 0;
}

.nav_link.active span {
  color: #6495ed;
}

.show-more-row {
  background-color: unset;
  box-sizing: border-box;
  border: 0;
  justify-content: center;
  align-items: center;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.btn-show-more {
  color: #fff;
  background-color: #248045;
  border: none;
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  width: 128px;
  height: 32px;
  font-size: 14px;
  display: flex;
}

.btn-show-more:hover {
  background-color: #15562b;
}

.section-service-grid {
  padding-bottom: 48px;
}

.header-container nav {
  height: 56px;
}

.header-container .dropdown-menu {
  z-index: 2001;
}
