@import 'material-switch.css';
@import 'round-button.css';
@import 'sweet-alert-cust.css';
@import 'common.css';
@import 'productCard.css';
@import 'in_point.css';
@import 'header1.css';
@import 'memberCard.css';
@import "life.css";

/* body { font: 18px/150% 'Noto Sans TC','PingFang TC',sans-serif; } */
body { font: 18px/150% 'PingFang TC',sans-serif; }

/* 修改天 */
.header { position: fixed; }
.header>.area>.logo-btn { width: 170px; height: 40px; }
.header>.area>.logo-btn.logo-2 { width: 125px; }
.header>.area>.logo-btn:before { content: none; }
.header>.area>.logo-1 { margin-right: 21px; }
.header>.area>.title-cht { color: #999; line-height: 40px; }

.header>.area .icon-menu { display: block; margin: 0; top: 26px; left: -10px; }

.header>.area .icon-menu+.logo-btn { margin-left: 32px; }
.header_nav { display: inline-block; vertical-align: middle; /*margin-left: 16px;*/ }
.header_nav a { display: inline-block; min-width: 90px; text-align: center; font-size: 14px; line-height: 76px; color: #666; transition: 0.2s; }
.header_nav a:nth-last-child(1) { margin: 0; }
.header_nav a:hover,
.header_nav a.selected {
  color: #209CFF;
}
.header_nav a:focus {
  opacity: 0.8;
}
.menu { display: none; top: 80px; max-width: 100vw; }
/* .menu>.area { max-width: 460px; } */
.menu.noMenu { display: none !important; }
.menu.noMenu~.spacing { height: 80px; }
.pop-card-Level { top: 96px; }
.menu.hide { display: none; }
.header>.area>.logo-cht { display: none; }
@media (min-width: 768px){
  .menu>.area { grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr; }
  .spacing { height: 81px; }
  .pop-forMenu { background: none; }
  .pop-forCard {
    background: rgba(0, 0, 0, 0);
  }
}
.point-num { float: right; margin-top: 28px; margin-right: 10px; font-size: 14px; color: #21BF74; }
@media screen and (max-width: 992px){
  .header>.area { margin: 0 24px; max-width: calc(100% - 48px); }
  .header>.area>.logo-1 { margin-left: 10px; }
  .header>.area .icon-menu { left: 0; }
  /* logo */
  .header>.area>.logo-1 { display: none; }
  .header>.area>.logo-btn.logo-2 { /*margin-left: 45px;*/ }
  .header>.area>.logo-cht { display: inline-block; position: absolute; top: 26px; left: 6px; }
  .header>.area>.logo-cht img { width: 24px; height: 24px; }
  .header>.area>.logo-cht.logo-2 { display: none; }

  .header>.area>.icon-account-login-m { }

  .header_nav a {
    min-width: 76px;
  }

}
@media screen and (max-width: 846px) {
    .header_nav a {
        min-width: 60px;
        padding: 0 4px;
    }
}
@media screen and (max-width: 767px) { /* 修改天 */
  .header>.area { margin: 0; max-width: 100%; }
  .header>.area>.title-cht { margin-top: 8px; }
  .header>.area>.logo-cht { top: 16px; left: 16px; }

  .header>.area .icon-menu { top: 0; margin: 18px 0 0 20px; }
  .header>.area .icon-menu~.logo-cht { left: 64px; }

  .header>.area>.logo-cht.logo-2 { display: block; position: absolute; width: 125px; height: 56px; top: 0; left: calc(50% - 63px); }

  .header>.area>.logo-cht.logo-2 img { width: 125px; height: 58px; }
  .header_nav { display: none; }
  .point-num { margin-top: 18px; font-size: 14px; margin-right: 5px; }

  .menu { position: fixed; top: auto; bottom: 0; left: 0; width: 100%; height: 80px; box-shadow: 0px -2px 16px rgba(0, 0, 0, 0.12); border-radius: 0px; }
  .menu.top { display: block !important; top: 56px; bottom: auto; height: auto; max-height: 0; border-radius: 0 0 8px 8px; box-shadow: 0 1px 3px rgb(0 0 0 / 12%); }
  .menu.top.show { height: auto; max-height: 162px; }
  .menu>.area { max-width: 456px; }
  .menu.mobile-foot { display: block !important; max-height: 80px; }
  .menu.mobile-foot~footer { padding-bottom: 90px; }
  .spacing { height: 60px; }
  .menu.noMenu~.spacing { height: 60px; }
  .menu.noMenu.mobile-foot~footer { padding-bottom: 0; }

  .pop-card-Level { top: 72px; }

  .pop-forCard {
    background: rgba(0, 0, 0, 0.3);
  }

}

@media (max-width: 575px) { /* 底部menu */
  .menu.mobile-foot > .area { grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; }
}
@media (min-width: 576px) and (max-width: 767px) { /* 底部menu */
  .menu.mobile-foot > .area { grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; }
}


/* ------------------------------------------ */

/* 修改開關 */
.label-primary { background-color: #209CFF; }
.material-switch>label { width: 34px; }
.material-switch>label::before { width: 34px; height: 14px; }
.material-switch>label::after { width: 20px; height: 20px; left: 0; margin-top: -7px; }
.material-switch>input[type="checkbox"]:checked+label::before { background: rgba(32, 156, 255, 0.2); box-shadow: none; opacity: 1; }
.material-switch>input[type="checkbox"]:checked+label::after { left: 14px; }

/* -------------- 修改天地 -------------- */
.cht-nav-menu-wrapper .m-contain { max-width: 800px; padding: 0 20px; }
.cht-nav-container { height: 68px; }
.cht-nav-container > .pull-right { margin-top: 20px; }
.cht-nav .point-deco-lg-word { color: #fff; }
.alink { width: 100%; height: 100%; position: absolute; z-index: 1; display: block; left: 0; top: 0; }
.popup-con-member img.w-24 { width: 24px; }


/* page */
.l-contain,
.m-contain,
.s-contain,
.xs-contain { margin: auto; padding: 24px; }
.l-contain { max-width: 1000px; }
.m-contain { max-width: 980px; }
.s-contain { max-width: 360px; }
.xs-contain { max-width: 300px; }

.container { width: 100%; max-width: 950px; }

.main { padding-top: 0; overflow-x: hidden; }

/* 內容區塊 */
.panel-hint { position: relative; padding: 14px 14px 14px 43px; font-size: 14px; line-height: 20px; color: #333; }
.panel-gray { background: #f5f5f5; box-shadow: none; }
.row-padding { margin-left: -6px; margin-right: -6px; }
.row-padding > div { padding-left: 6px; padding-right: 6px; }
.row.md-center { display: flex; align-items: center; }
/* popup */
.popup + .popup-panel { display: none; }

.popupopen + .popup-panel { display: block; }

.pop-fullpage { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.3); z-index: 1100; }

.pop-fullpage.popupopen { display: block; }

.popup-panel { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1101; width: 100%; margin: 40px auto; padding: 20px; border-radius: 8px; }

/* .popup.popupopen~.main { position: fixed; width: 100%; } */

/* -------------- 修改元素 -------------- */
.web { display: block; }
.mobile { display: none; }

.f-left { float: left; }
.f-right { float: right; }
.clear { clear: both; }

.w-10 { width: 10px; }
.w-12 { width: 12px; }
.w-14 { width: 14px; }
.w-16 { width: 16px; }
.w-32 { width: 32px; }
.w-38 { width: 38px; }
.w-64 { width: 64px; }
.w-75 { width: 75px; }
.w-80 { width: 80px; }
.w-90 { width: 90px; }
.w-120 { width: 120px; }
.w-140 { width: 140px; }
.w-145 { width: 145px; }
.w-160 { width: 160px; }
.w-180 { width: 180px; }
.w-195 { width: 195px; }
.w-200 { width: 200px; }
.w-250 { width: 250px; }
.w-auto { width: auto; }
.h-full { height: 100%; }

.text-8 { font-size: 8px; font-weight: 400; }
.text-10 { font-size: 10px; font-weight: 400; }
.text-12 { font-size: 12px; font-weight: 400; }
.text-14 { font-size: 14px; font-weight: 400; }
.text-15 { font-size: 15px; font-weight: 400; }
.text-16 { font-size: 16px; font-weight: 400; }
.text-20 { font-size: 20px; font-weight: 400; }
.text-24 { font-size: 24px; font-weight: 400; }
.text-32 { font-size: 32px; font-weight: 400; }
.text-34 { font-size: 34px; font-weight: 400; }
.text-article { line-height: 130%; }
.text-article-small { line-height: 110%; }

.line-16 { line-height: 16px; }
.line-18 { line-height: 18px; }
.line-20 { line-height: 20px; }
.line-24 { line-height: 24px; }
.line-26 { line-height: 26px; }
.line-30 { line-height: 30px; }
.line-32 { line-height: 32px; }
.line-34 { line-height: 34px; }
.line-40 { line-height: 40px; }
.line-56 { line-height: 56px; }

.text-normal { font-weight: 400; }
.text-mid { font-weight: 500; }
.text-bold { font-weight: 600; }

.text-del { text-decoration: line-through; }
.text-border { padding: 0 2px; border: solid 1px; border-radius: 2px; }

.line-18 { line-height: 18px; }
.line-20 { line-height: 20px; }
.line-22 { line-height: 22px; }
.line-24 { line-height: 24px; }
.line-26 { line-height: 26px; }
.line-30 { line-height: 30px; }
.line-32 { line-height: 32px; }
.line-34 { line-height: 34px; }

.margin-0 { margin: 0 !important; }
.margin-10 { margin-bottom: 8px; }
.margin-12 { margin-bottom: 12px; }
.margin-20 { margin-bottom: 20px; }
.margin-25 { margin-bottom: 24px; }
.margin-30 { margin-bottom: 32px; }
.margin-35 { margin-bottom: 36px; }
.margin-40 { margin-bottom: 40px; }
.margin-48 { margin-bottom: 48px; }
.margin-56 { margin-bottom: 56px; }
.margin-right-5 { margin-right: 4px; }
.margin-right-10 { margin-right: 8px; }
.margin-right-15 { margin-right: 16px; }
.margin-right-20 { margin-right: 20px; }
.margin-right-25 { margin-right: 24px; }
.margin-right-50 { margin-right: 50px; }
.padding-15 { padding: 16px; }
.padding-24 { padding: 24px; }
.padding-0-5 { padding: 0 4px; }
.padding-0-15 { padding: 0 16px; }
.padding-0-25 { padding: 0 24px; }
.padding-10-15 { padding: 8px 16px; }
.padding-10-20 { padding: 8px 20px; }
.padding-10-25 { padding: 8px 24px; }
.padding-15-25 { padding: 16px 24px; }
.padding-40-20 { padding: 40px 20px; }
.padding-top-5 { padding-top: 5px; }
.padding-top-10 { padding-top: 8px; }
.padding-left-30 { padding-left: 30px; }
/* color */
.bg-gray-2 { background-color: #ccc; }
.bg-gray-3 { background-color: #f5f5f5; }
.bg-blue { background-color: #ECF7FF; }
.bg-red { background-color: rgba(255, 76, 76, 0.4); }
.bg-orange { background: #FF874D; }
.bg-orange-light { background: rgba(255, 135, 77, 0.37); }
.bg-orange-gradient { background: linear-gradient(104.04deg, #FF874D 0%, #FCAF15 100%); }
.color-primary-black { color: #000; }
.color-primary-green { 
  color: #21BF74; 
  /* Apple瀏覽器在disable時會變淡，這兩行解決 */
  -webkit-text-fill-color:#21BF74;
  opacity: 1;
}
.color-second-orange { color: #FCAF15; }
.color-gray-c { color: #ccc; }
.color-white { color: #fff; }

/* line */
.border { border: solid 1px ; }
.hover-border { border: solid 1px transparent; transition: 0.2s; }
.hover-border:hover { border: solid 1px ; }
.border-bottom { border-bottom: solid 1px #e5e5e5; }
.border-0,
li.border-0 { border: none; }

/* 對齊 */
img.d-block.centered { margin-right: auto; margin-left: auto; }

/* title */
.text-title-lg { line-height: 20px; font-weight: 500; color: #333; }
.title-standout { margin-left: -30px; }
@media screen and (max-width: 992px){
  .title-standout { margin-left: 0; }
}
@media screen and (max-width: 767px) { /* page */
  .l-contain,
  .m-contain,
  .s-contain,
  .xs-contain { padding: 16px; }
  .m-contain-pad { padding: 16px 24px; }

  /* componments */
  .web { display: none !important; }
  .mobile { display: block; }

  .m-w-full { width: 100%; }

  .m-padding-0-10 { padding: 0 8px; }
  .m-padding-left-10 { padding-left: 8px; }

  .m-border-0,
  li.m-border-0 { border:none; }

  /* 內容區塊 */
  .container { max-width: 100%; padding: 0; }

  .panel { margin: 0 0 8px; }

  .row.md-center { display: block; }

  /* popup */
  .pop-fullpage { padding: 0; }
  .popup-panel { margin: 20px auto; }

  /* componments */
  .m-text-align-left { text-align: left; }
  .m-text-align-right { text-align: right; }
}

/* 修改天地 */
.cht-nav-menu-wrapper { position: fixed; bottom: 0; left: 0; }

a.agreement {color: #209cff}
/* 送禮名單 */
.td-style {
  border-collapse: collapse;
  width: 100%;
}

.tr-selected {
  background-color: #d3d3d3;
}

.td-style td, .td-style th {
  padding: 0;
  border: 0;
}

.popup-modal {
  display: none;
}

.popup-modal.open {
  display: block;
}
