@charset "utf-8";
/* CSS Document */

html,
body {
  font-family: "PT Serif", "Noto Sans TC","Noto Sans SC", sans-serif;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 28px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  overflow-x: hidden;
}

#page-wrapper {}
.boxing img{ max-width:100%}
:root {
  /* --main-color: #253c83; */
  --main-color:#603d91;
  --main2-color: #333333;
  --main3-color: #0081ef;
  --main4-color: #00A651;
  --main5-color: #F0252D;
  --main6-color: #000000;
  --main7-color: #FFFFFF;
}



.region>* {  margin: 0;}

.editingAdd {  position: absolute;  top: -35px;}
.home-add {  top: 35px !important;}

.home-add2 {  top: 35px !important; right:0; left:auto;}
#add_normal {  position: relative;  top: 0;  padding: 10px;}
.editingAdd a {
  background-color: #ffd800 !important;
  padding: 2px 5px;
  border-radius: 15px; font-size:15px !important;
  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: 10vw !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");
  background-repeat: no-repeat;
  background-position: center center;
  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: var(--main3-color);  text-decoration: none; transition: all 0.3s ease-in-out;}

#main_content a:hover {
  color: var(--main4-color); 
  text-decoration: none;
}

.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 {
}

#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: none
}

#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; line-height:20.5px
  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: 40px;
  line-height: 44px;
  color: var(--main-color);
  text-transform: uppercase;
  padding-bottom: 40px;
}

h2 {
  font-size: 34px;
  line-height: 38px;
  color: var(--main2-color);
  padding-bottom: 20px;
}

h3 {
  font-size: 26px;
  line-height: 30px;
  color: var(--main3-color);
  margin-bottom: 20px;
}
h3 a{ text-decoration:none !important;}

h4 {
  font-size: 22px;
  margin: 0px;
  color: var(--main-color);
  line-height: 33px;
  padding: 5px 0;
}

h5 {
  font-size: 21px;
  margin: 0px;
  color: var(--main2-color);
  line-height: 33px;
  padding: 5px 0;
}

h6 {
  font-size: 19px;
  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: 440;
  font-style: normal;
  margin: 5px 0;
  padding: 5px 0;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: 0;
  position: relative;
  color:var(--main3-color);
}



p {
  margin: 0px;
  padding: 0px
}

.blocktitle {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--main-color);
  line-height: 32px;
}

.block__title {}

.region--secondary-menu,
.region--secondary-menu {
  margin: 0;
}

#block-olivero-search-form-narrow{ margin-top:0px;}

#header_top {}

#header {
    z-index: 2;
    width: 100%; min-height:220px;
	position: absolute;
}


#header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(to right, 
    #418acf 0%, 
    #a176bd 35%, 
    #cc5191 70%, 
    #135ea5 100%
  ) !important;

  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

#logo_sponsor{position: absolute;
  right: 50px;
  bottom: 28%;
  z-index: 3; pointer-events:none}

#logo_sponsor img{ height:180px !important; width:auto !important;  clip-path: none !important}

#header .screen {
  display: block;
  align-items: flex-start; position: relative
}
 #block-olivero-views-block-slideshow-block-1  .swiper .swiper-slide::before {
   content: "";
background: url(../images/web/banner_star.png) no-repeat bottom;
background-size: auto;
position: absolute;
top: 0px;
right: 0;
width: 45%;
height: 100%;
background-size: cover;
background-position: center;
  }
   #block-olivero-views-block-slideshow-block-1 .swiper img{
    clip-path: ellipse(100% 145% at -25% 50%);
height: calc(100vh + 150px);
}


  /*
#block-olivero-views-block-slideshow-block-1::after { content: "";   background: linear-gradient( #fff0 30%, #fff);
  width: 100%;
  height: 40%;
  position: absolute;
  bottom: 0;
  z-index: 1;
  pointer-events: none;}


#header::after {content: "";
  background: url("../images/web/youth_game.png") no-repeat top right;
    background-size: auto;
  position: absolute;
  top: 0;
  right: 0;
width: 780px;
  height: 780px;
  z-index: -1;
  background-size: contain;pointer-events: none;-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;} */


.sticky #header::after { display:none }

.sticky,#header , #logo img {
  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: fixed;
  top: 0px;
  z-index: 10;
  width: 100%;
  min-height: auto;
  max-width: 100%;
  background: transparent !important; 
  box-shadow: -1px 0 3px 1px rgba(0, 0, 0, 0.15) !important;
}


.sticky #header::before {
  -webkit-mask-image: none !important; 
  mask-image: none !important;
}

/* @media screen and (min-width:961px){
.sticky.inner_page #header::before{
  background: var(--main-color) !important;
}
} */


.sticky #logo  { padding:10px;}
.sticky #logo img { }




.region--secondary-menu{ position:relative;}
.right_top { float:right; width:88%; margin:15px 0 0 0;

    display: flex;
    flex-direction: column;
    align-items: flex-end;}

#lang { position: relative;   display: inline-block;    }

#lang > button {
      display: inline-flex;
      align-items: center;
      position: relative;
      justify-content: flex-start;
      gap: 8px;
      background: #000;
      color: #fff;
      font-size: 15px;
      border: none;
      padding: 5px 14px 5px 10px;
      line-height: 28px;
      cursor: pointer;
      white-space: nowrap;
      border-radius: 50px;
    }

    #lang > button::before {
      content: "";
      flex-shrink: 0;
      width: 24px;
      height: 24px;
      background: url(../images/i_language.png) no-repeat center / contain;
    }

    #lang > button:focus {
      outline: 2px solid #005a9e; /* Focus outline for accessibility */
    }

    /* Dropdown menu container */
    #lang ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
      position: absolute;
      top: 100%; width:100%;
      left: 0;         z-index: 20;background:rgba(255,255,255,.9); box-shadow: 0 0 5px rgba(0,0,0,.3);
      border-radius: 8px;
      overflow: hidden;
      display: none;
    }

    /* Show menu when parent is active */
    #lang:hover ul,
    #lang:focus-within ul {
      display: block;
    }

    /* List item styles */
    #lang ul li {
      padding: 0px;
      text-align: center;
    }

    #lang ul li a {
      text-decoration: none;  font-size:14px; line-height:19px; padding:5px;
  color:#333;
      display: block;
      font-size: 16px; white-space:nowrap
    }

    #lang ul li a:hover {
      background-color:  var(--main-color);
      color: #fff;
    }
#lang ul li a.is-active {
  background: var(--main-color);
  color: var(--main7-color);
}


.region--secondary-menu { display:flex;gap: 10px;justify-content: end;}

.social_media{ float:right ; z-index:1;  position:relative;  }
.social_media ul li { padding:0 5px;}
.social_media ul li button{ border:0; background:none}
.social_media ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display:flex;
}

#assist { margin:7px 10px 0 0;}
#assist img{ height:30px;}
#assist ul li:hover {    transform: scale(1.0); }

.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; max-width:40px; width:auto; }

.home_zoneA {
  
  /* background: url(../images/web/news_bg.png) no-repeat bottom right #fef5e8;background-size: cover;
  
   */
  position: relative;}

/* .home_zoneA::before { content:"";background: url(../images/web/news_2.png) no-repeat bottom  left;position: absolute;
  width: 100%;
  height: 100%;
  background-size: contain;
  bottom: 0;
  left: 0; } */
.home_zoneB, .inside_bg { position:relative;    padding: 50px 0;z-index: 2;}

 
 #inner_zoneB .screen{  background-image: none ; padding-top:0px; padding-bottom:30px;}

.inside_bg{ padding: 40px 0px; }

.inside_bg_full { 
  max-width: 85%; padding: 40px 0px; 
  margin: 0 auto; }

.inside_bg_full .region--breadcrumb  { position:relative; left: auto;
  top: auto;
  margin: 0 0 20px 0;}
 
.home_zoneB .screen::after{  
background: url(../images/web/dd_red.png) no-repeat; background-size:cover; content:""; position:absolute; bottom:0; left:0; 
width:100px; height:155px; pointer-events:none; z-index:0}
.home_zoneB .screen::before{  
background: url(../images/web/dd_blue.png) no-repeat; background-size:cover; content:""; position:absolute; bottom:0; right:0; 
width:300px; height:115px; pointer-events:none; z-index:0}
 
.home_zoneC {background:#8ed8f8; overflow:hidden}
.home_zoneC .screen{}

.right_contact_area{ padding:40px 2% 40px 2%; width:30%; float: right; position: relative; }



.footer_links{ position:relative;}
.footer_links ul { list-style:none; margin:0; padding:0}
.footer_links ul li {}
.footer_links ul li a{ color:var(--main6-color); padding:5px 0; display:block; font-size:15px; line-height:21px; text-decoration:none;}
.footer_links ul li a:hover{ color:#ff4e00; text-decoration: underline;}

.box_contactus{}
.box_contactus ul{ background:var(--main7-color); padding:10px; list-style:none; margin:0; }
.box_contactus ul li{ font-size:13.5px; line-height:17px; display: flex; padding:5px 0;  }

.footer_links .social_media{ position:absolute; right:0; bottom:0; }
.footer_links  .social_media ul li img{ height:35px;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);    
    filter: grayscale(100%);	
    filter: gray;}
	
.footer_links  .social_media ul li:hover img{
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
}




.box_contactus ul li span{ padding-right:15px;}
.box_contactus ul li span img{ height:20px;  }
.box_sponsor{}
.box_sponsor ul{ background:#fff; padding:10px; display:flex; list-style:none; margin:0; }
.box_sponsor ul li img{ height:40px; width:auto; max-width:100% }

.right_contact_area .subtitle { font-size:16px; padding:10px 0 0 0;}

.view-more,
.view-more2 {
  margin: 0 auto;
  padding: 35px 0 ;
  text-align: center;
}


.more-link {
  position: relative;
}

.more-link a {
  font-size: 18.5px;
  line-height: 28px;
         padding: 6px 70px 6px 40px;
  border-radius: 20px;
}

.more-link a:hover {
     padding: 6px 70px 6px 40px;
}

.view-more a {
  transition: all 0.5s ease;
  color: #fff;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #603b8e 0%, #7f7aec 100%);
  background-blend-mode: multiply;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

.view-more a:hover {
  background: linear-gradient(90deg, #2d1a45 0%, #4a4596 100%);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}



.view-more a::before {    background: url(../images/web/more.png) no-repeat;
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-size: contain;
    right: 30px;
    top: 0;
    bottom: 0;
    margin: auto;}



.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 {

z-index: 2;  background: #fff; border-radius:16px; padding:10px; position:absolute;   box-shadow:0 0 5px rgba(0,0,0,.3);left: 100px;  top: -30px;
}


.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;
}


.site-brandings{ float: left; width:10%; margin:0;}
#logo { background:#fff; box-shadow:0 0 5px rgba(0,0,0,.2); position: relative;
border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  top: 0;}
#logo img{  height:auto; margin:0 auto; max-width:100%; max-height:200px}
#logo  a{padding:  15px;}
.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%;
}

#block-olivero-site-branding {
  float: left;
  width: 10%; position: absolute;
}

/* .sch_highlights .title::before {
  z-index: 0;
  position: absolute;
  pointer-events: none;
  content: "";
  left: -46%;
  width: 50%;
  height: 3px;
  background: #313cae;
  top: 28px;
} */

[data-aos="sch_highlights_animate"].aos-animate .title::before {
  content: "";
  z-index: 0;
  position: absolute;
  pointer-events: none;
  left: -46%;
  width: 50%;
  height: 3px;
  background: #313cae;
  top: 28px;
  opacity: 0;
  animation: rightAnimate 0.25s linear;
  animation-fill-mode: forwards;
}

@keyframes rightAnimate {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 0, 0) scaleX(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleX(1);
    transition: 1s ease-in-out 3s;
  }
}


.sch_highlights b {
  color: #fff;
  font-size: 28px;
  line-height: 34px;
  padding: 0;
  margin: 0;
}


.sch_highlights ul {
  display: grid;
  padding: 50px 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
}

.sch_highlights ul li {
  width: calc(100% - 2px);
  padding: 1px;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
}

.sch_highlights ul li span,
.sch_highlights .boxing {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  color: #fff;
  font-size: 21.5px;
  padding: 30px 0;
  background: linear-gradient(0deg, rgba(44, 51, 98, 1) 20%, rgba(44, 51, 98, 0) 100%);
  margin: 0
}

.bg_god_msg {
  background: url(../images/ctcampus/students.png) no-repeat left center #2f3563;
  padding: 50px 0;
  justify-content: center;
  align-items: center;
}

.bg_god_msg .screen {
  background: url(../images/ctcampus/sch_logo.png) no-repeat right center;
  background-size: auto 75%
}

.bg_god_msg .title {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, .2)
}

.bg_god_msg .contents {
  float: right;
  width: 45%;
  color: #fff;
  background: rgba(47, 53, 99, .7);
  margin: 90px 0;
  padding: 15px;
}

.boxing { margin:20px 0;}

.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 .contents {
  width: 65%;
  float: left;
}

.node__content {
  clear: both;
}

.node__content time {
  display: block !important;
  margin-bottom: 10px;
}


.banner_title{

  position: relative;
  pointer-events: none;
  background-position: center center;
}



.banner_title .page-title {
color: #fff;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
  padding: 300px 0 50px 100px;
  margin: 0;
  z-index: 1;
}








#block_latest-news { }


#block_latest-news .slick-slide .editing + a {
  display: block;
  background: #fff; 
  border: 5px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

#block_latest-news .slick-slide .editing + a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); 
}




#block_latest-news .latest-news-top{
  display:flex;
align-items: flex-start;
}

#block_latest-news .latest-news-top .view-more{
      margin-right: 0;
      padding:0 ;
}
.main_calenadr { float:left; width:67%; padding:30px 2.5%; background:var(--main4-color);  height:100%; position:relative; min-height: 420px;}

.main_calenadr::after{ content:""; background:var(--main4-color);  width:100%; left:-100%; height:100%; pointer-events:none; position: absolute; top:0; } 


.main_calenadr .area{ background:#fff; border-radius:16px; padding:10px; position:relative;}

.main_calenadr span { background: url(../images/web/i_calendar.png) no-repeat left center ; background-size: auto 28px; padding:5px 0 5px 30px; color:var(--main4-color);  }

#block_latest-news .blocktitle {
  position: relative; text-align:left;
  z-index: 1;font-size: 38px;
margin: 0;
  color:#000;
}

#block_latest-news .blocktitle p {
  padding: 10px 0px;
  display: inline;
}


#block_latest-news  a { position:relative;}
#block_latest-news .view-more a { display: inline-block;}

#block_latest-news a .content_body b {color: #fff;
    font-size: 19px;
    padding: 0 0 10px 0;
    text-align: center;}
#block_latest-news a .content_body { color:#fff;position: relative;width: 100%;display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;}
.btn_back{ margin:0px auto; text-align: center; margin-top:50px; margin-bottom:50px;}
.btn_back a{ display: inline-block; border-radius:16px; padding:10px 50px; color:#fff !important;  background: linear-gradient(to left, #623f94 50%, #4e7ab7 50%); background-size: 200% 100%; background-position: right bottom;  transition: all .5s ease-out;  }
.btn_back a:hover { background-position: left bottom; color:var(--main6-color); !important;}




#block_latest-news .content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding: 90px 24px 28px 24px; 
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  z-index: 1;   
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow: hidden;
  -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;
}

#block_latest-news .content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(96, 61, 144, 1) 0%,
    rgba(96, 61, 144, 0.95) 35%,
    rgba(96, 61, 144, 0.75) 55%,
    rgba(96, 61, 144, 0.4) 75%,
    rgba(96, 61, 144, 0.15) 90%,
    rgba(96, 61, 144, 0) 100%
  );
  transition: background 0.3s ease-in-out;
}

#block_latest-news a:hover .content::before {
  background: linear-gradient(
    to top,
    rgba(218, 162, 191, 1) 0%,
    rgba(218, 162, 191, 0.95) 35%,
    rgba(218, 162, 191, 0.75) 55%,
    rgba(218, 162, 191, 0.4) 75%,
    rgba(218, 162, 191, 0.15) 90%,
    rgba(218, 162, 191, 0) 100%
  );
}

#block_latest-news a:hover .content {
  color: #fff;
}








[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: 30%;
  z-index: 2;
  opacity: 0;
  animation: fadeRight 2s ease forwards;
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slider-slogan .slogan_text {
font-size: 40px;
  padding: 20px 20px;
  line-height: 52px;
  color: #fff;
   background: rgba(96, 61, 145, 0.65);     border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}
.slider-slogan .slogan_text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(96, 61, 145, 0.65);
  z-index: -1;
  filter: blur(10px); /* 调整此值以改变模糊程度 */
  border-top-right-radius: 30px; /* 保持与主体一致的边框弧度 */
  border-bottom-right-radius: 30px;
}
.slogan_left {
  left: 0;
}

.slogan_right {
  right: 0;
}

.view-empty {
  clear: both
}

footer {
     background: var(--main-color);
  color: #fff;
  padding: 40px 0;
  font-size: 13px; line-height:16.5px;
}

footer .copyright { float:left; width:50%;display: flex;}
footer .power { float:right; width:50%; text-align:right}

footer .copyright ul{ list-style:none; margin:0; padding:0; }
footer .copyright ul li{  float:left  }
footer .copyright ul li+li{ border-left:1px solid #dddddd;  }
footer .copyright ul li a{ padding:0px 10px; display:block; color:var(--main6-color)}
footer .copyright ul li a:hover{ text-decoration:none;}

footer .text-content,
footer a {
  color:#fff;
  font-size: 13px; line-height:16.5px;
}

footer a:hover{
  color:#fff;
}


#main_content {
  float: right;
  width: 77%;
  min-height: 500px;
}

#main_content img{ max-width:100%;}
#content img{ max-width:100%;}

#sidebar-nav {
  float: left;
  width: 21%;
}
#block-olivero-views-block-usefullinks-block-1{ padding:50px 0; z-index:1}
.useful-links { max-width:70%; margin:0 auto; position:relative; z-index:1}
.useful-links ul {
display: flex; /* 使用 Flexbox 布局 */
  flex-wrap: wrap; /* 允许内容换行 */
  list-style: none; /* 移除默认列表样式 */
  padding: 0;
  margin: 0;
  column-gap: 50px; /* 列间距 */
  row-gap: 50px; /* 行间距 */
}

.useful-links ul li {
  position: relative; flex: 0 1 auto; background:#fff;
}

.useful-links img{ height:50px; width:auto; max-width:100%;}

.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 ,table {
  border-collapse: inherit;
  width: 100%; background:#f99d1f;
  line-height: 33px;
  margin: 0;
	table-layout: fixed;  border-collapse: collapse;
  border:none;
 
}


#main_content tr:nth-child(even) td ,tr:nth-child(even) td { 

  padding:15px 10px; background: #f1f2ff;
  /* text-align: center; */
}

#main_content tr:nth-child(odd) td , tr:nth-child(odd) td {

 
  padding:15px 10px;background: #fff;
  /* text-align: center; */
}


 tr {border-bottom: 10px solid #f5f3f9;}

#main_content table ul,
table ol {
  margin: 0 0 0 20px;
}

#main_content tr th , table tr th {
background: var(--main-color);
  color: #fff;
 padding: 15px 10px;
  font-weight: bold;;border: none;text-align: left;
}
#main_content  tr td{ padding:5px;white-space: normal;}

.location {
  width: 100%;
  margin: 20px 0;
}

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; font-size:21px; line-height:27px; color:var(--main6-color); padding:10px 0;
}

#page time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  background-color: var(--main-color);
  -webkit-mask-image: url(../images/date.svg);
  mask-image: url(../images/date.svg);
  background-size: cover;
  width: 20px;
  height: 21px;
}
#page time { text-align: left; padding-left:30px;}

.block-info {
  list-style: none;
  margin: 0;
  padding: 0;
  background: none
}

.block-info li {
  position: relative;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}


.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 a {
  color: #333;
  display: block;
  width: 100%;
      display: flex;
    flex-direction: column;
   align-items: center;
}

.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;    margin-bottom: 12px; border-radius: 16px;
}

.template-A ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.template-A ul li {
  width: calc(100% - 30px);
  background: #fff;
  padding: 15px;
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  text-align: center;    border-radius: 20px;
}

.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_A .cover{ box-shadow:0 0 5px rgba(0,0,0,.3);}
.Block_A .content{ font-size:17px; line-height:23px; font-weight:400 }


.Block_A a{ text-decoration: none;}
.Block_A a:hover{ text-decoration: none;}

.Block_B ul {  display: grid;  grid-template-columns: repeat(2, 1fr);  gap: 30px;}
.Block_B ul li {  position: relative;  width: 100%;  background: #fff;}

.Block_C ul {
  margin: 0;  padding: 0; list-style:none; overflow-y: scroll; max-height:500px
}

.Block_C ul li {  position: relative;  width: 100%;  background: #fff;  margin: 0 0;}
.Block_C ul li a{ display:flex; align-content:center;}

.Block_C ul li .cover {  float: left;  width: 38%}
.Block_C ul li .content {  float: right;  width: 60%;  padding: 15px 0;}

.Block_C ul li b {
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
}

.public_add {
  top: -98px;
}

.flip_btn,
.pdf_btn {
  display: inline-block;
  margin-top: 15px;
}

.pdf_btn {
  margin-left: 15px;
}

.flip_btn a {
  background: var(--main-color);
  color: #fff !important;
  padding: 10px 20px;
}

.pdf_btn a {
  background: var(--main2-color);
  color: #fff !important;
  padding: 10px 20px;
}


.news-card {
  border: 0px solid aqua;
  margin: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  flex: 1;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 80%);
  ;
  z-index: 0;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: relative;
  z-index: -1;
}

.news-card__text-wrapper {
  position: relative;
  padding: 5px 10px 15px 10px;
  width: calc(100%);
  color: #333;
  background-color: #fff;
  transition: background-color 1.5s ease;
}

.news-card__title {
  transition: color 1s ease;
  margin-bottom: .5rem;
}

.news-card__details-wrapper {
  max-height: 0;
  opacity: 0;
  transition: max-height 1.5s ease, opacity 1s ease;
}

@media (min-width: 900px) {
  .news-card:hover .news-card__details-wrapper {
    max-height: 20rem;
    opacity: 1;
  }

  .news-card:hover .news-card__text-wrapper {
    background-color: #eae0f0
  }

  .news-card:hover .news-card__title {
    color: yellow;
  }

}


.articles {
  padding: 1em;
}

.articles:hover:before {
  width: 100%;
}

.articles::before {
  content: "";
  position: absolute;
  bottom: 0px;
  height: 2px;
  width: 0%;
  background: var(--main-color);
  right: 0px;
  transition: width 0.4s;
}



/* End Template */

/* Category */
.category {
  float: left;

  padding: 8px 10px;
  border-radius: 8px;
  margin: 30px 0;
  z-index: 1;
  position: relative;
}

.category ul {
  list-style: none;
  margin: 0;
  padding: 0; display: flex;
}

.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;background: linear-gradient(to right, #154d7f, #2288c4);
  color: #fff;
  padding: 30px 20px;
}

.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: 5px;
  padding: 0 15px;
  list-style-type: initial;
}

.sitemap-item ul li {
  width: 100%;
  margin: 0;
  padding: 0; font-size:16px; line-height:20px; font-weight:400;
}

.sitemap-item ul li a,
.sitemap-item ul li span {
  padding: 10px 10px;
  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 {

}

.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-weight: 400
}

.sitemap-item ul li ul li a:hover {
  background: none;
  color: var(--main2-color)
}

.sidebar-nav ul {
  padding: 20px; position:relative;
  margin: 0;
  list-style: none;
  background: #fff; border-top-right-radius: 16px; border-bottom-right-radius: 16px; box-shadow: 0 0 5px rgba(0,0,0,.3)
}

.sidebar-nav ul::after { background:#fff; width:100%; height:100%; pointer-events:none; left:-99%; position:absolute; content:""; top:0;
box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.3),0 -5px 5px -5px rgba(0, 0, 0, 0.3);  }

.sidebar-nav ul a.is-active, .sidebar-nav ul a.is-active:hover {
  color: #fff;
  background: var(--main-color) !important;
border-radius:16px;
}

.sidebar-nav ul ul {
  background: #f6f6f6; border-radius:12px; padding:5px 15px;
  font-size: 16.5px; box-shadow:0 0 0 ;
  line-height: 21px;
}
.sidebar-nav ul ul::after { display: none; }

.sidebar-nav .metismenu {
  padding: 15px;
  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 { padding:5px 0; border-top:1px solid #ddd;
}

.sidebar-nav .metismenu li:first-child {
  margin: 5px 0;
}

.sidebar-nav .metismenu li:last-child {
  margin-bottom: 0
}

.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 30px 5px 10px; text-decoration:none;
  color: #333333;
  outline-width: 0;
  transition: all .3s ease-out;
}

.sidebar-nav .metismenu ul a {
  padding: 5px 15px;  border-radius:16px;
}

.sidebar-nav .metismenu ul ul a {
  padding: 5px 10px 5px 10px;
}

.sidebar-nav .mm-active {
  color: var(--main-color)
}
.sidebar-nav .mm-active .has-arrow { color: var(--main3-color)}

.sidebar-nav .metismenu a:hover{ color: var(--main3-color);}

.sidebar-nav .metismenu a:focus,
.sidebar-nav .metismenu a:active,
.sidebar-nav .metismenu .mm-active>a {
border-radius:16px;
  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 {
  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: 30px 0; background:#fff; 
  overflow: hidden;
  position: relative;
  z-index: 1
}

.contact_info {
  color: #f99d1f;
  position: relative;align-items: center;
  z-index: 1;
  vertical-align: bottom;
  display: flex;gap: 50px;margin: 0;
}
.contact_area .screen {display: flex;justify-content: space-between;}
.bottom_youth_game {margin: 0;
  display: flex;
  align-items: center;}
.bottom_youth_game img { max-height: 200px;}
.eclass {
  vertical-align: bottom;
  display: table-cell;
  z-index: 1;
  position: relative;
}

.eclass a {background: #fc4;  color: #2f3563;  padding: 5px 20px;  border-radius: 8px;}

.eclass a:hover {background: #313cae;  color: #fc4;}

.contact_info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact_info ul li {
  float: left;
  width: 100%;
  margin: 5px 0; color:#333;
}


#general_title {font-size: 23px;
  font-weight: bold;}

.contact_info ul li+li span {
  background: url(../images/web/i_tel.png) no-repeat left center;  padding: 0px 0 0px 35px;
  min-width: 115px;
  display: inline-block;background-size: 17px;
}

.contact_info ul li+li+li span {
  background: url(../images/web/i_fax.png) no-repeat left center;background-size: 27px;
}

.contact_info ul li+li+li+li span {
  background: url(../images/web/i_mail.png) no-repeat left center;background-size: 22px;
}

.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 {
text-decoration: none;
  color: #f99d1f;
}

.inner_page {background: #f5f3f9;}

.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;
  text-indent: 100%;
  white-space: nowrap;
  border: 1px solid #fff;
  box-shadow: 0px 0px 5px #999; border-radius:50%;
  background: #4b2c70  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: #ef2e30ef2e30 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: #333;
  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 .download{ flex: 0 0 20%; }
.list-item ul li{background: none; box-shadow:none;padding: 15px ; text-align: left ; background:#f5f3f9; 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}



.tabel-list ul  {margin: 0;
  display: block;}
.tabel-list ul li { width: 100%; margin: 0; padding: 0;box-shadow: none;background: none}
.tabel-list .content ul {margin: 0; padding: 0; list-style: none;width: 100%;
  display: flex;
gap: 0;}

.tabel-list ul li +li  .content_medal span{top: 0px;}
.tabel-list ul li +li  .content ul {align-items: center;}

.tabel-list .content ul li {text-align: center;flex-wrap: wrap;justify-content: center;padding: 20px 10px; margin: 0;}


.list { border-bottom: 1px solid #b1b1b1; }
.content ul li span{ padding: 20px 10px;width: 100%;}


.tabel-list .content ul li span{ display: none;width: 30%}
.tabel-list .content ul li #content_p{ width: 70%}
.tabel-list ul li:nth-child(even){ background: #ffecd88a;} 

.tabel-list ul li ul li:nth-child(even){ background: none !important} 

.tabel_title{clear: both;}
.tabel_title ul {list-style: none;  margin: 0;  padding: 0;  display: flex;}
.tabel_title ul li{padding: 15px 10px;
  background: #fcd8a9;
  font-weight: bold;text-align: center;
  width: 100%;}

.tabel_title ul li span { display: block}

.tabel_title .content_medal p { position: relative;width: 100% !important;
  height: auto !important;
}

/* Text Flip Animation */
.u-textFlip {
    display: block;
    position: relative;
    line-height: 1;
    overflow: hidden;
}

.u-textFlip_item {
    display: block;
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    transition-duration: 0.3s;
    transition-property: opacity, visibility, transform;
    line-height: 1.2;
}

.u-textFlip_item-back {
    position: absolute;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}


@media screen and (min-width:1000px) and (hover:hover) {

    a:hover .u-textFlip_item-front,
    button:hover .u-textFlip_item-front,
    .text-flip-hover:hover .u-textFlip_item-front {
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
    }
    
    a:hover .u-textFlip_item-back,
    button:hover .u-textFlip_item-back,
    .text-flip-hover:hover .u-textFlip_item-back {
        position: absolute;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    

    a:hover .u-textFlip {
        text-decoration: none;
    }
}


@media screen and (min-width:1000px) and (hover:hover) {
    ul#main-menu > li > a:hover .u-textFlip_item-front {
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
    }
    
    ul#main-menu > li > a:hover .u-textFlip_item-back {
        position: absolute;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    ul#main-menu > li > a:hover {
        text-decoration: none;
    }
}



.content_time time {padding-left:0px !important;}
.content_time time::before {display: none;}

.subjectmenu ul {
  list-style: none;
  margin: 0 0 30px 0  ; background:#fff3d6; border-radius:16px; 
  padding: 10px 20px; display:flex; justify-content: flex-start; /* 項目靠左對齊 */

  flex-wrap: wrap; /* 允許換行 */
}




.subjectmenu ul li {
margin:0 10px;
  position: relative
}
.sub_heading{ text-align: center; padding:5px 0;}
.subjectmenu ul li a {
  padding: 5px 15px; background:#fff;
  display: block;color: var(--main-color) !important; border-radius:6px; font-size:16px; line-height:24px;
}
.subjectmenu ul li a:hover { background:var(--main4-color);  }
.subjectmenu ul li a.current { background:var(--main-color); color: #fff !important; }

#major_para {}
#major_para ol { list-style:none; margin:0 !important; padding:0;}
#major_para ol  li { margin:15px 0;}
#major_para ol  li span{ background:url(../images/web/i_pt.svg) no-repeat; background-size:cover;padding: 12px; margin-right:5px;
  text-align: center;
  background-size: 100% auto;
  background-position: center center;
  filter: invert(28%) sepia(94%) saturate(749%) hue-rotate(338deg) brightness(97%) contrast(101%);
}
#major_para ol  li+li span{ filter: invert(39%) sepia(100%) saturate(516%) hue-rotate(198deg) brightness(94%) contrast(101%);}
#major_para ol  li+li+li span{filter: invert(43%) sepia(46%) saturate(594%) hue-rotate(115deg) brightness(90%) contrast(90%);}
#major_para ol  li+li+li+li span{  filter: invert(61%) sepia(12%) saturate(2935%) hue-rotate(173deg) brightness(99%) contrast(98%);}
#major_para ol  li+li+li+li+li span{ filter: invert(75%) sepia(38%) saturate(289%) hue-rotate(180deg) brightness(96%) contrast(92%);}



.bottom_logo  {margin: 0;}

.bottom_logo img {max-height: 170px;}







    .special-countdown-container {
 
         background:url(../images/web/star.png) bottom left no-repeat #fff;
     padding: 50px 0;
     max-width:70%;background-size: contain;
  border-radius: 36px;
  box-shadow: 0px 0 10px 0px rgba(0, 0, 0, 0.1);
  margin: 60px auto;
     }
 
 
 
     .special-countdown-container * {
         box-sizing: border-box;
     }
 
     .special-countdown-container .container {
         width: 100%;
         max-width: 1680px;
         margin: 0 auto;
         padding: 0 12px;
     }
 
     .special-countdown-container .row {
         display: flex;
         flex-wrap: wrap;
         justify-content: center;
         margin: 0 -12px;
     }
 
     .special-countdown-container .col-lg-8 {
       flex: auto;
  max-width: 100%;
         padding: 20px;
     }
 
     .special-countdown-container .col-3 {
         flex: 0 0 25%;
         max-width: 25%;
         padding: 0 12px;
     }
 
     .special-countdown-container .title-text {
         margin: 0 0 18px 0;
         font-size: 40px;
         font-weight: 400;
         line-height: 1.2;
         text-align: center;
         color: #253c83;
     }
 
     .special-countdown-container .display-2 {
         font-size: 40px;
         font-weight: 300;
         line-height: 1.1;
         color: #253c83;
     }
 
     .special-countdown-container .display-7 {
         font-size: 19px;
        
         color: #f5933f;
         display: block;font-weight: bold;
  letter-spacing: 8px;
     }
 
     .special-countdown-container .number-wrap {
         text-align: center;
         color: #253c83;
     }
 
     .special-countdown-container .number {
         color: #253c83; font-size:7em
     }
 
     .special-countdown-container .period {
         display: block;
     }
 
     .special-countdown-container .dot {
         display: none;
     }
 
     .special-countdown-container strong {
         font-weight: bold;
     }

.special-countdown-container b { font-size: 25px;
  color: #2987c8;
  text-decoration: underline;}

.number-wrap { display:flex;justify-content: center; align-items: center ;flex-wrap: wrap;gap: 10px;}
 
     @media (max-width: 768px) {
         .special-countdown-container .col-lg-8 {
     flex: 1;
     max-width: 100%;
     padding: 20px;
 }
 
         .special-countdown-container .title-text {
             font-size: 32px;
         }
         
         .special-countdown-container .display-2 {
             font-size: 32px;width: 100%;
         }
         
         .special-countdown-container .display-7 {
             font-size: 15px;letter-spacing: 0;
         }
         
         .special-countdown-container .period {
             font-size: 13px;
         }
     }
 
      @media (max-width: 576px) {
         .special-countdown-container .title-text {
         font-size: 35px;
         line-height: 28px;
     }
     } 



.schedules-date {float: right; position: relative;z-index: 1}



.schedules-cat ul ,.schedules-date ul {flex-wrap: wrap;}
.schedules-cat ul li,.schedules-date ul li{background:linear-gradient(to right, #29016b, #b35d8c); position: relative; flex: 0 0 auto;margin: 0;}
.schedules-cat ul li a,.schedules-date ul li a { background: none !important;display: flex;
  height: 100%;}
.schedules-cat ul li::before{ content:""; background: url("../images/web/i_sport4.png") no-repeat bottom right;  position: absolute;  width: 100%;  height: 100%;
  right: 0;  bottom: 0;}

.schedules-cat ul li+li::before  { content:""; background: url("../images/web/i_sport5.png") no-repeat bottom right;    background-size: contain;  }
.schedules-cat ul li+li+li::before { content:""; background: url("../images/web/i_sport6.png") no-repeat bottom right;      background-size: contain;}

/*
.schedules-cat ul li+li+li+li::before { content:""; background: url(" ../images/web/i_sport4.png") no-repeat bottom right;      background-size: contain;}
.schedules-cat ul li+li+li+li+li::before { content:""; background: url("../images/web/i_sport5.png") no-repeat bottom right;      background-size: contain;}
.schedules-cat ul li+li+li+li+li+li::before { content:""; background: url("../images/web/i_sport6.png") no-repeat bottom right;      background-size: contain;}
.schedules-cat ul li+li+li+li+li+li+li::before { content:""; background: url("../images/web/i_sport7.png") no-repeat bottom right;      background-size: contain;}
.schedules-cat ul li+li+li+li+li+li+li+li::before { content:""; background: url("../images/web/i_sport8.png") no-repeat bottom right;      background-size: contain;}
*/
.content_medal span{position: relative;}

.content_medal p {width: 30px;
  height: 44px;  position: relative;   top: 0;  bottom: 0;  margin: auto;  left: 0;  right: 0;}
#gold_award p {  background: url("../images/web/gold.png") no-repeat;  background-size: contain;}
#silver_award p {  background: url("../images/web/silver.png") no-repeat;  background-size: contain;}
#bronze_award p {  background: url("../images/web/bronze.png") no-repeat;  background-size: contain;}




.delegation {}
.delegation ul {display: grid;grid-template-columns: repeat(5, 1fr);}
.delegation ul li {background: none;  padding: 0;box-shadow:none}
.delegation ul li figure{width: 250px;  height: 250px;  border-radius: 50%; background: #f1f2f7;margin: 0 auto;}
.delegation ul li figure img{object-fit: cover;  width: 250px;  height: 250px;    object-position: center top;    border-radius: 50%;}

/* countdown animation */


.special-countdown-container {
  transform-origin: center center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease; position: relative; z-index: 1
}


.special-countdown-container > * {
  position: relative;
  z-index: 2;
}

.special-countdown-container:hover {
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.special-countdown-container:hover::before {
  display: none !important;
}

@keyframes countdownBorderRun {
  to {
    --countdown-border-angle: 360deg;
  }
}

/* latest news - animation */

#block_latest-news a {

  border-radius: 24px;
}

#block_latest-news .cover,
#block_latest-news figure,
#block_latest-news img,
#block_latest-news .content {
  border-radius: inherit;
} 

#block_latest-news .cover,
#block_latest-news figure {
  overflow: hidden;
}
/* */ 


#block_latest-news figure img {
  width: 100%;
  transform: scale(1);
  transition:
    transform 0.45s ease,
    opacity 0.35s ease;
        aspect-ratio: 4 / 5;
    object-fit: cover;
}

#block_latest-news .content {
  overflow: hidden;
  transition:
    background 0.35s ease,
    opacity 0.35s ease;
}

#block_latest-news .content_body {
  transform: translateY(16px);
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

#block_latest-news a:hover figure img {
  transform: scale(1.12);
  opacity: 0.9;
}


#block_latest-news a:hover .content_body {
  transform: translateY(-8px);
}

#language-dropdown {
  visibility: hidden; 
}

#content { margin-top: 50px;min-height: 500px;}

.tabs {position: absolute;width: 50%;float: right;  right: 0;justify-content: right;z-index: 999;}

/* ── Dropdown: ul hidden by default, vertical ── */
.schedules-cat ul ,.schedules-date ul {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  z-index: 99;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.schedules-cat.is-open ul,.schedules-date.is-open ul {
  display: flex;
  animation: dropFadeIn 0.22s ease;
}

@keyframes dropFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}



/* schedules-cat */
.schedules-cat,.schedules-date {
 margin: 0;
  padding: 8px 0
}

.schedules-cat ul,.schedules-date ul {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  z-index: 99;
  margin: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.schedules-cat.is-open ul,.schedules-date.is-open ul {
  display: flex;
  animation: dropFadeIn 0.22s ease;
}

@keyframes dropFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* schedules-cat  */
.schedules-cat,.schedules-date {
  margin: 0;
  padding: 8px 0;
}

.schedules-cat ul,.schedules-date ul {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
}

.schedules-cat.is-open ul ,.schedules-date.is-open ul {
  display: flex;
  animation: dropFadeIn 0.22s ease;
}

@keyframes dropFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.schedules-cat ul li,.schedules-date ul li {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.schedules-cat ul li:first-child,.schedules-date ul li:first-child {
  border-top: none;
}


.schedules-cat ul li::before ,.schedules-date ul li::before {
  position: absolute;
  bottom: 5%;
  right: 10px;
  height: 90%;
  background-size: contain;
  background-position: right center;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  filter: brightness(0) invert(1);
}

.schedules-cat ul li:hover::before ,.schedules-date ul li:hover::before {
  opacity: 0.9;
  transform: translateX(0);
}


.schedules-cat ul li a ,.schedules-date ul li a {
  padding: 12px 100px 12px 20px !important;
  white-space: nowrap;
  align-items: center;
  position: relative;
  z-index: 1;color: #fff;
  font-size: 1em;
}

.schedules-cat__trigger,.schedules-date__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: linear-gradient(to right, #29016b, #b35d8c);
  color: #fff;
  font-size: 1.2em;
  font-weight: 400;
  border: none;
  cursor: pointer;
  width: 100%;
  position: relative;
  transition: all 0.5s; border-radius: 16px
}

.schedules-cat__trigger::after,.schedules-date__trigger::after {
  content: '.';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  height: 2px;
  color: transparent;
  background: rgba(255,255,255,0.7);
  transition: all 0.5s;
}

.schedules-cat__trigger:hover::after,
.schedules-cat.is-open .schedules-cat__trigger::after,
.schedules-date__trigger:hover::after,
.schedules-date.is-open .schedules-date__trigger::after{
  width: 100%;
}

.schedules-cat__arrow ,.schedules-date__arrow {
  width: 9px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.4s;
  flex-shrink: 0;
}

.schedules-cat.is-open .schedules-cat__arrow,.schedules-date.is-open .schedules-date__arrow {
  transform: rotate(-120deg);
}

@media screen and (max-width: 960px) {
  .schedules-cat ul li a ,  .schedules-date ul li a { white-space: normal; }
  .schedules-cat__trigger ,  .schedules-date__trigger { font-size: 1.1em; }
}

/* test */



.schedules_results_text {float: left;  width: 100%;  margin: 20px 0; }

.show_all {float: left;  margin: 0 15px;  padding: 8px 0;}
.show_all a {display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 40px;
  background: #f69107;
  color: #fff;
  font-size: 1.1em;
  font-weight: 400;
  border: none;
  cursor: pointer;
  width: 100%;
  position: relative;
  transition: all 0.5s;
  border-radius: 16px;}


.delegation ul li{    flex-wrap: wrap;}

/* new - counter */
  .custom-countdown {
    display: flex;
    align-items: center;
flex-direction: column;
  }
  .custom-countdown .header {
    padding-left: 0px;
    margin-left: 0px;
    display: flex;
    flex-direction: column;
    gap:0px;    align-items: flex-start;
  }
  .custom-countdown .header strong {
      display: block;
    color: #253c83;
    font-size: 38px;
    font-weight: 400;
  }
  .custom-countdown .header span {
  background: linear-gradient(to right, #7f7aec, #daa2bf, #418acf);
  margin: 20px 0 40px 0;
    color: #fff;    text-align: center;
    padding: 10px 40px;
    text-align: center;
    border-radius: 20px;    font-size: 21px;
  }
  .custom-countdown .timer-box {
   display: flex;margin: 50px 0 0 0; width:100%;
  justify-content: space-between;
  align-items: center; 
  }

.custom-countdown .item:nth-child(1) .number {
  font-size: 12rem;   /* 天 */
}
.custom-countdown .item:nth-child(2) .number {
  font-size: 7.5rem;  /* 小時 */
}
.custom-countdown .item:nth-child(3) .number {
  font-size: 7.5rem;  /* 分鐘 */
}
.custom-countdown .item:nth-child(4) .number {
  font-size: 7.5rem;  /* 秒（最小） */
}


  .custom-countdown .item:nth-child(1) .number {
  color: #624193; /* 天 */
}
.custom-countdown .item:nth-child(2) .number {
  color: #6d56ae; /* 小時 */
}
.custom-countdown .item:nth-child(3) .number {
  color: #7d72d2; /* 分鐘 */
}
.custom-countdown .item:nth-child(4) .number {
  color: #8883f4; /* 秒 */
}
  .custom-countdown .item {
    display: flex;
    align-items: baseline;
    gap: 5px;
  }
  .custom-countdown .number {
      font-size: 8rem;
    color: var(--main-color);
  }
  .custom-countdown .period {
    font-size: 1.2rem;
    color: #e67e22;
    font-weight: bold;
  }
  
  .region--hero{
    z-index: 2;
    position: relative;
  }

  /* home front page */
  .home_front_page {
position: relative;
background-color: #e4dcec;
overflow: hidden;
margin-top: -150px;
position: relative;
z-index: 2;
  clip-path: polygon(
  0.00% 33.07px, 2.00% 29.07px, 4.00% 25.33px, 6.00% 21.73px, 8.00% 18.27px, 
  10.00% 14.93px, 12.00% 11.87px, 14.00% 9.20px, 16.00% 6.80px, 18.00% 4.67px, 
  20.00% 3.07px, 22.00% 1.73px, 24.00% 0.67px, 26.00% 0.13px, 28.00% 0.00px, 
  30.00% 0.27px, 32.00% 0.93px, 34.00% 1.87px, 36.00% 3.33px, 38.00% 5.07px, 
  40.00% 7.33px, 42.00% 9.73px, 44.00% 12.53px, 46.00% 15.60px, 48.00% 18.93px, 
  50.00% 22.53px, 52.00% 26.13px, 54.00% 30.00px, 56.00% 33.87px, 58.00% 37.87px, 
  60.00% 42.00px, 62.00% 46.00px, 64.00% 49.87px, 66.00% 53.73px, 68.00% 57.47px, 
  70.00% 60.93px, 72.00% 64.27px, 74.00% 67.33px, 76.00% 70.13px, 78.00% 72.67px, 
  80.00% 74.80px, 82.00% 76.53px, 84.00% 78.00px, 86.00% 79.07px, 88.00% 79.73px, 
  90.00% 80.00px, 92.00% 79.87px, 94.00% 79.33px, 96.00% 78.40px, 98.00% 77.07px, 
  100.00% 75.33px, 100% 100%, 0% 100%
);

}  

 .home_front_page::before{
content: "";
    position: absolute;
    top: -220px;
    left: -160px;
    width: 980px;
    background: url(../images/web/bg_before.png) no-repeat;
    aspect-ratio: 1261 / 1103;
    z-index: 1;
    background-size: contain;
    transform: rotate(345deg);
 }

.home_zoneA {
  position: relative;z-index: 3;  padding: 120px 0;
}
 /* .home_zoneB{
    background-color: #e4dcec;
}  */


/* .home_zoneA {
  position: relative;z-index: 3;  padding: 120px 0;
      background-image: url(../images/web/home_bg.png); 
     background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% auto;  
} */
/* 
.home_zoneA::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url(../images/web/home_bg.png) no-repeat;
    background-position: left top;
    transform: translateY(-100%);
    z-index: 1;
    background-size: 100% auto;
} */

.region--secondary-menu{
  background: #fff;
    display: inline-flex;
    padding: 6px;
        border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}



.region--secondary-menu::before {
content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: -99%;
    bottom: 0;
    background-color: #ffffff;border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}


.block-search-wide__wrapper:not(.is-active) {
  display: none !important;
}

/* latest news */
#block_latest-news .box_day {
  background: #fff;
  /* padding: 10px; */padding: 6px 10px 10px 8px;
  border-radius: 50px;
  width: 64px;
  height: 64px;
  text-align: center;
  line-height: 18px;
  font-size: 14px;
  color: #3b3b3b;
  margin: 0 20px 0 0;
  position: absolute;
  top: -10px;
  left: -10px;
  margin: auto;
    font-weight: bold;
    z-index: 2;
   box-shadow:
  0 8px 20px rgba(0, 0, 0, 0.06),
  0 2px 6px rgba(0, 0, 0, 0.03);
}

#block_latest-news .month {
  font-size: 24px;
  line-height: 28px;
}

@media screen and (min-width: 961px) {
  .region--secondary-menu {
    transition: transform 0.4s ease;
  }
  .sticky .region--secondary-menu {
    transform: translateX(2vw);
  }
  
  .sticky .region--secondary-menu:hover,
  .sticky .region--secondary-menu:focus-within {
    transform: translateX(0);z-index: 20;
  }

  .sticky #lang > button {
    position: relative;
    width: 38px;         
    height: 37px;        
    border: none;
    overflow: hidden;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 7px !important; 
    color: transparent;
    transition: width 0.3s ease, color 0.3s ease;
  }

  .sticky #lang > button::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background: url(../images/i_language.png) no-repeat center / contain;
  }


  .sticky .region--secondary-menu:hover #lang > button,
  .sticky .region--secondary-menu:focus-within #lang > button {
    width: 100px;         
    color: #fff;
  }
}


/* node */

.banner_title::after {
position: absolute;
   content: "";
  background: url(../images/web/world_abilitysport.png) no-repeat ;

  background-size: 100% auto;

  right: 20px; bottom:20px;
  width: 180px;
  height: 116px;
  background-position: center;
}



.banner_title{
  overflow: hidden; background:#07285d;
}

.banner_title::before {
    content: "";
    position: absolute;
    bottom: 0px; right:0; opacity:.9; pointer-events:none;
    width:50%; height:100% ;
    background: url(../images/web/bg_ball.png) no-repeat;
    aspect-ratio: 1261 / 1103;
    z-index: 0;
    background-size: cover;
}

 .content_cat{
  position: relative;
} 


 .content_cat::after { 
   content: "";
    position: absolute;
    bottom: -225px;
    right: 0;
background: url(../images/web/banner_star.png) no-repeat bottom right #f3f3f3;padding: 0px 0;
  z-index: 0;
    background-size: contain;
} 

/* text animation */
#block_latest-news .blocktitle {
  position: relative;
  display: inline-block;
  overflow: hidden;
}







.custom-countdown .header{

}


.text--flipping [data-scroll='out'] .char {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}