@charset "utf-8";
/* CSS Document */

html,
body {
  --font-sans: "cwTeXYen","Noto Sans TC", sans-serif;
  --font-serif: "cwTeXYen","Noto Sans TC", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 34px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  background-color: #ffffff;
}

:root {
  --main-color: #ff4466;
  --main2-color: #1a7ee9;
  --main3-color: #f38841;
  --main4-color: #648dc3;


}

.region>* {
  margin: 0;
}

.editingAdd {
  position: absolute;
  top: -35px;
}

.home-add {
top: 85px !important;
  z-index: 1;
}

#add_normal {
  position: relative;
  top: 0;
  padding: 10px;
}

.boxing {
  margin: 30px 0;
}

.boxing .title {
  font-optical-sizing: auto; border-left:3px solid #facd35; 
  font-weight: 550;
  font-style: normal;
  padding: 10px 12px;
  font-size: 26px;
  line-height: 32px;
  position: relative; background:#f3fcff;
  color: #13549d; display:inline-block; margin-bottom:20px;
  border-top-right-radius: 12px;
border-bottom-right-radius: 12px;
}

.editingAdd a {
  background-color: #ffd800;
  padding: 3px 15px;
  border-radius: 15px;
  color: #000;
}

.editingAdd a:hover {
  background-color: #cbff0f;
  color: #000;
}

.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% !important;
  /* Override the .focusable height: auto */
  height: 30px !important;
  background-color: #ffd800 !important;
  text-indent: -9999px !important;
  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 !important;
}

li .editing a {
  display: none !important;
}

li:hover .editing a {
  display: block !important;
}

.slick-slide:hover .editing a {
  display: block !important;
}

a:link {
  text-decoration: none;
}

#main_content a:link {
  color: #00266e;
  text-decoration: none;
}

#main_content a:hover {
  color: #ffa800;
  text-decoration: underline;
}

.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;
  max-width: 1800px;
  margin: 0 auto
}

.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(--main2-color);
  text-transform: uppercase;
  padding-bottom: 30px;
}

h2 {
  font-size: 32px;
  line-height: 36px;
  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;
  padding: 5px 0;
  font-size: 34px;
  line-height: 42px;
  letter-spacing: 0;
  position: relative;
  color: #ff4466;
}



p {
  margin: 0px;
  padding: 0px
}

.blocktitle {
  text-align: left;
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--main-color);
  line-height: 42px;
}

#block_activity  .blocktitle p { background: url(../images/web/icon_news.png) center left no-repeat; padding: 15px 0 10px 60px;
  background-size: 55px auto; display:inline-block ; position:relative;}
  

#block_awards  .blocktitle p { background: url(../images/web/award.png) center left no-repeat; padding: 15px 0 10px 60px;
  background-size: 50px auto; display:inline-block ; position:relative;}




.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 {
background: #1A7EE9;
background: linear-gradient(0deg,rgba(26, 126, 233, 0) 0%, rgba(26, 126, 233, 1) 85%);
  min-height: 130px;
  z-index: 2;
  width: 100%;
  position: absolute
}

#header .screen {
  padding: 0;
  align-items: center; max-width:100%;
}

#header .logo {
  margin-left: 0
}
#block-olivero-focus{ position:relative;}
.sticky {
  z-index: 10;
  -webkit-transition: all 0.3s ease-in-out;
  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: fixed;
  top: 0px;
  z-index: 10;
  width: 100%;
  min-height: auto;
  max-width: 100%;
}


#logo a{     background: #fff;    background-size: 100% 100%;    margin: 0;       padding: 15px 25px;    display: block;    max-width: 360px; border-bottom-right-radius: 16px;
border-bottom-left-radius: 16px;
    box-shadow: 0px 0 1px rgba(0, 0, 0, 0.3);
}
#block-olivero-site-branding {
  position: absolute;
  top: 0;
  left: 0;
  width: 21%;
  margin: 0;
}

.right_top {
  display: ; margin:15px 0  0 0; background:#fff; border-radius:20px;
  width: 78% ; float:right;align-items: center; box-shadow: 0 0 5px rgba(0,0,0,.2);
    padding: 5px 10px; position: relative;display: flex;
  align-items: center;justify-content: flex-end;
}

.grwth{   display: inline-flex; max-width:50px; padding:17px 0 0 0;}
.grwth img {
      display: block;
      transition: transform 0.3s ease; 
    }
    .grwth:hover img {
      transform: scale(1.1); 
    }
#lang {
  margin: 10px 0;
  padding: 0;
  float: right; width: 100%
}

#lang ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

#lang ul li {
  margin: 0;  width: 100%;
  text-align: center;
}

#lang ul li a {
  background: linear-gradient(0deg,#db031e 0%, #ff5c5c 85%);
  color: #fff;
  padding: 0px 10px;
  border-radius: 8px;
  font-size: .9em; display: block
}

#lang ul li a:hover {
  background: linear-gradient(0deg,#ff5c5c 0%, #db031e 85%);
  color: #fff;
}

#lang ul li a.is-active {
  background: linear-gradient(0deg,#fb8f05 0%, #f2cf13  85%);
  color: #fff;
}

#page-wrapper {}

#page img {
  max-width: 100%;
}

.swiper::before { content: ""; background: url(../images/web/banner_bg.png) no-repeat;
width: 100%;
  height: 322px;
  background-size: 100% 322px;
  position: absolute; z-index:2; pointer-events:none; bottom:0
} 
.swiper::after { content: ""; background: url(../images/web/i_stars.png) no-repeat;
width: 270px;
  height: 123px;
  background-size: 100% auto;
  position: absolute; z-index:2; pointer-events:none; bottom:40px; right:5%;
} 

.inside_bg{ background: linear-gradient(0deg,rgba(255, 251, 225, 1) 30%, rgba(255, 255, 255, 1) 65%);}

.home_zoneA {  background: #ffeced ;background-size: auto 100% ; padding:0px 0 60px 0;}

.home_zoneB {background: url(../images/web/bg_main.png) #fffbe1 no-repeat ; padding: 105px 0px 60px 0;position: relative ; background-size: 100% auto;
  background-position: top center;}


.home_zoneC { background: url(../images/web/bg_main_3.png) #ebf7ff no-repeat ; padding: 85px 0px 0 0;position: relative ; background-size: 100% auto;
  background-position: top center;}
 
 #inside_page { background: url(../images/web/bg_main_3.png) #fff no-repeat ; padding: 85px 0px 0 0;position: relative ; background-size: 100% auto;
  background-position: top center;}
footer{ position:relative;}


.boxing .description iframe{ width:100%; min-height:380px;}


.home_zoneDX { background: url(../images/web/bg_blues.png) bottom right  #ebf7ff no-repeat; position:relative; padding:0px 0 50px 0 ;  background-size: 100% auto;   }
.home_zoneC::after{content: "";
  background: url(../images/web/bg_blues.png) no-repeat right bottom ;
    background-size: auto;
  width: 100%;
    height: 100%;
  position: absolute;
  z-index: 0;
  pointer-events: none;
  bottom: 0px; right:0; 
  background-size: 100% auto; }

.view-more,
.view-more2 {
  margin: 0 auto;
  padding: 0px 0 0 0;
  text-align: center;
}


.more-link {
  position: absolute;top: 20px;
  right: 15px;
}

  .more-link a {
    font-size: 16.5px;
    line-height: 23px;
    padding: 8px 55px 8px 30px;
    background: #003566;
    border: 2px solid #7093b5;
    border-radius: 23px;
    position: relative;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease-in-out; /* 平滑過渡效果 */
  }

  .more-link a::before {
    position: absolute;
    pointer-events: none;
    content: "";
    background: url(../images/web/i_more.png) no-repeat center center;
    background-size: 100% auto;
    height: 25px;
    width: 25px;
    top: 6px;
    right: 8px;
    transition: all 0.3s ease-in-out; /* 動畫過渡效果 */
  }

  /* Hover 狀態的動畫效果 */
  .more-link a:hover {
    background: #dc0c33; /* 背景顏色變化 */
    color: #fff; /* 文字顏色變白 */
     transform: rotate(5deg); /* 圖標旋轉 30 度 */
    border: 2px solid #b00525;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* 添加陰影 */
  }


#main_content h1{
position: relative;
  display: inline-block;        padding: 0 0 20px 20px;
}
#main_content h1::after {
  z-index: 0;
  position: absolute;
  pointer-events: none;
  content: "";
left: 0px;
  background: #facd35;
  top: -20px;
  width: 17px;
  height: 17px;
}

#main_content h1::before{ z-index: 0;
  position: absolute;
  pointer-events: none;
  content: "";
 left: 5px;
  background: #e6e6e6;
  top: -15px;
  width: 20px;
	height: 20px;}

.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 40px 0;
  padding: 40px 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:130px; 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;
}

@key4a81bfs 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;
  }
}




.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; position: relative
}



#banner_title h1,
.banner_title h1,
#nonbanner_title h1 {
  color: #fff;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
  padding: 300px 0 50px 5%;
  margin: 0;
  z-index: 1
}


#banner_title h1::after,
.banner_title h1::after,
#nonbanner_title h1::after {
z-index: 0;
  position: absolute;
  pointer-events: none;
  content: "";
  background: url(../images/web/banner_slogan.png) no-repeat;
    background-size: auto;
  background-size: cover;
  height: 100px;
  width: 40%;
  bottom: -5%;
  left: 0;
  transform: scaleX(-1)!important;
}

#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:45%;position:relative; margin:0 0 0 2% }
#block_activity { float:left; width:100%;position:relative; margin:0 2% 0 0 }
.main_calenadr { float:right; width:45%;position:relative; }

#block_latest-awards .blocktitle, #block_latest-news .blocktitle , .main_calenadr  .blocktitle  { color:#f4103b; text-align: left; margin-bottom:10px;}
#block_activity .more-link a {
    padding: 6px 42px 6px 42px;
}

#block_activity .blocktitle p {
  background: url(../images/web/i_camera.png) center left no-repeat;
    background-size: auto;
padding: 50px 0 10px 80px;
  background-size: 90px auto;
  display: inline-block;
  position: relative;
  background-position: top left;
}
#block_activity .blocktitle p::after  { background:#fff95f; border-radius:18px; width:63%; right:0; height:6px; border-radius:16px; position:absolute; bottom:0; content:""; z-index:1; pointer-events:none;}


#block_latest-news .Block_A ul li {
  transition: transform 0.3s ease;
}

#block_latest-news .Block_A ul li:hover {
  transform: translateX(10px);
}

#block_latest-news .more-link a{
  padding: 6px 42px 6px 42px;
}
#block_latest-news .blocktitle p {
  background: url(../images/web/i_latestnews.png) center left no-repeat;
    background-size: auto;
padding: 15px 0 10px 85px;
  background-size: 80px auto;
  display: inline-block;
  position: relative;
}
#block_latest-news .blocktitle  p::after  { background:#ffb3ab; border-radius:18px; width:63%; right:0; height:6px; border-radius:16px; position:absolute; bottom:0; content:""; z-index:1; pointer-events:none;}

 .main_calenadr  .blocktitle  p {
  background: url(../images/web/i_calendar.png) center left no-repeat;
    background-size: auto;
padding: 15px 0 10px 85px;
  background-size: 80px auto;
  display: inline-block;
  position: relative; color:#995b01; 
}


 .main_calenadr  .blocktitle  p::after  { background:#c97f058f; border-radius:18px; width:53%; right:0; height:6px; border-radius:16px; position:absolute; bottom:0; content:""; z-index:1; pointer-events:none;}

 .main_calenadr .area {  background: #fff;
  border: 3px solid #35a9db;
  padding: 10px;
  border-radius: 16px;}

#block_latest-awards  .more-link a{
	border: 2px solid #facd35;
	}


#block_latest-awards .index_block  {
  background: #fff; border:3px solid #ffd200; padding:10px; border-radius:16px; 
}
  #block_latest-news .index_block {
 padding:0px; 
}
#block_latest-awards .index_block ul  { }

 #block_latest-news .block-info{ max-height: 475px; min-height: 475px;  overflow-y: scroll; padding:0 15px; }

 #block_latest-news .index_block ul { list-style:none; margin:0; padding:0; }

#block_latest-awards .index_block ul li{
  background: #fff;
  position: relative;
  padding: 10px 5px;
  font-size: 15px;
  line-height: 19px;
}
#block_latest-news .index_block ul li{
  position: relative;
  margin: 15px 0px ;
}
#block_latest-news .index_block ul li a{ background:#fff; padding:10px 30px;  border:3px solid #ffaea9; display:block; border-radius:16px; position:relative ;display: flex;
  align-items: center;}
#block_latest-news .index_block ul li a:hover{   }

#block_latest-news .index_block ul li::before{
content: ""; background: url(../images/web/bg_news.png) no-repeat center center;
width: 35px;
  height: 100%;
  background-size: 100% auto;
  position: absolute; z-index:2; pointer-events:none; left:-15px;
  }



#block_latest-awards .index_block ul li:hover{ background:#fff6d8; }
#block_latest-awards .index_block ul li+li{ border-top:1px solid #ddd;}

#block_latest-awards .index_block ul li a{ display:block ;display: flex; /* 使用 Flexbox */
  align-items: center; /* 垂直置中 */
}

.index_block ul li .cover {
  float: left;
  width: 32%;
  border-radius: 8px;
  margin: 0 0;
  overflow: hidden;
}
.index_block ul li  .content {
  float: right;
  width: 63%;
  font-size: 19px;
  line-height: 24px; color:#333; margin-left:5%;
}

.btn_back{ margin:0px auto; text-align: center; margin-top:20px; margin-bottom:120px; }
.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;border-radius:16px;  }
.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;
}




@key4a81bfs transformAnimation {
  0% {
    transform: scaleX(0) rotate(180deg);
  }

  100% {
    transform: scaleX(1) rotate(180deg);
  }
}

@key4a81bfs 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%;
  }
}

@key4a81bfs 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: 25%;
}

.slider-slogan .slogan_text {
  font-size: 38px; line-height:42px; padding:20px 40px;
  color: #fff;
  background: #6082ccbd;border-top-left-radius: 30px;
border-bottom-left-radius: 30px; position:relative;
}

.slider-slogan .slogan_text::before {
  z-index: 0;
  position: absolute;
  pointer-events: none;
  content: "";
  background: url(../images/web/banner_slogan.png) no-repeat ; background-size:cover;
  height: 130px; width:100%; 
  top: -80px; left:-55px;
}

.slogan_left {
  left: 0;
}

.slogan_right {
  right: 0;
}
.slogan_left   .slogan_text {
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  border-top-right-radius: 30px !important;
  border-bottom-right-radius: 30px !important;
}
.slogan_left   .slogan_text::before {
 transform: scaleX(-1)!important;
}


.view-empty {
  clear: both
}




footer .power {
  float: right;
}

footer .copyright {
  float: left
}

footer .copyright a,
footer .power a {
  color: #fff;
  text-decoration: underline
}

#main_content {
  float: right; padding-bottom:50px;
  width: 74%;
  min-height: 500px;
}

#sidebar-nav {
  float: left;
  width: 22%;
}


.useful-links ul {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(5, 1fr);
  column-gap:20px;
}

.useful-links ul li {
  width: 100%;
  position: relative; border-radius:18px; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* 添加平滑过渡效果 */
}

.useful-links ul li:hover {
  transform: scale(1.05); /* 放大 1.05 倍 */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
}

.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;
}

.cy_bottom{ background:#accc66; padding:0 0 70px 0; color:#fff; font-size:15px; }
.cy_bottom a{ color:#fff; }

.home_motto{
	float: right;
  width: 50%;
  color: #fff;
  padding: 4em 10% 4em 0; font-weight:400;
	}
.home_motto h2{ 
  color: #fff !important;
}
/* Table */
#main_content table {
  border-collapse: inherit;
  width: 100%;
  line-height: 33px;
  border: 1px solid var(--main-color);
  margin: 0;
}

#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 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);
}



/* Template */
.tpl-info time,
.block-info time,
.node__content time {
  position: relative;
  display: inline-block;
  padding: 0px 0;
}
.block-info time::before { display:none !important}



.index_block b {
  display: block
}

#page time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  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; }

.block-info {
  list-style: none;
  margin: 0;
  padding: 0;
  background: none
}




.tpl-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tpl-info li {
  position: relative;
}

.tpl-info li:hover {
}

.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; padding-bottom:40px;
}

.template-A ul li {
  width: calc(100% - 30px);
  background: #fff;
  padding: 10px ;
  display: flex;
  margin-bottom: 20px; border-radius:48px; border:3px solid #53b5e1; background:#ecfaff;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease-in-out; /* 添加平滑過渡效果 */
}
.template-A ul li:hover {  border:3px solid #fcd549; background:#fffae7;  transform: scale(1.05); /* 輕微放大效果 */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* 添加陰影效果 */ }


.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 {
}

.Block_A ul li {
}

.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
}

.Block_C ul li {
  position: relative;
  width: 100%;
  background: #fff;
  margin: 0 0 30px 0;
}

.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 {
  font-size: 28px;
  line-height: 42px;
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
  margin-bottom: 15px;
}

.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;
}


.focus_photo{ width:48%; position: relative; padding-bottom:50px; float:left}
.focus_content{ float:right; position:absolute; right:0; padding:100px 5%; width:55%}
.focus_content .title p {
  background: url(../images/web/icon_focus.png) center left no-repeat;
    background-size: auto; color:#4a81bf;
  padding: 15px 0 10px 60px;
  background-size: 50px auto;
  display: inline-block;
  position: relative;
}


.news-card {
  padding: 5px 0 0 0;
  background: #fff;
  box-shadow: 0 0px 0px #8edbfb;
  margin: 0px; border-radius:40px;
  position: relative;
  overflow: hidden;
  flex: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
      transition: all 0.3s ease-in-out; /* 添加平滑過渡效果 */
}
 .news-card:hover {
      transform: translateY(-5px); 
      box-shadow: 0 5px 0px #308bed;
    }
	

.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:20px 10px;
  width: calc(100%);
  color: #003566;
  background-color: #fff; text-align: center;
  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 {
   
  }

  .news-card:hover .news-card__title {
    color: yellow;
  }

}



.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: none;

  padding: 8px 10px;
  border-radius: 8px;
  z-index: 1;text-align: center;
  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 {

}

.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;border-radius: 50px;
 border: 2px solid #fec352;
  background: linear-gradient(to left, #fff 50%, #fec352 50%);
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto;
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .5s ease-out;color: #fec352;
}
.category.fill ul li  a:hover,.category.stroke ul li a:hover { background-position: left bottom; color:#fff !important;}







.category.stroke ul li:nth-child(2)  a,
.category.fill ul li:nth-child(2) a {  border: 2px solid #64b6f9;
  background: linear-gradient(to left, #fff 50%, #64b6f9 50%);
    background-position-x: 0%;    background-position-y: 0%;    background-size: auto;
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .5s ease-out;color: #64b6f9;}
.category.fill ul li:nth-child(2)  a:hover,.category.stroke ul li:nth-child(2) a:hover { background-position: left bottom; color:#fff !important;}




.category.stroke ul li:nth-child(3)  a,
.category.fill ul li:nth-child(3) a {  border: 2px solid #f42828;
  background: linear-gradient(to left, #fff 50%, #f42828 50%);
    background-position-x: 0%;    background-position-y: 0%;    background-size: auto;
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .5s ease-out;color: #f42828;}
.category.fill ul li:nth-child(3)  a:hover,.category.stroke ul li:nth-child(3) a:hover { background-position: left bottom; color:#fff !important;}



.category ul .current a {background:#fec352 !important; color: #fff !important }

.category ul .current:nth-child(2) a {background:#64b6f9 !important;  }
.category ul .current:nth-child(3) a {background:#f42828 !important;  }

.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;
  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);
}


/* Key4a81bfs */
@-webkit-key4a81bfs fill {
  0% {
    width: 0%;
    height: 1px;
  }

  50% {
    width: 100%;
    height: 1px;
  }

  100% {
    width: 100%;
    height: 100%;
    background: var(--main-color);
    ;
  }
}

/* Key4a81bfs */
@-webkit-key4a81bfs 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)
}

.boxing img { border-radius:8px;}

.sidebar-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  background: #f4faff; border-top: 6px solid #338eee;
  background-size: cover; border-radius:18px;
}

.sidebar-nav ul ul { border-top:none }

.sidebar-nav ul a.is-active, .sidebar-nav ul a.is-active:hover  {
  color: #fff !important; background:#329af1; border-radius:16px;
}

.pager { padding: 0 0 50px 0;}
.sidebar-nav ul ul {
  background: #fff !important;
  font-size: 17px;
  line-height: 27px; padding:0px 20px;
}

.sidebar-nav .metismenu {
  padding: 10px;
  font-size: 18.5px ; line-height:26px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.sidebar-nav .metismenu a.current {
  color: var(--main-color);
}

.sidebar-nav .metismenu li+li {

}

.sidebar-nav .metismenu li:first-child {

}

.sidebar-nav .metismenu li:last-child {

}

.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; border-bottom: 1px dotted #1a7ee9;
}

.sidebar-nav .metismenu a {
  position: relative;
  display: block;
  padding: 5px 15px 5px 15px; margin:5px;
  color: #333333;
  outline-width: 0;
  transition: all .3s ease-out;
}

.sidebar-nav .metismenu a::before{  content:"";  background: url(../images/web/menu_stars.png) no-repeat center center; 
width: 30px;
  height: 30px;
  pointer-events: none;
  position: absolute;
  left: -18px;
  top: 2px;
  background-size: 30px auto; opacity: 0; /* 初始透明 */
  transform: translateX(20px); /* 初始位置偏移 */
  transition: opacity 0.5s ease, transform 0.5s ease; /* 過渡效果 */
}
.sidebar-nav ul a.is-active::before {content:"";  background: url(../images/web/menu_stars.png) no-repeat center center; 
width: 30px;
  height: 30px;
  pointer-events: none;
  position: absolute;
  left: -18px;
  top: 2px;
  background-size: 30px auto; opacity: 1; transform: translateX(0);}

.sidebar-nav .metismenu a:hover::before {
  opacity: 1; /* 淡入 */
  transform: translateX(0); /* 從右到左移動到最終位置 */
}


.sidebar-nav .metismenu a:hover { color:#4a81bf !important; } 

.sidebar-nav .metismenu ul a {
  padding: 5px 5px 5px 12px
}

.sidebar-nav .metismenu ul ul a {
  padding: 5px 35px 5px 45px;
}

.sidebar-nav .mm-active {
  color: #4a81bf 
  !important;
}

.sidebar-nav .metismenu a:hover,
.sidebar-nav .metismenu a:focus,
.sidebar-nav .metismenu a:active,
.sidebar-nav .metismenu .mm-active>a {
  color: #4a81bf ;
  text-decoration: 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 {
  background: #fff;
  padding: 0;
  margin: 0;
  clear: both;
  border-bottom: 1px solid #4c4185;
}

.subjectpage {
  border: 0;
  margin: 0 5px;
  border-bottom: 0px dotted #ddd !important;
}

.subjectpage a {
  padding: 15px 15px;
}

.subjectpage:nth-child(n+2) {
  border-left: 1px dotted #CCCCCC !important;
}

#block-sidebar-nav {}

#block-sidebar-nav h2 {
  padding: 30px 0;
  background: var(--main-color);
  color: #fff;
  margin: 0;
  text-align: center;
}

#block-sidebar-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#block-sidebar-nav ul li {
  float: none;
  border-bottom: 1px solid #ddd;
  position: relative
}

#block-sidebar-nav ul li a {
  padding: 15px;
  display: block;
}

.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;
}


#page-wrapper{ overflow:hidden}

#banner_title,
.banner_title,
#nonbanner_title {  position: relative; background:url("../images/web/bg_banner_box.png") no-repeat rgb(117, 183, 255); pointer-events: none; min-height:380px;background-size: contain;
  background-position: left top;border-bottom-left-radius: 0;
  border-bottom-right-radius: 200px;
  overflow: hidden;}

.banner_img{ background-image: url(../images/web/banner_00.png); background-repeat: no-repeat;
  background-size: 100% auto;
  height: 350px;
  width: 55%;
  border-top-left-radius:270px;
  position: absolute;
  right: 0;
  top: 80px;
  background-position: center center;z-index:1;
}
.banner_img_bg {
background: linear-gradient(20deg,rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 85%);
  height: 350px;
  width: 56%;
  right: -3px;
  top: 76px;
  border-top-left-radius: 280px;
  position: absolute; z-index:0;
}

.contact_area {
    padding: 0 0 80px 0;
}

.eclass {
  vertical-align: bottom;
text-align: center;
  z-index: 1;
  position: relative;
}

.eclass a {background: linear-gradient(0deg,#ff7e00 0%, #ffc000 85%);  color: #fff;  padding:0px 20px;  border-radius: 8px; display: block}

.eclass a:hover {background: linear-gradient(0deg,#ffc000 0%, #ff7e00 85%);  color: #fff;}

.footer_logo{ float:left ;  margin-right:2%; padding:5px 0; width:20% ; background:#ebf7ff;}
.footer_logo img { max-height:75px; width:auto;}

.contact_info{ float:left ; width:40%;}

#front_social{ position:absolute; right:50px; top:120px;}
.social_media{ float:left ;width:5%; z-index:10; position:relative; }
.social_media ul li { padding:0 5px;}
.social_media ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display:flex;
}

.social_media ul li {
    transition: transform 0.3s ease-in-out;
}


.social_media ul li:hover {
    transform: scale(1.2); 
}

.social_media ul li img{ height:40px; width: auto; max-width: none !important}

.contact_address{  font-size:15px; line-height:17px; font-weight:400; float:right; width: auto;}
.contact_info ul {
  list-style: none;
  margin: 0;
  padding: 0;
display: flex;
  flex-wrap: wrap; /* 启用换行 */
  justify-content: flex-start; /* 左对齐 */
}

.contact_info ul li {
  flex: 1 1 50%; /* 每行两个项目，宽度50% */
  margin: 5px 0; /* 调整行距 */
  font-size:16px; line-height:19px;
}


.contact_info ul li span {
  background: url(../images/web/i_map.png) no-repeat left center;
  padding: 5px 0 5px 40px;
  min-width: 50px;
  display: inline-block; background-size: auto 25px; 

}

.contact_info ul li+li span {
  background: url(../images/web/i_tel.png) no-repeat left center;background-size: auto 25px;
}

.contact_info ul li+li+li span {
  background: url(../images/web/i_fax.png) no-repeat left center;background-size: auto 25px;
}

.contact_info ul li+li+li+li span {
  background: url(../images/web/i_email.png) no-repeat left center;background-size:  25px auto;
}
.contact_info ul li+li+li+li  a{ color:#333; text-decoration: underline}
.contact_info ul li+li+li+li  a:hover{ color:#53b5e1; text-decoration: none}

.contact_info ul li a {color:#fc5e5e;}
.contact_info ul li a:hover { text-decoration: underline}
.contact_info ul ul li {
  width: auto;
  margin: 5px 5px 0px 5px;
}

.contact_info ul ul li img {
  width: 30px !important;
}

.school_building{ position:absolute; width:40%; right:0; bottom:15px; z-index:1;}
.school_building img{ }

.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;
}
.useful-links{ padding:0 5%;}

@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; border-radius:50%;
  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;
  text-indent: 100%;
  white-space: nowrap;
  border: 1px solid #fff;
  box-shadow: 0px 0px 5px #999;
  background: #fdda52 url(../images/ctcampus/cd-top-arrow.svg) no-repeat center center;

}

.cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
  background: #53b5e1 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-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}


#block_awards  .articles { position: relative;    overflow: hidden;    border-radius: 26px;    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #eeeeee;}
.award_content {      position: absolute;    bottom: 0;    width: 100%;    padding: 40px 10px 30px 10px;background: linear-gradient(0deg, rgb(26 126 233) 0%, rgb(26 126 233 / 0%) 85%);    color: #fff;    text-align: center;}
#block_awards .slick-slide { position: relative}
#block_awards .slick-slide::before {     content: "";    position: absolute;    background: url(../images/web/award_more.png) no-repeat center;    background-size: contain;    width: 20px;    height: 20px;    left: 0;    right: 0;
    margin: auto;    bottom: 6px;    z-index: 2;}
#block_awards .slick-slide::after {     content: "";    position: absolute;    background: #f4364c;      width: 50px;
    height: 50px;    bottom: -10px;   border-radius: 50%;    left: 0;    right: 0;    margin: auto;}
.award_content time::before { display: none}
#block_awards  figure {border:none; border-radius: 16px;}
#block_awards  .slick-slide {    margin: 15px 15px;}

#usefullinks  {    padding: 0 0 60px 0;}
#usefullinks .blocktitle p {    background: url(../images/web/i_links.png) center left no-repeat;
    padding: 15px 0 10px 60px;    background-size: 50px auto;    display: inline-block;    position: relative;    float: left; color:#fff}
#usefullinks  .index_block { clear:both}


#usefullinks .slick-slide  {
    transition: transform 0.3s ease-in-out; 
}

#usefullinks .slick-slide:hover  {
    transform: translateY(-8px); 
}

#usefullinks .slick-arrow {
    transition: all 0.3s ease; 
}

#usefullinks .slick-arrow:hover {
    border-radius: 35%; 
}




.region--footer_top__inner {display: flex;    align-items: baseline;}
#block-olivero-bottomlogo { flex:2}


.region--hero { position: relative}
#block-olivero-views-block-proverb-block { position: absolute;  bottom: 0;  z-index: 1;  right: 0;pointer-events: none;}


.sentense {width: 40%;  margin: 0;  right: 0;  float: right;  background:url("../images/web/bg_bible.png") no-repeat top left;  background-position-y: 0;
  padding: 180px 0 30px 0;
  background-size: cover;}

.sentense  .area {display: flex;  align-items: center; }
.sentense  .blocktitle { background: url("../images/web/bibble_icon.png") no-repeat;
    background-size: auto;  width: 95px;  height: 95px;  position: absolute;  background-size: contain;  margin: 0}
.sentense  .slider {margin: 0 0 0 100px !important;color: #fff;  font-size: 22px;font-weight: bold;}
.sentense .slick-slider .slick-track,.sentense .slick-slider .slick-list{ padding-top:0 !important;display: flex;
  align-items: center;
  justify-content: center;}

#block-olivero-topeclassbtn {  width: 100%;}

#block-olivero-languageswitcher {width: 100%;}
.is-active {   display: none;}
.region--secondary-menu {display: flex;    align-items: center;    justify-content: center;    flex-wrap: wrap;max-width: 120px;}


.date_box { position: absolute;
  top: 0;width: 90px;
 
  right: 0;}

.date_box_day {background: #f4364c;  border-bottom-left-radius: 40px;  text-align: center;
  color: #fff;  font-size: 30px;  padding: 16px 0px;  border-top-right-radius: 40px;
  display: block;}
.date_box_month{text-align: center;
  background: #0c3388;
  color: #fff;
  border-radius: 50px;
  padding: 0;
  font-size: 16px;
  line-height: 26px;
  margin: -7px 0 0 0;}



.bottom_logo { display:block}
.bottom_logo_m { display:none}

#block-olivero-page-title {  position: relative;}
#block-olivero-page-title  .title {position: absolute;  bottom: -30px;
  right: 160px;  background: #f4364c;  color: #fff;  padding: 10px 30px;  border-radius: 50px;z-index: 1
}

#toolbar-item-administration-tray{
  margin: 0 !important;
}

#block_useful_links {
  padding: 20px 0 100px 0;
}

#block_useful_links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#block_useful_links ul li {
  float: left;
  width: 20%;
  padding: 0px 2% 0 2%;
  position: relative;
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
}
#block_useful_links ul li:nth-child(2n+1){
  padding: 30px 2% 0 2%;}

/* Add fade-in delay for each list item */
#block_useful_links ul li:nth-child(1) {
  animation-delay: 0.2s;
}
#block_useful_links ul li:nth-child(2) {
  animation-delay: 0.4s;
}
#block_useful_links ul li:nth-child(3) {
  animation-delay: 0.6s;
}
#block_useful_links ul li:nth-child(4) {
  animation-delay: 0.8s;
}

#block_useful_links ul li a {
  text-align: center;
  display: block;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#block_useful_links ul li .cover_icon::before { content: "";
  background: url(../images/web/clip_red.png) no-repeat top center;
    background-size: auto;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  pointer-events: none;
  top: -20px; left:0;
  background-size: 20% auto;
} 

#block_useful_links ul li:nth-child(2) .cover_icon::before{ background: url(../images/web/clip_blue.png) no-repeat top center; background-size: 20% auto;}
#block_useful_links ul li:nth-child(3) .cover_icon::before{ background: url(../images/web/clip_orange.png) no-repeat top center; background-size: 20% auto;}
#block_useful_links ul li:nth-child(4) .cover_icon::before{ background: url(../images/web/clip_green.png) no-repeat top center;background-size: 20% auto; }
#block_useful_links ul li:nth-child(5) .cover_icon::before{ background: url(../images/web/clip_brown.png) no-repeat top center;background-size: 20% auto; }

#block_useful_links  .cover_icon { border-radius:50%; border:3px solid #fff;box-shadow: 0 0 0 4px #ff5f75; overflow:hidden  }

#block_useful_links ul li:nth-child(2)  .cover_icon {  box-shadow: 0 0 0 4px #2eade7;   }
#block_useful_links ul li:nth-child(3)  .cover_icon {  box-shadow: 0 0 0 4px #ff896c;   }
#block_useful_links ul li:nth-child(4)  .cover_icon {  box-shadow: 0 0 0 4px #77bd5a;   }
#block_useful_links ul li:nth-child(5)  .cover_icon {  box-shadow: 0 0 0 4px #e5cf93;   }

/* Hover effect */
#block_useful_links ul li a:hover {
  transform: translateY(-10px);
}

#block_useful_links ul li .text_area {
  position: absolute;
  text-align: center;
  width: 100%;
  bottom: -30px;
}

#block_useful_links ul li .text_area img {
  margin: 0 auto; width:85%;
  transition: transform 0.3s ease;
}



#block_useful_links ul li a:hover .text_area img {
  transform: scale(1.1);
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




#block_activity .news-card figure {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 3px solid #ee9b81;
  margin: 0 auto 15px;
  position: relative;
  aspect-ratio: 1 / 1;
      border-radius: 56% 44% 42% 58% / 48% 48% 52% 52% ;
}

#block_activity .news-card {
  text-align: center;
    background:none;
}

#block_activity .news-card__text-wrapper {
  background: none;
  padding: 0;
}

#block_activity .news-card:hover {
  text-shadow: none;
}

#block_activity .news-card figure img {
    width: 100%;
    height: 100%;
    border-radius: 56% 44% 42% 58% / 48% 48% 52% 52%;
    padding: 1px;  object-fit: cover;
}

#block_activity .slick-slide:nth-child(odd) {
    transform: translateY(-16px); 
}


#block_activity .slick-slide:nth-child(even) {
    transform: translateY(16px);
}

#block_activity .news-card__text-wrapper {
  position: relative;
}

#block_activity .news-card__text-wrapper time {
  position: absolute;
  top: -180px;
  left: 20px;
  background: #ff6b6b;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
}

#block_activity .date-badge {
position: absolute;
    top: 20px;
    left: 0;
    background: url(../images/web/i_date_box.png) no-repeat top center;
    text-align: center;
    width: 78px;
    background-size: cover;
    overflow: hidden;
    display: flex
;
    flex-direction: column;
    height: 78px;
    align-items: center;
    justify-content: center;
}

#block_activity .date-day {
    font-size: 27px;
    font-weight: bold;
    color: #ea6263;
    transform: translateY(-2px);
    line-height: 1.2;
}

#block_activity .date-month {
font-size: 17px;
    text-transform: uppercase;
    transform: translateY(-2px);
    width: 80%;
    margin: 0 auto;
    line-height: 1.2;
    background: #f0d736;
    border-radius: 3px;
    color: #333;
}


#block_activity .news-card:hover{
        box-shadow: unset;
}

#block_activity .news-card__text-wrapper b {
  display: block;
  font-size: 17px;
  color: #333;
}


.proverbs .blocktitle p {
  background: url(https://pro5.ctcampus.com/dev/cmsnp/core/themes/olivero/images/web/i_bibble.png) center left no-repeat;
    background-size: auto;
    padding: 50px 0 10px 90px;
  background-size: 90px auto;
  display: inline-block;
  position: relative;
  background-position: top left;
}

.proverbs {
  display: flex;
position: relative;
    gap: 10px;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
padding: 13px;
}

.proverbs .blocktitle {
  text-align: left;
    color:#585c5d;
}

.proverbs .blocktitle{
    position: relative;
    margin: 0;    transform: translateY(-28px);    z-index: 2;
}

.proverbs .content p{
      font-size: 17px;
}

.proverbs .blocktitle p::after{
    z-index: 2;
    position: relative;
        background: #f1bd57;
    border-radius: 18px;
    width: 63%;
    right: 0;
    height: 6px;
    border-radius: 16px;
    position: absolute;
    bottom: 0;
    content: "";
    z-index: 1;
    pointer-events: none;
}
#content img{ border-radius:16px;}
.tpl-info figure{ border-radius:16px;}
.tpl-info time{ padding-left:25px;}


.proverbs .content {
  flex: 1;
  background: #fffbf2;
  border-radius: 20px;
  padding: 20px;
    border: 3px solid #585c5d;
}

@media (max-width: 768px) {
  .proverbs {
    flex-direction: column;
    gap: 20px;
    padding: 15px;
  }
  
  .proverbs .blocktitle,
  .proverbs .content {
    width: 100%;
    text-align: center;
  }
  
  .proverbs .blocktitle {
    flex: none;
  }
}

@media (max-width: 480px) {
  .proverbs {
    padding: 10px;
    gap: 15px;
  }
}

