body {
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC",
    "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: #E5E7F0;
  color: #333;
}



a {
  /* color: inherit; */
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* ====== NAVBAR / HEADER ====== */
.navbar-custom {
  background-color: #f3f3f3;
  border-bottom: 1px solid #e0e4ef;
  margin-bottom: 0;
  border-top: 3px #0073d6 solid;
  position: fixed;
  width: 100%;
  z-index: 100;
}

.navbar-custom .navbar-brand {
  padding: 8px 15px;
}
.footer-custom {

}

.brand-logo {
  float: left;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* background: #0073d6; */
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 44px;
  margin-right: 10px;
}

.footer-logo {
  float: left;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  /* background: #0073d6; */
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 44px;
  margin-right: 10px;
}

.brand-text {
  float: left;
  line-height: 1.1;
  margin-top: 3px;
}

.brand-title {
  font-size: 17px;
  letter-spacing: 0.2em;
  color: #0073d6;
  font-weight: 400;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 12px;
  color: #777;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.footer-text {
  float: left;
  line-height: 1.3;
  margin-top: 3px;
}

.footer-title {
  font-size: 14px;

  color: #0073d6;
  font-weight: 400;
  white-space: nowrap;
}

.footer-subtitle {
  font-size: 12px;
  color: #777;

  white-space: nowrap;
}

.navbar-custom .navbar-nav > li > a {
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 14px;
}
.navbar-right {
  margin-right: 100px;
}

.navbar-custom .navbar-nav > .active > a,
.navbar-custom .navbar-nav > .active > a:focus,
.navbar-custom .navbar-nav > .active > a:hover {
  color: black;
  font-weight: 600;
  background-color: transparent;
}

.navbar-custom .btn-login {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 15px;
  padding: 6px 18px;
  border-radius: 20px;
  background: #0073d6;
  color: #fff;
  border: none;
  font-size: 13px;
}

/* ====== PAGE LAYOUT ====== */
.page-wrapper {

}

.main-card {
  background: #ffffff;
  padding: 30px 45px 35px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
  min-height: 600px;
}

/* ====== SIDE AD ====== */
.side-ad-box {
  position: fixed;
  /* background: #002a66; */
  border-radius: 14px;
  padding: 14px;
  color: #fff;
  font-size: 13px;
  /* box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18); */
  width: 170px;
  margin-bottom: 20px;
  top: 420px;
  left: 3%;
}

.side-ad-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  color: #999;
  font-size: 12px;
  text-align: center;
  line-height: 18px;
  cursor: pointer;
}

.side-ad-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.side-ad-subtitle {
  font-size: 11px;
  opacity: 0.8;
}

.side-ad-qrcode {
  margin-top: 18px;
  width: 80px;
  height: 80px;
  background: #ffffff;
  border-radius: 10px;
  float: right;
}

/* ====== HERO ====== */
.hero {
  text-align: center;
  margin-bottom: 25px;
}

.hero-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 12px;
  border-radius: 50%;
  /* background: #0073d6; */
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 90px;
}
.hero-logo-phone {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  /* background: #0073d6; */
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 40px;
}

.hero-title {
  font-size: 22px;
  letter-spacing: 0.2em;
  color: #0073d6;
  font-weight: 400;
  margin-bottom: 4px;
}

.hero-subtitle {
  font-size: 13px;
  color: #777;
  letter-spacing: 0.25em;
  margin-bottom: 14px;
}

.hero-social {
  margin-bottom: 12px;
  font-size:24px;
  color: #8a8a8a;
  font-weight: lighter;
}

.hero-social a {
  display: inline-block;
  border-radius: 50%;

  line-height: 30px;
  text-align: center;
  margin: 0 6px;
  color: #555;
}
.hero-social img {
  width: 25px;
}

.hero-desc {

  margin: 0 auto;
  font-size: 12px;
  color: #8a8a8a;
  line-height: 1.7;
}

/* ====== TABS ====== */
.tabs {
  text-align: center;
  margin: 26px 0 22px;

}

.tabs .tab {
  display: inline-block;
  padding: 8px 18px 12px;
  font-size: 15px;
  color: #777;
  cursor: pointer;
  position: relative;
}

.tabs .tab.active {
  color: black;
  font-weight: 600;
}

.tabs .tab.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #0073d6;
  border-radius: 999px;
}

/* ====== ARTICLE ====== */
.article-header {
  margin-bottom: 12px;
}

.article-title-block {
  float: left;
}

.article-dot {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  text-align: center;
  line-height: 26px;
  margin-right: 8px;
}

.article-title {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: #0073d6;
  vertical-align: middle;
}

.article-date-pill {
  float: right;
  padding: 6px 16px;
  border-radius: 999px;
  background: #f0f3fa;
  font-size: 12px;
  color: #777;
}

.article-body {
  clear: both;
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-top: 10px;
}

.article-body p + p {
  margin-top: 12px;
}
.article-body a {
  color: #337ab7;
}
.btn-number {
  background-color: #fff;
  color: #029bc8 !important;
}
.btn {
  border: none;
}

.btn.active, .btn:active {
  box-shadow: none !important;
  color: #fff !important;
}
.ownmenu li {
  display: inline-block;
  float: left;
}
.foot-a {
  color: #8a8a8a;
  font-size: 12px;
}
.foot-a > a {
  color: inherit;
  padding: 10px 3px!important;
}
.ai-item {
  padding: 18px 0;
  border-bottom: 1px solid #f0f2f7;
}

.ai-item:last-child {
  border-bottom: none;
}

.ai-item-title-row {
  margin-bottom: 10px;
}

.ai-item-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0073d6;
  color: #fff;
  text-align: center;
  line-height: 24px;
  font-size: 14px;
  margin-right: 8px;
  vertical-align: middle;
}

.ai-item-title {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #0073d6;
  vertical-align: middle;
}

.ai-item-datepill {
  display: inline-block;
  padding: 6px 14px;
  background: #f0f3fa;
  border-radius: 999px;
  font-size: 12px;
  color: #777;
  white-space: nowrap;
}

.ai-item-cta {
  font-size: 13px;
  color: #0073d6;
  text-align: center;
  height: 130px;
  padding-top:50px;
}

.ai-item-cta .lock-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #0073d6;
  color: #0073d6;
  text-align: center;
  line-height: 22px;
  margin-right: 6px;
  font-size: 12px;
}

.ai-item-cta .btn-register {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 12px;
  border-radius: 16px;
  border: none;
  background: #0073d6;
  color: #fff;
  font-size: 12px;
}

.ai-item-preview {
  margin-top: 10px;
  font-size: 13px;
  color: #b4b4b4;
  line-height: 1.7;
}
.no_display {
  display: none;
}
.nav>li>a:hover {
  text-decoration: none;
  background-color: #fff;
}
/* 讓子選單容器定位 */
.dropdown-submenu {
  position: relative;
}

/* 次選單向右展開 */
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}
/* 56px */
.toTop-arrow-new {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 20px;
  opacity: 0.6;
  background: #FFF;
  cursor: pointer;
  position:fixed;
  right: 1rem;
  bottom: 1rem;
  display: none;
  top:520px;
  right: 140px;
  font-size: 9px;
}


.toTop-arrow-new:focus {outline: none;}

/* ====== RESPONSIVE ====== */
@media (max-width: 980px) {
  .main-card {
    padding: 25px 25px 30px;
  }

  .brand-title,
  .brand-subtitle {
    letter-spacing: 0.15em;
  }
  .nav>li>a:focus, .nav>li>a:hover {
    border-bottom: none;
    color: #1192d8;
  }
}

@media (max-width: 767px) {
  .brand-logo {
    display: none;
  }
  .nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    color: #1192d8;
    background-color: #E5E7F0;
    border: none;
  }

  .brand-text .brand-title,
  .brand-text .brand-subtitle {
    white-space: normal;
  }

  .navbar-custom .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .main-card {
    margin-top: -15px;
  }

  .side-ad-box {
    max-width: none;
  }

  .article-date-pill {
    float: none;
    display: inline-block;
    margin-top: 8px;
  }
}
.modal-left {
  position: fixed;
  margin: 0;
  left: 0;
  top: 0;
  width: 160px;    /* 你要多寬自己改 */
  height: 100%;
  transform: translateX(-100%);
  transition: transform .3s ease-out;
}

/* 打開後滑進來 */
.modal.in .modal-dialog.modal-left {
  transform: translateX(0);
}

/* 讓背景遮罩延伸（Bootstrap 3 預設 modal 裡面會置中，所以我們覆蓋） */
.modal-left .modal-content {
  height: 100%;
  border-radius: 0;
}
