/**------- 儲值-特惠專區 -------**/

/* google 驗證使用 */
.grecaptcha-badge {
  display: none;
}

#game_store_new .card-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  flex-wrap: nowrap;
}

#game_store_new .card {
  border-radius: 0.5rem;
  cursor: pointer;
  border: none;
  /* box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px; */
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
}

#game_store_new .card:hover {
  scale: 1.05;
  transition: all 0.3s ease;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

#game_store_new .card-img-top {
  width: 100%;
  border-top-left-radius: calc(0.5rem - 1px);
  border-top-right-radius: calc(0.5rem - 1px);
}

#game_store_new .card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 0.5rem 1.25rem 1.25rem 1.25rem;
  display: inline-grid;
  min-height: 140px;
}

#game_store_new .btn {
  height: 38px;
}

#game_store_new .card-title {
  margin: 0;
  align-self: center;
}

#game_store_new .card-text {
  display: -webkit-box;
  /* -webkit-line-clamp: 5; */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  align-self: center;
  color: #999999;
}

#game_store_new .show-partially {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}

#game_store_new .card-btn {
  align-self: end;
  border-radius: 0.5rem;
  background: #03a9f4;
  border: none;
}

#game_store_new .card-btn:hover {
  background: #0391d3;
}

#game_store_new .m-04 {
  margin: 0.4rem;
}

#game_store_new .more {
  position: relative;
  cursor: pointer;
  font-size: 12px;
  color: #0391d3 !important;
}

#game_store_new .card_logo_img {
  width: 60px;
  margin: 0 1rem;
}

#game_store_new .sale_img img {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 60px;

  filter: drop-shadow(5px 5px 3px rgba(0, 0, 0, 0.3));
}

#game_store_new .btn-primary.focus,
#game_store_new .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(3, 169, 244, 0.5);
}

#game_store_new .sale_btn {
  background: #f18e31 !important;
}

#game_store_new .sale_btn.focus,
.sale_btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(241, 142, 49, 0.5) !important;
}

#game_store_new .sale_more {
  position: relative;
  cursor: pointer;
  font-size: 12px;
  color: rgb(241, 142, 49) !important;
}

.in-banner {
  padding-bottom: 1rem;
}

.in-banner img {
  width: -webkit-fill-available;
  max-height: 400px;
  object-fit: contain;
}

.in-banner .mb {
  display: none;
}

.card_logo_img {
  border-radius: 10px;
}

#more_game {
  display: flex;
  align-items: center;
}

#more_game a {
  color: #666;
}

#new_title .title-link span {
  font-size: 18px;
  padding-left: 4px;
  vertical-align: middle;
}

#new_title.title-wrap {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.title-link-btn {
  justify-content: center;
  width: 150px;
  margin-top: 1.5rem !important;
  border-radius: 5px;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  width: 20%;
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  height: calc((100% - 30px) / 2) !important;

  /* Center slide text vertically */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */
/**------- 儲值-特惠專區 -------**/

@media (max-width: 1200px) {
  #game_store_new .card-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    flex-wrap: nowrap;
  }

  #game_store_new .card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0.5rem 1.25rem 1.25rem 1.25rem;
    display: inline-grid;
    min-height: 140px;
    justify-content: center;
  }
}

@media (max-width: 976px) {
  #game_store_new .md_d_none {
    display: none;
  }
}

@media (max-width: 576px) {
  #game_store_new .card-row {
    margin: 1rem;
  }

  #game_store_new_bn.in-banner .pc {
    display: none;
  }
  #game_store_new_bn.in-banner {
    padding-bottom: 0;
  }

  #game_store_new .card_logo_img {
    width: 30px !important;
    border-radius: 5px;
    margin: 0;
    margin-right: 0.5rem;
  }

  #game_store_new #lt_title_more_game {
    font-size: 16px;
  }

  #game_store_new .title-link {
    padding-top: 0;
  }
}

@media (max-width: 479px) {
  #game_store_new .xs_d_none {
    display: none;
  }

  #game_store_new .card-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 378px) {
  #game_store_new .card-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}
/* 火狐專用 */

.fill-available {
  width: 100%;
  /* 其他瀏覽器的預設寬度 */
}

/* 只在火狐瀏覽器中應用特定的樣式 */
@-moz-document url-prefix() {
  .fill-available {
    width: -moz-available;
  }
}

.p_blue {
  color: #0391d3;
}

/* 付款頁面 */

/* 隱藏 input number 的上下箭頭 */
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.store-total h4 {
  text-align: left;
  /* font-size: 22px; */
  margin-top: 8px;
  text-align: center;
}

/* 登入彈跳視窗 */

.login_modal {
  border-radius: 20px;
}

.tab-content {
  margin-top: 2rem;
}

/* 客製距離 */

.mb-45 {
  margin-bottom: 2rem;
}

.mt-15 {
  margin-top: 1.5rem;
}

#ujModal .modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #ffffffba;
  background-color: rgba(97, 205, 255, 0.8);
  background-color: rgba(241, 142, 49, 0.8);
  backdrop-filter: blur(5px);
  background-clip: padding-box;
  border: none;
  border-radius: 1.5rem;
  outline: 0;
}

#ujModal .modal-header {
  border-bottom: none;
  border-radius: 1.5rem 1.5rem 0 0;
}

#ujModalLabel.modal-title {
  color: #ffffff;
}

#ujModalLabel2.modal-title {
  text-align: center;
  font-size: 1rem;
}

#ujModalLabel2.modal-title img {
  border-radius: 5px;
  margin-right: 0.5rem;
}

#ujModal .modal-body {
  background-color: rgba(255, 255, 255, 1);
  backdrop-filter: blur(5px);
  padding: 3rem;
  padding: 1rem 3rem 1rem 3rem;
}

#ujModal .modal-footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 1rem;
  border-top: none;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 0 0 1.5rem 1.5rem;
}

#ujModal .nav-tabs .nav-item.show .nav-link,
#ujModal .nav-tabs .nav-link.active {
  color: #495057;
  background-color: #fff;
  border-color: #fff #fff #03a9f4;
}

#ujModal .nav-tabs .nav-link:after {
  content: '';
  position: absolute;
  width: 36px;
  height: 2px;
  left: 50%;
  transform: translate(-50%);
  background: var(--tab-bottom);
  border-radius: 1px;
}

#ujModal .nav-tabs {
  border-bottom: 1px solid #dee2e6;
}

#ujModal .nav-tabs .nav-link:focus {
  border-color: #fff #fff #03a9f4;
  font-weight: 500;
}
#ujModal .nav-tabs .nav-link:hover {
  border-color: #fff #fff #dee2e6;
}

#ujModal .nav-tabs .nav-item.show .nav-link,
#ujModal .nav-tabs .nav-link.active {
  background-color: #fff;
  border-color: #fff #fff #03a9f4;
  color: #0391d3;
  font-weight: bolder;
}

#ujModal a {
  cursor: pointer;
  color: #495057;
  transition: all 0.5s ease;
}

#ujModal .modal-title img {
  height: 30px;
}

#ujModal .customer-btn {
  margin: auto;
}

#ujModal .login_btn {
  width: 100%;
  margin: 1rem 0 !important;
}

#ujModal .btn.btn-ture {
  background-color: #f18e31;
  color: #ffffff;
  font-size: 16.5px;
  margin: 4px auto;
  width: 100%;
  padding: 1rem 0.8rem;
  border-radius: 10px;
  margin: 0 0.5rem;
}

#ujModal .form-label {
  font-weight: bold;
}

label.form-label i {
  margin-right: 5px;
}

.login-note2 span {
  color: #f18e31;
  /* border-bottom: 1px solid #f18e31; */
}

.login-note2 {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #999999;
}

.form-control {
  border-radius: 8px;
}

/* 使用其他登入方式---Start*/

.icon_box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.oth_login {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  margin: 0 0.5rem;
  background-color: transparent;
  /* background-image: linear-gradient(#fff, #f5f5fa); */
  box-shadow: rgba(37, 44, 97, 0.15) 0 0px 4px 0, rgba(93, 100, 148, 0.2) 0 0px 3px 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.oth_login:hover {
  transition: 0.5s;
  box-shadow: rgba(37, 44, 97, 0.15) 0 0px 6px 0, rgba(93, 100, 148, 0.2) 0 0px 6px 0;
}

.oth_login img {
  width: 2.5rem;
}

.oth_text {
  text-align: center;
  margin-bottom: 0;
  color: #555;
}

/* 使用其他登入方式---End*/

.form-a .form-control.form-control-a {
  height: auto;
  font-size: 17px;
  border-radius: 5px;
}

.form-a label {
  color: #555;
}

.item_img {
  text-align: center;
}

/* 數量+-按鈕 */

.btn-outline-secondary:hover {
  color: #fff;
  background-color: #f66;
  border-color: #f66;
}
.btn-outline-secondary:not(:disabled):not(.disabled).active,
.btn-outline-secondary:not(:disabled):not(.disabled):active,
.show > .btn-outline-secondary.dropdown-toggle {
  color: #fff;
  background-color: #f66;
  border-color: #f66;
}

.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 102, 102, 0.5);
}

.btn-outline-secondary.focus,
.btn-outline-secondary:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 102, 102, 0.5);
}

.btn_number_disable {
  border: 1px solid #999999 !important;
  background-color: #cccccc !important;
  color: #666666 !important;
  cursor: not-allowed;
}

@media (max-width: 992px) {
  .title-style {
    padding: 0px;
    width: 20px;
    height: 20px;
    background-color: #bbb;
    color: #bbb;
    margin: 1rem 5px;
  }

  #ujModal .modal-body {
    padding: 1rem 2rem 1rem 2rem;
  }
}

@media (max-width: 420px) {
  #ujModal .modal-body {
    padding: 1rem;
  }

  #ujModal .btn.btn-ture {
    margin: 0rem;
  }

  .mb-45 {
    margin-bottom: 1rem;
  }
}

@media (max-width: 375px) {
  #ujModal a {
    font-size: 0.95rem;
  }
}
.county,
.district {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0;
  width: 100%;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  display: block;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  border-radius: 5px;
}

.form-a select.form-control-lg:not([size]):not([multiple]) {
  height: 43px;
}

/* 登入-Email驗證 */

.row_email {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: 0px;
  margin-left: 0px;
  justify-content: space-between;
}

.btn-login {
  color: #fff;
  background-color: #03a9f4;
  border-color: #03a9f4;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.bi-chevron-right {
  opacity: 0.5;
}

#ujModal .btn.btn-ture:hover,
#ujModal .btn.btn-back:hover,
#ujModal .btn.btn-faq-r:hover,
#ujModal .btn.btn-faq-l:hover {
  background-color: #f4c191;
  color: #ffffff;
}

.btn-login:hover {
  background-color: #89d3f5;
  border-color: #89d3f5;
}

@media (max-width: 576px) {
  .btn-login {
    margin: 0.8rem 0;
    height: 2.5rem;
  }

  .login-note2 {
    margin-top: 0px;
  }

  .bi-chevron-right {
    display: none;
  }
}
