/*0 #382214 1 #927055  2 #e6cdb9 3 #efe2d9 */

@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@600&family=Noto+Sans+TC:wght@400;700;900&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");

/* CSS Document */
html {
  scroll-behavior: smooth;
}
#preloader,
body {
  font-family: "Noto Sans TC", sans-serif;
  background: #ecf9ff url(../img/main-bg.jpg);
  background-attachment: fixed;
}
#preloader .loader-bg {
  background-image: url(../img/loader.png);
}
h1 {
  font-weight: 900 !important;
}
.text-mode {
  -webkit-writing-mode: vertical-lr;
  writing-mode: vertical-lr;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: normal;
  overflow: hidden;
}
.ellipsis-evn {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  overflow: hidden;
}
.ellipsis-odd {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: normal;
  overflow: hidden;
}

nav a.active {
  padding-left: 2rem;
  border-left: 0.5rem solid #55b5c1;
}
#silder.owl-carousel .owl-nav button.owl-prev span,
#silder.owl-carousel .owl-nav button.owl-next span,
#silder.owl-carousel .owl-dots {
  display: none;
}

#silder.owl-carousel .owl-nav button.owl-prev,
#silder.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  opacity: 0;
  transition: all 0.3s;
}
#silder.owl-carousel .owl-nav button.owl-prev {
  left: 0;
  background: url(../img/chevron-compact-left.svg) center center !important;
  background-repeat: no-repeat !important;
}
#silder.owl-carousel .owl-nav button.owl-next {
  right: 0;
  background: url(../img/chevron-compact-right.svg) center center !important;
  background-repeat: no-repeat !important;
}

#silder.owl-carousel:hover .owl-nav button.owl-prev,
#silder.owl-carousel:hover .owl-nav button.owl-next {
  opacity: 1;
}

#educate.owl-theme .owl-nav {
  display: none;
}
#educate.owl-carousel .owl-stage-outer {
  padding: 20px 0;
}
.owl-carousel .slider {
  display: block !important;
}
.owl-carousel .slider-990 {
  display: none !important;
}

.sub-link .active,
.sub-link li:hover {
  position: relative;
  padding-left: 23px;
  transition: all 0.3s;
  color: #1c6d97;
}
.sub-link .active::after,
.sub-link li:hover::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 1px;
  background: #1c6d97;
  left: 0;
  top: 50%;
}

.loader {
  width: 120px;
  height: 20px;
  -webkit-mask: linear-gradient(90deg, #55b5c1 70%, #1c6d97 0) left/20% 100%;
  background: linear-gradient(#1c6d97 0 0) left -25% top 0 /20% 100% no-repeat #ecf9ff;
  animation: l7 1s infinite steps(6);
}
@keyframes l7 {
  100% {
    background-position: right -25% top 0;
  }
}

/* FCK Box */
.fck-box p,
.fck-box span {
  line-height: 2;
}
.fck-box img {
  max-width: 100%;
  height: auto !important;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.fck-box iframe {
  margin: 1rem auto;
  max-width: 100% !important;
}
.fck-box ul {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 40px;
}
.fck-box ol {
  list-style-type: decimal;
  list-style-position: outside;
  padding-left: 40px;
}
.fck-box li,
.fck-box p {
  margin-bottom: 10px;
}
.fck-box table {
  width: 100%;
  max-width: 100%;
  margin: 1rem auto;
  background: #ffffff;
}
.fck-box table p {
  margin-bottom: 0;
}
.fck-box table > tbody > tr:nth-of-type(odd) {
  background-color: #e2ecf1;
}
.fck-box table > tbody > tr > td,
.fck-box table > tbody > tr > th,
.fck-box table > tfoot > tr > td,
.fck-box table > tfoot > tr > th,
.fck-box table > thead > tr > td,
.fck-box table > thead > tr > th {
  padding: 8px;
  line-height: 1.5;
  border: 1px solid #ccc;
}

/*---------------------------
          responsive
----------------------------*/
/*2xl*/
@media only screen and (max-width: 1536px) {
}

/*xl*/
@media only screen and (max-width: 1280px) {
}

/*lg*/
@media only screen and (max-width: 1024px) {
  .text-mode {
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
  }
}

/*md*/
@media only screen and (max-width: 768px) {
}

/*sm*/
@media only screen and (max-width: 480px) {
}

.Pary-color {
  color: #17597b;
}
.Sary-color {
  color: #1c6d97;
}
.Aary-color {
  color: #55b5c1;
}
.Eary-d-color {
  color: #c1e7ff;
}
.Eary-color {
  color: #ecf9ff;
}
.dark-color {
  color: #313946;
}
.dark-color {
  color: #a4d7da;
}
