@charset "utf-8";
/* CSS Document */

html,
body {
  --font-sans: "Carlito",  "Noto Sans TC", sans-serif;
  --font-serif: "Carlito",  "Noto Sans TC", sans-serif;
  font-weight: 500;
  font-size: 16.5px;
  line-height: 36px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  background-color: #fff;

}
.site-branding__inner {
  justify-content: flex-start; /* 讓內部元素水平靠左 */
}
.site-branding{ display:block}
#page-wrapper {}

:root {
  --main-color: #036437;
  --main2-color: #b08d57;
  --main3-color: #cf6541;
  --main4-color: #848484;
}

.region>* {
  margin: 0;
}

.editingAdd {
  position: absolute;
  top: -35px;
}

.home-add {
  top: 35px !important;
}

#add_normal {
  position: relative;
  top: 0;
  padding: 10px;
}

.editingAdd a {
  background-color: #ffd800 !important;
  padding: 3px 15px;
  border-radius: 15px;
  color: #000 !important;
}

.editingAdd a:hover {
  background-color: #cbff0f !important;
  color: #000 !important;
}

.view-content {
  clear: both
}

.swiper-slide .editing a {
  display: block !important;
}

#banner_editing {
  position: absolute;
  left: 45px;
  z-index: 2
}

.topBanner_editing {
  bottom: 50px !important;
  top: auto !important
}

.editing {
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 5px;
}

.editing a {
  /* Override the .focusable height: auto */
  width: 30px !important;
  font-size: 0;
  border-radius: 50%;
  /* Override the .focusable height: auto */
  height: 30px !important;
  background-color: #ffd800 !important;
  text-indent: -9999px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3e%3cg%3e%3cpath fill='%23000000' d='M14.545 3.042l-1.586-1.585c-.389-.389-1.025-.389-1.414 0l-1.293 1.293 3 3 1.293-1.293c.389-.389.389-1.026 0-1.415z'/%3e%3crect fill='%23000000' x='5.129' y='3.8' transform='matrix(-.707 -.707 .707 -.707 6.189 20.064)' width='4.243' height='9.899'/%3e%3cpath fill='%23000000' d='M.908 14.775c-.087.262.055.397.316.312l2.001-.667-1.65-1.646-.667 2.001z'/%3e%3c/g%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 20px 20px !important;
}

.editing a:hover {
  background-color: #cbff0f;
}

li .editing a {
  display: none !important;
}

li:hover .editing a {
  display: block !important;
}

.slick-slide:hover .editing a {
  display: block !important;
}

#main_content a,
#main_content a:visited {
  color: #00266e;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

#main_content a:hover {
  color: #ffa800;
  text-decoration: underline;
}

.view-header {
  position: relative;
}

.clear {
  clear: both
}

img {
  border: 0;
}

div,
ul li {
  margin: 0px auto;
  padding: 0px;
}

.pager {
  display: inline-block
}

#page-wrapper {}

#page img {
  max-width: 100%
}

#page .term-tree-list {
  position: relative;
  margin-top: 15px;
}

#page .term-tree-list .term {
  list-style: none;
  margin: 0;
  padding: 5px 0 5px 30px;
}

#page .term-tree-list .term::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  background-color: var(--main-color);
  -webkit-mask-image: url(../images/tag1.svg);
  mask-image: url(../images/tag1.svg);
  background-size: cover;
  width: 20px;
  height: 26px;
}

#page .term-tree-list .selected {
  font-weight: normal;
  text-decoration: underline
}

#block_publication {
  margin: 0 0;
}

.screen {
  position: relative;
  padding: 0px 30px;

  margin: 0 auto
}

#innerpage {
  max-width: 1380px;
}

.container {
  max-width: 100%
}

.wide-content {
  width: auto;
  margin: 0
}

.breadcrumb {
  font-size: 15px;
  padding: 0 15px;
}

.breadcrumb a {
  color: var(--main-color);
}

.block-views-blockslideshow-block-1 {
  position: relative;
}

#news1,
#news2,
#news3 {
  max-width: 80% !important
}

h1,
h2,
h3 {
  font-weight: 600;
  margin: 0;
}

h4,
h5,
h6 {
  font-weight: 400;
  margin: 0;
}

h1 {
  font-size: 38px;
  line-height: 42px;
  color: var(--main-color);
  text-transform: uppercase;
  padding-bottom: 20px;
  font-family: "georgia";

}

h2 {
  font-size: 34px;
  line-height: 38px;
  color: var(--main2-color);
  padding-bottom: 20px;
}

h3 {
  font-size: 26px;
  line-height: 32px;
  color: var(--main3-color);
  margin-bottom: 20px;
  padding: 5px 0;
  border-bottom: 1px solid var(--main2-color)
}

h4 {
  font-size: 23px;
  margin: 0px;
  color: var(--main-color);
  line-height: 33px;
  padding: 5px 0;
}

h5 {
  font-size: 23px;
  margin: 0px;
  color: var(--main2-color);
  line-height: 33px;
  padding: 5px 0;
}

h6 {
  font-size: 23px;
  margin: 0px;
  color: var(--main3-color);
  line-height: 33px;
  padding: 5px 0;
}

.title,
.blocktitle,
.sch_highlights b,
#banner_title h1,
.banner_title h1 {
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  margin: 0;
  padding: 5px 0;
  font-size: 33px;
  line-height: 40px;
  letter-spacing: 0;
  position: relative;
  color: #b08d57;
  font-family: "georgia";
  text-transform: uppercase
}

.boxing .title::after,
.boxing .blocktitle::after {
  content: "";
  width: 50px;
  height: 4px;
  background: #b08d57;
  position: absolute;
}




p {
  margin: 0px;
  padding: 0px
}

.blocktitle {
  text-align: center;
  font-size: 36px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--main-color);
  line-height: 42px;
}

.block__title {}

.region--secondary-menu,
.region--secondary-menu {
  margin: 0;
}

.menu--sidebar .is-active,
#block-olivero-main-menu .is-active {
  font-weight: 600;
  color: var(--main-color) !important
}

#header_top {}

#header {
  z-index: 2;
  width: 100%;
  position: absolute
}

#header .screen {
  display: flex;
  padding: 0px 30px;
  align-items: center;
  justify-content: flex-end;
}

#header .logo {
  margin-left: 0
}

.sticky {
  z-index: 10;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}
#header {

  box-shadow: 0 0 3px rgba(0, 0, 0, .2);
background: #006537;
background: linear-gradient(0deg,rgba(0, 101, 55, 0) 0%, rgba(0, 0, 0, 0.26) 20%, rgba(0, 101, 55, 1) 80%);
}
.sticky #header {
  position: fixed;
  top: 0px;
  z-index: 10;
  width: 100%;
  box-shadow: 0 0 3px rgba(0, 0, 0, .2);
  min-height: auto;
  max-width: 100%;
  background: #126537c4;
}


.site-branding {
  margin-left: 0;
  padding: 10px 0 10px 10px;
  flex: 1
}


.right_top {
  display: inline-flex;
  margin-right: 0;
  width: auto
}

#lang {
  margin: 0px 15px 0 0;
  padding: 1px;
  display: flex;
  width: auto;

  border-radius: 36px;
  position: relative;
  font-size: 14px;
  white-space: nowrap;
}

#lang ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  position: relative;
}

#lang ul li {
  margin: 0;
  flex: none;
  position: relative;
}



#lang ul li a {
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 36px;
  font-size: 14px;
  text-decoration: none;
  width: 56px;
  height: 36px;
  text-align: center;
  background: transparent;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

#lang ul li a.is-active {
  color: #fff;
}

#lang ul:hover li a {
  color: #000;
}

#lang ul li a:hover {
  color: #fff;
}

#page img {
  max-width: 100%;
}

.home_zoneA {
  background: #fff
}

.home_zoneB {
  padding: 0px 0 70px 0;
  background: #fff
}

.home_zoneC {}



.view-more,
.view-more2 {
  margin: 0 auto;
  padding: 50px 0;
  text-align: center;
}


.more-link {
  position: relative;
}

.more-link a {
  font-size: 20.5px;
  line-height: 32px;
  padding: 10px 150px 10px 120px;
  background: #ffffff;
  border: 2px solid #2c3cb0;
  border-radius: 23px;
}

.more-link a:hover {
  padding: 10px 150px 10px 120px;
}

.view-more a {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
  /* 使用 right 关键字和垂直位置 */
  transition: background-position 0.5s ease, padding-left 0.5s ease;


}

.view-more a:hover {
  transition: background-position 0.5s ease, padding-left 0.5s ease;
  background-color: var(--main-color);
  color: #fff;
  background-position: right 20px center;

  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z' fill='%23ffffff'/%3E%3C/svg%3E");
}



.view-more2 a {
  position: relative;
  display: inline-block;
  padding: 10px 35px;
}

.view-more2 a::before,
.view-more2 a::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-style: solid;
  border-radius: 8px;
  border-color: var(--main3-color);
  transition: transform 0.3s ease;
}

.view-more2 a::before {
  border-width: 2px 0 2px 0;
  transform: scaleX(0);
}

.view-more2 a::after {
  border-width: 0 2px 0 2px;
  transform: scaleY(0);
}

.view-more2 a:hover::before,
.view-more2 a:hover::after {
  transform: scale(1, 1);
}

.region--breadcrumb {
  background: #fff;
  margin: 0 0 50px 0;
  padding: 10px 0 0 0;
}


.news_tag {
  position: absolute;
  left: -5px;
  top: -5px;
  background-image: url(../images/icon/i_news.png);
  width: 90px;
  height: 44px;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}

.news_tag2 {
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(../images/icon/i_news2.png);
  width: 90px;
  height: 28px;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}

#logo {
  margin: 0
}

#logo img {
  max-height: 110px;
  height: auto;
}

.sch_highlights {
  background: url(../images/ctcampus/bg_main.png) no-repeat center top;
  padding: 50px 0;
  background-size: cover;
}

.sch_highlights .title {
  padding: 5px 0 5px 5%;
}

/* .sch_highlights .title::before {
  z-index: 0;
  position: absolute;
  pointer-events: none;
  content: "";
  left: -46%;
  width: 50%;
  height: 3px;
  background: #313cae;
  top: 28px;
} */

[data-aos="sch_highlights_animate"].aos-animate .title::before {
  content: "";
  z-index: 0;
  position: absolute;
  pointer-events: none;
  left: -46%;
  width: 50%;
  height: 3px;
  background: #313cae;
  top: 28px;
  opacity: 0;
  animation: rightAnimate 0.25s linear;
  animation-fill-mode: forwards;
}

@keyframes rightAnimate {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 0, 0) scaleX(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleX(1);
    transition: 1s ease-in-out 3s;
  }
}


.sch_highlights b {
  color: #fff;
  font-size: 28px;
  line-height: 34px;
  padding: 0;
  margin: 0;
}


.sch_highlights ul {
  display: grid;
  padding: 50px 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
}

.sch_highlights ul li {
  width: calc(100% - 2px);
  padding: 1px;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
}

.sch_highlights ul li span,
.sch_highlights .boxing {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  color: #fff;
  font-size: 21.5px;
  padding: 30px 0;
  background: linear-gradient(0deg, rgba(44, 51, 98, 1) 20%, rgba(44, 51, 98, 0) 100%);
  margin: 0
}

.bg_god_msg {
  background: url(../images/ctcampus/students.png) no-repeat left center #2f3563;
  padding: 50px 0;
  justify-content: center;
  align-items: center;
}

.bg_god_msg .screen {
  background: url(../images/ctcampus/sch_logo.png) no-repeat right center;
  background-size: auto 75%
}

.bg_god_msg .title {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, .2)
}

.bg_god_msg .contents {
  float: right;
  width: 45%;
  color: #fff;
  background: rgba(47, 53, 99, .7);
  margin: 90px 0;
  padding: 15px;
}

.bg_whystcc {
  background: url(../images/ctcampus/stcc_intro.png) no-repeat #222a5b;
  background-position: 100% 0%;
  background-size: auto 100%;
  padding: 50px 0;
  justify-content: center;
  align-items: center;
}

.bg_whystcc .title {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, .2)
}

.bg_whystcc ul {
  list-style: none;
  margin: 0 0 0 -3.3%;
  padding: 20px 0;
}

.bg_whystcc ul li {
  float: left;
  width: calc(50% - 3.3%);
  margin: 0 0 30px 3.3%;
  background: rgba(0, 0, 0, .2);
  text-align: center;
  padding: 0px 0;
  color: #fff;
  font-size: 42px;
  line-height: 50px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: #222a5b6b;
}

.bg_whystcc ul li .box_why {

  margin: 0px 0;
  position: relative
}


.bg_whystcc .contents {
  width: 65%;
  float: left;
}

.node__content {
  clear: both;
}

.node__content time {
  display: block !important;
  margin-bottom: 10px;
}


#banner_title,
.banner_title,
#nonbanner_title {
  background-image: url(../images/web/inner_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  pointer-events: none;
  background-position: center center;
}

#banner_title h1,
.banner_title h1,
#nonbanner_title h1 {
  color: #d3a561;

  padding: 120px 0 100px 0;
  margin: 0;
  z-index: 1;
  text-align: center
}





#banner_title h1 span,
.banner_title h1 span,
#nonbanner_title h1 span {
  position: relative;
  padding: 10px 0;
  display: inline-block
}


#banner_title h1 span::before,
.banner_title h1 span::before,
#nonbanner_title h1 span::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 1px;
  background: #fff6;
}

#banner_title h1 span::after,
.banner_title h1 span::after,
#nonbanner_title h1 span::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1px;
  left: 0;
  background: #fff6;
}




#nonbanner_title {
  background: url(../images/ctcampus/bg_news.png) no-repeat bottom center;
}

#nonbanner_title h1 {
  padding: 220px 0 40px 5%;
  color: var(--main-color);
  text-shadow: 0 0 0;
}

#nonbanner_title::after {
  display: none
}

#nonbanner_title h1::before {
  background: var(--main2-color);
  bottom: 58px;
}

#block_latest-news {
  float: left;
  width: 48%;
}

.main_calenadr {
  float: right;
  width: 48%;
}


#block_latest-news .blocktitle {
  position: relative;
  z-index: 1;
}

#block_latest-news .blocktitle p {
  padding: 10px 0px;
  display: inline;
}

.btn_back {
  margin: 0px auto;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.btn_back a {
  display: inline-block;
  padding: 10px 50px;
  color: #fff !important;
  background: linear-gradient(to left, #0067b3 50%, #feb811 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .5s ease-out;
}

.btn_back a:hover {
  background-position: left bottom;
  color: #000 !important;
}




[data-aos="block_latest-new_animation"].aos-animate#block_latest-news::before {
  content: "";
  position: absolute;
  width: 80%;
  height: calc(100% - 140px - 17vh);
  top: 140px;
  z-index: 0;
  left: 10%;
  background: linear-gradient(to right, #313cae 0%, #313cae 100%), linear-gradient(to top, #313cae 50%, transparent 50%), linear-gradient(to top, #313cae 50%, transparent 50%), linear-gradient(to right, #313cae 0%, #313cae 100%), linear-gradient(to left, #313cae 0%, #313cae 100%);
  background-position-x: 0%, 0%, 0%, 0%, 0%;
  background-position-y: 0%, 0%, 0%, 0%, 0%;
  background-repeat: repeat, repeat, repeat, repeat, repeat;
  background-size: auto, auto, auto, auto, auto;
  background-size: 100% 4px, 4px 200%, 4px 200%, 0% 4px, 0% 4px;
  background-position: 50% 100%, 0% 0%, 100% 0%, 100% 0%, 0% 0%;
  background-repeat: no-repeat, no-repeat;
  transform: scaleX(0) rotate(180deg);
  animation: transformAnimation 0.5s ease-in-out 0.5s forwards,
    positionAnimation 0.5s ease-in-out 1s forwards,
    sizeAnimation 0.5s ease-in-out 1.5s forwards;
}




@keyframes transformAnimation {
  0% {
    transform: scaleX(0) rotate(180deg);
  }

  100% {
    transform: scaleX(1) rotate(180deg);
  }
}

@keyframes positionAnimation {
  0% {
    background-position: 50% 100%, 0% 0%, 100% 0%, 100% 0%, 0% 0%;
  }

  100% {
    background-position: 50% 100%, 0% 100%, 100% 100%, 100% 0%, 0% 0%;
  }
}

@keyframes sizeAnimation {
  0% {
    background-size: 100% 4px, 4px 200%, 4px 200%, 0% 4px, 0% 4px;
  }

  100% {
    background-size: 200% 4px, 4px 400%, 4px 400%, 55% 4px, 55% 4px;
  }
}



.video_theme {
  max-width: 80%;
  margin: 50px auto;
}

.slider-slogan {
  position: absolute;
  bottom: 15%;
}

.slider-slogan .slogan_text {
  font-size: 2.5em;
  padding: 0.55em;
  line-height: 1.85em;
  color: #fff;
  background: #086cc2a1;
}

.slogan_left {
  left: 0;
}

.slogan_right {
  right: 0;
}

.view-empty {
  clear: both
}

footer {
  background: url("../images/web/footer.png") no-repeat;
  color: #fff;
  padding: 50px 0;
  font-size: 14px;
  background-size: cover
}

footer .text-content,
footer a {
  color: #fff;
  font-size: 14px;
      padding: 0 10px;
}


footer .power {
  float: right;
}

.footer_hover {
  float: left;
  display: flex;
  gap:50px;
}

.footer_hover a:hover {
    background-color: #a68759; 
    color: #fff;          
}


footer .copyright {
  float: right
}

footer .copyright a,
footer .power a {
  color: #fff;
  text-decoration: underline
}

#main_content {
  float: none;
  width: 100%;
  min-height: 500px;
}

#sidebar-nav {
  float: none;

}




.exam {
  display: flex;
  justify-content: end;
  padding: 40px 0;
}

.exam img {
  max-height: 70px;
}

.useful-links ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  gap: 37px;
  justify-content: center;

}

.useful-links ul a {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  height: 230px;
  background: #fefbf8;
  border-radius: 30px;
  align-items: center;
  width: 320px;
}


.useful-links ul a:hover {
  box-shadow: 0px 0 43px 1px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: all 0.5s ease-out;
}

.useful-links ul a span {
  width: 85%;
  text-align: center;
  font-size: 16px;
  line-height: 23px;
  background: #1b3f1c;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 5px
}

#block_useful_link {
  background: #fff
}

#block_useful_link .blocktitle {
  color: #036437;
  padding: 70px 0;
  margin: 0;
}

.useful-links ul li {
  width: auto;
  position: relative;
  padding: 0px;
  margin: 0
}

lord-icon {
  width: 100% !important
}


.useful-links ul li+li a span {
  background: #b08d57;
}

.useful-links ul li+li+li a span {
  background: #cf6541;
}

.useful-links ul li+li+li+li a span {
  background: #2c5f2d;
}

.useful-links ul li+li+li+li+li a span {
  background: #cda973;
}

.useful-links ul li+li+li+li+li+li a span {
  background: #848484;
}

.useful-links ul li+li+li+li+li+li+li a span {
  background: #cf6541;
}


.history_timeline .blocktitle {
  margin: 0;
  padding: 50px 0;
  color: #fff;
}

#ctd-fliters .form--inline .form-actions {
  margin: auto
}

#ctd-fliters {
  margin-block-end: var(--sp1);
  text-align: right;
  float: right;
}

.contextual-region .view-header {
  margin-block-end: var(--sp1) !important;
}


/* Table */
#main_content table {
  border-collapse: collapse;
  width: 100%;
  line-height: 33px;
  border: 1px solid #d8ddd0;
  margin: 0;
}


#main_content table tr:first-child td {
  background-color: #036437;
  color: #fff;
}

#main_content tr:nth-child(even) td {
  background: #d8ddd03b;
  color: #333;
  padding: 5px;
  border: 1px solid #d8ddd0;
}

#main_content tr:nth-child(odd) td {
  background: #fff;
  color: #333;
  padding: 5px;
  border: 1px solid #d8ddd0;
}

#main_content table ul,
table ol {
  margin: 0;
}

#main_content tr th {
  background: var(--main-color);
  color: #fff;
  padding: 5px;
}

.location {
  width: 100%;
  margin: 20px 0;
  box-shadow: 0 0 3px rgba(0, 0, 0, .2);
}

iframe {
  width: 100%;
  min-height: 350px;
}

/* Template */
.tpl-info time,
.block-info time,
.node__content time {
  position: relative;
  display: inline-block;
  padding: 0px 0;
}


.index_block {
  background: none
}

.index_block b {
  display: block
}

#page time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  background-color: var(--main-color);
  -webkit-mask-image: url(../images/date.svg);
  mask-image: url(../images/date.svg);
  background-size: cover;
  width: 20px;
  height: 21px;
}

#page time {
  text-align: left;
  padding-left: 30px;
}

.block-info {
  list-style: none;
  margin: 0;
  padding: 0;
  background: none
}

.block-info li {
  position: relative;

}


.tpl-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tpl-info li {
  position: relative;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  background: #fff;
}

.tpl-info li:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
}

.tpl-info li a {
  color: #333;
  display: block;
  width: 100%
}

.tpl-info li a:hover {
  color: #333;
}

.tpl-info li b,
.block-info li b {
  display: block
}

.tpl-info figure img,
.block-info figure img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  opacity: 1;
}

.tpl-info figure:hover img,
.block-info figure:hover img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  opacity: .8;
}

.tpl-info figure,
.block-info figure {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.template-A ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.template-A ul li {
  width: calc(100% - 30px);
  background: #fff;
  padding: 15px;
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  text-align: center;
}

.template-B ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.template-B ul li {
  width: calc(100% - 30px);
  background: #fff;
  padding: 15px;
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  text-align: center;
}

.template-C ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.template-C ul li {
  width: calc(100% - 30px);
  padding: 15px;
  display: flex;
  align-items: center;
  text-align: center;
}

/* template-D */

.template-D ul {
  margin: 0 0 0 0%;
  border-top: 2px solid #F00;

}

.template-D ul li {
  display: flex;
  background: #fff;
  padding: 10px 0;
}

.template-D ul li .date span {
  padding: 0px 0 0px 28px;
  background-size: 16px 15px;
  font-weight: bold;
  color: #666;
  font-weight: 400;
  font-family: "Oswald", "微軟正黑體", sans-serif;
}



.template-D ul li .number {
  flex-basis: 10%;
  padding: 5px 10px;
  font-size: 16px;
  margin: 0;
  text-align: left;
  font-weight: bold;
  color: #666;
  font-weight: 400;
  font-family: "Oswald", "微軟正黑體", sans-serif;
}

.template-D ul li .title {
  flex-basis: 50%;
  padding: 5px 10px;
  font-size: 16px;
  line-height: 21px;
  text-shadow: 0 0 0;
  margin: 0;
  text-align: left;
  font-weight: 400;
  color: #333;
  margin: 0 5%;
  font-family: "Oswald", "微軟正黑體", sans-serif;
}




.template-D ul li .download {
  flex-basis: 24%;
  font-size: 16px;
  padding: 0;
  margin: 0;
  text-align: right;
  padding: 5px 20px;
}

.template-D ul li .download a {
  background: url(../images/icon/icon_download.png) no-repeat left;
  background-position: 3px 5px;
  padding: 6px 0 6px 30px;
  line-height: 19px;
  background-size: 23px 23px;
  display: inline;
  font-weight: bold;
  color: #666;
  font-family: "Oswald", "微軟正黑體", sans-serif;
  transition: all 0.3s ease;
}

.template-D ul li .download a:hover {
  background: url(../images/icon/icon_download.png) no-repeat left;
  background-position: 3px 8px;
  color: #666;
  background-size: 23px 23px
}

.template-D ul li .date {
  flex-basis: 16%;
  font-size: 16px;
  padding: 5px 5px 5px 10px;
  margin: 0;
  text-align: left;
  font-weight: bold;
  color: #666;
}

.template-D ul li p {
  width: auto;
  font-size: 15px;
  font-weight: bold;
  color: #666;
}

.template-D ul li .date time {
  padding: 0px 0 0px 28px;
  background-size: 16px 15px;
  color: #666;
  font-weight: 400;
  font-family: "Oswald", "微軟正黑體", sans-serif;
}

.date time {
  background: url(../images/icon/icon_calendar.png) no-repeat;
  padding: 8px 20px 8px 25px;
  font-size: 16px;
  line-height: 15px;
  display: inline-block;
  background-size: 18px 20px;
  background-position: 0px 25%;
}

@media screen and (max-width:567px) {
  .template-D ul li {
    flex-direction: column;
  }

  .template-D ul li>div {
    width: 100%;
    padding: 5px 10px !important;
    box-sizing: border-box;
  }

  .template-D ul li .date {
    padding: 5px 10px !important;
  }

  .template-D ul li .date span {
    font-size: 16px;
    background-size: 20px !important;
    background-position: 0 50%;
    background-size: 20px;
    padding: 5px 5px 5px 30px;
    display: block;
    color: #fc2130;
    font-size: 16px;
    line-height: 19px;
    display: block;
  }



  .template-D ul li a {
    display: inline-block;
    padding: 0px 0;
    width: 100%;
  }

  .template-D ul li a:hover {
    color: #333;
    text-decoration: none
  }



  .template-D ul li .date span {
    padding: 0px 0 0px 28px;
    background-size: 16px 15px;
  }



  .template-D ul li .number {
    flex-basis: 24%;
    padding: 5px 10px;
    font-size: 16px;
    margin: 0;
    text-align: left;
  }

  .template-D ul li .title {
    flex-basis: 50%;
    padding: 5px 10px;
    font-size: 16px;
    line-height: 19px;
    text-shadow: 0 0 0;
    margin: 0;
    text-align: left;
  }


  .template-D ul li .download {
    flex-basis: 20%;
    font-size: 16px;
    padding: 0;
    margin: 0;
    text-align: left;
  }

  .template-D ul li .download a {
    background: url(../images/icon/icon_download.png) no-repeat left;
    background-position: 3px 5px;
    padding: 6px 0 6px 30px;
    line-height: 19px;
    color: #555;
    background-size: 23px 23px;
    display: block;
  }

  .template-D ul li .download a:hover {
    background: url(../images/icon/icon_download.png) no-repeat left;
    background-position: 3px 8px;
    color: #666;
    background-size: 23px 23px
  }

  .template-D ul li .date {
    flex-basis: 16%;
    font-size: 16px;
    padding: 5px 5px 5px 10px;
    margin: 0;
    text-align: left;
  }


  .template-D ul li p {
    width: auto;
    font-size: 15px;
  }
}




#block_gallery {
  margin: -90px 0 50px 0
}

#block_gallery ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.Block_A ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.Block_A ul li {
  position: relative;
  width: 100%;
}

.Block_B ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.Block_B ul li {
  position: relative;
  width: 100%;
  background: #fff;
}

.Block_C ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: scroll;
  max-height: 500px
}

.Block_C ul li {
  position: relative;
  width: 100%;
  background: #fff;
  margin: 0 0;
}

.Block_C ul li a {
  display: flex;
  align-content: center;
}

.Block_C ul li .cover {
  float: left;
  width: 38%
}

.Block_C ul li .content {
  float: right;
  width: 60%;
  padding: 15px 0;
}

.Block_C ul li b {
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
}

.public_add {
  top: -98px;
}

.flip_btn,
.pdf_btn {
  display: inline-block;
  margin-top: 15px;
}

.pdf_btn {
  margin-left: 15px;
}

.flip_btn a {
  background: var(--main-color);
  color: #fff !important;
  padding: 10px 20px;
}

.pdf_btn a {
  background: var(--main2-color);
  color: #fff !important;
  padding: 10px 20px;
}


.news-card {
  border: 0px solid aqua;
  margin: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  flex: 1;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 80%);
  ;
  z-index: 0;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: relative;
  z-index: -1;
}

.news-card__text-wrapper {
  position: relative;
  padding: 5px 10px 15px 10px;
  width: calc(100%);
  color: #333;
  background-color: #fff;
  transition: background-color 1.5s ease;
}

.news-card__title {
  transition: color 1s ease;
  margin-bottom: .5rem;
}

.news-card__details-wrapper {
  max-height: 0;
  opacity: 0;
  transition: max-height 1.5s ease, opacity 1s ease;
}

@media (min-width: 900px) {
  .news-card:hover .news-card__details-wrapper {
    max-height: 20rem;
    opacity: 1;
  }

  .news-card:hover .news-card__text-wrapper {
    background-color: #eae0f0
  }

  .news-card:hover .news-card__title {
    color: yellow;
  }

}


.articles {
  padding: 1em;
}

.articles:hover:before {
  width: 100%;
}

.articles::before {
  content: "";
  position: absolute;
  bottom: 0px;
  height: 2px;
  width: 0%;
  background: var(--main-color);
  right: 0px;
  transition: width 0.4s;
}



/* End Template */

/* Category */
.category {
  float: left;
  background: #ebeff2;
  padding: 8px 10px;
  border-radius: 8px;
  margin: 9px 0;
  z-index: 1;
  position: relative;
}

.category ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.category ul li {
  display: inline-block;
}

.category ul li a {
  display: block;
  padding: 5px 20px;
  font-size: 1.3em;
  text-decoration: none;
  color: #333333;
  font-weight: 400;
  margin: 0 10px;
}

.category ul li+li {
  border-left: 1px dotted #666;
}

.category ul li a,
.category ul li a:after,
.category ul li a:before {
  transition: all .5s;
}

.category ul li a:hover {
  color: var(--main-color);
}

#ctd-fliters .button {
  background: var(--main-color);
}

#ctd-fliters select {
  color: var(--main-color);
}

#ctd-fliters .button,
#ctd-fliters select {
  font-size: 16px;
  line-height: 24px;
  height: 50px;
}


/* stroke */
.category.stroke ul li a,
.category.fill ul li a {
  position: relative;
}

.category.stroke ul li a:after,
.category.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: var(--main-color);
  ;
  height: 2px;
}

.category.stroke ul li a:hover:after {
  width: 100%;
}

.category.fill ul li a {
  transition: all 2s;
}

.category.fill ul li a:after {
  text-align: left;
  content: '.';
  margin: 0;
  opacity: 0;
}

.category.fill ul li a:hover {
  color: #fff;
  z-index: 1;
}

.category.fill ul li a:hover:after {
  z-index: -10;
  animation: fill 1s forwards;
  -webkit-animation: fill 1s forwards;
  -moz-animation: fill 1s forwards;
  opacity: 1;
}

/* SHIFT */
.category.shift ul li a {
  position: relative;
  z-index: 1;
}

.category.shift ul li a:hover {
  color: #91640F;
}

.category.shift ul li a:after {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 1px;
  content: '.';
  color: transparent;
  background: var(--main-color);
  visibility: none;
  opacity: 0;
  z-index: -1;
}

.category.shift ul li a:hover:after {
  opacity: 1;
  visibility: visible;
  height: 100%;
}


.category .current a,
.category .current a:hover {
  color: #fff;
  background: var(--main-color);
}


/* Keyframes */
@-webkit-keyframes fill {
  0% {
    width: 0%;
    height: 1px;
  }

  50% {
    width: 100%;
    height: 1px;
  }

  100% {
    width: 100%;
    height: 100%;
    background: var(--main-color);
    ;
  }
}

/* Keyframes */
@-webkit-keyframes circle {
  0% {
    width: 1px;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 1px;
    z-index: -1;
    background: var(--main-color);
    ;
    border-radius: 100%;
  }

  100% {
    background: var(--main-color);
    ;
    height: 1000%;
    width: 1000%;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 0;
  }
}

/* End Category */

.sitemap-item {
  margin: 0px auto;
  padding: 0;
}

.sitemap-item ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sitemap-item ul ul {
  grid-template-columns: repeat(1, 1fr);
  gap: 5px;
  margin: 10px;
  padding: 0 25px;
  list-style-type: initial;
}

.sitemap-item ul li {
  width: 100%;
  margin: 0;
  padding: 0
}

.sitemap-item ul li a,
.sitemap-item ul li span {
  padding: 10px 15px;
  display: block;
  border-bottom: 1px solid #ddd;
  transition: background 0.3s ease;
}

.sitemap-item ul li a {
  color: var(--main-color);
}

.sitemap-item ul li span {
  color: #555;
}

.sitemap-item ul li a:hover {
  background: var(--main2-color);
  color: #fff;
}

.sitemap-item ul li ul li a,
.sitemap-item ul li ul li span {
  padding: 5px 0 5px 0px;
  display: block;
  border-bottom: 0;
  font-size: 1em;
  font-weight: 300
}

.sitemap-item ul li ul li a:hover {
  background: none;
  color: var(--main2-color)
}

.sidebar-nav {
  margin: 30px 0;
  position: relative;
  width: 100%;
}

.sidebar-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile-menu-toggle {
  display: none;
}


  .mobile-menu-wrapper {
    display: block !important;
  }

   .sidebar-nav .metismenu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 10px;
    border-radius: 23px;
    background: #fff9f0;
  }

  .sidebar-nav .metismenu > li {
    position: relative;
    margin: 0;
  }

  .sidebar-nav .metismenu > li:not(:last-child) {
    border-right: 1px dotted #ecdac6;
  }

  /* 主選單連結按鈕 */
  .sidebar-nav .metismenu a {
    display: block;
    padding: 12px 18px;
    color: #333333;
    transition: all .25s ease;
    border-radius: 16px;
    text-decoration: none;
    font-size: 16px;
    line-height: 21px;
    white-space: nowrap;
  }

  .sidebar-nav .metismenu a:hover,
  .sidebar-nav .metismenu a:focus {
    color: #fff;
    background: var(--main-color);
  }

  /* ⭐ 關鍵：主選單 Current / Active 按鈕高亮樣式 (無論滑鼠有沒有移入都保留背景色) */
  .sidebar-nav .metismenu > li.is-current-parent > a,
  .sidebar-nav .metismenu > li.current > a,
  .sidebar-nav .metismenu a.current {
    color: #fff !important;
    background: var(--main-color) !important;
    border-radius: 16px;
  }

  /* 下拉子選單（預設絕對隱藏，防止載入閃爍或預設打開） */
  .sidebar-nav .metismenu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    margin-top: 8px;
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .sidebar-nav .metismenu li ul li a {
    padding: 8px 12px;
    font-size: 14px;
    color: #555;
  }

  .sidebar-nav .metismenu li ul li a:hover {
    color: #fff;
    background: var(--main-color);
  }

  .metismenu .has-arrow {
    padding-right: 32px !important;
  }

  /* ⭐ 只有滑鼠 Hover 觸發 mm-show 時才顯示下拉選單 */
  .sidebar-nav .metismenu li ul.mm-show {
    display: block !important;
  }

  /* ⭐ 子項目為 current 當前頁面時的選取樣式 */
  .sidebar-nav .metismenu li ul li.current > a,
  .sidebar-nav .metismenu li ul li a.current {
    color: #fff !important;
    background: var(--main-color) !important;
  }

  /* 填補按鈕與下拉選單之間的懸空空隙，防止滑鼠滑過時誤觸 mouseleave */
  .sidebar-nav .metismenu li ul::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
  }



.subjectlists {
  position: relative;
  margin: 0 auto;
  padding: 0 !important;
  max-width: 1000px;
  list-style: none;
  text-align: center;
}

.subjectlists figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.subjectlists figure figcaption::before,
.subjectlists figure figcaption::after {
  pointer-events: none;
}

.subjectlists figure figcaption,
.subjectlists figure figcaption>a {
  position: absolute;
  background: #0c335b38;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.subjectlists figure figcaption>a {
  z-index: 1;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}


.subjectlists figure h2,
.subjectlists figure p {
  margin: 0;
}

.subjectlists figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

figure.effect-honey {
  background: #4a3753;
  min-height: 180px;
}

figure.effect-honey img {
  opacity: 0.9;
  max-width: 125%: -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}

figure.effect-honey:hover img {
  opacity: 0.5;
}

figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--main2-color);
  content: '';
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}

figure.effect-honey h2 {
  position: absolute;
  font-style: normal;
  bottom: 0;
  left: 0;
  padding: 0.5em 1.5em;
  color: #fff;
  text-shadow: 0 0 8px #000000a1;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}


figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.view-subjects {
  padding: 0;
  margin: 0;
  clear: both;
}

.subjectlist ul {
  list-style: none;
  margin: 0;
  padding: 15px;
}

.subjectlist ul li {
  float: none;
  border-bottom: 1px solid var(--main3-color);
  position: relative
}

.subjectlist ul li a {
  padding: 15px 15px 15px 30px;
  display: block;
  font-size: 21px;
  line-height: 27px;
}

.subjectlist ul li a::before {
  content: "\2022";
  font-family: Arial;
  position: absolute;
  color: var(--main2-color);
  left: 0;
  top: 19px;
  font-size: 50px;
  font-weight: 400;
}

.contact_area {
  padding: 50px 0 150px 0;
  background: url("../images/web/footer_bg.png") no-repeat;
  background-size: cover;
  overflow: hidden;
  position: relative;
  z-index: 0
}



.contact_area .screen {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap
}



.contact_area .title {
  width: 100%;
  color: #fff;
  padding: 50px 0;
}



.bottom_logo {
  width: 30%;
  display: flex;
  border-right: 1px solid #ffffff2e;
  justify-content: center;
}


.bottom_logo img {
  max-height: 160px;
}

.contact_info {
  color: #fff;
  position: relative;
  z-index: 1;
  vertical-align: bottom;
  display: table-cell;
  width: 70%;
  padding: 0 130px;
  margin: auto;
  display: block;
}

.eclass {
  vertical-align: bottom;
  display: table-cell;
  z-index: 1;
  position: relative;
}

.eclass a {
  background: #fc4;
  color: #2f3563;
  padding: 5px 20px;
  border-radius: 8px;
}

.eclass a:hover {
  background: #313cae;
  color: #fc4;
}

.contact_info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact_info ul li {
  float: left;
  width: 100%;
  margin: 5px 0;
  display: flex;
}

.contact_info ul li+li {}

.contact_info ul li span {
  background: url(../images/ctcampus/i_address.png) no-repeat left center;
  padding: 15px 0 15px 25px;
  display: inline-block;
  background-size: 20px;
}

.contact_info ul li+li span {
  background: url(../images/ctcampus/i_tel.png) no-repeat left center;
  background-size: 25px;
}

.contact_info ul li+li+li span {
  background: url(../images/ctcampus/i_email.png) no-repeat left center;
  background-size: 20px;
}


.contact_info ul ul li {
  width: auto;
  margin: 5px 5px 0px 5px;
}

.contact_info ul ul li img {
  width: 45px !important;
}

.contact_info ul li a {
  color: #fff;
  text-decoration: underline;
}

.menu_arrow ul::before {
  background-color: white;
  /* Desired color */
  -webkit-mask: url(../images/triangle-up.svg) no-repeat center;
  mask: url(../images/triangle-up.svg) no-repeat center;
  mask-size: cover;
  background-size: cover;
  content: "";
  position: absolute;
  pointer-events: none;
  width: 50px;
  height: 15px;
  top: -15px;
  z-index: 111;
  left: 15px;
}

@media screen and (max-width: 1400px) {
  .menu_center ul::before {
    left: auto;
    right: 15px;
  }
}

.menu_arrow ul ul::before {
  display: none;
}


.cd-top {
  display: inline-block;
  position: fixed;
  opacity: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  height: 50px;
  width: 50px;
  bottom: 50px;
  right: 50px;
  z-index: 9;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  border: 1px solid #fff;
  box-shadow: 0px 0px 5px #999;
  background: #c9a063 url(../images/ctcampus/cd-top-arrow.svg) no-repeat center center;
  border-radius: 50px;

}

.cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
  background: #2c5f2d url(../images/ctcampus/cd-top-arrow.svg) no-repeat center center;
}

.cd-top.cd-is-visible {
  visibility: visible;
  opacity: 1;
}

.cd-top.cd-fade-out {
  opacity: .9;
}

.no-touch .cd-top:hover {
  background-color: #40498a;
  opacity: 1;
}


.cover_bg {
  display: flex;
  justify-content: center;
  align-items: normal;
  padding: 50px 0px;
  width: 100%;
  position: relative;
  min-height: 350px;
  background: url(../images/school.png) no-repeat left top;
  background-position-y: top;
  background-attachment: scroll;
  background-size: auto;
  background-attachment: fixed;
  background-blend-mode: multiply;
  background-size: 100%;
  background-position-y: 30%;
}

.index_info {
  position: relative;
  z-index: 1;
  top: 50%;
  left: 0%;
  transform: translateY(-56%);
  text-shadow: #010101a1 1px 0 10px;
  color: #fff;
  font-size: 27px;
  text-align: center;
  line-height: 38px;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 550;
}



.list-item {
  padding: 15px;
}

.list-item ul {
  display: block;
}

.list-item .content {
  display: flex;
  margin: 0;
  width: 100%;
}

.list-item .content time {
  flex: 0 0 20%;
  white-space: nowrap
}

.list-item .content .notice_no {
  flex: 0 0 10%;
}

.list-item .content b {
  flex: 0 0 50%;
}

.list-item .content .download {
  flex: 0 0 20%;
}

.list-item ul li {
  background: none;
  box-shadow: none;
  padding: 15px;
  text-align: left;
  background: #fff;
  margin-bottom: 5px;
  width: 100%
}


.list-item .content .download a {
  background: url(../images/icon/icon_download.png) no-repeat left;
  background-position: 3px 5px;
  padding: 8px 0 3px 30px;
  line-height: 19px;
  color: #555;
  background-size: 23px 23px;
  display: block;
  transition: all 0.3s ease 0s;
}

.list-item .content .download a:hover {
  background: url(../images/icon/icon_download.png) no-repeat left;
  background-position: 3px 8px;
  color: #666;
  background-size: 23px 23px
}

.subjectmenu ul {
  list-style: none;
  margin: 0 0 30px 0;
  background: #fff3d6;
  border-radius: 16px;
  padding: 10px 20px;
  display: flex;
  justify-content: flex-start;
  /* 項目靠左對齊 */

  flex-wrap: wrap;
  /* 允許換行 */
}

.subjectmenu ul li {
  margin: 0 10px;
  position: relative
}

.sub_heading {
  text-align: center;
  padding: 5px 0;
}

.subjectmenu ul li a {
  padding: 5px 15px;
  background: #fff;
  display: block;
  color: var(--main-color) !important;
  border-radius: 6px;
  font-size: 16px;
  line-height: 24px;
}

.subjectmenu ul li a:hover {
  background: var(--main4-color);
}

.subjectmenu ul li a.current {
  background: var(--main-color);
  color: #fff !important;
}

#block-sidebar-nav h2 {}


#block-olivero-languageswitcher {
  margin: 0
}

#block-olivero-views-block-slideshow-block-1 .swiper::before {
  content: "";
  position: absolute;
  background: url("../images/web/banner_pattern.png") no-repeat;
  width: 18vw;
  height: 12vw;
  background-size: contain;
  z-index: 2;
  bottom: 60px;
  left: 60px;
  pointer-events: none;
}

#block-olivero-views-block-slideshow-block-1 .swiper::after {
  content: "";
  position: absolute;
  background: url("../images/web/banner_pattern2.png") no-repeat;
  width: 8vw;
  height: 8vw;
  background-size: contain;
  z-index: 2;
  bottom: 60px;
  right: 60px;
  pointer-events: none;
}

.about_zwa {
  display: flex;
  gap: 70px;
  padding: 70px 0;
  justify-content: center;
  align-items: center;
  max-width: 90%
}

.about_img {
  flex: 1
}

.about_text {
  flex: 2;
}




.about_text.visible {
  opacity: 1;
  transform: translateY(0);
}

.letter {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.letter.visible {
  opacity: 1;
  transform: translateY(0);
}


#aboutTextTitle {
  color: #006537
}

#about_text_title {
  color: #006537;
  margin-bottom: 20px;
}


.region--home-center {
  display: flex;
}

#mission_text_title {
  background: #007157;
  color: #fff;
  padding: 5px 50px;
  max-width: 220px;
  text-align: center;
  text-transform: capitalize;
  margin-top: 20px;
}


#block-olivero-views-block-slideshow-block-2 {
  width: 60%;
}

#block-olivero-mission {
  width: 40%;
  padding: 0px 0 0 50px;
}

.motto {
  position: relative;
  font-size: 30px;
  margin-top: 40px;
}

#chi_motto {
  color: #c99f63;
  font-weight: bold;
}

.motto img {max-height: 55px;}

#en_motto {
  color: #cf6541;
  font-weight: 500;
}

#banner_mission .slick-dotted.slick-slider {
  margin-bottom: 0;
}

#banner_mission .slider {
  width: 100%;
  margin: 0;
  margin-bottom: 0px;
}

#banner_mission .slick-dots {
  bottom: 40px;
  width: auto;
  display: flex !important;
  right: 30px;
  text-align: right;
  gap: 0
}

#banner_mission .slick-dots li {
  width: 20px !important;
}

#banner_mission .slick-dots li button::before {
  bottom: 0;
  margin: auto;
}

.university {
  padding: 50px 0 100px 0;
  background: url("../images/web/three_university_pathways.png") no-repeat;
  background-size: cover;
}

.university .title {
  color: #fff;
  text-align: center;
  margin-bottom: 50px;
}

.university ul {
  display: flex;
  max-width: 80%;
  margin: auto 10%;
  list-style: none;
  justify-content: center;
}

.university ul li {
  background: #e9f0e5;
  padding: 30px;
  border-radius: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  position: relative;
  max-width: 460px;
  margin: 0 2%;
}

.university ul li span {
  background: url("../images/web/university_icon1_bg.png") no-repeat;
  background-size: contain;
  padding: 20px;
  z-index: 1
}

#flexible {
  background: #f7ebd9;
}

#identity {
  background: #feeee3;
}



.university ul li::before {
  content: "";
  width: 75px;
  height: 75px;
  position: absolute;
  background: #e9f0e5;
  left: -8px;
  top: -8px;
  border-top-left-radius: 46px;
  z-index: 0;
  border-top: 8px solid #8db377;
  border-left: 8px solid #8db377;
}

.university ul li::after {
  content: "";
  width: 75px;
  height: 75px;
  position: absolute;
  background: #e9f0e5;
  right: -8px;
  bottom: -8px;
  border-bottom-right-radius: 46px;
  z-index: -1;
  border-bottom: 8px solid #8db377;
  border-right: 8px solid #8db377;
}


#flexible::before {
  content: "";
  width: 75px;
  height: 75px;
  position: absolute;
  background: #f7ebd9;
  left: -8px;
  top: -8px;
  border-top-left-radius: 46px;
  z-index: -1;
  border-top: 8px solid #b08d57;
  border-left: 8px solid #b08d57;
}


#flexible::after {
  content: "";
  width: 75px;
  height: 75px;
  position: absolute;
  background: #f7ebd9;
  right: -8px;
  bottom: -8px;
  border-bottom-right-radius: 46px;
  z-index: -1;
  border-bottom: 8px solid #b08d57;
  border-right: 8px solid #b08d57;
}



#identity::before {
  content: "";
  width: 75px;
  height: 75px;
  position: absolute;
  background: #feeee3;
  left: -8px;
  top: -8px;
  border-top-left-radius: 46px;
  z-index: 0;
  border-top: 8px solid #cf6541;
  border-left: 8px solid #cf6541;
}


#identity::after {
  content: "";
  width: 75px;
  height: 75px;
  position: absolute;
  background: #feeee3;
  right: -8px;
  bottom: -8px;
  border-bottom-right-radius: 46px;
  z-index: -1;
  border-bottom: 8px solid #cf6541;
  border-right: 8px solid #cf6541;
}


#flexible span {
  background: url("../images/web/university_icon2_bg.png") no-repeat;
  background-size: contain;
}

#identity span {
  background: url("../images/web/university_icon3_bg.png") no-repeat;
  background-size: contain;
}

.sub_title {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 10px;
}

.university_text {
  line-height: 23px;
}

#global .sub_title {
  color: #1f7a46
}

#flexible .sub_title {
  color: #f17700
}

#identity .sub_title {
  color: #f65600
}



#block_explore {
  background: #f0eee6;
  padding: 0 0 100px 0;
}

#block_explore ul {
  display: flex;
  max-width: 65%;
  margin: auto;
}

#block_explore ul li .cover {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

#block_explore ul li .cover figure {
  border-radius: 26px;
}


#block_explore ul li .content {
  position: absolute;
  background: #ffffffdb;
  border: 2px solid #006537;
  padding: 10px;
  text-align: center;
  width: 240px;
  pointer-events: none;
}

#block_explore .blocktitle {
  padding: 50px 0;
  margin: 0;
  text-align: left;
  color: #006537;
}

#block_explore ul li .content p {
  text-align: center
}

#block_explore ul li .content a {
  font-size: 16px;
  background: #006537;
  padding: 3px 20px;
  color: #fff;
  margin-top: 15px;
  display: inline-block;
  pointer-events: all;
  text-decoration: none;
  border-radius: 4px;
  /* 可選：加一點微圓角讓視覺更柔和 */

  /* --- 動畫過渡核心 --- */
  transition: all 0.3s ease;
}

#block_explore ul li .content a:hover {
  background: #008046;
  /* 顏色稍微變亮 */
  transform: translateY(-3px);
  /* 向上浮起 3px */
  box-shadow: 0 4px 12px rgba(0, 101, 55, 0.35);
  /* 柔和陰影 */
}

#block_explore ul li .content a:active {
  transform: translateY(-1px);
  /* 點擊時有下壓回饋感 */
  box-shadow: 0 2px 6px rgba(0, 101, 55, 0.3);
}

#explore_title {
  color: #006537;
}


.admissions {
  background: #fff;
  padding: 50px 0;
}


.admissions .screen {
  display: flex;
  flex-wrap: wrap;
  max-width: 95%;
  padding: 0;
}

.admissions .title {
  color: #006537;
  margin-bottom: 30px;
  width: 100%
}

#gold {
  color: #c9a063
}

.admissions_l {
  width: 50%;
  margin: 0;
}

.admissions_r {
  width: 50%;
  margin: 0;
}

.listing .area {
  background: #f9f7f2;
  border-radius: 24px;
  padding: 10px;
  width: 100%;
  margin: 0;
  display: flex;
}

.area ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.line1 ul {
  display: grid;

  grid-column-gap: 0px;
  grid-row-gap: 0px;
  gap: 10px;
}

.line1 ul li {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.line1 ul li:nth-child(9n+1) {
  grid-area: 1 / 1 / 2 / 2;
  background: #167146;
  color: #fff;
  text-align: center;
  display: block;
  padding: 5px 10px;
}

.line1 ul li:nth-child(9n+2) {
  grid-area: 2 / 1 / 3 / 2;
}

.line1 ul li:nth-child(9n+3) {
  grid-area: 3 / 1 / 4 / 2;
}

.line1 ul li:nth-child(9n+4) {
  grid-area: 1 / 2 / 2 / 3;
  background: #167146;
  color: #fff;
  text-align: center;
  display: block;
  padding: 5px 10px;
}

.line1 ul li:nth-child(9n+5) {
  grid-area: 2 / 2 / 3 / 3;
}

.line1 ul li:nth-child(9n+6) {
  grid-area: 3 / 2 / 4 / 3;
}

.line1 ul li:nth-child(9n+7) {
  grid-area: 1 / 3 / 2 / 4;
  background: #167146;
  color: #fff;
  text-align: center;
  display: block;
  padding: 5px 10px;
}

.line1 ul li:nth-child(9n+8) {
  grid-area: 2 / 3 / 3 / 4;
}

.line1 ul li:nth-child(9n+9) {
  grid-area: 3 / 3 / 4 / 4;
}


.process {
  margin-top: 50px;
}

.accordion-container .content {
  padding: 15px;
}

.accordion-container {
  width: 100%;
  margin: 0;
}

.accordion-container summary {
  background: #167146;
  color: #fff;
}

.accordion-container details {
  margin-bottom: 1px;
}

.accordion-container summary {
  /* 1. 隱藏原生 marker 箭頭 */
  list-style: none;
  /* 標準做法 */

  /* 2. 透過 Flexbox 控制版面排列 */
  display: flex;
  justify-content: space-between;
  /* 讓文字靠左、箭頭靠右 */
  align-items: center;
  /* 垂直置中 */

  padding: 10px 10px;
  cursor: pointer;
  font-weight: bold;
}

/* 針對舊版 Safari 隱藏箭頭 */
summary::-webkit-details-marker {
  display: none;
}

/* 3. 用 ::after 自訂一個箭頭圖示並控制位置 */
summary::after {
  content: "▶";
  font-size: 12px;
  color: #f9cb87;
  transition: transform 0.2s ease;
  /* 旋轉動畫 */
}

/* 4. 當 details 展開 (open) 時，將箭頭向下旋轉 */
details[open] summary::after {
  transform: rotate(90deg);
}

.documents {
  display: inline-block;
  margin: 40px 0;
}

.documents a {
  display: inline-block;
  /* background: url("../images/web/i_documents.png") no-repeat #c9a063 right; */
  background:#c9a063;
  color: #fff;
  padding: 10px 40px;
  border-radius: 16px;
  background-size: 20px;
  /* background-position-x: right 10px; */
  text-transform: uppercase;
  font-family: "georgia";
}

.admissions_r .title {
  margin-bottom: 0;
}

.admissions_r .sub_title {
  font-family: "georgia";
  color: #c86949;
  margin-bottom: 40px;
}

.admissions_r ul li::marker {
  color: #b8860b;
  font-size: 25px;
}


.admissions a {
    gap: 5px;
    display: flex;
    align-items: center;
}

.apply a {
  display: block
}

.button_area {
  display: inline-block;
  gap: 20px;
  margin-top: 30px;  margin-left: -10px;
}
.button_area > div { float: left; margin:5px 10px !important}


#admissions {
  margin: 0
}

#apply {
  margin: 0
}

.button_area a {
  padding: 10px 30px; font-size: 20.5px;
  border-radius: 16px;
  color: #fff;
  display: flex;    align-items: center;
    gap: 5px;
}

#admissions a {
  background: #da4918
}

#admissions a:hover,
#applyb a:hover,
#apply a:hover {
  background: #000;
  box-shadow: 0px 0 23px rgba(80, 80, 80, 0.44);
}

.button_area a img {
  margin: 0 0 0 10px;
}


/* .documents a:hover {
  background: url("../images/web/i_documents.png") no-repeat #000 right;
  box-shadow: 0px 0 23px rgba(80, 80, 80, 0.44);
  background-size: 20px;
  background-position-x: right 10px;
} */


#applyb a{
  background: #c8a063
}

#apply a {
  background: #006537
}

#admissions img {
  max-height: 30px;
}
.admissions_l .listing .area { display: block
}

#apply img {
  max-height: 30px;
}

.region--content-below {
  display: block
}


.sponsoring_area {
  background: url("../images/web/sponsoring_bg.png") no-repeat;
  background-size: cover;
  padding: 50px 0;
}

.sponsoring_block {
  margin: 0 0 0 50%;
  width: 50%;
  display: flex;
  flex-wrap: wrap;
}

.sponsoring_block .title {
  width: 100%;
  color: #fff;
}

.sponsoring_text {
  background: #2f2b4f8c;
  color: #fff;
  padding: 30px;
}

.more_button a {
  background: #a68759;
  padding: 5px 20px;
  display: inline-block;
  color: #fff;
  font-size: 15px;
  margin-top: 20px;
}

.more_button a:hover {
  background: #006537
}


#block-olivero-contactinformation {
  margin: 0
}




#block_explore ul li .content a::hover {
  background: #c9a063;
}



/* Slogan 樣式 */
.swiper-slide .slide-slogan {
  width: 100%;
  max-width: 550px;
  height: 200px;
  object-fit: contain; /* 保持圖片比例 (同 background-size: contain) */
  position: absolute;
  top: 44%;
  left: 0;
  right: 0;
  margin: auto;
  pointer-events: none;
  z-index: 2; /* 確保浮在底圖上方 */
  -webkit-animation: scale-up-center 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  animation: scale-up-center 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}


#banner_mission .swiper-slide::before {
  display: none
}


@-webkit-keyframes scale-up-center {
    0% {
        -webkit-transform: translateY(-50%) scale(0.5);
        transform: translateY(-50%) scale(0.5);
    }
    100% {
        -webkit-transform: translateY(-50%) scale(1);
        transform: translateY(-50%) scale(1);
    }
}

@keyframes scale-up-center {
    0% {
        -webkit-transform: translateY(-50%) scale(0.5);
        transform: translateY(-50%) scale(0.5);
    }
    100% {
        -webkit-transform: translateY(-50%) scale(1);
        transform: translateY(-50%) scale(1);
    }
}

.media {
  display: flex;
  gap: 20px;
}

.media li a:hover {
  transform: scale(1.2);
}

.admissions_l {
  padding: 0 30px 0 0px
}

.admissions_r {
  padding: 0 0px 0 30px
}



#lang {
  position: relative;
  display: inline-block;
  z-index: 9999;
}

#lang>button {

  color: #fff;

  padding: 5px 10px 5px 40px;
  border: 0;
  border-radius: 12px;
  font-size: 16px;
  line-height: 17px;
  cursor: pointer;
  position: relative;
  background: none;
}

#lang>button::before {
  background: url("../images/web/top_en.png") no-repeat;
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background-size: contain;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}


#lang>ul {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  left: auto;
  min-width: 120px;
  margin: 0;
  padding: 6px;
  list-style: none;
  display: none !important;
  flex-direction: column !important;
  gap: 6px;
  height: auto !important;
  background: #d1a767c9 !important;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
  z-index: 10000;
}

#lang:hover>ul,
#lang:focus-within>ul {
  display: flex !important;
}

#lang>ul>li {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}

#lang>ul>li>a {
  display: block;
  width: 100%;
  padding: 6px 10px;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  line-height: 23px;
}

#lang>ul>li>a:hover,
#lang>ul>li>a.is-active {
  background: #006537;
  color: #fff;
}

@media screen and (max-width: 960px) {
  #lang>ul {
    display: none !important;
  }

  #lang:hover>ul,
  #lang:focus-within>ul {
    display: flex !important;
  }


}



ul li::marker {
  color: #b8860b;
  font-size: 25px;
}


.button_right {
  position: fixed;
  right: 0;
  top: 40%;
  transform: translateY(-50%);

  text-decoration: none;


  z-index: 1;
  transition: background 0.3s ease;
  width: 50px;
}

.button_right ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.button_right ul li {
  white-space: nowrap;
  writing-mode: vertical-lr;
}

.button_right ul li {
  background: #c8a063;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin-bottom: 5px;
}

.button_right ul li a {
  display: flex;
  color: white;
  padding: 10px 5px;
  width: 100%;
  align-items: center;
}

.button_right ul li img {
  max-width: none;
  max-height: 30px;
  max-height: 26px;
  margin-bottom: 15px;
}

#right_media {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

#right_media a {
  display: flex;
  width: 100%;
  text-align: center;
}

#right_media img {
  margin-bottom: 0;
}

#right_media li {
  box-shadow: none;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  margin: 0
}

.button_right ul li+li {
  background: #444444ed
}

.button_right ul ul li {
  background: none
}


.button_right ul li a:hover {
  background: #1e985f
}


blockquote {
  background: #fefbf8;
  margin: 0;
  padding: 30px;
  border-radius: 16px;
}

blockquote p {
  border-left: 5px solid #036437;
  padding: 0 0 0 10px;
  color: #036437;
}


.advisors .content b {
  color: #006537;
  font-family: "georgia";
  text-transform: uppercase;
  font-size: 26px;
}

.advisors .content p {
  text-align: center;
}

.advisors ul li {align-items: flex-start;}


.university ul li.flip-item {
  opacity: 0;
  transform: rotateY(-90deg);
  transform-origin: left center; /* 依左邊為軸進行翻轉，如想中心翻轉可改為 center */
  backface-visibility: hidden;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
  will-change: transform, opacity;
}

/* 進入可視區後的狀態 */
.university ul li.flip-item.is-visible {
  opacity: 1;
  transform: rotateY(0deg);
}

/* 依序進場的微延遲效果 (Stagger Effect) */
.university ul li.flip-item:nth-child(1) {
  transition-delay: 0.1s;
}
.university ul li.flip-item:nth-child(2) {
  transition-delay: 0.25s;
}
.university ul li.flip-item:nth-child(3) {
  transition-delay: 0.4s;
}




 
#block_useful_link ul.block-info li.zoom-item {
  opacity: 0;
  transform: scale(0.6);
  /* 使用微彈性貝茲曲線 cubic-bezier，讓放大進場時更靈動 */
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), 
              opacity 0.65s ease;
  will-change: transform, opacity;
}

/* 進入可視區後：放大回復至正常大小 1 + 不透明 */
#block_useful_link ul.block-info li.zoom-item.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* 依序進場的微延遲 (Stagger Effect 6個項目) */
#block_useful_link ul.block-info li.zoom-item:nth-child(1) { transition-delay: 0.05s; }
#block_useful_link ul.block-info li.zoom-item:nth-child(2) { transition-delay: 0.15s; }
#block_useful_link ul.block-info li.zoom-item:nth-child(3) { transition-delay: 0.25s; }
#block_useful_link ul.block-info li.zoom-item:nth-child(4) { transition-delay: 0.35s; }
#block_useful_link ul.block-info li.zoom-item:nth-child(5) { transition-delay: 0.45s; }
#block_useful_link ul.block-info li.zoom-item:nth-child(6) { transition-delay: 0.55s; }

