@charset "utf-8";
/* CSS Document */

html,
body {
  font-family: "Raleway", "Noto Sans TC","Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 34px;  font-weight: 550;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  background-color: #EDEDED;

}


#page-wrapper {}

:root {
  --main-color: #de022e;
  --main2-color: #d69253;
  --main3-color: #000000;
  --main4-color: #f5f9ff;
}

.region>* {
  margin: 0;
}

.editingAdd {
  position: absolute;
  top: 0px;z-index: 1;
}

/* .home-add {  top: 35px !important;} */
#add_normal {
  position: relative;
  top: 0;
  padding: 10px;
}

.editingAdd a {
  background-color: #ffd800 !important;
  padding: 3px 15px;
  border-radius: 15px;
  color: #000 !important;
}

.editingAdd a:hover {
  background-color: #cbff0f !important;
  color: #000 !important;
}

.view-content {
  clear: both
}

.swiper-slide .editing a {
  display: block !important;
}

#banner_editing {
  position: absolute;
  left: 45px;
  z-index: 2
}

.topBanner_editing {
  bottom: 50px !important;
  top: auto !important
}

.editing {
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 5px;
}

.editing a {
  /* Override the .focusable height: auto */
  width: 30px !important;
  font-size: 0;
  border-radius: 50%;
  /* Override the .focusable height: auto */
  height: 30px !important;
  background-color: #ffd800 !important;
  text-indent: -9999px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3e%3cg%3e%3cpath fill='%23000000' d='M14.545 3.042l-1.586-1.585c-.389-.389-1.025-.389-1.414 0l-1.293 1.293 3 3 1.293-1.293c.389-.389.389-1.026 0-1.415z'/%3e%3crect fill='%23000000' x='5.129' y='3.8' transform='matrix(-.707 -.707 .707 -.707 6.189 20.064)' width='4.243' height='9.899'/%3e%3cpath fill='%23000000' d='M.908 14.775c-.087.262.055.397.316.312l2.001-.667-1.65-1.646-.667 2.001z'/%3e%3c/g%3e%3c/svg%3e");
  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;
}

/*
#block_latest-news .latest-news-slot:hover .editing a {
  display: block !important;
}
*/

#main_content a,
#main_content a:visited {
  color: #992337;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

#main_content a:hover {
  color: #666666;
  text-decoration: underline;
}

#header .screen {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.view-header {
  position: relative;
}

.clear {
  clear: both
}

img {
  border: 0;
}

div,
ul li {
  margin: 0px auto;
  padding: 0px;
}

.pager {
  display: inline-block
}

#page-wrapper {}

#page img {
  max-width: 100%
}

#page .term-tree-list {
  position: relative;
  margin-top: 15px;
}

#page .term-tree-list .term {
  list-style: none;
  margin: 0;
  padding: 5px 0 5px 30px;
}

#page .term-tree-list .term::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  background-color: var(--main-color);
  -webkit-mask-image: url(../images/tag1.svg);
  mask-image: url(../images/tag1.svg);
  background-size: cover;
  width: 20px;
  height: 26px;
}

#page .term-tree-list .selected {
  font-weight: normal;
  text-decoration: underline
}

#block_publication {
  margin: 0 0;
}

.screen {
  position: relative;
  padding: 0px 30px;
  max-width: 1280px;
  margin: 0 auto
}

.container {
  max-width: 100%
}

.wide-content {
  width: auto;
  margin: 0
}

.breadcrumb__list .breadcrumb__item {
  margin: 0;
}

.breadcrumb__item:last-child {
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}


#block-olivero-breadcrumbs {
  position: absolute;
  top: -60px;
  width: 100%;
  right: 0;
  padding: 0 15px;
}

#block-olivero-breadcrumbs .screen {
  border-top: 1px solid rgba(255, 255, 255, .5)
}


.breadcrumb {
  font-size: 15px;
  float: right;
  padding: 12px 0px;
  color: #333;
}

.breadcrumb a {
  color: #c21212;
  text-decoration: underline
}

.breadcrumb a:hover {
  text-decoration: none;
}

.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: 600;
  margin: 0;
}

h1 {
  font-size: 32px;
  line-height: 42px;
  color: var(--main-color);

  padding-bottom: 20px;
  font-family: "Spectral";
}

h2 {
  font-size: 34px;
  line-height: 38px;
  color: var(--main2-color);
  padding-bottom: 20px;
}

h3 {
  font-size: 26px;
  line-height: 32px;
  color: var(--main3-color);
  margin-bottom: 20px;
  padding: 5px 0;
  border-bottom: 1px solid var(--main2-color)
}

h4 {
  font-size: 23px;
  margin: 0px;
  color: var(--main-color);
  line-height: 33px;
  padding: 5px 0;
}

h5 {
  font-size: 23px;
  margin: 0px;
  color: var(--main2-color);
  line-height: 33px;
  padding: 5px 0;
}

h6 {
  font-size: 16px;
  margin: 0px;
  color: var(--main3-color);
  line-height: 33px;
  padding: 5px 0;
}

h6 a {padding: 10px 30px;
    background: #c21212;
    border-radius: 10px;
    margin: 15px 0;
    display: inline-block;
    color: #fff !important; font-size: 16px}
h6 a:hover {    background:#d69253}

.title,
.blocktitle,
.sch_highlights b,
#banner_title h1,
.banner_title h1 {
  font-optical-sizing: auto;
  font-weight: 550;
  font-style: normal;
  margin: 0;
  padding: 5px 0;
  font-size: 30px;
  line-height: 38px;
  letter-spacing: 0;
  position: relative;
  color: #000;
}



/* p {
  margin: 0px;
  padding: 0px
} */

.blocktitle {

  font-size: 44px;
  color: #333;
  line-height: 48px;
  font-family: "Spectral";
  font-style: italic;
  font-weight: bold;

}

.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 {
  min-height: 250px;
  z-index: 2;
  width: 100%;
  position: absolute;
  background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.73), rgba(255, 255, 255, 0) 80%);

}



.inside_area #header {
  min-height: 130px; position:relative;
  background: #fffffff5;
}


#header .logo {
  margin-left: 0
}

.sticky {
  z-index: 10;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}


.sticky #header {
  position: fixed;
  top: 0px;
  z-index: 10;
  width: 100%;
  min-height: auto;
  max-width: 100%;
  background:rgb(255 255 255 / 98%) !important; box-shadow: 0 0 5px rgba(0,0,0,.3);
}


.site-branding {
  margin-left: 0;
  padding: 10px 0 10px 10px;
}


.right_top {
  display: inline-flex;
  margin-right: 0;
  width: 70%
}


#lang ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  height: 100%;
}

#lang ul li {
  margin: 0;
}

#lang ul li a {
  background: rgba(255, 255, 255, .25);
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, .4);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 17px;
  display: block;
}

#lang ul li a:hover {
  background: var(--main-color);
  color: #fff;
}

#lang ul li a.is-active {
  background: var(--main-color);
  color: #fff;
}

#page img {
  max-width: 100%;
}

#page #main_content img {
  margin: 0 auto;
}

.home_zoneA {}

.home_zoneB {
  background: url(../images/web/timeline_background.png) bottom left no-repeat #6e1622;
  background-size: auto;
  padding: 50px 0;
}

.home_zoneC {
  background: #fff1f1;
}



.view-more {
  position: absolute;
  right: 35px;
  top: 0px;
  z-index: 1;
}

.view-more2 {}

.more-link {
  position: relative;
  text-align: left;
  font-weight: bold;
}

.more-link a {
  font-size: 20.5px;
  line-height: 32px;
  padding: 10px 20px;
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat: repeat;
  border-radius: 0px;
  position: relative;
  border-bottom: 2px solid #c21212;
  background: #fff;
  color: #c21212;
  text-decoration: none;
  display: inline-flex;
  gap: 16px;
  overflow: hidden;
  transform: translateY(0);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
  z-index: 1;
}

.more-link a:hover {
  transform: translateY(-3px);
}

.more-link a::before {
  content: "";
  position: absolute;
  inset: 0;

  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: -1;

}



.more-link a::after {
  content: "+";
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  color: inherit;
}

.more-link a:hover::before {
  transform: translateX(0);
}

.more-link a:hover::after {
  transform: rotate(180deg);
}



.more-link a::after {
  content: "+";
  position: relative;
  font-size: 30px;
  color: #333
}


/* .view-more a {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
  transition: background-position 0.5s ease, padding-left 0.5s ease;
} */

/* .view-more a:hover {
  transition: background-position 0.5s ease, padding-left 0.5s ease;
  background-color: var(--main-color);
  color: #fff;
  background-position: right 20px center;

  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z' fill='%23ffffff'/%3E%3C/svg%3E");
} */



.view-more2 a {
  position: relative;
  display: inline-block;
  padding: 10px 35px;
}

.view-more2 a::before,
.view-more2 a::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-style: solid;
  border-radius: 20px;
  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 {}


.news_tag {
  position: absolute;
  left: -5px;
  top: -5px;
  background-image: url(../images/icon/i_news.png);
  width: 90px;
  height: 44px;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}

.news_tag2 {
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(../images/icon/i_news2.png);
  width: 90px;
  height: 28px;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}

#logo {
  margin: 0
}

#logo img {
  max-height: 86px;
  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%;
}


[data-aos="sch_highlights_animate"].aos-animate .title::before {
  content: "";
  z-index: 0;
  position: absolute;
  pointer-events: none;
  left: -46%;
  width: 50%;
  height: 3px;
  background: #313cae;
  top: 28px;
  opacity: 0;
  animation: rightAnimate 0.25s linear;
  animation-fill-mode: forwards;
}

@keyframes rightAnimate {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 0, 0) scaleX(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleX(1);
    transition: 1s ease-in-out 3s;
  }
}


.sch_highlights b {
  color: #fff;
  font-size: 28px;
  line-height: 34px;
  padding: 0;
  margin: 0;
}


.sch_highlights ul {
  display: grid;
  padding: 50px 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
}

.sch_highlights ul li {
  width: calc(100% - 2px);
  padding: 1px;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
}

.sch_highlights ul li span,
.sch_highlights .boxing {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  color: #fff;
  font-size: 21.5px;
  padding: 30px 0;
  background: linear-gradient(0deg, rgba(44, 51, 98, 1) 20%, rgba(44, 51, 98, 0) 100%);
  margin: 0
}

.boxing .title {
  padding: 0;
}

.node__content {
  clear: both;
}

.node__content time {
  display: block !important;
  margin-bottom: 10px;
}

.home_page .banner_title {
  display: none !important;
}

#banner_title,
.banner_title,
#nonbanner_title {
  background-repeat: no-repeat;
  background: url(../images/web/banner_inner3.png) no-repeat;
  background-size: cover;
  position: relative;
  pointer-events: none;
  background-position: top center;

}
.banner_title::before {clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
position:absolute; right:0; top:0; background-size:cover ; width:75%; height: 423px;  pointer-events: none; content:""  }

.banner_title::after {
  content: "";
  position: absolute;
  top: 0;
  pointer-events: none;
  left: 0px;
  width: 100%;
  height: 150px;
  background-size: auto 100% !important;
  z-index: 1;
  background: url(../images/web/banner_inner_top.png) no-repeat left top;
  display: none
}

#banner_title h1,
.banner_title h1,
#nonbanner_title h1 {
  color: #fff;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
  padding: 150px 0 90px 0;
  text-align: center;
  font-size: 40px;
  letter-spacing: 3px;
  line-height: 42px;
  margin: 0 auto;
  text-align: left;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: normal;
}




#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 {
  width: 100%;
  padding: 50px 0;
  position: relative;
}

#block_latest-news .screen {
  z-index: 1;
}

.page_latest-news::after {
  display: none !important;
}

.page_latest-news ul li a::after {
  display: none !important;
}

#block_latest-news .more-link a:hover {
  color: #fff;
  border-bottom-color: #8a0d0d;
}

#block_latest-news .more-link a:hover::before {
  background: #c21212;
}

#block_latest-news .more-link a:hover::after {
  color: #fff;
}

#block_latest-news .latest-news-window {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  position: relative;
  gap: 12px;
  margin-bottom: 30px;
}


#block_latest-news .latest-news-window .slick-arrow {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 0;
  padding: 0;
  background-color: transparent;
  appearance: none;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}

#block_latest-news .latest-news-window .slick-arrow:hover:not(:disabled) {
  background-color: transparent;
}

#block_latest-news .latest-news-window .slick-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

#block_latest-news .latest-news-window .slick-prev::before,
#block_latest-news .latest-news-window .slick-next::before {
  content: "";
}

#block_latest-news .latest-news-window .slick-prev {
  background-image: url("../vendor/images/icon/left.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#block_latest-news .latest-news-window .slick-next {
  background-image: url("../vendor/images/icon/right.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#block_latest-news .splide {
  clip-path: inset(0 0 0 0);
  padding-bottom: 50px;
}

#block_latest-news .splide__track {
  /* overflow: visible !important; */
  max-width: 86%;
  padding-bottom: 100px;
}

#block_latest-news .splide__list {
  rotate: 5deg;
  transform-origin: 0 80%;
}

#block_latest-news .splide__slide {
  rotate: -5deg;
  position: relative;
  z-index: 1;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
}

#block_latest-news .splide__arrow {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background-color: transparent;
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

#block_latest-news .splide__arrow:hover:not(:disabled) {
  opacity: 1;
}

#block_latest-news .splide__arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

#block_latest-news .splide__arrow svg {
  display: none;
}

#block_latest-news .splide__arrow--prev {
  background-image: url("../vendor/images/icon/left.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#block_latest-news .splide__arrow--next {
  background-image: url("../vendor/images/icon/right.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (max-width: 900px) {
  #block_latest-news .latest-news-window .slick-arrow {
    margin-top: 40px;
  }
}

#block_latest-news::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -50px;
  width: 230px;
  background: url(../images/web/l_lack.png) no-repeat;
  background-size: auto;
  background-size: contain;
  z-index: 0;
  aspect-ratio: 582 / 599;
}

#block_latest-news::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  background: url(../images/web/r_red.png) no-repeat;
  background-size: auto;
  background-size: auto;
  background-size: contain;
  z-index: 0;
  aspect-ratio: 599 / 572;
}

#block_latest-news .cover {
  height: 100%;
}

#block_latest-news .cover figure {
  margin: 0;
  aspect-ratio: 19 / 25;
  overflow: hidden;
}

#block_latest-news .cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s ease;
}

#block_latest-news .splide__slide:hover .cover img {
  transform: scale(1.2);
}





.home_zoneA {
  position: relative;
  background: url(../images/web/news_bg2.png) center no-repeat;
  background-size: cover;
}

.inner_pages {
  background: url(../images/web/bg-news.png) center;
  background-size: 12px auto;
}

/*
.home_zoneA::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/web/news_bg2.png) center;
background-size: contain;
  z-index: 0;
}*/

#block_video {
  width: 100%;
  padding: 50px 0;
  float: left
}



#block_video .block_video {
  color: #c21212;
}

#block_video .blocktitle {
  color: #c21212;
}

#block_video .block-info .video-right-list>li .news-card>a {
  display: flex;
  align-items: center;
  padding: 5px;
  position: relative;
  z-index: 0;
}

#block_video li.video-right .video-right-list {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: 0;
  gap: 12px;
}


#block_video .Block_E  {display: flex;}
#block_video .block-info {width: 80%;}
.motto_index {width: 20%;}


.main_calenadr {
  float: right;
  width: 48%;
}

#block_latest-news .blocktitle {
  position: relative;
  z-index: 1;
  margin-bottom: 60px;
}

#block_latest-news .blocktitle p {
  padding: 10px 0px;
  display: inline;
}



#block_latest-news .date,
.latestnews-inside .date ,
.media-list-item .date {
  background: rgba(229, 0, 18, .85);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  width: 60px;
  height: 60px;
  margin-left: 0;
  overflow: hidden;
  justify-content: center;
  top: 2px;
  left: 2px;
  position: absolute;
  z-index: 1;
  color: #fff;
  text-shadow: 0 0 3px rgba(0, 0, 0, .3)
}




#block_latest-news .date .day,
#block_latest-news .date .month,
.latestnews-inside .date .day,
.latestnews-inside .date .month,
.media-list-item  .date .day,
.media-list-item .date .month {
  line-height: 1;
  font-weight: bold;
}

#block_latest-news .date .day,
.latestnews-inside .date .day,
.media-list-item .date .day  {
  font-size: 28px;
}




#block_latest-news .date .month,
.latestnews-inside .date .month ,
.media-list-item .date .month {
  font-size: 14px;
}

#block_latest-news .content,
.latestnews-inside .content,
.media-list-item .content {
  position: relative;
}

#block_latest-news .content b {
  width: 100%;
  position: absolute;
  bottom: 0;
  z-index: 2;
  color: #fff;
  font-size: 18px;
  line-height: 23px;
  padding: 20px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  transition: background 0.35s ease;
  left: 0;
}

#block_latest-news .template-A b {
  width: calc(100% - 20px) !important;
  left: 10px !important;
  bottom: 15px !important;
  border-bottom-left-radius: 16px !important;
  border-bottom-right-radius: 16px !important;
}

#block_latest-news .splide__slide:hover .content b {
  background: linear-gradient(0deg, #AD0707 0%, transparent 100%);
}

.splide__pagination__page.is-active {
  background: #000 !important;
}


.history_timeline .screen {
  padding: 0;
}


.btn_back {
  margin: 0px auto;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.btn_back a {
  display: inline-block;
  padding: 10px 50px;
  color: #fff !important;

  clip-path: polygon(10% 0%, 90% 5%, 85% 95%, 15% 100%);
  background: linear-gradient(to left, #333333 50%, #de022e 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .5s ease-out;
}

.btn_back a:hover {
  background-position: left bottom;
  color: #fff !important;
}




[data-aos="block_latest-new_animation"].aos-animate#block_latest-news::before {
  content: "";
  position: absolute;
  width: 80%;
  height: calc(100% - 140px - 17vh);
  top: 140px;
  z-index: 0;
  left: 10%;
  background: linear-gradient(to right, #313cae 0%, #313cae 100%), linear-gradient(to top, #313cae 50%, transparent 50%), linear-gradient(to top, #313cae 50%, transparent 50%), linear-gradient(to right, #313cae 0%, #313cae 100%), linear-gradient(to left, #313cae 0%, #313cae 100%);
  background-position-x: 0%, 0%, 0%, 0%, 0%;
  background-position-y: 0%, 0%, 0%, 0%, 0%;
  background-repeat: repeat, repeat, repeat, repeat, repeat;
  background-size: auto, auto, auto, auto, auto;
  background-size: 100% 4px, 4px 200%, 4px 200%, 0% 4px, 0% 4px;
  background-position: 50% 100%, 0% 0%, 100% 0%, 100% 0%, 0% 0%;
  background-repeat: no-repeat, no-repeat;
  transform: scaleX(0) rotate(180deg);
  animation: transformAnimation 0.5s ease-in-out 0.5s forwards,
    positionAnimation 0.5s ease-in-out 1s forwards,
    sizeAnimation 0.5s ease-in-out 1.5s forwards;
}




@keyframes transformAnimation {
  0% {
    transform: scaleX(0) rotate(180deg);
  }

  100% {
    transform: scaleX(1) rotate(180deg);
  }
}

@keyframes positionAnimation {
  0% {
    background-position: 50% 100%, 0% 0%, 100% 0%, 100% 0%, 0% 0%;
  }

  100% {
    background-position: 50% 100%, 0% 100%, 100% 100%, 100% 0%, 0% 0%;
  }
}

@keyframes sizeAnimation {
  0% {
    background-size: 100% 4px, 4px 200%, 4px 200%, 0% 4px, 0% 4px;
  }

  100% {
    background-size: 200% 4px, 4px 400%, 4px 400%, 55% 4px, 55% 4px;
  }
}



.video_theme {
  max-width: 80%;
  margin: 50px auto;
}

.slider-slogan {
  position: absolute;
  bottom: 8%;
  width: 50%;
}

.slider-slogan .slogan_text {
  font-size: 28px;
  line-height: 1.5;
  color: #fff;
  font-weight: bold;
  position: relative;
  padding-left: 20%;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 12px rgba(0, 0, 0, 0.35);
}

.slider-slogan .slogan_text span {
  position: relative;
  z-index: 1;
}

.slider-slogan .slogan_text::before {
  content: "";
  background: rgba(255, 0, 0, 0.55);
  position: absolute;
  bottom: 0;
  left: 20%;
  display: block;
  width: 300px;
  border-radius: 10px;
  transform: translateX(-50%) translateY(10%);
  aspect-ratio: 16 / 10;
}



.slogan_left {
  left: 0;
}

.slogan_right {
  right: 0;
}

.view-empty {
  clear: both
}

footer {
  background: url("../images/web/motto_bg2.png") no-repeat center right #fff;
  background-size: cover;
  color: #fff;
  padding: 0;
  font-size: 14px;
  position: relative;
  clear: both
}

/*
footer::before{
content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: url(../images/web/fav.png) no-repeat center;
    background-size: auto;
  background-size: contain;
  z-index: 0;
}*/

footer .text-content,
footer a {
  color: #333;
  font-size: 14px
}


footer .power {
  display: block;
  width: 100%;
  text-align: center;
}

footer .copyright {
  display: block;
  width: 100%;
  text-align: center;
}

footer .copyright a,
footer .power a {
  color: #fff;
  text-decoration: underline
}

#main_content {
  float: none;
  width: 100%;
  min-height: 500px; position: relative;z-index: 1;
}

#sidebar-nav {
  float: none;
}


.useful-links ul {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(5, 1fr);
  column-gap:
    gap: 10px;
}

.useful-links ul li {
  width: calc(100% - 10px);
  position: relative;
  padding: 5px;
}

.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;
}

.individual_page {
  padding-top: 40px;
}

.individual_page h1 {
  background: #fff;
  padding: 20px;
  font-size: 26.5px;
  line-height: 32px;
  margin-bottom: 20px;
  border: 1px solid
}


/* 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 10px;
}

#main_content tr:nth-child(odd) td {
  background: #fff;
  color: #333;
  padding: 5px 10px;
}

/* #main_content table ul,
table ol {
  margin: 0;
} */

#main_content tr th {
  background: var(--main-color);
  color: #fff !important;
  padding: 5px;
}

.location {
  width: 100%;
  margin: 20px 0;
  box-shadow: 0 0 3px rgba(0, 0, 0, .2);
}

iframe {
  width: 100%;
  min-height: 350px;
}

/* Template */
.tpl-info time,
.block-info time,
.node__content time {
  position: relative;
  display: inline-block;
  padding: 0px 0;
}


.index_block {
  background: none;
  z-index: 1;
  position: relative
}

.index_block b {
  display: block
}

#page time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  background-color: var(--main-color);
  -webkit-mask-image: url(../images/date.svg);
  mask-image: url(../images/date.svg);
  background-size: cover;
  width: 20px;
  height: 21px;
}

#page time {
  text-align: left;
  padding-left: 30px;
}

.block-info {
  list-style: none;
  margin: 0;
  padding: 0;
  background: none
}

.block-info li {
  position: relative;
  /* 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:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
}

.tpl-info li a {
  color: #333;
  display: block;
  width: 100%
}

.tpl-info li a:hover {
  color: #333;
}

.tpl-info li b,
.block-info li b {
  display: block
}

.tpl-info figure img,
.block-info figure img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  opacity: 1;
}

.tpl-info figure:hover img,
.block-info figure:hover img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  opacity: .8;
}

.tpl-info figure,
.block-info figure {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.template-A ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.media-list-item ul  { grid-template-columns: repeat(1, 1fr);}

.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: 8px;
}

.template-A ul li .content {
  padding: 15px 10px;
}

.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-list-item .content {
  padding: 25px 10px 25px 90px !important;
}

.media-list-item .date {top: 0;  left: 12px;bottom: 0;  margin: auto;}
.media-list-item b { text-align: left}
@media screen and (max-width:567px) {
  .template-D ul li {
    flex-direction: column;
  }

  .template-D ul li>div {
    width: 100%;
    padding: 5px 10px !important;
    box-sizing: border-box;
  }

  .template-D ul li .date {
    padding: 5px 10px !important;
  }

  .template-D ul li .date span {
    font-size: 16px;
    background-size: 20px !important;
    background-position: 0 50%;
    background-size: 20px;
    padding: 5px 5px 5px 30px;
    display: block;
    color: #fc2130;
    font-size: 16px;
    line-height: 19px;
    display: block;
  }



  .template-D ul li a {
    display: inline-block;
    padding: 0px 0;
    width: 100%;
  }

  .template-D ul li a:hover {
    color: #333;
    text-decoration: none
  }



  .template-D ul li .date span {
    padding: 0px 0 0px 28px;
    background-size: 16px 15px;
  }



  .template-D ul li .number {
    flex-basis: 24%;
    padding: 5px 10px;
    font-size: 16px;
    margin: 0;
    text-align: left;
  }

  .template-D ul li .title {
    flex-basis: 50%;
    padding: 5px 10px;
    font-size: 16px;
    line-height: 19px;
    text-shadow: 0 0 0;
    margin: 0;
    text-align: left;
  }


  .template-D ul li .download {
    flex-basis: 20%;
    font-size: 16px;
    padding: 0;
    margin: 0;
    text-align: left;
  }

  .template-D ul li .download a {
    background: url(../images/icon/icon_download.png) no-repeat left;
    background-position: 3px 5px;
    padding: 6px 0 6px 30px;
    line-height: 19px;
    color: #555;
    background-size: 23px 23px;
    display: block;
  }

  .template-D ul li .download a:hover {
    background: url(../images/icon/icon_download.png) no-repeat left;
    background-position: 3px 8px;
    color: #666;
    background-size: 23px 23px
  }

  .template-D ul li .date {
    flex-basis: 16%;
    font-size: 16px;
    padding: 5px 5px 5px 10px;
    margin: 0;
    text-align: left;
  }


  .template-D ul li p {
    width: auto;
    font-size: 15px;
  }
}




#block_gallery {
  margin: -90px 0 50px 0
}

#block_gallery ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.Block_A ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.Block_A ul li {
  position: relative;
  width: 100%;
}

.Block_B ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.Block_B ul li {
  position: relative;
  width: 100%;
  background: #fff;
}

.Block_C ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: scroll;
  max-height: 500px
}

.Block_C ul li {
  position: relative;
  width: 100%;
  background: #fff;
  margin: 0 0;
}

.Block_C ul li a {
  display: flex;
  align-content: center;
}

.Block_C ul li .cover {
  float: left;
  width: 38%
}

.Block_C ul li .content {
  float: right;
  width: 60%;
  padding: 15px 0;
}

.Block_C ul li b {
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
}


.Block_E ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 30px;
}

.Block_E ul li {
  position: relative;
  width: 100%;
}

.Block_E ul li:nth-child(1) {
  grid-area: 1 / 1 / 4 / 2;
}

.Block_E ul li:nth-child(2) {
  grid-area: 1 / 2 / 2 / 3;
}

.Block_E ul li:nth-child(3) {
  grid-area: 2 / 2 / 3 / 3;
}

.Block_E ul li:nth-child(4) {
  grid-area: 3 / 2 / 4 / 3;
}




.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 {

  margin: 1px;
  position: relative;
  overflow: hidden;

  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__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 */



#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;
}


.category ul li a:hover {
  text-decoration: none !important;
}

/* stroke */
.category.stroke ul li a,
.category.fill ul li a {
  position: relative;
}

.category.stroke ul li a:after,
.category.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: var(--main-color);
  ;
  height: 2px;
}

.category.stroke ul li a:hover:after {
  width: 100%;
}

.category.fill ul li a {
  transition: all 2s;
}

.category.fill ul li a:after {
  text-align: left;
  content: '.';
  margin: 0;
  opacity: 0;
}

.category.fill ul li a:hover {
  color: #fff;
  z-index: 1;
}

.category.fill ul li a:hover:after {
  z-index: -10;
  animation: fill 1s forwards;
  -webkit-animation: fill 1s forwards;
  -moz-animation: fill 1s forwards;
  opacity: 1;
}

/* SHIFT */
.category.shift ul li a {
  position: relative;
  z-index: 1;
}

.category.shift ul li a:hover {
  color: #91640F;
}

.category.shift ul li a:after {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 1px;
  content: '.';
  color: transparent;
  background: var(--main-color);
  visibility: none;
  opacity: 0;
  z-index: -1;
}

.category.shift ul li a:hover:after {
  opacity: 1;
  visibility: visible;
  height: 100%;
}


.category .current a,
.category .current a:hover {
  color: #fff !important;
  background: var(--main-color);
}


/* Keyframes */
@-webkit-keyframes fill {
  0% {
    width: 0%;
    height: 1px;
  }

  50% {
    width: 100%;
    height: 1px;
  }

  100% {
    width: 100%;
    height: 100%;
    background: var(--main-color);
    ;
  }
}

/* Keyframes */
@-webkit-keyframes circle {
  0% {
    width: 1px;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 1px;
    z-index: -1;
    background: var(--main-color);
    ;
    border-radius: 100%;
  }

  100% {
    background: var(--main-color);
    ;
    height: 1000%;
    width: 1000%;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 0;
  }
}

/* End Category */

.sitemap-item {
  margin: 0px auto;
  padding: 0;
}

.sitemap-item ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sitemap-item ul ul {
  grid-template-columns: repeat(1, 1fr);
  gap: 5px;
  margin: 10px;
  padding: 0 25px;
  list-style-type: initial;
}

.sitemap-item ul li {
  width: 100%;
  margin: 0;
  padding: 0
}

.sitemap-item ul li a,
.sitemap-item ul li span {
  padding: 10px 15px;
  display: block;
  border-bottom: 1px solid #ddd;
  transition: background 0.3s ease;
}

.sitemap-item ul li a {
  color: var(--main-color);
}

.sitemap-item ul li span {
  color: #555;
}

.sitemap-item ul li a:hover {
  background: var(--main2-color);
  color: #fff;
}

.sitemap-item ul li ul li a,
.sitemap-item ul li ul li span {
  padding: 5px 0 5px 0px;
  display: block;
  border-bottom: 0;
  font-size: 1em;
  font-weight: 300
}

.sitemap-item ul li ul li a:hover {
  background: none;
  color: var(--main2-color)
}

.sidebar-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;

  background-size: cover;
}

.sidebar-nav ul a.is-active {
  color: var(--main2-color) !important;
}

.sidebar-nav ul ul {
  background: #eee;
  font-size: 17px;
  line-height: 27px;
}

.sidebar-nav .metismenu,
.category ul {
  padding: 10px;
  border-bottom: 2px solid #a20f0f;
  font-size: 16px;
  line-height: 20px;
  margin: 40px 5%;

  background: #fff;
  background-size: auto 10px;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;

}

.sidebar-nav .metismenu a.current {
  color: var(--main-color);
}

.sidebar-nav .metismenu li+li {}

.sidebar-nav .metismenu .video-left {}

.sidebar-nav .metismenu li:last-child {}

.sidebar-nav .metismenu>li,
.category ul li {
  /*-webkit-box-flex: 1;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;*/
  width: auto;
  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;
  white-space: nowrap;
  margin: 0
}

.sidebar-nav .metismenu a,
.category ul li a {
  position: relative;
  display: block;
  padding: 12px 22px;
  color: #333333;
  text-decoration: none;
  outline-width: 0;
  transition: all .3s ease-out;
}

.sidebar-nav .metismenu ul a {
  padding: 5px 0px;
  text-decoration: none;
}

.sidebar-nav .metismenu ul ul a {
  padding: 5px 0px;
}

.sidebar-nav .mm-active {
  color: var(--main-color);
  !important;
}

.sidebar-nav .metismenu a:hover,
.sidebar-nav .metismenu a:focus,
.sidebar-nav .metismenu a:active,
.sidebar-nav .metismenu .mm-active>a {
  color: var(--main-color);
  text-decoration: underline;
}




.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;

  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.subjectlists figure figcaption::before,
.subjectlists figure figcaption::after {
  pointer-events: none;
}

.subjectlists figure figcaption,
.subjectlists figure figcaption>a {
  position: absolute;
  background: #0c335b38;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.subjectlists figure figcaption>a {
  z-index: 1;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}


.subjectlists figure h2,
.subjectlists figure p {
  margin: 0;
}

.subjectlists figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

figure.effect-honey {
  background: #4a3753;
  min-height: 180px;
}

figure.effect-honey img {
  opacity: 0.9;
  max-width: 125%: -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}

figure.effect-honey:hover img {
  opacity: 0.5;
}

figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--main2-color);
  content: '';
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}

figure.effect-honey h2 {
  position: absolute;
  font-style: normal;
  bottom: 0;
  left: 0;
  padding: 0.5em 1.5em;
  color: #fff;
  text-shadow: 0 0 8px #000000a1;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}


figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.view-subjects {
  padding: 0;
  margin: 0;
  clear: both;
}

.subjectlist ul {
  list-style: none;
  margin: 0;
  padding: 15px;
}

.subjectlist ul li {
  float: none;
  border-bottom: 1px solid var(--main3-color);
  position: relative
}

.subjectlist ul li a {
  padding: 15px 15px 15px 30px;
  display: block;
  font-size: 21px;
  line-height: 27px;
}

.subjectlist ul li a::before {
  content: "\2022";
  font-family: Arial;
  position: absolute;
  color: var(--main2-color);
  left: 0;
  top: 19px;
  font-size: 50px;
  font-weight: 400;
}

.contact_area {
  padding: 0px 0;
  overflow: hidden;
  position: relative;
}

.contact_info {
  color: #000;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  padding: 30px 0;
  align-items: center;
}




.contact_info #contact_img {

  object-fit: contain;
  flex: 1;
  max-height: 150px;
}

.eclass {
  vertical-align: bottom;
  display: table-cell;
  z-index: 1;
  position: relative;
}

.eclass a {
  background: #fc4;
  color: #2f3563;
  padding: 5px 20px;
  border-radius: 20px;
}

.eclass a:hover {
  background: #313cae;
  color: #fc4;
}

.contact_info ul {
  list-style: none;
  flex: 1;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.contact_info ul li {
  float: left;
  width: 100%;
  margin: 5px 0 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;

}

.contact_info ul li span {
  padding: 0;
  min-width: 115px;
  display: flex;
  align-items: center;
  position: relative;
  gap: 20px;
  min-width: 120px;
}

.contact_info ul li span::before {
  content: '';
  position: relative;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  background: url(../images/ctcampus/i_address.png) no-repeat center;
  background-size: contain;
}

.contact_info ul li+li span::before {
  background: url(../images/ctcampus/i_tel.png) no-repeat center;
  background-size: contain;
}

.contact_info ul li+li+li span::before {
  background: url(../images/ctcampus/i_fax.png) no-repeat center;
  background-size: contain;
}

.contact_info ul li+li+li+li span::before {
  background: url(../images/ctcampus/i_email.png) no-repeat center;
  background-size: contain;
}

.contact_info ul ul li {
  width: auto;
  margin: 5px 5px 0px 5px;
}

.contact_info ul ul li img {
  width: 30px !important;
}

.contact_info ul li a {
  color: #000;
  text-decoration: underline;
  text-wrap: nowrap;
}

/*
.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;
  background: #c21212 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: #333333 url(../images/ctcampus/cd-top-arrow.svg) no-repeat center center;
}

.cd-top.cd-is-visible {
  visibility: visible;
  opacity: 1;
}

.cd-top.cd-fade-out {
  opacity: .9;
}

.no-touch .cd-top:hover {
  background-color: #40498a;
  opacity: 1;
}


.cover_bg {
  display: flex;
  justify-content: center;
  align-items: normal;
  padding: 50px 0px;
  width: 100%;
  position: relative;
  min-height: 350px;
  background: url(../images/school.png) no-repeat left top;
  background-position-y: top;
  background-attachment: scroll;
  background-size: auto;
  background-attachment: fixed;
  background-blend-mode: multiply;
  background-size: 100%;
  background-position-y: 30%;
}

.index_info {
  position: relative;
  z-index: 1;
  top: 50%;
  left: 0%;
  transform: translateY(-56%);
  text-shadow: #010101a1 1px 0 10px;
  color: #fff;
  font-size: 27px;
  text-align: center;
  line-height: 38px;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 550;
}



.list-item {
  padding: 15px;
}

.list-item ul {
  display: block;
}

.list-item .content {
  display: flex;
  margin: 0;
  width: 100%;
}

.list-item .content time {
  flex: 0 0 20%;
  white-space: nowrap
}

.list-item .content .notice_no {
  flex: 0 0 10%;
}

.list-item .content b {
  flex: 0 0 50%;
}

.list-item .content .download {
  flex: 0 0 20%;
}

.list-item ul li {
  background: none;
  box-shadow: none;
  padding: 15px;
  text-align: left;
  background: #fff;
  margin-bottom: 5px;
  width: 100%
}


.list-item .content .download a {
  background: url(../images/icon/icon_download.png) no-repeat left;
  background-position: 3px 5px;
  padding: 8px 0 3px 30px;
  line-height: 19px;
  color: #555;
  background-size: 23px 23px;
  display: block;
  transition: all 0.3s ease 0s;
}

.list-item .content .download a:hover {
  background: url(../images/icon/icon_download.png) no-repeat left;
  background-position: 3px 8px;
  color: #666;
  background-size: 23px 23px
}

.subjectmenu ul {
  list-style: none;
  margin: 0 0 30px 0;
  background: #fff3d6;
  border-radius: 16px;
  padding: 10px 20px;
  display: flex;
  justify-content: flex-start;
  /* 項目靠左對齊 */

  flex-wrap: wrap;
  /* 允許換行 */
}

.subjectmenu ul li {
  margin: 0 10px;
  position: relative
}

.sub_heading {
  text-align: center;
  padding: 5px 0;
}

.subjectmenu ul li a {
  padding: 5px 15px;
  background: #fff;
  display: block;
  color: var(--main-color) !important;
  border-radius: 6px;
  font-size: 16px;
  line-height: 24px;
}

.subjectmenu ul li a:hover {
  background: var(--main4-color);
}

.subjectmenu ul li a.current {
  background: var(--main-color);
  color: #fff !important;
}

#block-sidebar-nav h2 {}

/* video */

#block_video .news-card__text-wrapper,
#block_video figure {
  background: none;
}


#block_video .news-card__text-wrapper b {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

#block_video .left-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

#block_video .video-title {
  justify-content: space-between;
  display: flex;
}

#block_video .youtube-btn {
  cursor: pointer;
  margin: 15px 0 0 35px;
  display: inline-block;
  font-family: "Spectral", serif;
}

#block_video .youtube-icon {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 24px;
  position: relative;
  padding: 0 0 0 60px;
}

#block_video .youtube-icon a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
}

#block_video .youtube-icon::before {
  content: "";
  background: url("../images/web/icon_yt.png") no-repeat;
  position: absolute;
  width: 50px;
  height: 33px;
  background-size: contain;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
  transform-origin: center center;
}

#block_video .tube-red,
#block_video .tube-white {
  transition: color 0.28s ease;
}

#block_video .tube-red {
  color: #000;
}

#block_video .tube-white {
  color: #de022e;
}

#block_video .youtube-btn:hover .tube-red,
#block_video .youtube-btn:focus-within .tube-red {
  color: #de022e;
}

#block_video .youtube-btn:hover .tube-white,
#block_video .youtube-btn:focus-within .tube-white {
  color: #000;
}

#block_video .youtube-btn:hover .youtube-icon a,
#block_video .youtube-btn:focus-within .youtube-icon a {
  transform: translateY(-3px) rotate(-2.5deg);
}

#block_video .youtube-btn:hover .youtube-icon::before,
#block_video .youtube-btn:focus-within .youtube-icon::before {
  transform: rotate(6deg) scale(1.06);
}


#block_video .block-info {
  display: grid;
  grid-template-rows: none;
  grid-auto-rows: auto;
  align-items: stretch;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 20px;
}

#block_video .block-info>li.video-left {
  grid-area: 1 / 1 / 2 / 2;
}

#block_video .block-info>li.video-right {
  grid-area: 1 / 2 / 2 / 3;
  align-self: start;

  max-height: 548px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

#block_video li.video-right .video-right-list {
  min-height: 500px;
  padding: 0 30px 0 0px;
}

#block_video .more-link a:hover {
  color: #fff;
}

#block_video .more-link a:hover::before {
  background: #c21212;
}

#block_video .more-link a:hover::after {
  color: #fff;
}



#block_video .block-info .video-left {
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 500px;
}

#block_video .block-info .video-right {
  margin: 0 !important;
  min-width: 0;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  height: auto;
  box-sizing: border-box;
}

#block_video .block-info .video-left .news-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#block_video .block-info .video-left .news-card>a {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#block_video .block-info .video-left figure {
  border-radius: 16px;
  overflow: hidden;
  border: 4.5px solid #ffd800;
  flex: 1;
  position: relative;
  margin: 0;
  flex-shrink: 0;
}

#block_video .block-info .video-left figure iframe,
#block_video .block-info .video-left figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

#block_video .block-info .video-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#block_video .block-info .video-left b {
  margin-top: 10px;
}



#block_video .block-info .video-right-list>li {
  min-height: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

#block_video .block-info .video-right-list li,
.template-A ul li {
  border-radius: 20px;
  box-sizing: border-box;
  padding: 2px !important;
  border: 2px solid transparent;
  background-color: transparent;
  transition: box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
  cursor: pointer;
}

#block_video .block-info .video-right-list li:hover,
.template-A ul li:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: #ffd800;
  border-color: #ffd800;
}

#block_video .block-info li:not(:first-child):hover .news-card {
  border-color: transparent;
}


#block_video .block-info li .news-card {
  box-shadow: none;
  height: 100%;
}

#block_video .block-info li:not(:first-child) .news-card,
.template-A ul li .news-card {
  position: relative;
  background-color: #ffd3d3;
  overflow: visible !important;
  border-radius: 16px;
  border: 0;
  margin: 0;
  height: 100%;
  transition: border-bottom-right-radius .35s cubic-bezier(0.3, 0.015, 0.12, 1);
}

#block_video .block-info li:not(:first-child) .news-card:hover,
.template-A ul li .news-card:hover {
  border-bottom-right-radius: 100px;
  background-color: #fef7e7;
}

#block_video .block-info li:not(:first-child) figure,
.template-A ul li figure {
  border-radius: 16px;
  overflow: hidden;
}

#block_video .block-info li:not(:first-child) img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
}


#block_video .block-info li:not(:first-child) .news-card>a::after,
.template-A ul li a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity .25s ease-in-out;
  pointer-events: none;

}

#block_video .block-info li:not(:first-child):hover .news-card>a::after,
.template-A ul li a:hover::after {
  opacity: 1;
}

#block_video .block-info li:not(:first-child) [data-hover^=arrow] .arrow {
  display: grid;
  grid-template-areas: "arrow";
  overflow: hidden;
}

#block_video .block-info li:not(:first-child) [data-hover^=arrow] .arrow>svg {
  grid-area: arrow;
  transition: transform .35s cubic-bezier(0.3, 0.015, 0.12, 1);
}

#block_video .block-info li:not(:first-child) [data-hover^=arrow] .arrow>svg:first-child {
  transform: translateX(0%);
}

#block_video .block-info li:not(:first-child) [data-hover^=arrow] .arrow>svg:last-child {
  transform: translateX(-100%);
}


#block_video .block-info li:not(:first-child) .news-card:hover [data-hover^=arrow] .arrow>svg:first-child {
  transform: translateX(100%);
}

#block_video .block-info li:not(:first-child) .news-card:hover [data-hover^=arrow] .arrow>svg:last-child {
  transform: translateX(0%);
}

#block_video .block-info li:not(:first-child) figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

#block_video .block-info li:not(:first-child) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#block_video .block-info .video-right-list>li:first-child {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: #ffd800;
  border-color: #ffd800;
}

#block_video .block-info .video-right-list>li:first-child .news-card {
  border-bottom-right-radius: 100px;
  background-color: #fef7e7;
}

#block_video .block-info .video-right-list>li:first-child .news-card>a::after {
  opacity: 1;
}

#block_video .block-info .video-right-list>li:first-child .news-card [data-hover^=arrow] .arrow>svg:first-child {
  transform: translateX(100%);
}

#block_video .block-info .video-right-list>li:first-child .news-card [data-hover^=arrow] .arrow>svg:last-child {
  transform: translateX(0%);
}

#block_video .block-info .video-right-list>li:first-child:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: #ffd800;
  border-color: #ffd800;
}


#block_video .block-info .video-right-list:has(> li:not(:first-child):hover)>li:first-child:hover,
#block_video .block-info .video-right-list:has(> li.video-thumb-active:not(:first-child))>li:first-child:not(.video-thumb-active):hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: #ffd800;
  border-color: #ffd800;
}

#block_video .block-info .video-right-list:has(> li:not(:first-child):hover)>li:first-child:hover .news-card,
#block_video .block-info .video-right-list:has(> li.video-thumb-active:not(:first-child))>li:first-child:not(.video-thumb-active):hover .news-card {
  border-bottom-right-radius: 100px;
  background-color: #fef7e7;
}

#block_video .block-info .video-right-list:has(> li:not(:first-child):hover)>li:first-child:hover .news-card>a::after,
#block_video .block-info .video-right-list:has(> li.video-thumb-active:not(:first-child))>li:first-child:not(.video-thumb-active):hover .news-card>a::after {
  opacity: 1;
}

#block_video .block-info .video-right-list:has(> li:not(:first-child):hover)>li:first-child:hover .news-card [data-hover^=arrow] .arrow>svg:first-child,
#block_video .block-info .video-right-list:has(> li.video-thumb-active:not(:first-child))>li:first-child:not(.video-thumb-active):hover .news-card [data-hover^=arrow] .arrow>svg:first-child {
  transform: translateX(100%);
}

#block_video .block-info .video-right-list:has(> li:not(:first-child):hover)>li:first-child:hover .news-card [data-hover^=arrow] .arrow>svg:last-child,
#block_video .block-info .video-right-list:has(> li.video-thumb-active:not(:first-child))>li:first-child:not(.video-thumb-active):hover .news-card [data-hover^=arrow] .arrow>svg:last-child {
  transform: translateX(0%);
}

#block_video .block-info .video-right-list>li.video-thumb-active {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: #ffd800;
  border-color: #ffd800;
}

#block_video .block-info .video-right-list>li.video-thumb-active:not(:first-child) .news-card {
  border-color: transparent;
}

#block_video .block-info .video-right-list>li.video-thumb-active .news-card {
  border-bottom-right-radius: 100px;
  background-color: #fef7e7;
}

#block_video .block-info .video-right-list>li.video-thumb-active .news-card>a::after {
  opacity: 1;
}

#block_video .block-info .video-right-list>li.video-thumb-active .news-card [data-hover^=arrow] .arrow>svg:first-child {
  transform: translateX(100%);
}

#block_video .block-info .video-right-list>li.video-thumb-active .news-card [data-hover^=arrow] .arrow>svg:last-child {
  transform: translateX(0%);
}

#block_video .block-info .video-right-list:has(> li:not(:first-child):hover)>li:first-child,
#block_video .block-info .video-right-list:has(> li.video-thumb-active:not(:first-child))>li:first-child:not(.video-thumb-active) {
  box-shadow: none;
  background-color: transparent;
  border-color: transparent;
}
.node--view-mode-full{ overflow:hidden}

#block_video .block-info .video-right-list:has(> li:not(:first-child):hover)>li:first-child .news-card,
#block_video .block-info .video-right-list:has(> li.video-thumb-active:not(:first-child))>li:first-child:not(.video-thumb-active) .news-card {
  border-bottom-right-radius: 16px;
  background-color: #ffd3d3;
}

#block_video .block-info .video-right-list:has(> li:not(:first-child):hover)>li:first-child .news-card>a::after,
#block_video .block-info .video-right-list:has(> li.video-thumb-active:not(:first-child))>li:first-child:not(.video-thumb-active) .news-card>a::after {
  opacity: 0;
}

#block_video .block-info .video-right-list:has(> li:not(:first-child):hover)>li:first-child .news-card [data-hover^=arrow] .arrow>svg:first-child,
#block_video .block-info .video-right-list:has(> li.video-thumb-active:not(:first-child))>li:first-child:not(.video-thumb-active) .news-card [data-hover^=arrow] .arrow>svg:first-child {
  transform: translateX(0%);
}

#block_video .block-info .video-right-list:has(> li:not(:first-child):hover)>li:first-child .news-card [data-hover^=arrow] .arrow>svg:last-child,
#block_video .block-info .video-right-list:has(> li.video-thumb-active:not(:first-child))>li:first-child:not(.video-thumb-active) .news-card [data-hover^=arrow] .arrow>svg:last-child {
  transform: translateX(-100%);
}


#block_video .block-info .video-right-list:has(> li:hover)>li.video-thumb-active:not(:hover) {
  box-shadow: none;
  background-color: transparent;
  border-color: transparent;
}

#block_video .block-info .video-right-list:has(> li:hover)>li.video-thumb-active:not(:hover) .news-card {
  border-bottom-right-radius: 16px;
  background-color: #ffd3d3;
}

#block_video .block-info .video-right-list:has(> li:hover)>li.video-thumb-active:not(:hover) .news-card>a::after {
  opacity: 0;
}

#block_video .block-info .video-right-list:has(> li:hover)>li.video-thumb-active:not(:hover) .news-card [data-hover^=arrow] .arrow>svg:first-child {
  transform: translateX(0%);
}

#block_video .block-info .video-right-list:has(> li:hover)>li.video-thumb-active:not(:hover) .news-card [data-hover^=arrow] .arrow>svg:last-child {
  transform: translateX(-100%);
}

.block-header {
  margin-bottom: 60px;
}

/* timeline */
.horizontal-timeline .timeline-navigation a {
  display: inline-block;
  transition: opacity 0.25s ease, transform 0.2s ease, color 0.25s ease;
}

.horizontal-timeline .timeline-navigation a:not(.inactive) {
  opacity: 0.7;
}

.horizontal-timeline .timeline-navigation a:not(.inactive):hover {
  opacity: 1;
  transform: scale(1.02);
}

.horizontal-timeline .timeline-navigation a.inactive {
  opacity: 1;
}

.horizontal-timeline .timeline-navigation a.inactive:hover {
  opacity: 1;
  transform: none;
}

.history_area .more-link a:hover::before {
  background: #ffffff
}

.history_area .blocktitle {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.history_area .blocktitle>* {
  margin: 0;
}

.history_area .texting_content {
  color: #fff;font-size: 16px;
  line-height: 28px;
  text-align: left;
}

.history_area .view-more {
  position: absolute;
  top: 0;
  right: 0;
}

.history_area .view-more a {
  color: #fff;
  border-bottom: 2px solid #ffffff;
  background: none;
}

.history_area .more-link a::after {
  color: #fff;
}

.history_area .more-link a:hover {
  color: #c21212;
  border-bottom: 2px solid #c21212;
}

.history_area .more-link a:hover::after {
  color: #000;
}

.top_area ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
  align-items: center;
}

.top_area ul li {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.top_area a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 32px;
  height: 32px;
}

.top_area lord-icon {
  display: block;
  width: 32px !important;
  height: 32px !important;
  flex-shrink: 0;
}

#page {}

.page_arean {
  position: relative;
  padding: 10px 0 50px 0;
  background: #f8f6f2;
}

.page_arean::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 30px;
  left: -30px;
  background: url(../images/web/left_t.png) no-repeat;
  background-size: cover;
  width: 260px;
  height: 190px;
  z-index: 0; opacity: .2

}

.page_arean::after {
  content: "";
  pointer-events: none;
  position: absolute;
  width: 350px;
  height: 201px;
  bottom: 0;
  right: 0;
  background: url(../images/web/bottom_d.png) no-repeat;
  background-size: cover;
}



/* menu */
.dropdown-menu li a {
  color: #333;
  background: none;
  -webkit-text-fill-color: #019cf3 !important
}


#header nav,
.navbar-toggle {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#header nav {
  position: fixed;
  z-index: 10;
  background: #000000bd;
  width: 100%;
  left: 0;
  top: 0;
  height: 100vh;
  text-align: center;
  opacity: 0.98;


}

#header nav .menu_area {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-hide {
  display: none;
}

@media (max-width:960px) {
  #header nav {
    background: none !important;
  }

  .ddsmoothmenu-v ul {
    background: rgba(0, 160, 230, 0.96) !important;
  }

}

/*#header nav ul {*/
/*display: table-cell;*/
/*vertical-align: middle;*/
/* margin: 0 auto; */
/*  width: 50%;*/
/*  float: left;*/
/*}*/
.template-A img {
  width: 100%
}

#menu_left {
  float: left;
  width: 40%;
  border-right: 1px solid rgba(255, 255, 255, .85);
  margin: 0;
  padding: 20px;
  text-align: right
}

#header nav ul li {
  list-style: none;
  margin: 0;
  z-index: 1;
}

#header nav ul li a {
  font-size: 21px;
  line-height: 30px;
  color: #009ef6;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  /* border-width: medium; */

  background: #fff;
  background-clip: border-box;
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

#header nav ul li ul li a {
  padding-left: 30px;
}

@media (max-width:960px) {
  #header nav ul li a {
    font-size: 17px;
    color: #fff !important;
    padding: 10px 50px 10px 10px !important;
  }

  #header .active a {
    color: #ffcc04 !important
  }

  #smoothmenu2 ul li ul li a:hover {
    background: #CAD7ED2E !important;
    color: #00A0E6 !important;
  }

  .ddsmoothmenu-v ul li a {}


  .ddsmoothmenu-v ul li ul {
    background: none !important;
  }

  #smoothmenu2 ul li:hover {
    display: block;
    /* Remove this if unnecessary */
  }
}

@media (min-width:961px) {

  .ddsmoothmenu-v ul {
    /* position: relative; */
    background: url(../images/icon/bg-menu-left.jpg) no-repeat;
    background-size: 100% auto;
    background-position: center;
  }

  .ddsmoothmenu-v>ul::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    opacity: 1;
    z-index: 1;
    width: 50%;
    overflow: hidden;
    pointer-events: none;
  }


  .ddsmoothmenu-v ul li ul::before {
    content: "";
    width: 500px;
    height: 354px;
    background: url(../images/icon/bg_menu_school.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: 76px;
    position: fixed;
    right: 0;
    bottom: 0;
    pointer-events: none;
  }


  #header nav::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 354px;
    right: 0;
    bottom: 0;
    background: url(../images/icon/bg_menu_school.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: 76px;
    pointer-events: none;
  }
}

#block-olivero-toparea {
  margin: 0;
}

#header .navbar-toggle {
  width: 60px;
  float: right;
  height: 60px;
  background: #de022e;
  z-index: 20;
  padding: 20px 15px;
  cursor: pointer;
  position: relative;
  right: 10px;
  top: 0px;
  z-index: 11;
  border-radius: 6px;
  display: flex;
  align-items: center;
  margin: 0 0 0 40px
}

.bar1,
.bar2,
.bar3 {
  width: 22px !important;
  height: 5px !important;
}

#header .navbar-toggle .navbar-toggle-left {
  margin: 0 auto;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

#header .navbar-toggle .navbar-toggle-right {
  margin: 0;
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #425a91;
}

.bar1,
.bar2,
.bar3 {
  width: 27px;
  height: 3px;

  transition: all 0.3s ease-in-out;
}

.bar1,
.bar2,
.bar3 {
  background-color: #fff;
}




.navbar-on {
  padding: 20px 12px 20px 18px;
}

.navbar-on .bar1,
.navbar-on .bar2,
.navbar-on .bar3 {
  background-color: 003366;
}

.navbar-on .bar1 {
  background-color: transparent;

}

.navbar-on .bar3 {
  background-color: transparent;

}

.navbar-on .bar2 {
  transform-origin: 10% 40%;
  transform: rotate(0deg)
}

@media screen and (max-width: 960px) {

  /* #header .navbar-toggle {
        width: 25px;
        height: 25px;
        padding: 12px 10px 7px 10px;
        right: 10px;
        top: 15px;
    } */
  .site-branding {
    padding: 10px;
  }



  #header .navbar-toggle {

    /*  width: auto;
        padding: 0;
        padding-right: 10px;*/
  }

  /* .navbar-on .bar1,
    .navbar-on .bar2,
    .navbar-on .bar3 {
        width: 28px;
        margin: 1px 0 5px 2px
    }*/

  .sentense .title span {
    width: 38px;
    height: 38px;
    left: 15px;
    top: 10px;
  }
}

#smoothmenu2 ul li span {

  background: #fff;
  background-clip: border-box;
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* header */

.region--top-area {
  background: #0000008f;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  z-index: 9999;
  border-radius: 8px;
  position: absolute;
  gap: 10px;
  top: 10px;
  right: 30px;
}


.top_area {

  box-sizing: border-box;
  align-items: center;
  display: flex;
  position: relative;
}

.top_area img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

#block-olivero-languageswitcher {
  margin: 0;
  padding: 0;
}






#toolbar-item-administration-tray {
  padding: 0;
  margin: 0;
}

/* sub menu */

.sidebar-nav .menu-item a {
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-nav .menu-item a:hover {
  background-color: var(--main-color);
  color: #fff;
}

.sidebar-nav .menu-item.current a,
.sidebar-nav .menu-item.mm-active a {
  background-color: var(--main-color);
  color: #fff;
}


.sidebar-nav-toggle {
  display: none;
}



/* admission */
.admission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

@media screen and (max-width: 1024px) {
  .admission-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
  .admission-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.admission-item {
  width: 100%;
  text-align: center;
}

.admission-item a {
  font-weight: bold;
}

.admission-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 110px;
  padding: 22px 28px;
  border: 2px solid #de022e;
  border-radius: 8px;
  background-color: #fff;
  color: #992337 !important;
  box-shadow: 0 6px 0 #d69253;
  text-align: center;
  text-decoration: none !important;
  line-height: 1.45;
  transition: all 0.25s ease-in-out;
  box-sizing: border-box;
}

.admission-link:hover {
  background-color: #C21212;
  color: #fff !important;
  border-color: #C21212;
  box-shadow: 0 3px 0 #8f0d0d;
  transform: translateY(3px);
  text-decoration: none !important;
}

.admission-link:focus {
  outline: 3px solid rgba(222, 2, 46, 0.25);
  outline-offset: 3px;
}

.admission-link-purple,
.admission-link-green,
.admission-link-blue,
.admission-link-orange,
.admission-link-red,
.admission-link-gray,
.admission-link-lightblue {
  background-color: #fff;
  color: #992337 !important;
  box-shadow: 0 6px 0 #d69253;
}

.bottom_logo {
  width: 100%
}

.bottom_logo img {
  max-height: 70px;
}

#block-olivero-100years {
  margin: 0
}

.years img {
  max-height: 70px;
}

p {

  margin: 0 0 0.25em 0;
}

.boxing h1,
.boxing h2,
.boxing h3,
.boxing h4,
.boxing h5,
.boxing h6 {
  margin-top: 20px;
}


.footer_bottom {
  background: #404040bf;
  padding: 20px 0;
}

#mute {
  display: none
}


#lang {
  position: relative;
  display: inline-block;
  z-index: 9999;
}

#lang > button {
  background: rgba(255, 255, 255, .25);
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, .4);
  padding: 5px 10px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  line-height: 17px;
  cursor: pointer;
}

#lang > ul {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  left: auto;
  min-width: 120px;
  margin: 0;
  padding: 6px;
  list-style: none;
  display: none !important;
  flex-direction: column !important;
  gap: 6px;
  height: auto !important;
  background: #4a4a4a !important;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
  z-index: 10000;
}

#lang:hover > ul,
#lang:focus-within > ul {
  display: flex !important;
}

#lang > ul > li {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}

#lang > ul > li > a {
  display: block;
  width: 100%;
  padding: 6px 10px;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, .4);
  text-decoration: none;
  font-size: 13px;
  line-height: 17px;
}

#lang > ul > li > a:hover,
#lang > ul > li > a.is-active {
  background: var(--main-color);
  color: #fff;
}

@media screen and (max-width: 960px) {
  #lang > ul {
    display: none !important;
  }

  #lang:hover > ul,
  #lang:focus-within > ul {
    display: flex !important;
  }
}


.page_arean iframe{min-height: 700px;}
