header .main_header #logo a img {
  object-fit: contain;
  height: 68px;
}
@media (max-width: 991px) {

  header .main_header {
      padding: 5px 0;
  }

  header .main_header #logo a img {
    height: 50px;
  }
}
/* ========== html 編輯器 ========== */
/* .page_html_edit {
  margin: 35px 0px 80px;
}
@media (max-width: 991px) {
  .page_html_edit {
    margin: 30px 0px 70px;
  }
}
@media (max-width: 576px) {
  .page_html_edit {
    margin: 25px 0px 60px;
  }
} */
.page_content_html * {
  line-height: 1.5em;
}

.page_content_html {
  width: 100%;
  word-break: break-all;
}

.page_content_html img {
  max-width: 100%;
  height: auto !important;
  display: inline !important;
}

.page_content_html iframe {
  max-width: 100%;
}

.page_content_html p {
  font-size: 16px;
  z-index: 1;
}

.page_content_html p {
  z-index: 1;
}
.page_content_html strong {
  font-weight: bolder;
}
.page_content_html ul,
.page_content_html ol {
  padding-left: 2rem;
}
.page_content_html:after {
  content: ""; /* 2. 新增 content，注意需要加上 "" */
  display: block; /* 3. 新增 display，也可以用 table */
  clear: both;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #ddd;
  opacity: 0;
}

::-webkit-scrollbar {
  width: 3px;
  background-color: #004dda;
  opacity: 0;
}

::-webkit-scrollbar-thumb {
  background-color: #004dda;
  opacity: 0;
}

.new_price.original_price {
  color: #000;
}

.btn_number.active {
  background-color: #004dda;
  border: 1px solid #004dda;
}
.btn_number:disabled {
  background-color: #2a2a2a;
  text-decoration: line-through;
}
.top_panel .item .btn_panel button {
  min-width: 200px;
}
@media (max-width: 1199px) {
  .top_panel .item .btn_panel button {
    min-width: inherit;
  }
}
@media (max-width: 767px) {
  .top_panel .item .btn_panel button {
    width: 49.2%;
  }
}

.map_contact iframe {
  width: 100% !important;
}

.main-menu .head_menu_mobile {
  display: none;
}
@media (max-width: 991px) {
  .main-menu .head_menu_mobile {
    display: block;
  }
}

/* 儲值點數 */
@media (max-width: 767px) {
  .tabs_product {
    margin-top: 0;
  }
  .tabs_product .nav-tabs {
    display: flex;
    row-gap: 4px;
  }
}
.pay_title {
  padding-left: 10px;
  border-left: 4px solid #004dda;
}
@media (max-width: 767px) {
  .pay_title {
    font-size: 1rem;
  }
}
.top_up_point_box {
  text-align: center;
  background: #fff;
  padding: 15px 30px 15px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.125);
  background-clip: border-box;
  color: #444;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 3px;
  font-size: 20px;
}
.top_up_point_box.active {
  box-shadow: none;

  border: 1px solid gray;
}

/* 抽獎商品內頁 */
.product_content_carousel.owl-carousel .owl-item img {
  aspect-ratio: 1;
  object-fit: cover;
}

.top_panel_draw_final_award {
  color: #d32f2f;
  font-weight: bold;
  font-size: 16px;
}
.final_award_block {
  color: #d32f2f;
  font-weight: bold;
  font-size: 16px;
}
/* 抽獎頁面 */
.product_draw_time_block {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #004dda;
  z-index: 10;
  padding: 5px 0;
  text-align: center;
}
.product_draw_time_text {
  color: #fff;
  font-size: 18px;
}
.product_draw_time_remind {
  color: #212529;
  font-size: 14px;
}

@media (max-width: 767px) {
  .product_draw_btn {
    text-align: right;
  }
}
.product_draw_btn a.btn_1 {
  text-transform: uppercase;
  width: 100%;
}
@media (max-width: 767px) {
  .product_draw_btn a.btn_1 {
    display: inline-block;
    width: auto;
    margin-top: 30px;
  }
}

.top_panel_win_awards {
  background-color: #fff;
  position: fixed;
  /* top: -500px; */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  min-height: 500px;
  z-index: -999;
  /* z-index: 9999; */
  box-shadow: 0 20px 20px -20px rgba(0, 0, 0, 0.25);
}
.top_panel_win_awards.show {
  opacity: 1;
  z-index: 99999;
  transition: all 0.3s ease;
}

.top_panel_win_awards .header_panel {
  position: relative;
  padding: 15px;
}
.top_panel_win_awards .header_panel label {
  font-weight: 500;
  font-size: 15px;
  font-size: 0.9375rem;
  position: relative;
  padding-left: 30px;
}
.top_panel_win_awards .header_panel label:before {
  font-family: "themify";
  content: "\e64d";
  color: #66cc33;
  font-size: 24px;
  font-size: 1.5rem;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: -7px;
}
.top_panel_win_awards .header_panel small {
  font-weight: 500;
  font-size: 15px;
  font-size: 0.9375rem;
}
.top_panel_win_awards .header_panel a.btn_close_top_panel {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  position: absolute;
  font-size: 24px;
  font-size: 1.5rem;
  top: 15px;
  right: 15px;
  color: #999;
  opacity: 0.8;
  width: 24px;
  height: 24px;
  line-height: 1;
}
.top_panel_win_awards .header_panel a.btn_close_top_panel:hover {
  transform: rotate(90deg);
  opacity: 1;
  color: #444;
}

.top_panel_win_awards .item {
  background-color: #f4f4f4;
  padding: 25px 0;
  min-height: 130px;
}
.top_panel_win_awards .item .btn_panel {
  text-align: right;
  padding-top: 25px;
}
@media (max-width: 991px) {
  .top_panel_win_awards .item .btn_panel {
    padding-top: 15px;
  }
}
@media (max-width: 767px) {
  .top_panel_win_awards .item .btn_panel {
    text-align: center;
  }
}
.top_panel_win_awards .item .btn_panel a {
  min-width: 200px;
}
@media (max-width: 1199px) {
  .top_panel_win_awards .item .btn_panel a {
    min-width: inherit;
  }
}
@media (max-width: 767px) {
  .top_panel_win_awards .item .btn_panel a {
    width: 49.2%;
  }
}
.top_panel_win_awards .related {
  padding: 15px 0 20px 15px;
}
@media (max-width: 991px) {
  .top_panel_win_awards .related {
    display: none;
  }
}
.top_panel_win_awards .related h4 {
  font-size: 13px;
  font-size: 0.8125rem;
  color: #999;
  margin: 5px 0 15px 0;
}
.top_panel_win_awards .related .item_panel a h5 {
  font-size: 14px;
  font-size: 0.875rem;
  color: #004dda;
  padding-top: 5px;
  margin: 0 0 3px 0;
  font-weight: 400;
  color: #444;
}
.top_panel_win_awards .related .item_panel a h5:hover {
  color: #004dda;
}
.top_panel_win_awards .related .item_panel figure {
  width: 60px;
  height: 60px;
  position: relative;
  overflow: hidden;
  border: 1px solid #ededed;
  padding: 0;
  border: 0;
}
.top_panel_win_awards .related .item_panel figure img {
  height: 60px;
  width: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1.1);
}
.top_panel_win_awards .item_panel {
  position: relative;
  width: 100%;
}
.top_panel_win_awards .item_panel figure {
  width: 70px;
  height: 70px;
  overflow: hidden;
  position: relative;
  margin: 0 15px 0 0;
  float: left;
  border: 1px solid #dddddd;
  padding: 10px;
  background-color: #fff;
  box-sizing: content-box;
}
.top_panel_win_awards .item_panel figure img {
  width: auto;
  height: 70px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1.1);
}
.top_panel_win_awards .item_panel h4 {
  font-size: 18px;
  font-size: 1.125rem;
  margin: 0 0 3px 0;
  font-weight: 400;
  padding-top: 15px;
  color: #444;
}
@media (max-width: 991px) {
  .top_panel_win_awards .item_panel h4 {
    padding-top: 0;
    font-size: 15px;
    font-size: 0.9375rem;
  }
}

.td_not_data::before {
  display: none !important;
}

.img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* swal alert */
.swal2-container {
  z-index: 99999 !important;
}
