@charset "utf-8";
/* CSS Document */

html,
body {
 --font-sans: "cwTeXYen","Noto Sans TC", sans-serif;
  --font-serif: "cwTeXYen", "Noto Sans TC", "georgia", serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 34px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;         overflow-x: auto;

}

#page-wrapper {}

:root {
  --main-color: #ff7200;
  --main2-color: #d69253;
  --main3-color: #3b3286;
  --main4-color: #f5f9ff;
}

.region>* {  margin: 0;}

.editingAdd {  position: absolute;  top: -35px;}
.home-add {  top: 35px !important;right: 0;
  z-index: 9;}
#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;
}

.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;white-space: collapse;
  word-wrap: break-word;
  word-break: break-all;}
#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%; 
}

#main_content img { border-radius:8px;}

#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;
  max-width: 1400px;
  margin: 0 auto
}

.container {
  max-width: 100%
}

.wide-content {
  width: auto;
  margin: 0
}

.breadcrumb {
  font-size: 16px;
  padding: 0 15px;
}

.breadcrumb a {
  color: #ffefb0;
}

.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: 33px;
  line-height: 42px;
  color: var(--main-color);
  text-transform: uppercase;
  padding-bottom: 20px;
}

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: 550;
  font-style: normal;
  margin: 0;
  padding: 5px 0;
  font-size: 34px;
  line-height: 42px;
  letter-spacing: 0;
  position: relative;
  color: #00c6be;
}



p {
  margin: 0px;
  padding: 0px;margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.blocktitle {
  text-align: center;
  font-size: 36px;
  text-align: center;
  margin-bottom: 0px;
  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
}

.is-active { display: none}
#block-olivero-languageswitcher { margin: 0}
#block-olivero-top-area { margin: 0}

#header_top {}

#header {

  width: 100%;
  position: relative;
  min-height: 310px;
}



.main_header {position: absolute;
  top: 0;
  max-width: 1230px;
  overflow: hidden;
  max-height: 330px;
  text-align: center;
  left: 0;
  right: 0;
  margin: auto;}


.student {position: absolute;
  top: 80px;

  text-align: center;
  right: 300px;
  margin: auto;pointer-events:none;
  bottom: 0;
}
.student  img {height: 160px }



#header .screen {
  display: flex;
  padding: 0;
  align-items: flex-start;z-index: 0;justify-content: right;
}

#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;
}

.sticky #header {
  position: relative;
  top: 0px;
  z-index: 10;
  width: 100%;

  min-height: auto;
  max-width: 100%;

}


.site-branding {
  margin-left: 0; padding:30px 0 0px  10px
}


.right_top {
  display: inline-flex; margin-right:0;
 width: 100%;
  position: absolute;
  bottom: 0; z-index:1;
}





#lang {
  margin: 40px 20px 0 0px;
  padding: 0;
  float: right
}

#lang ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

#lang ul li {
  margin: auto 5px;
}

#lang ul li a {
 background: #fff;
  color: #ff7200;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: .9em;
  border: 2px solid #ff7200
}

#lang ul li a:hover {
  background: #26a59c;
  border: 2px solid #fff;
  color: #fff;
}

#lang ul li a.is-active {
  background: var(--main-color);
  color: #fff;
}

#page img {  max-width: 100%;}

.home_zoneA { background: #fff0c5; padding: 20px 0; position: relative}
.home_zoneB {  background: url( "../images/web/link_bg.png") top center no-repeat #fff0c5;background-size: cover;
  padding: 65px 0;position: relative;}
.home_zoneB::before { content: ""; background: url("../images/web/cloud.png") no-repeat bottom;position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0; background-size: contain }
  
  
.home_zoneB   .editingAdd { right:0px}
.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;

  
}


.view-more a {
  background: url("../images/web/more_bg.png") no-repeat;background-size: cover;
  padding: 15px 50px 15px 40px;
  display: block;
  color: #fff;
  filter: drop-shadow(0px 5px 5px rgba(0,0,0,.2));background-size: contain;
}

.view-more a::after { content: ""; background: url("../images/web/more.png") no-repeat; position: absolute;width: 15px;
  height: 23px;
  background-size: contain;
  right: 1vw;
  top: 0;
  bottom: 0;
  margin: auto;}


#block_videos .view-more a{  background: url("../images/web/video_more_bg.png") no-repeat;background-size: contain;}

.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 {

  margin: 0 0 0px 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 {}
#logo img{ max-height:140px; height:auto;filter: drop-shadow(0px 0px 3px rgba(0,0,0,.2));}

.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
}
.boxing { margin-bottom: 20px; clear: both}

.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/ctcampus/inner_banner.jpg);
  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: #fff;
  text-shadow:0px 1px 3px rgba(42, 42, 42, 0.75);
  padding:180px 0 20px 0;
  margin: 0;
  z-index: 0
}


#banner_title::before,
.banner_title::before,
#nonbanner_title::before {
  pointer-events: none;
  content: "";
  background: url(../images/ctcampus/sub_title.png) no-repeat left bottom;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0
}

#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:100%;background: #fff;
  padding:0 0px 40px 0px;
  border-top-left-radius: 26px;
  border-bottom-left-radius: 26px;}
.main_calenadr { float:right; width:48%;}


#block_latest-news .blocktitle {
  position: relative;
z-index:1;
  left: -1vw;  top: -1vw;margin-bottom: -20px;
}

#block_latest-news .blocktitle img {
max-height:85px;  height: auto;}

.btn_back{ margin:0px auto; text-align: center; margin-top:40px; margin-bottom:40px;}
.btn_back a{ display: inline-block; padding:10px 50px; color:#fff !important;  background: linear-gradient(to left, #fe7511 50%, #feb811 50%); background-size: 200% 100%; background-position: right bottom;  transition: all .5s ease-out; border-radius:8px;  }
.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: #ff7200;
  color: #fff;
  padding: 30px 0;
  font-size: 14px;
}

footer .text-content,
footer a {
  color: #333;
  font-size: 14px
}


footer .power {
  float: right;
}

footer .copyright {
  float: left
}

footer .copyright a,
footer .power a {
  color: #fff;
  text-decoration: underline
}

#main_content {
  float: right;
  width: 77%;
  min-height: 500px;background: #ffffffed; border-top: 3px solid #ff7200;
  border-radius: 26px;padding: 20px;box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.12);
}

#sidebar-nav {
  float: left;
width: 23%;
  margin: 65px 0 0 0;
}


.useful-links ul {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.useful-links ul li {
  width: calc(100% - 0px);
  position: relative;
  padding: 0px;
}

.useful-links ul li a {
      display: block;
      text-decoration: none; 

      transition: border-color 0.3s ease, background-color 0.3s ease; /* 邊框顏色和背景顏色的動畫效果 */
    }

    /* 滑鼠懸停效果 */
    .useful-links ul li a:hover {
      border-color: #ff7200; /* 改變邊框顏色 */
    }

.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: inherit;
  width: 100%;
  line-height: 33px;
 
  margin: 0;border-collapse: collapse;
  border: 1px solid var(--main-color);
}

#main_content tr:nth-child(even) td {
  background: #f2f2f2;
  color: #333;
  padding: 5px;
}

#main_content tr:nth-child(odd) td {
  background: #fff;
  color: #333;
  padding: 5px;
}

#main_content tr:nth-child(even) td ,tr:nth-child(even) td { 
  padding: 5px; background:#fffcf4;border: 1px solid var(--main-color);
}

#main_content tr:nth-child(odd) td , tr:nth-child(odd) td {
background:#fff;border: 1px solid var(--main-color);

  padding: 5px;
}

#main_content tr:nth-child(odd) td a , tr:nth-child(odd) td a,#main_content tr:nth-child(even) td a,tr:nth-child(even) td a { white-space: break-spaces;}

#main_content table ul,
table ol {
  margin: 0 0 0 20px;
}

#main_content tr th {
  background: var(--main-color);
  color: #fff;
  padding: 5px;border-block-end: 1px solid #eebd94;
}

.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;}
#page { 
  background:url("../images/web/header_BIG.png") no-repeat center top #fff0c5;  background-size: auto 385px;overflow-y: hidden;
  }
  
.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:#e7e3f3; border-radius:8px;
  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;  text-decoration: auto;}

.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 a {
  color: #000;

}


.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);border-radius: 16px;
}

.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; text-align: center
}

.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: 0;
  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 ul {
  padding: 0;
  margin: 0;
  list-style: none;
  background: #ffca65;
  background-size: cover;box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.12);
}
.sidebar-nav ul ul{box-shadow:none}

.sidebar-nav ul a.is-active, .sidebar-nav ul .current .has-arrow  ,#main2  ul .current a {
  color: #fff  !important;
	background: #c25700;
  border-radius: 12px;
}

.sidebar-nav ul ul {
background: #fff;
  font-size: 17px;
  line-height: 27px;
  border-radius: 16px;padding: 10px 
}

.sidebar-nav .metismenu {
  padding: 15px;
  font-size: 1.15em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;border-top-left-radius: 26px;
  border-bottom-left-radius: 26px;
}

.sidebar-nav .metismenu a.current {
  color: var(--main-color);
}

.sidebar-nav .metismenu li+li {
  border-top: 1px solid rgba(255,255,255,.5);
}
.sidebar-nav .metismenu ul li+li {
  border-top: 1px solid #ddd;
}

.sidebar-nav .metismenu li:first-child {
  margin-top: 0px;
}

.sidebar-nav .metismenu li:last-child {
  margin-bottom: 0px;
}

.sidebar-nav .metismenu>li {
  /*-webkit-box-flex: 1;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;*/
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
}

.sidebar-nav .metismenu a {
  position: relative;
  display: block;
  padding: 5px 35px 5px 15px;
  color: #673B02;
  outline-width: 0;
  transition: all .3s ease-out;text-decoration: none;
  border-radius: 12px;
}

.sidebar-nav .metismenu ul a {
padding: 5px 35px 5px 20px;

}

.sidebar-nav .metismenu ul ul a {
  padding: 5px 35px 5px 20px;

}

.sidebar-nav .mm-active {
  color: var(--main-color);
  !important;
}


.sidebar-nav .metismenu a:focus,
.sidebar-nav .metismenu a:active,
.sidebar-nav .metismenu .mm-active>a {
  color:#361200;
 
}
.sidebar-nav .metismenu a:hover {	background: #c25700;
  border-radius: 12px; color: #fff}


.sidebar-nav .metismenu a:hover::before,
.sidebar-nav .metismenu  .current a::before
 { content: "";
  background: url(../images/web/hover_star.png) no-repeat;

  position: absolute;
  width: 50px;
  height: 40px;
  background-size: contain;
  left:-35px;
  top: -10px;
  bottom: 0;
  margin: auto;transition: all 0.5s ease;}

.sidebar-nav .metismenu  .current ul li a::before {display: none}

.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;
  border-bottom: 1px solid #4c4185;
}

.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: 0px 0; background:linear-gradient(to right,#f9e5a4 50%,#fefcf5 50%); 
  overflow: hidden; box-shadow: 0 0 5px rgba(0,0,0,.1);
  position: relative;
  z-index: 0
}

.contact_info {
  color: #000;
  position: relative;
  z-index: 1;
  vertical-align: bottom;
  display: table-cell;
}

.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: 30px;width: 70%
}

.contact_info ul li {
  float: left;
  width: 100%;
  margin:  0;
}



.contact_info ul li span {
  background: url(../images/ctcampus/i_address.png) no-repeat left center;
  padding: 5px 0 5px 35px;
  min-width: 95px;
  display: inline-block;background-size: 23px
}

.contact_info ul li+li span {
  background: url(../images/ctcampus/i_tel.png) no-repeat left center;background-size: 29px;
}

.contact_info ul li+li+li span {
  background: url(../images/ctcampus/i_fax.png) no-repeat left center;background-size: 29px;
}

.contact_info ul li+li+li+li span {
  background: url(../images/ctcampus/i_email.png) no-repeat left center;background-size: 29px;
}

.contact_info ul ul li {
  width: auto;
  margin: 5px 5px 0px 5px;
}

.contact_info ul ul li img {
  width: 30px !important;
}

.contact_info ul li a {
  color: #000;
  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: 10;
  overflow: hidden; border-radius:50%;
  text-indent: 100%;
  white-space: nowrap;
  border: 1px solid #fff;
  box-shadow: 0px 0px 5px #999;
  background: #2fa59d url(../images/ctcampus/cd-top-arrow.svg) no-repeat center center;

}

.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: #7545b8 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; gap:10px;
  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{}


.right_top .screen { width: 100%;padding: 0px 30px !important; z-index: 0}
.top_rr_area {display: flex;  gap: 10px;}
.top_rr_area .top_button  {position: relative}
.top_rr_area .top_button a::before {content: "";  width: 4px;
  height: 40px;  position: absolute;  background: #7b6d0b;  top: 0;
  left: 0;  right: 0;
  margin: auto;transition: all 0.5s ease;}

.top_rr_area .top_button a:hover {padding: 50px 0 0 0;}
.top_rr_area .top_button a:hover::before {height: 60px; }

.top_rr_area .top_button a{padding: 30px 0 0 0;  display: block;transition: all 0.5s ease; }

.top_rr_area .top_button img { height: 60px;}
.menu_title::after { content: ""; }
.menu_title { font-size: 22px;text-align: center;  display: flex;
  flex-wrap: wrap;  justify-content: center;text-shadow: 0 0 8px rgba(0,0,0,.7);letter-spacing: -2px;
}
#main-menu li a { position: relative; padding:55px 5px 7px 5px !important;}

#main-menu li:nth-child(7n + 1) a{ background: url("../images/web/btn_sch_bg.png") no-repeat bottom;  display: block;  background-size: contain;} 
#main-menu li:nth-child(7n + 2) a{ background: url("../images/web/btn_curriculum_bg.png") no-repeat bottom;  display: block;  background-size: contain;} 
#main-menu li:nth-child(7n + 3) a{ background: url("../images/web/btn_holistic_bg.png") no-repeat bottom;  display: block;  background-size: contain;} 
#main-menu li:nth-child(7n + 4) a{ background: url("../images/web/btn_event_bg.png") no-repeat bottom;  display: block;  background-size: contain;} 
#main-menu li:nth-child(7n + 5) a{ background: url("../images/web/btn_awards_bg.png") no-repeat bottom;  display: block;  background-size: contain;} 
#main-menu li:nth-child(7n + 6) a{ background: url("../images/web/btn_admission_bg.png") no-repeat bottom;  display: block;  background-size: contain;} 
#main-menu li:nth-child(7n + 7) a{ background: url("../images/web/btn_associations_bg.png") no-repeat bottom;  display: block;  background-size: contain;} 

#main-menu li a .menu_icon {position: absolute ;width:60px;  height: 60px;  z-index: 1; margin: -20px auto 0px auto;left: 0;  right: 0; top: 0;transition: all 0.5s ease;}
#main-menu li a:hover .menu_icon{ margin: -30px auto 0px auto;}
#main-menu li:nth-child(7n + 1) a .menu_icon {  background: url("../images/web/btn_sch.png") no-repeat;  background-size: contain;  }
#main-menu li:nth-child(7n + 2) a .menu_icon {  background: url("../images/web/btn_curriculum.png") no-repeat;  background-size: contain;  }
#main-menu li:nth-child(7n + 3) a .menu_icon {  background: url("../images/web/btn_holistic.png") no-repeat;  background-size: contain;  }
#main-menu li:nth-child(7n + 4) a .menu_icon {  background: url("../images/web/btn_event.png") no-repeat;  background-size: contain;  }
#main-menu li:nth-child(7n + 5) a .menu_icon {  background: url("../images/web/btn_awards.png") no-repeat;  background-size: contain;  }
#main-menu li:nth-child(7n + 6) a .menu_icon {  background: url("../images/web/btn_admission.png") no-repeat;  background-size: contain;  }
#main-menu li:nth-child(7n + 7) a .menu_icon {  background: url("../images/web/btn_associations.png") no-repeat;  background-size: contain;  }



#main-menu li:nth-child(7n + 1) .menu-class::after {  content: "School Information";}

#main-menu li:nth-child(7n + 2) .menu-class::after {  content: "Curriculum";}

#main-menu li:nth-child(7n + 3) .menu-class::after {  content: "Holistic Development";}

#main-menu li:nth-child(7n + 4) .menu-class::after {  content: "School Events";}

#main-menu li:nth-child(7n + 5) .menu-class::after {  content: "Students' Achievements";}

#main-menu li:nth-child(7n + 6) .menu-class::after {  content: "Admission";}

#main-menu li:nth-child(7n + 7) .menu-class::after {  content: "School Associations";}


#main-menu li ul li .menu-class::after { display: none}

#main-menu li ul li a .menu_icon  { display: none;}
#main-menu li ul li { width: 100% !important}
#main-menu li ul li a   { background: none !important; padding: 10px !important;}
#main-menu li ul li a:hover { background: #333}
#main-menu li ul li .menu_title {font-size: 16px; letter-spacing: 0px; font-weight:400; letter-spacing:0;
  text-shadow: none; justify-content: left; padding: 0 20px 0 0 }

#main-menu li ul li+li{ border-top:1px solid #ddd;}

.menu-class { font-size: 12px; width: 100%; display: flex; justify-content: center ; letter-spacing:0;}


.home_slider {  background:#fff0c5 ;position: relative;
  z-index: 0;}






.slider_block {background: #ff7200;
  padding: 20px 0 0px 10px;
  border-bottom: 6px solid #ffd7b5;
  border-left: 6px solid #ffd7b5;
  border-right: 6px solid #ffd7b5;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;}

#main-menu::after { content: "";
  background: #ff7200;
  padding: 20px;
  border-top: 6px solid #ffd7b5;
  border-left: 6px solid #ffd7b5;
  border-right: 6px solid #ffd7b5;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  position: absolute;
  width: 100%;
  height: 50%;
  left: 0;
  bottom: 0;
  z-index: -1;}
.swiper-slide {border: 5px solid #fff;  border-radius: 16px;  overflow: hidden;}

#block-olivero-views-block-slideshow-block-1 {  float: left; width:  70%; padding: 0 30px 30px 0}
#block-olivero-views-block-latestnews-block { float: left;width: 30%; padding: 0 0px 30px 0; position: relative}



#block_latest-news .content {width: 100%;display: flex;align-items: center; padding: 5px 10px}
#block_latest-news .content .box_day::after { content: "";}
#block_latest-news .content .box_day{ background: #f26665;  padding: 10px;  border-radius: 50px;  width: 56px;
  height: 56px;  text-align: center;line-height: 18px; font-size:14px;  color: #fff;margin: 0 20px 0 0;}
#block_latest-news  .month { font-size: 21px; line-height:21px;}
#block_latest-news .content .news_title{width: 70%;line-height: 23px; }


#block_latest-news ul li:nth-child(5n+1) .content .box_day {background: #f26665;}
#block_latest-news ul li:nth-child(5n+2) .content .box_day {background: #ffa81f;}
#block_latest-news ul li:nth-child(5n+3) .content .box_day {background: #2292e0;}
#block_latest-news ul li:nth-child(5n+4) .content .box_day {background: #34aca4;}
#block_latest-news ul li:nth-child(5n+5) .content .box_day {background: #9669d5;}
#block_latest-news ul {max-height: 358px;}
#block_latest-news ul li:nth-child(even) a { background: #efefef}

#block_latest-news ul li a:hover { background:#fffddd;}

.view-more {position: absolute;bottom: 0;  padding: 0; right:0 ;transition: all 0.5s ease;}
.view-more:hover {bottom: 10px;}


#block-olivero-views-block-videos-block { float: left; width: calc (30% - 30px);margin: 0 30px 0 0px;background: url("../images/web/video_bg.png") no-repeat bottom left #edfff5;
    background-size: auto;
  border: 5px solid #44bbb4;
  border-radius: 26px;
  background-size: 100%; position: relative;}
#block-olivero-views-block-activity-block {float: left; width:70%; background: url("../images/web/event_bg.png") no-repeat bottom right #fff1f1;
    background-size: auto;
  border: 5px solid #ff949b;
  border-radius: 26px;
  background-size: 60%; position: relative;z-index: 1}

.home_zoneA::after { content: ""; background: url("../images/web/moon.png") no-repeat;width: 220px;
  height: 170px;
  position: absolute;
  background-size: contain;
  right: 0;z-index: 0;
  bottom: 0px;}


.region--home-top { display: flex}

#block_videos { position: relative}
#block_videos .blocktitle{position: relative;  z-index: 0;  left: -2vw;  top: -2vw;  display: inline-block;margin-bottom: -35px;}
#block_videos .blocktitle img {max-height: 120px;  height: auto;}
#block_videos .view-more {top: 10px;bottom: auto; right: 1vw; z-index: 0;transition: all 0.5s ease;}
#block_videos .view-more:hover {top: 15px;}
#block_videos ul li {padding:0 20px 20px 20px;  text-align: center;}
#block_videos ul li b {display: inline-block;  background: #2fa8a1;  padding: 10px 15px;  border-radius: 50px;  color: #fff;margin-top: 20px;display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;}
#block_videos ul li img{width: 100%;  border-radius: 16px;  border: 3px solid #fff;  box-shadow: -1px 0 3px 1px rgba(0, 0, 0, 0.3333);}


#block_activity {}
#block_activity .blocktitle {  position: relative;  z-index: 2;  left: -2vw;  top: -2vw;  display: inline-block;margin-bottom: -35px;}
#block_activity .blocktitle img {  max-height: 120px;  height: auto;}
#block_activity .view-more {  top: 10px;  bottom: auto;  right: 1vw;transition: all 0.5s ease}
#block_activity .view-more:hover {top: 15px;}
#block_activity .view-more a {  background: url("../images/web/event_more_bg.png") no-repeat;    background-size: auto;  background-size: contain;}
#block_activity .news-card b{ color:#f26665}

.home_zoneB .screen { display:flex}
.home_center{ float: left; width: 70%;background: linear-gradient(-30deg, #ff187391, #ffb82aa6, #0bd0bd8f, #4d61e1a1, #934afea1, #4d61e199);position: relative;
  border-radius: 16px;}
.home_center::before {
      content: "";
      position: absolute;width: calc(100% - 10px);
  height: calc(100% - 10px);
  background:  url(../images/web/link_light.png) no-repeat right#bfb0e6;
  margin: 5px;
  border-radius: 12px; background-size: contain
   
    } 

.home_center::after {content: "";
  position: absolute;
  width: calc(100% - 10px);
  height:calc(100% - 60px);
  background: #f6f5ff;
  top: 0;
  bottom: 0;
  z-index: 0;
  margin: 30px 5px 30px 5px;}

.home_center2 { float: left; width: 30%;background:linear-gradient(54deg, #ff187391, #ffb82aa6, #0bd0bd8f, #4d61e1a1, #934afea1, #4d61e199);
  border-radius: 16px;display: flex;
  justify-content: center;
  align-items: center; position: relative}
.home_center2::before {      content: "";      position: absolute;width: calc(100% - 10px);
  height: calc(100% - 10px);  background: url(../images/web/link_light.png) no-repeat left #bfb0e6;  margin: 5px;  border-radius: 12px;   background-size: contain
    }  

#block-olivero-eclass .block__content {height: calc(100% - 120px);
  position: relative;
  margin: 60px auto;}

.useful-links::after { content: "";
  position: absolute;
  border-right: 2px dashed #828282;
  height: 100%;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;}
.useful-links ul::before { content: "";
  background: url("../images/web/bar_code.png") no-repeat;
  width: 30px;
  height: 87%;
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  margin: auto; }
.home_center2::after {content: "";
  position: absolute;
  width: calc(100% - 10px);
  height: calc(100% - 60px);
  background: #f6f5ff;
  top: 0;
  bottom: 0;
  z-index: 0;
  margin: 30px 5px 30px 5px;}



.useful-links {  width: 100%;  padding:40px 20px 40px 60px;  position: relative;  z-index: 1;   margin: 30px auto;}
#login_area { position: relative; z-index:1;padding: 20px 20px 20px 20px ;}
#login_area .title {  margin: -3vw 0 0 0;}
#login_area .title img{max-height: 3vw; height: auto}
#login_area ul { list-style: none; margin: 0; padding: 0}
#login_area ul li { color: #adadad; display: flex;margin-top: 10px;white-space: pre;align-items: center;}


#UserLogin , #UserPassword{ width: 70%}

#login_area ul li input { border-radius: 50px;  min-height: 48px;  border: 3px solid #cdcdcd;  margin-left: 17px;}
.link_ncs {position: relative;
  z-index: 1;
  padding: 10px 20px 0 20px;
  bottom: 0; }
.link_ncs  img { transition: transform 0.3s ease;  transform: scale(0.95); padding: 10px 0 0 0; }
.link_ncs  a {border-top: 3px solid #d4c6eb;
  display: block;}
.link_ncs:hover   img {    transform: scale(1);  }
.contextual-region .view-header {margin-block-end: 0 !important;}
.region--home-center.view-content {position: relative}
.home_center span { 
  background: url("../images/web/airplane_2.png") no-repeat;    background-size: auto;  position: absolute;  width: 30px;  height: 30px;  z-index: 1;  background-size: contain;  bottom: 15px;  left: 20px;}

#sumbit { border: none !important;
  background: #dd5106;
  border-radius: 16px !important;
  color: #fff; font-family: "cwTeXYen","Noto Sans TC", sans-serif;
  display: block;
  padding: 5px 15px;
  font-size: 18px;}


#block_videos .blocktitle img {
  max-height: 120px;
  height: auto;
}


#block_useful_link { position: relative}
#block-olivero-views-block-usefullinks-block-1 .blocktitle { position: absolute;z-index: 0;
  top: -70px;}
#block-olivero-views-block-usefullinks-block-1 .blocktitle img {
  max-height: 120px;
  height: auto;
}
.contact_info {display: flex;
  align-items: center;background: #fefcf5;}
.contact_info iframe { height: auto;  min-height: 290px;}
.contact_area .screen { display: flex;  justify-content: center;  align-items: center;}
.botttom_logo {width: 33%; margin: 0 30px 0 0 }
.botttom_logo img { height: auto; max-height: 8vw ;filter: drop-shadow(0px 0px 3px rgba(0,0,0,.2));}
.bottom_iframe  {margin: 0;
  width: 30%;}

#top_mobile { display:none}

#block-olivero-site-branding {position: absolute;  float: left;  left: 0;}

#prefix { color: #ff801b;border-bottom: 1px solid #ff801b;}
.content_box { margin-bottom: 20px}
.page_banner_block{background: #ff7200;  border-bottom: 6px solid #ffd7b5;  border-left: 6px solid #ffd7b5;  border-right: 6px solid #ffd7b5;
  border-bottom-left-radius: 20px;  border-bottom-right-radius: 20px;  margin-bottom: 0px;
  padding: 0 10px 10px 10px;}
.banner_title {border: 3px solid #ff7200;  border-radius: 20px;  overflow: hidden;   padding: 0px 0 0 0; display:none; margin-bottom: 20px} 
#page_main { position: relative;padding: 20px 0 0px 0;}

#page_main_bg::before {
  content: "";  background: url("../images/web/cloud.png") no-repeat bottom;
  position: absolute;  width: 100%;
  height: 100%;  bottom: 0;  left: 0;
  background-size: contain;z-index: 0;
}


#Full_area { }
#Full_area #content{ padding:20px 30px;box-shadow:0 0 5px rgba(0,0,0,.2)}
#page_main_bg { position: relative;padding: 0px 0 55px 0;}



#page_main::before {
  content: "";  background: url("../images/web/link_bg.png") no-repeat bottom;
  position: absolute;  width: 100%;
  height: 100%;  bottom: 0;  left: 0;
  background-size: contain;z-index: 0;
}





#page_main #main_content { position: relative;}
#content {background: #ffffffed;  border-radius: 26px;  padding: 0px;min-height: 520px;width: 100%; font-size: 20px}
#address a { margin-left: 15px; display: inline-block;  background: #ff7800;  padding: 3px 20px;  color: #fff;  border-radius: 50px;  font-size: 16px;}

#block-olivero-top-areatc ,#block-olivero-top-areaen{ margin:0}

.frame_m { display: none}

 .home_center span {

    transform: translateX(300px);

    opacity: 0;
    transition: transform 10s ease, opacity 1s ease;
  }

  .home_center span.active {
    transform: translateX(0%);
    opacity: 1;
  }
  
.home_center2 span {
  background: url("../images/web/airplane.png") no-repeat;
  background-size: contain;
  position: absolute;
  width: 30px;
  height: 30px;
  z-index: 1;
  top: 15px;
  animation: fly 20s ease-in-out infinite; /* 動畫時間10秒，無限循環 */
}

/* 定義飛機動畫 */
@keyframes fly {
  0% {
    transform: translateX(-180px) rotate(0deg); /* 從左側開始，方向正常 */
    opacity: 1;
  }
  25% {
    transform: translateX(180px) rotate(0deg); /* 到達中間，方向保持不變 */
    opacity: 1;
  } 
  50% {
    transform: translateX(180px) rotate(180deg); /* 到達中間，方向保持不變 */
    opacity: 1;
  }
  75% {
    transform: translateX(-180px) rotate(180deg); /* 到達右側，翻轉180度 */
    opacity: 1;
  }
    100% {
    transform: translateX(-180px) rotate(360deg); /* 到達右側，翻轉180度 */
    opacity: 1;
  }
}


.year {white-space: nowrap;}

.subjectlists {box-shadow:none !important;border: 2px solid #ff7200;
  border-radius: 8px;}
.subjectlists a { color:#ff7200 !important ;padding: 5px 10px;}

.contextual-region { position: initial; }