*::-webkit-scrollbar {
  height: 10px;
  width: 12px;
  background-color: white;
  border-radius: 0;
}

*::-webkit-scrollbar-thumb {
  background-color: #999;
  border: 2px solid white;
}

html {
  padding: 0 !important;
  overflow-x: hidden;
}

body {
  font-size: 16px !important;
  width: 100%;
  overflow-x: hidden !important;
  background-color: white;
  color: #333 !important;
  min-height: 900px;
  font-family: "Titillium Web", Arial, "Noto Sans TC", sans-serif !important;
  letter-spacing: 0;
}
@media (min-width: 992px) {
  body {
    font-size: 17px !important;
  }
}
@media (min-width: 1200px) {
  body {
    font-size: 18px !important;
  }
}
body p,
body ul,
body li {
  font-size: 1rem;
  line-height: 1.67rem;
}
body p:last-child {
  margin-bottom: 0;
}
body a {
  text-decoration: none;
  transition: all 0.3s linear !important;
}
body img {
  transition: all 0.3s linear;
}
body mark,
body .mark {
  color: red;
  padding: 0;
  font-weight: bold;
  background-color: transparent !important;
  margin: 0 0.2rem;
}

.container-fluid {
  --bs-gutter-x: 1.5rem;
  padding-right: calc(var(--bs-gutter-x) * 1) !important;
  padding-left: calc(var(--bs-gutter-x) * 1) !important;
}
@media (min-width: 769px) {
  .container-fluid {
    padding-right: calc(var(--bs-gutter-x) * 2) !important;
    padding-left: calc(var(--bs-gutter-x) * 2) !important;
  }
}
@media (min-width: 992px) {
  .container-fluid {
    padding-right: calc(var(--bs-gutter-x) * 1.5) !important;
    padding-left: calc(var(--bs-gutter-x) * 1.5) !important;
  }
}
@media (min-width: 1200px) {
  .container-fluid {
    padding-right: calc(var(--bs-gutter-x) * 2.5) !important;
    padding-left: calc(var(--bs-gutter-x) * 2.5) !important;
  }
}
@media (min-width: 1680px) {
  .container-fluid {
    padding-right: calc(var(--bs-gutter-x) * 4) !important;
    padding-left: calc(var(--bs-gutter-x) * 4) !important;
  }
}

.cat-list img {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.btn {
  padding: 0.6rem 1.7rem;
  font-size: 1rem;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: bold;
  transition: all 0.3s linear;
}

.btn-sm {
  padding: 0.5rem 1.7rem;
  font: size 0.9rem !important;
  transition: all 0.3s linear;
}

.btn-play {
  color: red;
  background-color: transparent !important;
  text-align: center;
  border: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.btn-play i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  transition: all 0.3s linear;
}
.btn-play p {
  font-size: 1rem !important;
}
.btn-play:hover {
  border: 0 !important;
  background-color: transparent !important;
}

.btn-refresh {
  padding: 0.5rem !important;
  height: 40px !important;
  border: 0 !important;
  transition: all 0.3s linear;
}
.btn-refresh i {
  color: #999;
  transition: all 0.3s linear;
}
.btn-refresh:hover, .btn-refresh:active, .btn-refresh:focus {
  transform: rotate(180deg);
}
.btn-refresh:hover i, .btn-refresh:active i, .btn-refresh:focus i {
  color: red;
}

.btn-delete {
  border: 0;
  background-color: transparent !important;
  padding: 0;
  color: #999;
  font-size: 1rem;
}

.btn-primary {
  border-radius: 30px;
  display: inline-flex;
  justify-content: space-between;
  min-width: 180px;
  background-color: red;
  color: white;
  font-size: 1.05rem;
  font-weight: normal;
  border: 0;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background-color: #333 !important;
}

.btn-txt {
  border: 0;
  background-color: transparent !important;
  color: red !important;
  font-size: 1rem;
  padding: 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  font-weight: normal;
}
.btn-txt i {
  margin-left: 1rem;
  text-transform: none;
}
.btn-txt:hover, .btn-txt:active, .btn-txt:focus {
  border: 0;
  color: red;
  background-color: transparent;
  transform: translateX(15px);
}

.btn-white {
  background-color: white;
  color: red;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  border: 0;
  font-weight: normal;
  border-radius: 30px;
}
.btn-white i {
  margin-left: 1rem;
  text-transform: none;
}
.btn-white:hover, .btn-white:active, .btn-white:focus {
  border: 0;
  color: white;
  background-color: #333;
  transform: translateX(15px);
}

.btn-light {
  display: inline-flex;
  color: #999 !important;
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid red;
  border-left: 0;
  border-top: 0;
  border-right: 0;
  background-color: transparent !important;
  border-radius: 0;
  font-weight: normal;
}
.btn-light i {
  margin: 0 1rem 0 0;
}
.btn-light:hover {
  color: red !important;
  border-bottom: 2px solid red;
  background-color: transparent !important;
}

.btn-dark {
  border-radius: 30px;
  display: inline-flex;
  justify-content: space-between;
  min-width: 180px;
  background-color: black;
  color: white;
  font-size: 1.05rem;
  font-weight: normal;
  border: 0;
}
.btn-dark:hover, .btn-dark:active, .btn-dark:focus {
  background-color: #333 !important;
}

.video-container {
  display: none;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16/9;
  position: relative;
}
.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.media {
  background: url(../images/bg-media.jpg) no-repeat center bottom;
  background-size: 100% auto;
  background-attachment: fixed;
}

.news-list {
  display: block;
  position: relative;
}
.news-list:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  content: "";
  background-color: #f6f6f6;
  border-top: 2px solid red;
  z-index: 0;
  transition: all 0.3s linear;
}
.news-list .txt {
  padding: 2rem 2rem 2rem 55px;
  position: relative;
  z-index: 1;
}
.news-list .txt:after {
  position: absolute;
  left: 15px;
  top: 1.8rem;
  width: 35px;
  height: 35px;
  content: "\f138";
  font-family: "Bootstrap-icons";
  font-size: 1.5rem;
  color: red;
  transition: all 0.3s linear;
}
.news-list .txt .post-time {
  font-size: 1rem;
  color: #999;
}
.news-list .txt .news-title {
  font-size: 1.15rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 0;
  transition: all 0.3s linear;
}
@media (min-width: 992px) {
  .news-list .txt .news-title {
    font-size: 1.15rem;
  }
}
@media (min-width: 1400px) {
  .news-list .txt .news-title {
    font-size: 1.3rem;
  }
}
.news-list .txt .news-intro {
  font-size: 1rem;
  color: #999;
  line-height: 1.5;
  margin: 1rem 0 0 0;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  box-sizing: border-box;
  transition: all 0.3s linear;
}
.news-list img {
  position: relative;
  z-index: 1;
}
@media (min-width: 992px) {
  .news-list:hover:before, .news-list:active:before, .news-list:focus:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-color: #f6f6f6;
    border-top: 2px solid red;
    z-index: 0;
  }
  .news-list:hover .txt:after, .news-list:active .txt:after, .news-list:focus .txt:after {
    top: 2rem;
    transform: rotate(45deg);
  }
  .news-list:hover .txt .news-title, .news-list:active .txt .news-title, .news-list:focus .txt .news-title {
    color: red;
  }
  .news-list:hover .txt .news-intro, .news-list:active .txt .news-intro, .news-list:focus .txt .news-intro {
    color: #333;
  }
}

.cat-list {
  display: block;
  position: relative;
  margin-bottom: 3rem;
}
.cat-list:before {
  position: absolute;
  left: 0;
  top: 35px;
  width: 100%;
  height: 100%;
  content: "";
  background-color: #f6f6f6;
  z-index: 0;
}
.cat-list:after {
  position: absolute;
  left: 0;
  bottom: -35px;
  width: 0;
  height: 2px;
  content: "";
  background-color: red;
  z-index: 1;
  transition: all 0.3s linear;
}
.cat-list img {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
}
.cat-list .cat-name {
  position: relative;
  font-size: 1.33rem;
  font-weight: 500;
  color: #333;
  z-index: 1;
  text-transform: capitalize;
}
.cat-list .btn-white {
  position: relative;
  color: #666 !important;
  z-index: 1;
}
.cat-list .btn-white:hover, .cat-list .btn-white:active, .cat-list .btn-white:focus {
  color: white !important;
  background-color: #333 !important;
}
@media (min-width: 992px) {
  .cat-list:hover:after {
    position: absolute;
    left: 0;
    bottom: -35px;
    width: 100%;
    height: 2px;
    content: "";
    background-color: red;
    z-index: 1;
  }
  .cat-list:hover .btn-white {
    color: red;
  }
}

/*Subpage*/
.news-title2 {
  font-size: 1.4rem;
  color: red;
  font-weight: 500;
}
@media (min-width: 992px) {
  .news-title2 {
    font-size: 1.6rem;
  }
}
@media (min-width: 1680px) {
  .news-title2 {
    font-size: 2rem;
  }
}

.post-time2 {
  color: #999;
  transition: all 0.3s linear;
}

.btn-backto {
  display: none;
  align-content: center;
}
.btn-backto a {
  font-size: 0.9rem;
  color: white;
  margin-right: 0.5rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s linear;
}
.btn-backto a i {
  font-size: 1.2rem;
}

.btn-control {
  display: inline-flex;
  align-content: center;
}
.btn-control a {
  font-size: 0.9rem;
  color: #999;
  margin-left: 0.5rem;
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: all 0.3s linear;
}
.btn-control a:before {
  display: inline-flex;
  align-items: center;
  width: 1px;
  height: 50%;
  content: "";
  background-color: #cccccc;
  margin: 0 1rem;
}
.btn-control a i {
  font-size: 1.2rem;
}
.btn-control a:first-child:before {
  display: none;
}
.btn-control a:hover, .btn-control a:active, .btn-control a:focus {
  color: #333;
}

.fixed-control {
  transition: all 0.3s linear;
}

.fixed-control.fixed {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background-color: #333;
  padding: 0.5rem 0;
}
@media (min-width: 992px) {
  .fixed-control.fixed {
    top: 94px;
  }
}
.fixed-control.fixed div {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .fixed-control.fixed div {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .fixed-control.fixed div {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .fixed-control.fixed div {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .fixed-control.fixed div {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .fixed-control.fixed div {
    max-width: 1320px;
  }
}
.fixed-control.fixed .post-time2 {
  display: none;
}
.fixed-control.fixed .btn-backto {
  display: inline-flex;
}
.fixed-control.fixed .btn-control a {
  color: white;
}

.main-pic img {
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  display: flex;
}
@media (min-width: 992px) {
  .main-pic img {
    max-width: 80%;
  }
}/*# sourceMappingURL=media.css.map */