@charset "utf-8";
html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}
body {
  font-family: Arial, "微軟正黑體", "sans-serif";
  color: #000000;
  margin: 0px;
  font-size: 1.8rem;
  scroll-behavior: smooth;
}
h2, h3, h4, h5, h6, p {
  margin: 0;
}
header.navbar {
  position: fixed !important;
  z-index: 8;
  width: 100%;
  top: 0;
  padding: 0 8px;
}
header.navbar-dark {
  background: #21a8da; /* Old browsers */
  background: -moz-linear-gradient(left, #21a8da 15%, #0b579f 85%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #21a8da 15%, #0b579f 85%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #21a8da 15%, #0b579f 85%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
header.navbar > .container-fluid {
  padding-right: 0;
  padding-left: 0;
}
header .navbar-brand {
  padding: 8px;
  display: flex;
  align-items: center;
}
header .nslogo {
  display: block;
  padding: 0 15px;
}
header .nslifelogo {
  display: block;
  padding: 0 15px;
  border-left: 1px #ffffff solid;
}
header .navbar-nav {
  width: 100%;
  padding: 0 15px;
  justify-content: flex-end
}
header .nav-item {
  list-style: none;
  padding: 0 20px
}
header .nav-link {
  color: #333;
  text-decoration: none;
  position: relative;
  padding: 8px 0 !important;
  font-size: 2.4rem;
}
header .nav-link:after {
  transition: all .3s;
  content: '';
  width: 0;
  height: 2px;
  background-color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
}
header .nav-link:hover {
  color: #999;
}
header .nav-link:hover:after {
  width: 100%
}
.navbar-toggler {
  border: none;
  background: transparent !important;
  padding: 4px 12px;
  font-size: 2rem;
}
.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none;
}
/* Footer */
footer {
  color: #fff;
  background-color: #4476b1;
  position: relative;
}
footer .container {
  padding-top: 2em;
  padding-bottom: 1.5em
}
footer .container > div {
  margin-bottom: 0.75em;
}
footer p {
  margin-bottom: 0;
}
footer span, footer a, footer address {
  display: inline-block;
  margin-bottom: 0;
}
footer *:not(.tel) a {
  margin: 0 5px;
}
footer a, footer a:hover {
  color: #fff;
  text-decoration: underline;
}
footer:after {
  content: "";
  background: #1ba8da;
  background: -moz-linear-gradient(left, #1ba8da 0%, #1658a0 100%);
  background: -webkit-linear-gradient(left, #1ba8da 0%, #1658a0 100%);
  background: linear-gradient(to right, #1ba8da 0%, #1658a0 100%);
  height: 12px;
  display: block;
}
.btn-gotop.show, .btn-gotop.show:hover {
  opacity: 1 !important;
}
.btn-gotop {
  width: 48px;
  height: 48px;
  background: #26255f;
  text-align: center;
  border-radius: 10px;
  position: fixed;
  z-index: 999;
  opacity: 0;
  transition: all .2s;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center
}
.btn-gotop .fa {
  color: #fff;
}
/*防詐騙*/
#remind {
  background: url('../images/remind_bg.png') top center no-repeat;
  background-color: #fad796;
  background-size: 100%;
}
/*注意事項*/
#end {
  background-color: #fad796;
  padding-top: 40px;
}
.notice {
  color: #333;
  padding-bottom: 2em;
}
.notice h6 {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
}
.notice h6 a {
  text-decoration: none;
  font-weight: bold;
  color: #369;
}
.notice > div {
  padding: 1rem;
  background-color: #ffffffe6;
  border-radius: 25px;
}
/* 初始化主計數器 */
ol {
  counter-reset: main-counter; /* 初始化第一層計數器 */
}
/* 第一層 - 使用標準 list-style */
ol > li {
  counter-increment: main-counter; /* 遞增第一層計數器 */
  list-style: decimal; /* 標準數字樣式 */ ;
  margin-bottom: 0.5rem;
}
/* 第二層 - 括號數字 */
ol ol {
  counter-reset: sub-counter; /* 初始化第二層計數器 */
}
ol ol > li {
  counter-increment: sub-counter; /* 遞增第二層計數器 */
  list-style: none; /* 移除預設符號 */
  text-indent: -2.75rem;
  padding-left: 0.5rem;
}
ol ol > li::before {
  content: "("counter(sub-counter) ") "; /* 括號包圍數字 */
}
/* 第三層 - 小寫字母 */
ol ol ol {
  counter-reset: sub-sub-counter; /* 初始化第三層計數器 */
}
ol ol ol > li {
  counter-increment: sub-sub-counter; /* 遞增第三層計數器 */
  list-style: none; /* 移除預設符號 */
  padding-left: 0.5rem;
  text-indent: -2rem;
}
ol ol ol > li::before {
  content: counter(sub-sub-counter, lower-alpha) ". "; /* 小寫字母 */
}
a.notice-btn {
  display: block;
  margin-bottom: 3rem;
}
a.notice-btn img {
  display: none;
  margin: auto
}
a[aria-expanded="false"] .btn-on {
  display: block;
}
a[aria-expanded="true"] .btn-off {
  display: block;
}
@media (max-width:1024px) {
  header .nav-link {}
}
@media (max-width:820px) {
  header .navbar-brand {
    max-width: calc(100% - 70px);
    margin: auto;
    padding: 8px
  }
  header .navbar-brand a {
    padding: 0 8px
  }
  .navbar-collapse {
    text-align: center;
  }
}
/* change font-size */
.widget {
  z-index: 999;
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 48px;
}
.font-sw {
  border-radius: 5px;
  overflow: hidden
}
.font-sw > * {
  display: block;
  border: 0;
  text-align: center;
  width: 100%;
}
.font-sw label {
  background-color: #f90;
  font-size: 14px;
  ;
  line-height: 1.2;
  color: #26255f;
  margin: 0;
  font-weight: bold;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center
}
.font-sw button {
  height: 48px;
  transition: all .3s;
  text-align: center
}
.font-sw button:hover {
  color: #fff;
  background-color: #999
}
#fsw-x {
  font-size: 20px;
}
#fsw-s {
  font-size: 16px;
}
@media (max-width:820px) {
  #fsw-x {
    font-size: 16px;
  }
  #fsw-s {
    font-size: 14px;
  }
}