@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;400;500;700;900&family=Roboto:wght@100;400;500;700;900&display=swap');

@import 'material-switch.css';
@import 'round-button.css';
@import 'sweet-alert-cust.css';
@import 'common.css';
@import 'in_setting.css';
@import 'header.css';
@import 'memberCard.css';

/* header */

/* 修改開關 */
.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 .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;
}

/* 天地_開合nav */
.main {
  padding: 4px 10px 0px 10px;
}

.mainopen {
  padding-top: 80px;
}

/* page */
.l-contain,
.m-contain,
.s-contain,
.xs-contain { margin: auto; padding: 20px; }
.l-contain { max-width: 940px;}
.m-contain { max-width: 900px;}
.s-contain { max-width: 360px; }
.xs-contain { max-width: 280px; }

.container {
  width: 100%;
  max-width: 950px;
}

/* 內容區塊 */
.row-padding {
  margin-left: -6px;
  margin-right: -6px;
}
.row-padding > div {
  padding-left: 6px;
  padding-right: 6px;
}

/* popup */
.pop-fullpage {
  z-index: 1100;
}
.popup-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 1101;
  width: 100%;
  margin: 40px auto;
  border-radius: 8px;
}

/* -------------- 修改元素 -------------- */
.web {
  display: block;
}

.mobile {
  display: none;
}

.f-left { float: left; }
.f-right { float: right; }

.w-10 { width: 10px; }
.w-12 { width: 12px; }
.w-14 { width: 14px; }
.w-16 { width: 16px; }
.w-120 { width: 120px; }
.w-auto { width: auto; }

.text-12 {
  font-size: 12px;
  font-weight: 400;
}
.text-14 {
  font-size: 14px;
  font-weight: 400;
}
.text-16 {
  font-size: 16px;
  font-weight: 400;
}
.text-article {
  line-height: 130%;
}

.text-bold {
  font-weight: 600;
}

.v-middle {
  vertical-align: middle;
}

.margin-25 { margin-bottom: 25px; }
.margin-30 { margin-bottom: 30px; }
.padding-15 { padding: 15px; }
.padding-10-20 { padding: 10px 24px; }
/* color */
.bg-gray-2 { background-color: #ccc; }
.bg-blue { background-color: #ECF7FF; }
.color-primary-black { color: #000; }
.color-second-orange { color: #FCAF15; }
.color-gray-c { color: #ccc; }
.color-white { color: #fff; }

/* line */
.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: 24px;
  color: #333;
}
.text-title {

}
.title-standout {
  margin-left: -15px;
}
@media screen and (max-width: 992px) {
  .title-standout {
    margin-left: 0;
  }
}
@media screen and (max-width: 767px) {
  /* componments */
  .web {
    display: none;
  }
  .mobile {
    display: block;
  }
  
  .m-border-0,
  li.m-border-0 {
    border:none;
  }
  /* 內容區塊 */
  .container {
    max-width: 100%;
    padding: 0;
  }

  .panel {
    margin: 0 0 8px;
  }

  /* 標題 */
  .text-title {
    text-align: center;
  }
  
  /* 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; }
}

@media screen and (max-width: 767px) {
  .main { padding: 60px 0 0 0; }
}