@import url(../css/fonts.css);
/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #232522 #f3f3f3; }

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px; }

*::-webkit-scrollbar-track {
  background: #f3f3f3; }

*::-webkit-scrollbar-thumb {
  background-color: #232522;
  border-radius: 25px;
  border: 4px solid #f3f3f3; }

.container {
  padding-right: calc(var(--bs-gutter-x) * .8) !important;
  padding-left: calc(var(--bs-gutter-x) * .8) !important; }

html {
  padding: 0 !important; }

body {
  font-family: 'Poppins', 'Noto Sans TC', sans-serif;
  color: #232522;
  font-size: 16px;
  counter-reset: section;
  padding-top: 60px;
  letter-spacing: 0.02em;
  background-color: #f3f3f3; }
  @media (min-width: 992px) {
    body {
      font-size: 18px;
      padding-top: 90px; } }

a {
  text-decoration: none;
  transition: all 0.2s ease-in; }

.gx-5 {
  --bs-gutter-x: 5rem!important; }

.gx-4 {
  --bs-gutter-x: 4rem!important; }

.gx-3 {
  --bs-gutter-x: 3rem!important; }

.text-primary {
  color: #99cc00 !important; }

.text-secondary {
  color: #698d13 !important; }

.btn {
  --space: 1.5rem;
  font-size: 0.9rem;
  padding: 0.5em calc(var(--space) * 1);
  text-transform: uppercase;
  border-radius: 35px; }
  @media (min-width: 769px) {
    .btn {
      font-size: 1rem;
      padding: 0.6em calc(var(--space) * 1.5); } }
  .btn:hover {
    background-color: #232522;
    color: white;
    border: 1px solid #232522; }

.btn-more {
  position: relative;
  padding-right: calc(var(--space) + 1.8rem);
  margin-left: 0;
  min-width: 170px; }
  @media (min-width: 992px) {
    .btn-more {
      padding-right: calc(var(--space) + 2.5rem);
      margin-left: 2rem; } }
  .btn-more:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    width: 1.5rem;
    height: 1rem;
    margin-left: 0.5rem;
    background-image: url("../images/icon-arrow.svg");
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center; }

.btn-back {
  position: relative;
  padding-right: calc(var(--space) + 1.8rem); }
  @media (min-width: 992px) {
    .btn-back {
      padding-right: calc(var(--space) + 2.5rem); } }
  .btn-back:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    width: 1.5rem;
    height: 1rem;
    margin-left: 0.5rem;
    background-image: url("../images/icon-arrow2.svg");
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center; }

.btn-position {
  position: absolute;
  right: 3rem; }

.btn-primary {
  background-color: #99cc00;
  border: 1px solid #99cc00; }
  .btn-primary:after {
    filter: sepia(0%) saturate(0%) hue-rotate(322deg) brightness(150%) contrast(101%); }

.btn-outline-dark:after {
  filter: brightness(0%); }
.btn-outline-dark:hover {
  color: white !important;
  border: 1px solid Black !important; }
  .btn-outline-dark:hover:after {
    filter: sepia(0%) saturate(0%) hue-rotate(322deg) brightness(150%) contrast(101%); }

.btn-outline-secondary {
  border: 1px solid #999 !important; }
  .btn-outline-secondary:after {
    filter: invert(64%) sepia(76%) saturate(726%) hue-rotate(55deg) brightness(97%) contrast(101%); }
  .btn-outline-secondary i {
    filter: invert(64%) sepia(76%) saturate(726%) hue-rotate(55deg) brightness(97%) contrast(101%); }
  .btn-outline-secondary:hover, .btn-outline-secondary:focus {
    color: white !important;
    border: 1px solid black !important;
    background-color: black !important; }
    .btn-outline-secondary:hover:after, .btn-outline-secondary:focus:after {
      filter: sepia(0%) saturate(0%) hue-rotate(322deg) brightness(150%) contrast(101%); }
    .btn-outline-secondary:hover i, .btn-outline-secondary:focus i {
      filter: sepia(0%) saturate(0%) hue-rotate(322deg) brightness(150%) contrast(101%); }

@-webkit-keyframes pulsate-bck {
  50% {
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0.5;
    box-shadow: 5px 5px 12px rgba(255, 255, 255, 0.4); }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    box-shadow: 5px 5px 12px rgba(255, 255, 255, 0.7); } }
@keyframes pulsate-bck {
  50% {
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0.5;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1); } }
.page-title {
  margin-bottom: 2rem;
  font-size: 1.7rem;
  position: relative; }
  .page-title .mark {
    background-color: transparent;
    color: red; }
  .page-title a {
    display: flex;
    position: inherit;
    right: auto;
    top: auto;
    margin-top: 1rem; }
  @media (min-width: 992px) {
    .page-title {
      font-size: 2rem; }
      .page-title a {
        position: absolute;
        right: 0;
        top: 0;
        margin-top: 0; } }

.tag-title {
  padding-right: 0; }
  @media (min-width: 769px) {
    .tag-title {
      padding-right: 180px; } }

.blog-list {
  padding: 2rem 0;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden; }
  .blog-list:before {
    position: absolute;
    left: -100%;
    bottom: 0;
    width: 100%;
    height: 2px;
    content: "";
    background-color: #99cc00;
    z-index: 1;
    transition: all 0.3s linear; }
  .blog-list:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    content: "";
    background-color: #cdcdcd;
    z-index: 0; }
  .blog-list img {
    margin-bottom: 1.5rem;
    transition: all 0.3s linear; }
    @media (min-width: 992px) {
      .blog-list img {
        margin-bottom: 0; } }
  .blog-list:hover img {
    transform: translateX(15px); }
  .blog-list:hover:before {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70%;
    height: 2px;
    content: "";
    background-color: #99cc00; }
  .blog-list:hover .blog-con {
    padding-left: 0; }
    .blog-list:hover .blog-con .blog-title {
      font-size: 1.67em;
      color: #99cc00; }
    @media (min-width: 992px) {
      .blog-list:hover .blog-con {
        padding-left: 3rem; } }
  .blog-list .blog-con {
    padding-left: 0; }
    .blog-list .blog-con .post-time {
      color: #99cc00;
      font-size: 1rem; }
    .blog-list .blog-con .blog-title {
      font-size: 1.67em;
      color: #333;
      transition: all 0.3s linear; }
    .blog-list .blog-con .tag {
      margin-bottom: 1.5rem; }
      .blog-list .blog-con .tag a {
        color: #999;
        font-size: 0.85rem;
        margin-right: 1.5rem; }
    .blog-list .blog-con p {
      font-size: 1rem;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3; }
    @media (min-width: 992px) {
      .blog-list .blog-con {
        padding-left: 3rem; } }
  .blog-list .blog-con.d-flex {
    display: block !important; }
    @media (min-width: 992px) {
      .blog-list .blog-con.d-flex {
        display: flex !important; } }

.sub-blog .post-time {
  color: #99cc00;
  font-size: 1rem; }
.sub-blog .blog-title {
  font-size: 1.67em;
  color: #333;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  transition: all 0.3s linear;
  border-bottom: 1px solid #99cc00; }
.sub-blog img {
  max-width: 100%;
  height: auto;
  margin: 1rem auto 2.5rem auto;
  display: flex; }
  @media (min-width: 769px) {
    .sub-blog img {
      max-width: 75%;
      height: auto; } }
.sub-blog .tag {
  margin: 2rem -3rem;
  padding: 2rem 3rem;
  position: relative;
  overflow: hidden; }
  .sub-blog .tag a:link, .sub-blog .tag a:visited {
    color: #999;
    font-size: 1rem;
    margin-right: 1.5rem; }
  .sub-blog .tag a:hover, .sub-blog .tag a:active {
    color: #99cc00;
    font-size: 1rem;
    margin-right: 1.5rem; }
  .sub-blog .tag:before {
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    top: 0;
    content: "";
    background-color: #cdcdcd; }
.sub-blog .bt-buttom .col-12.col-md-7 {
  margin-top: 0.5rem;
  text-align: left; }
@media (min-width: 769px) {
  .sub-blog .bt-buttom .col-12.col-md-7 {
    margin-top: 0;
    text-align: right; } }

.editor {
  color: #333; }
  .editor ul li, .editor ol li {
    font-weight: bold; }
  .editor img {
    max-width: 100%;
    height: auto;
    margin: 1rem auto 2.5rem auto;
    display: flex; }
    @media (min-width: 769px) {
      .editor img {
        max-width: 75%;
        height: auto; } }

.cat-list {
  position: relative;
  margin-bottom: 6rem !important; }
  .cat-list .cat-con {
    padding-left: 0;
    padding-bottom: 3rem;
    position: relative; }
    .cat-list .cat-con .cat-title {
      font-size: 1.67em;
      color: #333;
      margin-bottom: 1.5rem;
      transition: all 0.3s linear; }
    .cat-list .cat-con p {
      font-size: 1rem;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3; }
    .cat-list .cat-con img {
      margin-bottom: 1.5rem;
      transition: all 0.3s linear; }
    .cat-list .cat-con:before {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      content: "";
      background-color: #99cc00;
      z-index: 1;
      transition: all 0.3s linear; }
    .cat-list .cat-con:after {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 1px;
      content: "";
      background-color: #f3f3f3;
      z-index: 0; }
    @media (min-width: 992px) {
      .cat-list .cat-con {
        padding-left: 3rem; }
        .cat-list .cat-con img {
          margin-bottom: 0; }
        .cat-list .cat-con:before {
          position: absolute;
          left: 3rem;
          bottom: 0;
          width: 0;
          height: 2px;
          content: "";
          background-color: #99cc00;
          z-index: 1;
          transition: all 0.3s linear; }
        .cat-list .cat-con:after {
          position: absolute;
          left: 3rem;
          bottom: 0;
          width: 100%;
          height: 1px;
          content: "";
          background-color: #f3f3f3;
          z-index: 0; } }
  .cat-list:after {
    position: absolute;
    left: -3rem;
    top: 0;
    width: calc(100% + 3rem);
    height: 100%;
    content: "";
    background-color: #e5e5e5;
    z-index: -1; }
    @media (min-width: 769px) {
      .cat-list:after {
        top: 3rem; } }
  .cat-list:hover .cat-con .cat-title {
    color: #99cc00; }
  .cat-list:hover .cat-con img {
    transform: translateX(15px); }
  .cat-list:hover .cat-con:before {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70%;
    height: 2px;
    content: "";
    background-color: #99cc00;
    z-index: 1; }
  @media (min-width: 769px) {
    .cat-list:hover .cat-con:before {
      position: absolute;
      left: 3rem;
      bottom: 0;
      width: 70%;
      height: 2px;
      content: "";
      background-color: #99cc00;
      z-index: 1; } }
